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 "$lt_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 "$lt_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 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
308 for dir
in $PATH /usr
/ucb
; do
310 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho
; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL
=/bin
/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
349 SHELL
="$CONFIG_SHELL"
351 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string
=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix
=/usr
/local
404 ac_config_libobj_dir
=.
409 SHELL
=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
423 ac_unique_file
="ldmain.c"
424 # Factoring default headers for most tests.
425 ac_includes_default
="\
428 # include <sys/types.h>
431 # include <sys/stat.h>
442 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <strings.h>
451 # include <inttypes.h>
461 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT 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 DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO CPP use_sysroot TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE WARN_CFLAGS NO_WERROR USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE YACC LEX LEXLIB LEX_OUTPUT_ROOT MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE HDEFINES HOSTING_CRT0 HOSTING_LIBS NATIVE_LIB_DIRS STRINGIFY EMUL EMULATION_OFILES EMUL_EXTRA_OFILES LIB_PATH EMULATION_LIBPATH TESTBFDLIB datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
462 ac_subst_files
='TDIRS'
464 # Initialize some variables set by options.
466 ac_init_version
=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
476 program_transform_name
=s
,x
,x
,
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir
='${exec_prefix}/bin'
490 sbindir
='${exec_prefix}/sbin'
491 libexecdir
='${exec_prefix}/libexec'
492 datadir
='${prefix}/share'
493 sysconfdir
='${prefix}/etc'
494 sharedstatedir
='${prefix}/com'
495 localstatedir
='${prefix}/var'
496 libdir
='${exec_prefix}/lib'
497 includedir
='${prefix}/include'
498 oldincludedir
='/usr/include'
499 infodir
='${prefix}/info'
500 mandir
='${prefix}/man'
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
512 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
518 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
520 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
523 -build |
--build |
--buil |
--bui |
--bu)
524 ac_prev
=build_alias
;;
525 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
526 build_alias
=$ac_optarg ;;
528 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
529 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
530 ac_prev
=cache_file
;;
531 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
532 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
533 cache_file
=$ac_optarg ;;
536 cache_file
=config.cache
;;
538 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
540 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
542 datadir
=$ac_optarg ;;
544 -disable-* |
--disable-*)
545 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* |
--enable-*)
554 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
561 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
567 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
568 |
--exec |
--exe |
--ex)
569 ac_prev
=exec_prefix
;;
570 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
571 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
572 |
--exec=* |
--exe=* |
--ex=*)
573 exec_prefix
=$ac_optarg ;;
575 -gas |
--gas |
--ga |
--g)
576 # Obsolete; use --with-gas.
579 -help |
--help |
--hel |
--he |
-h)
581 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
582 ac_init_help
=recursive
;;
583 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
584 ac_init_help
=short
;;
586 -host |
--host |
--hos |
--ho)
587 ac_prev
=host_alias
;;
588 -host=* |
--host=* |
--hos=* |
--ho=*)
589 host_alias
=$ac_optarg ;;
591 -includedir |
--includedir |
--includedi |
--included |
--include \
592 |
--includ |
--inclu |
--incl |
--inc)
593 ac_prev
=includedir
;;
594 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
595 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
596 includedir
=$ac_optarg ;;
598 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
600 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
601 infodir
=$ac_optarg ;;
603 -libdir |
--libdir |
--libdi |
--libd)
605 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
608 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
609 |
--libexe |
--libex |
--libe)
610 ac_prev
=libexecdir
;;
611 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
612 |
--libexe=* |
--libex=* |
--libe=*)
613 libexecdir
=$ac_optarg ;;
615 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
616 |
--localstate |
--localstat |
--localsta |
--localst \
617 |
--locals |
--local |
--loca |
--loc |
--lo)
618 ac_prev
=localstatedir
;;
619 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
620 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
621 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
622 localstatedir
=$ac_optarg ;;
624 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
626 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
630 # Obsolete; use --without-fp.
633 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
634 |
--no-cr |
--no-c |
-n)
637 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
638 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
641 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
642 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
643 |
--oldin |
--oldi |
--old |
--ol |
--o)
644 ac_prev
=oldincludedir
;;
645 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
646 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
647 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
648 oldincludedir
=$ac_optarg ;;
650 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
652 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
655 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
656 |
--program-pre |
--program-pr |
--program-p)
657 ac_prev
=program_prefix
;;
658 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
659 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
660 program_prefix
=$ac_optarg ;;
662 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
663 |
--program-suf |
--program-su |
--program-s)
664 ac_prev
=program_suffix
;;
665 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
666 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
667 program_suffix
=$ac_optarg ;;
669 -program-transform-name |
--program-transform-name \
670 |
--program-transform-nam |
--program-transform-na \
671 |
--program-transform-n |
--program-transform- \
672 |
--program-transform |
--program-transfor \
673 |
--program-transfo |
--program-transf \
674 |
--program-trans |
--program-tran \
675 |
--progr-tra |
--program-tr |
--program-t)
676 ac_prev
=program_transform_name
;;
677 -program-transform-name=* |
--program-transform-name=* \
678 |
--program-transform-nam=* |
--program-transform-na=* \
679 |
--program-transform-n=* |
--program-transform-=* \
680 |
--program-transform=* |
--program-transfor=* \
681 |
--program-transfo=* |
--program-transf=* \
682 |
--program-trans=* |
--program-tran=* \
683 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
684 program_transform_name
=$ac_optarg ;;
686 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
687 |
-silent |
--silent |
--silen |
--sile |
--sil)
690 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
692 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
694 sbindir
=$ac_optarg ;;
696 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
697 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
698 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
700 ac_prev
=sharedstatedir
;;
701 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
702 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
703 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
705 sharedstatedir
=$ac_optarg ;;
707 -site |
--site |
--sit)
709 -site=* |
--site=* |
--sit=*)
712 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
714 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
717 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
718 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
719 ac_prev
=sysconfdir
;;
720 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
721 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
722 sysconfdir
=$ac_optarg ;;
724 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
725 ac_prev
=target_alias
;;
726 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
727 target_alias
=$ac_optarg ;;
729 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
732 -version |
--version |
--versio |
--versi |
--vers |
-V)
736 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package
=`echo $ac_package| sed 's/-/_/g'`
743 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* |
--without-*)
749 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package
=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
758 # Obsolete; use --with-x.
761 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
762 |
--x-incl |
--x-inc |
--x-in |
--x-i)
763 ac_prev
=x_includes
;;
764 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
765 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
766 x_includes
=$ac_optarg ;;
768 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
769 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
770 ac_prev
=x_libraries
;;
771 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
772 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
773 x_libraries
=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
781 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
801 if test -n "$ac_prev"; then
802 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var
in exec_prefix prefix
810 eval ac_val
=$
`echo $ac_var`
812 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
818 # Be sure to have absolute paths.
819 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val
=$
`echo $ac_var`
824 [\\/$
]* | ?
:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x
; then
839 if test "x$build_alias" = x
; then
840 cross_compiling
=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
849 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
851 test "$silent" = yes && exec 6>/dev
/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted
=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir
=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
871 if test ! -r $srcdir/$ac_unique_file; then
875 ac_srcdir_defaulted
=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set
=${build_alias+set}
891 ac_env_build_alias_value
=$build_alias
892 ac_cv_env_build_alias_set
=${build_alias+set}
893 ac_cv_env_build_alias_value
=$build_alias
894 ac_env_host_alias_set
=${host_alias+set}
895 ac_env_host_alias_value
=$host_alias
896 ac_cv_env_host_alias_set
=${host_alias+set}
897 ac_cv_env_host_alias_value
=$host_alias
898 ac_env_target_alias_set
=${target_alias+set}
899 ac_env_target_alias_value
=$target_alias
900 ac_cv_env_target_alias_set
=${target_alias+set}
901 ac_cv_env_target_alias_value
=$target_alias
902 ac_env_CC_set
=${CC+set}
904 ac_cv_env_CC_set
=${CC+set}
905 ac_cv_env_CC_value
=$CC
906 ac_env_CFLAGS_set
=${CFLAGS+set}
907 ac_env_CFLAGS_value
=$CFLAGS
908 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
909 ac_cv_env_CFLAGS_value
=$CFLAGS
910 ac_env_LDFLAGS_set
=${LDFLAGS+set}
911 ac_env_LDFLAGS_value
=$LDFLAGS
912 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
913 ac_cv_env_LDFLAGS_value
=$LDFLAGS
914 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
915 ac_env_CPPFLAGS_value
=$CPPFLAGS
916 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
917 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
918 ac_env_CPP_set
=${CPP+set}
919 ac_env_CPP_value
=$CPP
920 ac_cv_env_CPP_set
=${CPP+set}
921 ac_cv_env_CPP_value
=$CPP
924 # Report the --help message.
926 if test "$ac_init_help" = "long"; then
927 # Omit some internal or obsolete options to make the list less imposing.
928 # This message is too long to be a string in the A/UX 3.1 sh.
930 \`configure' configures this package to adapt to many kinds of systems.
932 Usage: $0 [OPTION]... [VAR=VALUE]...
934 To assign environment variables (e.g., CC, CFLAGS...), specify them as
935 VAR=VALUE. See below for descriptions of some of the useful variables.
937 Defaults for the options are specified in brackets.
940 -h, --help display this help and exit
941 --help=short display options specific to this package
942 --help=recursive display the short help of all the included packages
943 -V, --version display version information and exit
944 -q, --quiet, --silent do not print \`checking...' messages
945 --cache-file=FILE cache test results in FILE [disabled]
946 -C, --config-cache alias for \`--cache-file=config.cache'
947 -n, --no-create do not create output files
948 --srcdir=DIR find the sources in DIR [configure dir or \`..']
953 Installation directories:
954 --prefix=PREFIX install architecture-independent files in PREFIX
956 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
959 By default, \`make install' will install all the files in
960 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
961 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
962 for instance \`--prefix=\$HOME'.
964 For better control, use the options below.
966 Fine tuning of the installation directories:
967 --bindir=DIR user executables [EPREFIX/bin]
968 --sbindir=DIR system admin executables [EPREFIX/sbin]
969 --libexecdir=DIR program executables [EPREFIX/libexec]
970 --datadir=DIR read-only architecture-independent data [PREFIX/share]
971 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
972 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
973 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
974 --libdir=DIR object code libraries [EPREFIX/lib]
975 --includedir=DIR C header files [PREFIX/include]
976 --oldincludedir=DIR C header files for non-gcc [/usr/include]
977 --infodir=DIR info documentation [PREFIX/info]
978 --mandir=DIR man documentation [PREFIX/man]
984 --program-prefix=PREFIX prepend PREFIX to installed program names
985 --program-suffix=SUFFIX append SUFFIX to installed program names
986 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
989 --build=BUILD configure
for building on BUILD
[guessed
]
990 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
991 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
995 if test -n "$ac_init_help"; then
1000 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1001 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1002 --disable-dependency-tracking speeds up one-time build
1003 --enable-dependency-tracking do not reject slow dependency extractors
1004 --enable-shared[=PKGS
]
1005 build shared libraries
[default
=yes]
1006 --enable-static[=PKGS
]
1007 build static libraries
[default
=yes]
1008 --enable-fast-install[=PKGS
]
1009 optimize
for fast installation
[default
=yes]
1010 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1011 --enable-targets alternative target configurations
1012 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
1013 --enable-werror treat compile warnings as errors
1014 --enable-build-warnings enable build-time compiler warnings
1015 --disable-nls do not use Native Language Support
1016 --enable-maintainer-mode enable make rules and dependencies not useful
1017 (and sometimes confusing
) to the casual installer
1020 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1021 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1022 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1024 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1025 --with-lib-path=dir1
:dir2...
set default LIB_PATH
1026 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
1028 Some influential environment variables
:
1029 CC C compiler
command
1030 CFLAGS C compiler flags
1031 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1032 nonstandard directory
<lib dir
>
1033 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1034 headers
in a nonstandard directory
<include dir
>
1037 Use these variables to override the choices made by
`configure' or to help
1038 it to find libraries and programs with nonstandard names/locations.
1043 if test "$ac_init_help" = "recursive"; then
1044 # If there are subdirs, report their specific --help.
1046 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1047 test -d $ac_dir || continue
1050 if test "$ac_dir" != .; then
1051 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1052 # A "../" for each directory in $ac_dir_suffix.
1053 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1055 ac_dir_suffix= ac_top_builddir=
1059 .) # No --srcdir option. We are building in place.
1061 if test -z "$ac_top_builddir"; then
1064 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1066 [\\/]* | ?:[\\/]* ) # Absolute path.
1067 ac_srcdir=$srcdir$ac_dir_suffix;
1068 ac_top_srcdir=$srcdir ;;
1070 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1071 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1074 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1075 # the directories may not exist.
1077 .) ac_abs_builddir="$ac_dir";;
1080 .) ac_abs_builddir=`pwd`;;
1081 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1082 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1085 case $ac_abs_builddir in
1086 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1088 case ${ac_top_builddir}. in
1089 .) ac_abs_top_builddir=$ac_abs_builddir;;
1090 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1091 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1094 case $ac_abs_builddir in
1095 .) ac_abs_srcdir=$ac_srcdir;;
1098 .) ac_abs_srcdir=$ac_abs_builddir;;
1099 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1100 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1103 case $ac_abs_builddir in
1104 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1106 case $ac_top_srcdir in
1107 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1108 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1109 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1114 # Check for guested configure; otherwise get Cygnus style configure.
1115 if test -f $ac_srcdir/configure.gnu; then
1117 $SHELL $ac_srcdir/configure.gnu --help=recursive
1118 elif test -f $ac_srcdir/configure; then
1120 $SHELL $ac_srcdir/configure --help=recursive
1121 elif test -f $ac_srcdir/configure.ac ||
1122 test -f $ac_srcdir/configure.in; then
1124 $ac_configure --help
1126 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1132 test -n "$ac_init_help" && exit 0
1133 if $ac_init_version; then
1136 Copyright (C) 2003 Free Software Foundation, Inc.
1137 This configure script is free software; the Free Software Foundation
1138 gives unlimited permission to copy, distribute and modify it.
1144 This file contains any messages produced by compilers while
1145 running configure, to aid debugging if configure makes a mistake.
1147 It was created by $as_me, which was
1148 generated by GNU Autoconf 2.59. Invocation command line was
1159 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1160 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1161 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1162 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1163 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1165 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1166 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1168 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1169 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1170 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1171 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1172 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1173 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1174 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1182 test -z "$as_dir" && as_dir=.
1183 echo "PATH: $as_dir"
1198 # Keep a trace of the command line.
1199 # Strip out --no-create and --no-recursion so they do not pile up.
1200 # Strip out --silent because we don't want to record it for future runs.
1201 # Also quote any args containing shell meta-characters.
1202 # Make two passes to allow for proper duplicate-argument suppression.
1207 ac_must_keep_next=false
1213 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1214 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1215 | -silent | --silent | --silen | --sile | --sil)
1217 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1218 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1221 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1223 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1224 if test $ac_must_keep_next = true; then
1225 ac_must_keep_next=false # Got value, back to normal.
1228 *=* | --config-cache | -C | -disable-* | --disable-* \
1229 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1230 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1231 | -with-* | --with-* | -without-* | --without-* | --x)
1232 case "$ac_configure_args0 " in
1233 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1236 -* ) ac_must_keep_next=true ;;
1239 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1240 # Get rid of the leading space.
1246 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1247 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1249 # When interrupted or exit'd, cleanup temporary files, and complete
1250 # config.log. We remove comments because anyway the quotes in there
1251 # would cause problems or look ugly.
1252 # WARNING: Be sure not to use single quotes in there, as some shells,
1253 # such as our DU 5.0 friend, will then `close
' the trap.
1254 trap 'exit_status
=$?
1255 # Save into config.log some information that might help in debugging.
1260 ## ---------------- ##
1261 ## Cache variables. ##
1262 ## ---------------- ##
1265 # The following way of writing the cache mishandles newlines in values,
1268 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1271 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1272 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1276 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1283 ## ----------------- ##
1284 ## Output variables. ##
1285 ## ----------------- ##
1288 for ac_var
in $ac_subst_vars
1290 eval ac_val
=$
`echo $ac_var`
1291 echo "$ac_var='"'"'$ac_val'"'"'"
1295 if test -n "$ac_subst_files"; then
1302 for ac_var
in $ac_subst_files
1304 eval ac_val
=$
`echo $ac_var`
1305 echo "$ac_var='"'"'$ac_val'"'"'"
1310 if test -s confdefs.h
; then
1317 sed "/^$/d" confdefs.h |
sort
1320 test "$ac_signal" != 0 &&
1321 echo "$as_me: caught signal $ac_signal"
1322 echo "$as_me: exit $exit_status"
1324 rm -f core
*.core
&&
1325 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1328 for ac_signal in 1 2 13 15; do
1329 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1333 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1334 rm -rf conftest* confdefs.h
1335 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1338 # Predefined preprocessor variables.
1340 cat >>confdefs.h <<_ACEOF
1341 #define PACKAGE_NAME "$PACKAGE_NAME"
1345 cat >>confdefs.h <<_ACEOF
1346 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1350 cat >>confdefs.h <<_ACEOF
1351 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1355 cat >>confdefs.h <<_ACEOF
1356 #define PACKAGE_STRING "$PACKAGE_STRING"
1360 cat >>confdefs.h <<_ACEOF
1361 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1365 # Let the site file select an alternate cache file if it wants to.
1366 # Prefer explicitly selected file to automatically selected ones.
1367 if test -z "$CONFIG_SITE"; then
1368 if test "x$prefix" != xNONE; then
1369 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1371 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1374 for ac_site_file in $CONFIG_SITE; do
1375 if test -r "$ac_site_file"; then
1376 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1377 echo "$as_me: loading site script $ac_site_file" >&6;}
1378 sed 's
/^
/|
/' "$ac_site_file" >&5
1383 if test -r "$cache_file"; then
1384 # Some versions of bash will fail to source /dev/null (special
1385 # files actually), so we avoid doing that.
1386 if test -f "$cache_file"; then
1387 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1388 echo "$as_me: loading cache $cache_file" >&6;}
1390 [\\/]* | ?:[\\/]* ) . $cache_file;;
1391 *) . ./$cache_file;;
1395 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1396 echo "$as_me: creating cache $cache_file" >&6;}
1400 # Check that the precious variables saved in the cache have kept the same
1402 ac_cache_corrupted=false
1403 for ac_var in `(set) 2>&1 |
1404 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1405 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1406 eval ac_new_set=\$ac_env_${ac_var}_set
1407 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1408 eval ac_new_val="\$ac_env_${ac_var}_value"
1409 case $ac_old_set,$ac_new_set in
1411 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1412 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1413 ac_cache_corrupted=: ;;
1415 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1416 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1417 ac_cache_corrupted=: ;;
1420 if test "x$ac_old_val" != "x$ac_new_val"; then
1421 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1422 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1423 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1424 echo "$as_me: former value: $ac_old_val" >&2;}
1425 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1426 echo "$as_me: current value: $ac_new_val" >&2;}
1427 ac_cache_corrupted=:
1430 # Pass precious variables to config.status.
1431 if test "$ac_new_set" = set; then
1433 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1434 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1435 *) ac_arg=$ac_var=$ac_new_val ;;
1437 case " $ac_configure_args " in
1438 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1439 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1443 if $ac_cache_corrupted; then
1444 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1445 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1446 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1447 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1448 { (exit 1); exit 1; }; }
1452 ac_cpp='$CPP $CPPFLAGS'
1453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1454 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1477 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1478 if test -f $ac_dir/install-sh; then
1480 ac_install_sh="$ac_aux_dir/install-sh -c"
1482 elif test -f $ac_dir/install.sh; then
1484 ac_install_sh="$ac_aux_dir/install.sh -c"
1486 elif test -f $ac_dir/shtool; then
1488 ac_install_sh="$ac_aux_dir/shtool install -c"
1492 if test -z "$ac_aux_dir"; then
1493 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1494 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1495 { (exit 1); exit 1; }; }
1497 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1498 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1499 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1501 # Make sure we can run config.sub.
1502 $ac_config_sub sun4 >/dev/null 2>&1 ||
1503 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1504 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1505 { (exit 1); exit 1; }; }
1507 echo "$as_me:$LINENO: checking build system type" >&5
1508 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1509 if test "${ac_cv_build+set}" = set; then
1510 echo $ECHO_N "(cached) $ECHO_C" >&6
1512 ac_cv_build_alias=$build_alias
1513 test -z "$ac_cv_build_alias" &&
1514 ac_cv_build_alias=`$ac_config_guess`
1515 test -z "$ac_cv_build_alias" &&
1516 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1517 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1518 { (exit 1); exit 1; }; }
1519 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1520 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1521 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1522 { (exit 1); exit 1; }; }
1525 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1526 echo "${ECHO_T}$ac_cv_build" >&6
1528 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1529 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1530 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1533 echo "$as_me:$LINENO: checking host system type" >&5
1534 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1535 if test "${ac_cv_host+set}" = set; then
1536 echo $ECHO_N "(cached) $ECHO_C" >&6
1538 ac_cv_host_alias=$host_alias
1539 test -z "$ac_cv_host_alias" &&
1540 ac_cv_host_alias=$ac_cv_build_alias
1541 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1542 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1543 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1544 { (exit 1); exit 1; }; }
1547 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1548 echo "${ECHO_T}$ac_cv_host" >&6
1550 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1551 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1552 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1555 echo "$as_me:$LINENO: checking target system type" >&5
1556 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1557 if test "${ac_cv_target+set}" = set; then
1558 echo $ECHO_N "(cached) $ECHO_C" >&6
1560 ac_cv_target_alias=$target_alias
1561 test "x$ac_cv_target_alias" = "x" &&
1562 ac_cv_target_alias=$ac_cv_host_alias
1563 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1564 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1565 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1566 { (exit 1); exit 1; }; }
1569 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1570 echo "${ECHO_T}$ac_cv_target" >&6
1571 target=$ac_cv_target
1572 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1573 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1574 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1577 # The aliases save the names the user supplied, while $host etc.
1578 # will get canonicalized.
1579 test -n "$target_alias" &&
1580 test "$program_prefix$program_suffix$program_transform_name" = \
1582 program_prefix=${target_alias}-
1584 ac_cpp='$CPP $CPPFLAGS'
1585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1586 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1588 if test -n "$ac_tool_prefix"; then
1589 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1590 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1591 echo "$as_me:$LINENO: checking for $ac_word" >&5
1592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1593 if test "${ac_cv_prog_CC+set}" = set; then
1594 echo $ECHO_N "(cached) $ECHO_C" >&6
1596 if test -n "$CC"; then
1597 ac_cv_prog_CC="$CC" # Let the user override the test.
1599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1603 test -z "$as_dir" && as_dir=.
1604 for ac_exec_ext in '' $ac_executable_extensions; do
1605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1606 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1616 if test -n "$CC"; then
1617 echo "$as_me:$LINENO: result: $CC" >&5
1618 echo "${ECHO_T}$CC" >&6
1620 echo "$as_me:$LINENO: result: no" >&5
1621 echo "${ECHO_T}no" >&6
1625 if test -z "$ac_cv_prog_CC"; then
1627 # Extract the first word of "gcc", so it can be a program name with args.
1628 set dummy gcc; ac_word=$2
1629 echo "$as_me:$LINENO: checking for $ac_word" >&5
1630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1631 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1632 echo $ECHO_N "(cached) $ECHO_C" >&6
1634 if test -n "$ac_ct_CC"; then
1635 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1641 test -z "$as_dir" && as_dir=.
1642 for ac_exec_ext in '' $ac_executable_extensions; do
1643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1644 ac_cv_prog_ac_ct_CC="gcc"
1645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1653 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1654 if test -n "$ac_ct_CC"; then
1655 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1656 echo "${ECHO_T}$ac_ct_CC" >&6
1658 echo "$as_me:$LINENO: result: no" >&5
1659 echo "${ECHO_T}no" >&6
1667 if test -z "$CC"; then
1668 if test -n "$ac_tool_prefix"; then
1669 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1670 set dummy ${ac_tool_prefix}cc; ac_word=$2
1671 echo "$as_me:$LINENO: checking for $ac_word" >&5
1672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1673 if test "${ac_cv_prog_CC+set}" = set; then
1674 echo $ECHO_N "(cached) $ECHO_C" >&6
1676 if test -n "$CC"; then
1677 ac_cv_prog_CC="$CC" # Let the user override the test.
1679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1683 test -z "$as_dir" && as_dir=.
1684 for ac_exec_ext in '' $ac_executable_extensions; do
1685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1686 ac_cv_prog_CC="${ac_tool_prefix}cc"
1687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1696 if test -n "$CC"; then
1697 echo "$as_me:$LINENO: result: $CC" >&5
1698 echo "${ECHO_T}$CC" >&6
1700 echo "$as_me:$LINENO: result: no" >&5
1701 echo "${ECHO_T}no" >&6
1705 if test -z "$ac_cv_prog_CC"; then
1707 # Extract the first word of "cc", so it can be a program name with args.
1708 set dummy cc; ac_word=$2
1709 echo "$as_me:$LINENO: checking for $ac_word" >&5
1710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1711 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1712 echo $ECHO_N "(cached) $ECHO_C" >&6
1714 if test -n "$ac_ct_CC"; then
1715 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1721 test -z "$as_dir" && as_dir=.
1722 for ac_exec_ext in '' $ac_executable_extensions; do
1723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1724 ac_cv_prog_ac_ct_CC="cc"
1725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1733 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1734 if test -n "$ac_ct_CC"; then
1735 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1736 echo "${ECHO_T}$ac_ct_CC" >&6
1738 echo "$as_me:$LINENO: result: no" >&5
1739 echo "${ECHO_T}no" >&6
1748 if test -z "$CC"; then
1749 # Extract the first word of "cc", so it can be a program name with args.
1750 set dummy cc; ac_word=$2
1751 echo "$as_me:$LINENO: checking for $ac_word" >&5
1752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1753 if test "${ac_cv_prog_CC+set}" = set; then
1754 echo $ECHO_N "(cached) $ECHO_C" >&6
1756 if test -n "$CC"; then
1757 ac_cv_prog_CC="$CC" # Let the user override the test.
1760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1764 test -z "$as_dir" && as_dir=.
1765 for ac_exec_ext in '' $ac_executable_extensions; do
1766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1767 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1768 ac_prog_rejected=yes
1772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1778 if test $ac_prog_rejected = yes; then
1779 # We found a bogon in the path, so make sure we never use it.
1780 set dummy $ac_cv_prog_CC
1782 if test $# != 0; then
1783 # We chose a different compiler from the bogus one.
1784 # However, it has the same basename, so the bogon will be chosen
1785 # first if we set CC to just the basename; use the full file name.
1787 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1793 if test -n "$CC"; then
1794 echo "$as_me:$LINENO: result: $CC" >&5
1795 echo "${ECHO_T}$CC" >&6
1797 echo "$as_me:$LINENO: result: no" >&5
1798 echo "${ECHO_T}no" >&6
1802 if test -z "$CC"; then
1803 if test -n "$ac_tool_prefix"; then
1806 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1807 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1808 echo "$as_me:$LINENO: checking for $ac_word" >&5
1809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1810 if test "${ac_cv_prog_CC+set}" = set; then
1811 echo $ECHO_N "(cached) $ECHO_C" >&6
1813 if test -n "$CC"; then
1814 ac_cv_prog_CC="$CC" # Let the user override the test.
1816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1820 test -z "$as_dir" && as_dir=.
1821 for ac_exec_ext in '' $ac_executable_extensions; do
1822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1823 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1833 if test -n "$CC"; then
1834 echo "$as_me:$LINENO: result: $CC" >&5
1835 echo "${ECHO_T}$CC" >&6
1837 echo "$as_me:$LINENO: result: no" >&5
1838 echo "${ECHO_T}no" >&6
1841 test -n "$CC" && break
1844 if test -z "$CC"; then
1848 # Extract the first word of "$ac_prog", so it can be a program name with args.
1849 set dummy $ac_prog; ac_word=$2
1850 echo "$as_me:$LINENO: checking for $ac_word" >&5
1851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1852 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1853 echo $ECHO_N "(cached) $ECHO_C" >&6
1855 if test -n "$ac_ct_CC"; then
1856 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1862 test -z "$as_dir" && as_dir=.
1863 for ac_exec_ext in '' $ac_executable_extensions; do
1864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1865 ac_cv_prog_ac_ct_CC="$ac_prog"
1866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1874 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1875 if test -n "$ac_ct_CC"; then
1876 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1877 echo "${ECHO_T}$ac_ct_CC" >&6
1879 echo "$as_me:$LINENO: result: no" >&5
1880 echo "${ECHO_T}no" >&6
1883 test -n "$ac_ct_CC" && break
1892 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1893 See \`config.log' for more details.
" >&5
1894 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1895 See \
`config.log' for more details." >&2;}
1896 { (exit 1); exit 1; }; }
1898 # Provide some information about the compiler.
1899 echo "$as_me:$LINENO:" \
1900 "checking for C compiler version" >&5
1901 ac_compiler=`set X
$ac_compile; echo $2`
1902 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1903 (eval $ac_compiler --version </dev/null >&5) 2>&5
1905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1906 (exit $ac_status); }
1907 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1908 (eval $ac_compiler -v </dev/null >&5) 2>&5
1910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1911 (exit $ac_status); }
1912 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1913 (eval $ac_compiler -V </dev/null >&5) 2>&5
1915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1916 (exit $ac_status); }
1918 cat >conftest.$ac_ext <<_ACEOF
1921 cat confdefs.h >>conftest.$ac_ext
1922 cat >>conftest.$ac_ext <<_ACEOF
1923 /* end confdefs.h. */
1933 ac_clean_files_save=$ac_clean_files
1934 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1935 # Try to create an executable without -o first, disregard a.out.
1936 # It will help us diagnose broken compilers, and finding out an intuition
1938 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1939 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1940 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1941 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1942 (eval $ac_link_default) 2>&5
1944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1945 (exit $ac_status); }; then
1946 # Find the output, starting from the most likely. This scheme is
1947 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1950 # Be careful to initialize this variable, since it used to be cached.
1951 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1953 # b.out is created by i960 compilers.
1954 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1956 test -f "$ac_file" || continue
1958 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1961 # This is the source file.
1964 # We found the default executable, but exeext='' is most
1968 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1969 # FIXME: I believe we export ac_cv_exeext for Libtool,
1970 # but it would be cool to find out if it's true. Does anybody
1971 # maintain Libtool? --akim.
1979 echo "$as_me: failed program was:" >&5
1980 sed 's/^/| /' conftest.$ac_ext >&5
1982 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1983 See \`config.log
' for more details." >&5
1984 echo "$as_me: error: C compiler cannot create executables
1985 See \`config.log' for more details.
" >&2;}
1986 { (exit 77); exit 77; }; }
1989 ac_exeext=$ac_cv_exeext
1990 echo "$as_me:$LINENO: result
: $ac_file" >&5
1991 echo "${ECHO_T}$ac_file" >&6
1993 # Check the compiler produces executables we can run. If not, either
1994 # the compiler is broken, or we cross compile.
1995 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1996 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1997 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1998 # If not cross compiling, check that we can run a simple program.
1999 if test "$cross_compiling" != yes; then
2000 if { ac_try='./$ac_file'
2001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2004 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2005 (exit $ac_status); }; }; then
2008 if test "$cross_compiling" = maybe; then
2011 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2012 If you meant to cross compile
, use \
`--host'.
2013 See \`config.log
' for more details." >&5
2014 echo "$as_me: error: cannot run C compiled programs.
2015 If you meant to cross compile, use \`--host'.
2016 See \
`config.log' for more details." >&2;}
2017 { (exit 1); exit 1; }; }
2021 echo "$as_me:$LINENO: result: yes" >&5
2022 echo "${ECHO_T}yes" >&6
2024 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2025 ac_clean_files=$ac_clean_files_save
2026 # Check the compiler produces executables we can run. If not, either
2027 # the compiler is broken, or we cross compile.
2028 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2029 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2030 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2031 echo "${ECHO_T}$cross_compiling" >&6
2033 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2034 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2036 (eval $ac_link) 2>&5
2038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2039 (exit $ac_status); }; then
2040 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2041 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2042 # work properly (i.e., refer to `conftest.exe'), while it won't with
2044 for ac_file
in conftest.exe conftest conftest.
*; do
2045 test -f "$ac_file" ||
continue
2047 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2048 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2055 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2056 See \`config.log' for more details." >&5
2057 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2058 See \`config.log' for more details." >&2;}
2059 { (exit 1); exit 1; }; }
2062 rm -f conftest
$ac_cv_exeext
2063 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2064 echo "${ECHO_T}$ac_cv_exeext" >&6
2066 rm -f conftest.
$ac_ext
2067 EXEEXT
=$ac_cv_exeext
2069 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2070 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2071 if test "${ac_cv_objext+set}" = set; then
2072 echo $ECHO_N "(cached) $ECHO_C" >&6
2074 cat >conftest.
$ac_ext <<_ACEOF
2077 cat confdefs.h
>>conftest.
$ac_ext
2078 cat >>conftest.
$ac_ext <<_ACEOF
2079 /* end confdefs.h. */
2089 rm -f conftest.o conftest.obj
2090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2091 (eval $ac_compile) 2>&5
2093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2094 (exit $ac_status); }; then
2095 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2097 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2098 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2103 echo "$as_me: failed program was:" >&5
2104 sed 's/^/| /' conftest.
$ac_ext >&5
2106 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2107 See \`config.log' for more details." >&5
2108 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2109 See \`config.log' for more details." >&2;}
2110 { (exit 1); exit 1; }; }
2113 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2115 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2116 echo "${ECHO_T}$ac_cv_objext" >&6
2117 OBJEXT
=$ac_cv_objext
2119 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2120 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2121 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2122 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 cat >conftest.
$ac_ext <<_ACEOF
2127 cat confdefs.h
>>conftest.
$ac_ext
2128 cat >>conftest.
$ac_ext <<_ACEOF
2129 /* end confdefs.h. */
2142 rm -f conftest.
$ac_objext
2143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2144 (eval $ac_compile) 2>conftest.er1
2146 grep -v '^ *+' conftest.er1
>conftest.err
2148 cat conftest.err
>&5
2149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2150 (exit $ac_status); } &&
2151 { ac_try
='test -z "$ac_c_werror_flag"
2152 || test ! -s conftest.err'
2153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157 (exit $ac_status); }; } &&
2158 { ac_try
='test -s conftest.$ac_objext'
2159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2163 (exit $ac_status); }; }; then
2166 echo "$as_me: failed program was:" >&5
2167 sed 's/^/| /' conftest.
$ac_ext >&5
2171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2172 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2175 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2176 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2177 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2178 ac_test_CFLAGS
=${CFLAGS+set}
2179 ac_save_CFLAGS
=$CFLAGS
2181 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2182 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2183 if test "${ac_cv_prog_cc_g+set}" = set; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2186 cat >conftest.
$ac_ext <<_ACEOF
2189 cat confdefs.h
>>conftest.
$ac_ext
2190 cat >>conftest.
$ac_ext <<_ACEOF
2191 /* end confdefs.h. */
2201 rm -f conftest.
$ac_objext
2202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2203 (eval $ac_compile) 2>conftest.er1
2205 grep -v '^ *+' conftest.er1
>conftest.err
2207 cat conftest.err
>&5
2208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2209 (exit $ac_status); } &&
2210 { ac_try
='test -z "$ac_c_werror_flag"
2211 || test ! -s conftest.err'
2212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); }; } &&
2217 { ac_try
='test -s conftest.$ac_objext'
2218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2222 (exit $ac_status); }; }; then
2225 echo "$as_me: failed program was:" >&5
2226 sed 's/^/| /' conftest.
$ac_ext >&5
2230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2232 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2233 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2234 if test "$ac_test_CFLAGS" = set; then
2235 CFLAGS
=$ac_save_CFLAGS
2236 elif test $ac_cv_prog_cc_g = yes; then
2237 if test "$GCC" = yes; then
2243 if test "$GCC" = yes; then
2249 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2250 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2251 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2252 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 ac_cv_prog_cc_stdc
=no
2256 cat >conftest.
$ac_ext <<_ACEOF
2259 cat confdefs.h
>>conftest.
$ac_ext
2260 cat >>conftest.
$ac_ext <<_ACEOF
2261 /* end confdefs.h. */
2264 #include <sys/types.h>
2265 #include <sys/stat.h>
2266 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2267 struct buf { int x; };
2268 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2269 static char *e (p, i)
2275 static char *f (char * (*g) (char **, int), char **p, ...)
2280 s = g (p, va_arg (v,int));
2285 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2286 function prototypes and stuff, but not '\xHH' hex character constants.
2287 These don't provoke an error unfortunately, instead are silently treated
2288 as 'x'. The following induces an error, until -std1 is added to get
2289 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2290 array size at least. It's necessary to write '\x00'==0 to get something
2291 that's true only with -std1. */
2292 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2294 int test (int i, double x);
2295 struct s1 {int (*f) (int a);};
2296 struct s2 {int (*f) (double a);};
2297 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2303 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2308 # Don't try gcc -ansi; that turns off useful extensions and
2309 # breaks some systems' header files.
2310 # AIX -qlanglvl=ansi
2311 # Ultrix and OSF/1 -std1
2312 # HP-UX 10.20 and later -Ae
2313 # HP-UX older versions -Aa -D_HPUX_SOURCE
2314 # SVR4 -Xc -D__EXTENSIONS__
2315 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2317 CC
="$ac_save_CC $ac_arg"
2318 rm -f conftest.
$ac_objext
2319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2320 (eval $ac_compile) 2>conftest.er1
2322 grep -v '^ *+' conftest.er1
>conftest.err
2324 cat conftest.err
>&5
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); } &&
2327 { ac_try
='test -z "$ac_c_werror_flag"
2328 || test ! -s conftest.err'
2329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); }; } &&
2334 { ac_try
='test -s conftest.$ac_objext'
2335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339 (exit $ac_status); }; }; then
2340 ac_cv_prog_cc_stdc
=$ac_arg
2343 echo "$as_me: failed program was:" >&5
2344 sed 's/^/| /' conftest.
$ac_ext >&5
2347 rm -f conftest.err conftest.
$ac_objext
2349 rm -f conftest.
$ac_ext conftest.
$ac_objext
2354 case "x$ac_cv_prog_cc_stdc" in
2356 echo "$as_me:$LINENO: result: none needed" >&5
2357 echo "${ECHO_T}none needed" >&6 ;;
2359 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2360 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2361 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2364 # Some people use a C++ compiler to compile C. Since we use `exit',
2365 # in C++ we need to declare it. In case someone uses the same compiler
2366 # for both compiling C and C++ we need to have the C++ compiler decide
2367 # the declaration of exit, since it's the most demanding environment.
2368 cat >conftest.
$ac_ext <<_ACEOF
2373 rm -f conftest.
$ac_objext
2374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2375 (eval $ac_compile) 2>conftest.er1
2377 grep -v '^ *+' conftest.er1
>conftest.err
2379 cat conftest.err
>&5
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); } &&
2382 { ac_try
='test -z "$ac_c_werror_flag"
2383 || test ! -s conftest.err'
2384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); }; } &&
2389 { ac_try
='test -s conftest.$ac_objext'
2390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); }; }; then
2395 for ac_declaration
in \
2397 'extern "C" void std::exit (int) throw (); using std::exit;' \
2398 'extern "C" void std::exit (int); using std::exit;' \
2399 'extern "C" void exit (int) throw ();' \
2400 'extern "C" void exit (int);' \
2403 cat >conftest.
$ac_ext <<_ACEOF
2406 cat confdefs.h
>>conftest.
$ac_ext
2407 cat >>conftest.
$ac_ext <<_ACEOF
2408 /* end confdefs.h. */
2419 rm -f conftest.
$ac_objext
2420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2421 (eval $ac_compile) 2>conftest.er1
2423 grep -v '^ *+' conftest.er1
>conftest.err
2425 cat conftest.err
>&5
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); } &&
2428 { ac_try
='test -z "$ac_c_werror_flag"
2429 || test ! -s conftest.err'
2430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434 (exit $ac_status); }; } &&
2435 { ac_try
='test -s conftest.$ac_objext'
2436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); }; }; then
2443 echo "$as_me: failed program was:" >&5
2444 sed 's/^/| /' conftest.
$ac_ext >&5
2448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2449 cat >conftest.
$ac_ext <<_ACEOF
2452 cat confdefs.h
>>conftest.
$ac_ext
2453 cat >>conftest.
$ac_ext <<_ACEOF
2454 /* end confdefs.h. */
2464 rm -f conftest.
$ac_objext
2465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2466 (eval $ac_compile) 2>conftest.er1
2468 grep -v '^ *+' conftest.er1
>conftest.err
2470 cat conftest.err
>&5
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); } &&
2473 { ac_try
='test -z "$ac_c_werror_flag"
2474 || test ! -s conftest.err'
2475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479 (exit $ac_status); }; } &&
2480 { ac_try
='test -s conftest.$ac_objext'
2481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485 (exit $ac_status); }; }; then
2488 echo "$as_me: failed program was:" >&5
2489 sed 's/^/| /' conftest.
$ac_ext >&5
2492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2495 if test -n "$ac_declaration"; then
2496 echo '#ifdef __cplusplus' >>confdefs.h
2497 echo $ac_declaration >>confdefs.h
2498 echo '#endif' >>confdefs.h
2502 echo "$as_me: failed program was:" >&5
2503 sed 's/^/| /' conftest.
$ac_ext >&5
2506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2508 ac_cpp
='$CPP $CPPFLAGS'
2509 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2510 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2511 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2514 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2515 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2516 if test "${ac_cv_search_strerror+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 ac_func_search_save_LIBS
=$LIBS
2520 ac_cv_search_strerror
=no
2521 cat >conftest.
$ac_ext <<_ACEOF
2524 cat confdefs.h
>>conftest.
$ac_ext
2525 cat >>conftest.
$ac_ext <<_ACEOF
2526 /* end confdefs.h. */
2528 /* Override any gcc2 internal prototype to avoid an error. */
2532 /* We use char because int might match the return type of a gcc2
2533 builtin and then its argument prototype would still apply. */
2543 rm -f conftest.
$ac_objext conftest
$ac_exeext
2544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2545 (eval $ac_link) 2>conftest.er1
2547 grep -v '^ *+' conftest.er1
>conftest.err
2549 cat conftest.err
>&5
2550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551 (exit $ac_status); } &&
2552 { ac_try
='test -z "$ac_c_werror_flag"
2553 || test ! -s conftest.err'
2554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }; } &&
2559 { ac_try
='test -s conftest$ac_exeext'
2560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }; }; then
2565 ac_cv_search_strerror
="none required"
2567 echo "$as_me: failed program was:" >&5
2568 sed 's/^/| /' conftest.
$ac_ext >&5
2571 rm -f conftest.err conftest.
$ac_objext \
2572 conftest
$ac_exeext conftest.
$ac_ext
2573 if test "$ac_cv_search_strerror" = no
; then
2574 for ac_lib
in cposix
; do
2575 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2576 cat >conftest.
$ac_ext <<_ACEOF
2579 cat confdefs.h
>>conftest.
$ac_ext
2580 cat >>conftest.
$ac_ext <<_ACEOF
2581 /* end confdefs.h. */
2583 /* Override any gcc2 internal prototype to avoid an error. */
2587 /* We use char because int might match the return type of a gcc2
2588 builtin and then its argument prototype would still apply. */
2598 rm -f conftest.
$ac_objext conftest
$ac_exeext
2599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2600 (eval $ac_link) 2>conftest.er1
2602 grep -v '^ *+' conftest.er1
>conftest.err
2604 cat conftest.err
>&5
2605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606 (exit $ac_status); } &&
2607 { ac_try
='test -z "$ac_c_werror_flag"
2608 || test ! -s conftest.err'
2609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); }; } &&
2614 { ac_try
='test -s conftest$ac_exeext'
2615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2619 (exit $ac_status); }; }; then
2620 ac_cv_search_strerror
="-l$ac_lib"
2623 echo "$as_me: failed program was:" >&5
2624 sed 's/^/| /' conftest.
$ac_ext >&5
2627 rm -f conftest.err conftest.
$ac_objext \
2628 conftest
$ac_exeext conftest.
$ac_ext
2631 LIBS
=$ac_func_search_save_LIBS
2633 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2634 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2635 if test "$ac_cv_search_strerror" != no
; then
2636 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2641 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2642 am__api_version
="1.9"
2643 # Find a good install program. We prefer a C program (faster),
2644 # so one script is as good as another. But avoid the broken or
2645 # incompatible versions:
2646 # SysV /etc/install, /usr/sbin/install
2647 # SunOS /usr/etc/install
2648 # IRIX /sbin/install
2650 # AmigaOS /C/install, which installs bootblocks on floppy discs
2651 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2652 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2653 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2654 # OS/2's system install, which has a completely different semantic
2655 # ./install, which can be erroneously created by make from ./install.sh.
2656 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2657 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2658 if test -z "$INSTALL"; then
2659 if test "${ac_cv_path_install+set}" = set; then
2660 echo $ECHO_N "(cached) $ECHO_C" >&6
2662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2666 test -z "$as_dir" && as_dir
=.
2667 # Account for people who put trailing slashes in PATH elements.
2669 .
/ | .
// |
/cC
/* | \
2670 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2671 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2674 # OSF1 and SCO ODT 3.0 have their own names for install.
2675 # Don't use installbsd from OSF since it installs stuff as root
2677 for ac_prog
in ginstall scoinst
install; do
2678 for ac_exec_ext
in '' $ac_executable_extensions; do
2679 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2680 if test $ac_prog = install &&
2681 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2682 # AIX install. It has an incompatible calling convention.
2684 elif test $ac_prog = install &&
2685 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2686 # program-specific install script used by HP pwplus--don't use.
2689 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2701 if test "${ac_cv_path_install+set}" = set; then
2702 INSTALL
=$ac_cv_path_install
2704 # As a last resort, use the slow shell script. We don't cache a
2705 # path for INSTALL within a source directory, because that will
2706 # break other packages using the cache if that directory is
2707 # removed, or if the path is relative.
2708 INSTALL
=$ac_install_sh
2711 echo "$as_me:$LINENO: result: $INSTALL" >&5
2712 echo "${ECHO_T}$INSTALL" >&6
2714 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2715 # It thinks the first close brace ends the variable substitution.
2716 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2718 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2720 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2722 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2723 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2726 echo timestamp
> conftest.
file
2727 # Do `set' in a subshell so we don't clobber the current shell's
2728 # arguments. Must try -L first in case configure is actually a
2729 # symlink; some systems play weird games with the mod time of symlinks
2730 # (eg FreeBSD returns the mod time of the symlink's containing
2733 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2734 if test "$*" = "X"; then
2736 set X
`ls -t $srcdir/configure conftest.file`
2739 if test "$*" != "X $srcdir/configure conftest.file" \
2740 && test "$*" != "X conftest.file $srcdir/configure"; then
2742 # If neither matched, then we have a broken ls. This can happen
2743 # if, for instance, CONFIG_SHELL is bash and it inherits a
2744 # broken ls alias from the environment. This has actually
2745 # happened. Such a system could not be considered "sane".
2746 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2747 alias in your environment" >&5
2748 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2749 alias in your environment" >&2;}
2750 { (exit 1); exit 1; }; }
2753 test "$2" = conftest.
file
2759 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2760 Check your system clock" >&5
2761 echo "$as_me: error: newly created file is older than distributed files!
2762 Check your system clock" >&2;}
2763 { (exit 1); exit 1; }; }
2765 echo "$as_me:$LINENO: result: yes" >&5
2766 echo "${ECHO_T}yes" >&6
2767 test "$program_prefix" != NONE
&&
2768 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2769 # Use a double $ so make ignores it.
2770 test "$program_suffix" != NONE
&&
2771 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2772 # Double any \ or $. echo might interpret backslashes.
2773 # By default was `s,x,x', remove it if useless.
2774 cat <<\_ACEOF
>conftest.
sed
2775 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2777 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2780 # expand $ac_aux_dir to an absolute path
2781 am_aux_dir
=`cd $ac_aux_dir && pwd`
2783 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2784 # Use eval to expand $SHELL
2785 if eval "$MISSING --run true"; then
2786 am_missing_run
="$MISSING --run "
2789 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2790 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2793 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2794 # We used to keeping the `.' as first argument, in order to
2795 # allow $(mkdir_p) to be used without argument. As in
2796 # $(mkdir_p) $(somedir)
2797 # where $(somedir) is conditionally defined. However this is wrong
2799 # 1. if the package is installed by a user who cannot write `.'
2800 # make install will fail,
2801 # 2. the above comment should most certainly read
2802 # $(mkdir_p) $(DESTDIR)$(somedir)
2803 # so it does not work when $(somedir) is undefined and
2804 # $(DESTDIR) is not.
2805 # To support the latter case, we have to write
2806 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2807 # so the `.' trick is pointless.
2808 mkdir_p
='mkdir -p --'
2810 # On NextStep and OpenStep, the `mkdir' command does not
2811 # recognize any option. It will interpret all options as
2812 # directories to create, and then abort because `.' already
2814 for d
in .
/-p .
/--version;
2816 test -d $d && rmdir $d
2818 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2819 if test -f "$ac_aux_dir/mkinstalldirs"; then
2820 mkdir_p
='$(mkinstalldirs)'
2822 mkdir_p
='$(install_sh) -d'
2826 for ac_prog
in gawk mawk nawk
awk
2828 # Extract the first word of "$ac_prog", so it can be a program name with args.
2829 set dummy
$ac_prog; ac_word
=$2
2830 echo "$as_me:$LINENO: checking for $ac_word" >&5
2831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2832 if test "${ac_cv_prog_AWK+set}" = set; then
2833 echo $ECHO_N "(cached) $ECHO_C" >&6
2835 if test -n "$AWK"; then
2836 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2842 test -z "$as_dir" && as_dir
=.
2843 for ac_exec_ext
in '' $ac_executable_extensions; do
2844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2845 ac_cv_prog_AWK
="$ac_prog"
2846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2855 if test -n "$AWK"; then
2856 echo "$as_me:$LINENO: result: $AWK" >&5
2857 echo "${ECHO_T}$AWK" >&6
2859 echo "$as_me:$LINENO: result: no" >&5
2860 echo "${ECHO_T}no" >&6
2863 test -n "$AWK" && break
2866 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2867 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2868 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2869 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2870 echo $ECHO_N "(cached) $ECHO_C" >&6
2872 cat >conftest.
make <<\_ACEOF
2874 @
echo 'ac_maketemp="$(MAKE)"'
2876 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2877 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2878 if test -n "$ac_maketemp"; then
2879 eval ac_cv_prog_make_
${ac_make}_set
=yes
2881 eval ac_cv_prog_make_
${ac_make}_set
=no
2885 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2886 echo "$as_me:$LINENO: result: yes" >&5
2887 echo "${ECHO_T}yes" >&6
2890 echo "$as_me:$LINENO: result: no" >&5
2891 echo "${ECHO_T}no" >&6
2892 SET_MAKE
="MAKE=${MAKE-make}"
2895 rm -rf .tst
2>/dev
/null
2896 mkdir .tst
2>/dev
/null
2897 if test -d .tst
; then
2902 rmdir .tst
2>/dev
/null
2904 DEPDIR
="${am__leading_dot}deps"
2906 ac_config_commands
="$ac_config_commands depfiles"
2909 am_make
=${MAKE-make}
2910 cat > confinc
<< 'END'
2915 # If we don't find an include directive, just comment out the code.
2916 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2917 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2921 # First try GNU make style include.
2922 echo "include confinc" > confmf
2923 # We grep out `Entering directory' and `Leaving directory'
2924 # messages which can occur if `w' ends up in MAKEFLAGS.
2925 # In particular we don't look at `^make:' because GNU make might
2926 # be invoked under some other name (usually "gmake"), in which
2927 # case it prints its new name instead of `make'.
2928 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2933 # Now try BSD make style include.
2934 if test "$am__include" = "#"; then
2935 echo '.include "confinc"' > confmf
2936 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2937 am__include
=.include
2944 echo "$as_me:$LINENO: result: $_am_result" >&5
2945 echo "${ECHO_T}$_am_result" >&6
2946 rm -f confinc confmf
2948 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2949 if test "${enable_dependency_tracking+set}" = set; then
2950 enableval
="$enable_dependency_tracking"
2953 if test "x$enable_dependency_tracking" != xno
; then
2954 am_depcomp
="$ac_aux_dir/depcomp"
2959 if test "x$enable_dependency_tracking" != xno; then
2969 # test to see if srcdir already configured
2970 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2971 test -f $srcdir/config.status
; then
2972 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2973 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2974 { (exit 1); exit 1; }; }
2977 # test whether we have cygpath
2978 if test -z "$CYGPATH_W"; then
2979 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2980 CYGPATH_W
='cygpath -w'
2987 # Define the identity of the package.
2989 VERSION
=${BFD_VERSION}
2992 cat >>confdefs.h
<<_ACEOF
2993 #define PACKAGE "$PACKAGE"
2997 cat >>confdefs.h
<<_ACEOF
2998 #define VERSION "$VERSION"
3001 # Some tools Automake needs.
3003 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3006 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3009 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3012 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3015 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3017 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3019 # Installed binaries are usually stripped using `strip' when the user
3020 # run `make install-strip'. However `strip' might not be the right
3021 # tool to use in cross-compilation environments, therefore Automake
3022 # will honor the `STRIP' environment variable to overrule this program.
3023 if test "$cross_compiling" != no
; then
3024 if test -n "$ac_tool_prefix"; then
3025 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3026 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3027 echo "$as_me:$LINENO: checking for $ac_word" >&5
3028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3029 if test "${ac_cv_prog_STRIP+set}" = set; then
3030 echo $ECHO_N "(cached) $ECHO_C" >&6
3032 if test -n "$STRIP"; then
3033 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3039 test -z "$as_dir" && as_dir
=.
3040 for ac_exec_ext
in '' $ac_executable_extensions; do
3041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3042 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 STRIP
=$ac_cv_prog_STRIP
3052 if test -n "$STRIP"; then
3053 echo "$as_me:$LINENO: result: $STRIP" >&5
3054 echo "${ECHO_T}$STRIP" >&6
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3061 if test -z "$ac_cv_prog_STRIP"; then
3063 # Extract the first word of "strip", so it can be a program name with args.
3064 set dummy strip
; ac_word
=$2
3065 echo "$as_me:$LINENO: checking for $ac_word" >&5
3066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3067 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3068 echo $ECHO_N "(cached) $ECHO_C" >&6
3070 if test -n "$ac_ct_STRIP"; then
3071 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3077 test -z "$as_dir" && as_dir
=.
3078 for ac_exec_ext
in '' $ac_executable_extensions; do
3079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3080 ac_cv_prog_ac_ct_STRIP
="strip"
3081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3087 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3090 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3091 if test -n "$ac_ct_STRIP"; then
3092 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3093 echo "${ECHO_T}$ac_ct_STRIP" >&6
3095 echo "$as_me:$LINENO: result: no" >&5
3096 echo "${ECHO_T}no" >&6
3101 STRIP
="$ac_cv_prog_STRIP"
3105 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3107 # We need awk for the "check" target. The system "awk" is bad on
3109 # Always define AMTAR for backward compatibility.
3111 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3113 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3118 depcc
="$CC" am_compiler_list
=
3120 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3121 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3122 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3123 echo $ECHO_N "(cached) $ECHO_C" >&6
3125 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3126 # We make a subdir and do the tests there. Otherwise we can end up
3127 # making bogus files that we don't know about and never remove. For
3128 # instance it was reported that on HP-UX the gcc test will end up
3129 # making a dummy file named `D' -- because `-MD' means `put the output
3132 # Copy depcomp to subdir because otherwise we won't find it if we're
3133 # using a relative directory.
3134 cp "$am_depcomp" conftest.dir
3136 # We will build objects and dependencies in a subdirectory because
3137 # it helps to detect inapplicable dependency modes. For instance
3138 # both Tru64's cc and ICC support -MD to output dependencies as a
3139 # side effect of compilation, but ICC will put the dependencies in
3140 # the current directory while Tru64 will put them in the object
3144 am_cv_CC_dependencies_compiler_type
=none
3145 if test "$am_compiler_list" = ""; then
3146 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3148 for depmode
in $am_compiler_list; do
3149 # Setup a source with many dependencies, because some compilers
3150 # like to wrap large dependency lists on column 80 (with \), and
3151 # we should not choose a depcomp mode which is confused by this.
3153 # We need to recreate these files for each test, as the compiler may
3154 # overwrite some of them when testing with obscure command lines.
3155 # This happens at least with the AIX C compiler.
3157 for i
in 1 2 3 4 5 6; do
3158 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3159 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3160 # Solaris 8's {/usr,}/bin/sh.
3161 touch sub
/conftst
$i.h
3163 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3167 # after this tag, mechanisms are not by side-effect, so they'll
3168 # only be used when explicitly requested
3169 if test "x$enable_dependency_tracking" = xyes
; then
3177 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3178 # mode. It turns out that the SunPro C++ compiler does not properly
3179 # handle `-M -o', and we need to detect this.
3180 if depmode
=$depmode \
3181 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3182 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3183 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3184 >/dev
/null
2>conftest.err
&&
3185 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3186 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3187 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3188 # icc doesn't choke on unknown options, it will just issue warnings
3189 # or remarks (even with -Werror). So we grep stderr for any message
3190 # that says an option was ignored or not supported.
3191 # When given -MP, icc 7.0 and 7.1 complain thusly:
3192 # icc: Command line warning: ignoring option '-M'; no argument required
3193 # The diagnosis changed in icc 8.0:
3194 # icc: Command line remark: option '-MP' not supported
3195 if (grep 'ignoring option' conftest.err ||
3196 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3197 am_cv_CC_dependencies_compiler_type
=$depmode
3206 am_cv_CC_dependencies_compiler_type
=none
3210 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3211 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3212 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3217 test "x$enable_dependency_tracking" != xno \
3218 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3220 am__fastdepCC_FALSE
='#'
3222 am__fastdepCC_TRUE
='#'
3223 am__fastdepCC_FALSE
=
3231 macro_version
='2.1a'
3232 macro_revision
='1.2435'
3245 ltmain
="$ac_aux_dir/ltmain.sh"
3255 # Check whether --enable-shared or --disable-shared was given.
3256 if test "${enable_shared+set}" = set; then
3257 enableval
="$enable_shared"
3258 p
=${PACKAGE-default}
3260 yes) enable_shared
=yes ;;
3261 no
) enable_shared
=no
;;
3264 # Look at the argument we got. We use all the common list separators.
3265 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3266 for pkg
in $enableval; do
3268 if test "X$pkg" = "X$p"; then
3286 # Check whether --enable-static or --disable-static was given.
3287 if test "${enable_static+set}" = set; then
3288 enableval
="$enable_static"
3289 p
=${PACKAGE-default}
3291 yes) enable_static
=yes ;;
3292 no
) enable_static
=no
;;
3295 # Look at the argument we got. We use all the common list separators.
3296 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3297 for pkg
in $enableval; do
3299 if test "X$pkg" = "X$p"; then
3318 # Check whether --with-pic or --without-pic was given.
3319 if test "${with_pic+set}" = set; then
3326 test -z "$pic_mode" && pic_mode
=default
3334 # Check whether --enable-fast-install or --disable-fast-install was given.
3335 if test "${enable_fast_install+set}" = set; then
3336 enableval
="$enable_fast_install"
3337 p
=${PACKAGE-default}
3339 yes) enable_fast_install
=yes ;;
3340 no
) enable_fast_install
=no
;;
3342 enable_fast_install
=no
3343 # Look at the argument we got. We use all the common list separators.
3344 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3345 for pkg
in $enableval; do
3347 if test "X$pkg" = "X$p"; then
3348 enable_fast_install
=yes
3355 enable_fast_install
=yes
3365 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3366 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3367 if test "${lt_cv_path_SED+set}" = set; then
3368 echo $ECHO_N "(cached) $ECHO_C" >&6
3370 # Loop through the user's path and test for sed and gsed.
3371 # Then use that list of sed's as ones to test for truncation.
3372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3376 test -z "$as_dir" && as_dir
=.
3377 for lt_ac_prog
in sed gsed
; do
3378 for ac_exec_ext
in '' $ac_executable_extensions; do
3379 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3380 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3388 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3389 # along with /bin/sed that truncates output.
3390 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3391 test ! -f $lt_ac_sed && continue
3392 cat /dev
/null
> conftest.
in
3394 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3395 # Check for GNU sed and select it if it is found.
3396 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3397 lt_cv_path_SED
=$lt_ac_sed
3401 cat conftest.
in conftest.
in >conftest.tmp
3402 mv conftest.tmp conftest.
in
3403 cp conftest.
in conftest.
nl
3405 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3406 cmp -s conftest.out conftest.
nl ||
break
3407 # 10000 chars as input seems more than enough
3408 test $lt_ac_count -gt 10 && break
3409 lt_ac_count
=`expr $lt_ac_count + 1`
3410 if test $lt_ac_count -gt $lt_ac_max; then
3411 lt_ac_max
=$lt_ac_count
3412 lt_cv_path_SED
=$lt_ac_sed
3421 echo "$as_me:$LINENO: result: $SED" >&5
3422 echo "${ECHO_T}$SED" >&6
3424 test -z "$SED" && SED
=sed
3425 Xsed
="$SED -e 1s/^X//"
3437 echo "$as_me:$LINENO: checking for egrep" >&5
3438 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3439 if test "${ac_cv_prog_egrep+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3443 then ac_cv_prog_egrep
='grep -E'
3444 else ac_cv_prog_egrep
='egrep'
3447 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3448 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3449 EGREP
=$ac_cv_prog_egrep
3452 echo "$as_me:$LINENO: checking for fgrep" >&5
3453 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
3454 if test "${ac_cv_prog_fgrep+set}" = set; then
3455 echo $ECHO_N "(cached) $ECHO_C" >&6
3457 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
3458 then ac_cv_prog_fgrep
='grep -F'
3459 else ac_cv_prog_fgrep
='fgrep'
3462 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
3463 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
3464 FGREP
=$ac_cv_prog_fgrep
3467 test -z "$GREP" && GREP
=grep
3487 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3488 if test "${with_gnu_ld+set}" = set; then
3489 withval
="$with_gnu_ld"
3490 test "$withval" = no || with_gnu_ld
=yes
3495 if test "$GCC" = yes; then
3496 # Check if gcc -print-prog-name=ld gives a path.
3497 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3498 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3501 # gcc leaves a trailing carriage return which upsets mingw
3502 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3504 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3507 # Accept absolute paths.
3509 re_direlt
='/[^/][^/]*/\.\./'
3510 # Canonicalize the pathname of ld
3511 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3512 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
3513 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3515 test -z "$LD" && LD
="$ac_prog"
3518 # If it fails, then pretend we aren't using GCC.
3522 # If it is relative, then search for the first ld in PATH.
3526 elif test "$with_gnu_ld" = yes; then
3527 echo "$as_me:$LINENO: checking for GNU ld" >&5
3528 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3530 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3531 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3533 if test "${lt_cv_path_LD+set}" = set; then
3534 echo $ECHO_N "(cached) $ECHO_C" >&6
3536 if test -z "$LD"; then
3537 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3538 for ac_dir
in $PATH; do
3540 test -z "$ac_dir" && ac_dir
=.
3541 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3542 lt_cv_path_LD
="$ac_dir/$ac_prog"
3543 # Check to see if the program is GNU ld. I'd rather use --version,
3544 # but apparently some variants of GNU ld only accept -v.
3545 # Break only if it was the GNU/non-GNU ld that we prefer.
3546 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3547 *GNU
* |
*'with BFD'*)
3548 test "$with_gnu_ld" != no
&& break
3551 test "$with_gnu_ld" != yes && break
3558 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3563 if test -n "$LD"; then
3564 echo "$as_me:$LINENO: result: $LD" >&5
3565 echo "${ECHO_T}$LD" >&6
3567 echo "$as_me:$LINENO: result: no" >&5
3568 echo "${ECHO_T}no" >&6
3570 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3571 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3572 { (exit 1); exit 1; }; }
3573 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3574 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3575 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3576 echo $ECHO_N "(cached) $ECHO_C" >&6
3578 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3579 case `$LD -v 2>&1 </dev/null` in
3580 *GNU
* |
*'with BFD'*)
3581 lt_cv_prog_gnu_ld
=yes
3584 lt_cv_prog_gnu_ld
=no
3588 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3589 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3590 with_gnu_ld
=$lt_cv_prog_gnu_ld
3601 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
3602 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
3603 if test "${lt_cv_path_NM+set}" = set; then
3604 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 if test -n "$NM"; then
3607 # Let the user override the test.
3610 lt_nm_to_check
="${ac_tool_prefix}nm"
3611 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3612 lt_nm_to_check
="$lt_nm_to_check nm"
3614 for lt_tmp_nm
in $lt_nm_to_check; do
3615 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3616 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3618 test -z "$ac_dir" && ac_dir
=.
3619 tmp_nm
="$ac_dir/$lt_tmp_nm"
3620 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3621 # Check to see if the nm accepts a BSD-compat flag.
3622 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3623 # nm: unknown option "B" ignored
3624 # Tru64's nm complains that /dev/null is an invalid object file
3625 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3626 */dev
/null
* |
*'Invalid file or object type'*)
3627 lt_cv_path_NM
="$tmp_nm -B"
3631 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3633 lt_cv_path_NM
="$tmp_nm -p"
3637 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3638 continue # so that we can try to find one that supports BSD flags
3647 : ${lt_cv_path_NM=no}
3650 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3651 echo "${ECHO_T}$lt_cv_path_NM" >&6
3652 if test "$lt_cv_path_NM" != "no"; then
3655 # Didn't find any BSD compatible name lister, look for dumpbin.
3656 if test -n "$ac_tool_prefix"; then
3657 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3659 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3660 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3661 echo "$as_me:$LINENO: checking for $ac_word" >&5
3662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3663 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
3664 echo $ECHO_N "(cached) $ECHO_C" >&6
3666 if test -n "$DUMPBIN"; then
3667 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3673 test -z "$as_dir" && as_dir
=.
3674 for ac_exec_ext
in '' $ac_executable_extensions; do
3675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3676 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3685 DUMPBIN
=$ac_cv_prog_DUMPBIN
3686 if test -n "$DUMPBIN"; then
3687 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
3688 echo "${ECHO_T}$DUMPBIN" >&6
3690 echo "$as_me:$LINENO: result: no" >&5
3691 echo "${ECHO_T}no" >&6
3694 test -n "$DUMPBIN" && break
3697 if test -z "$DUMPBIN"; then
3698 ac_ct_DUMPBIN
=$DUMPBIN
3699 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3701 # Extract the first word of "$ac_prog", so it can be a program name with args.
3702 set dummy
$ac_prog; ac_word
=$2
3703 echo "$as_me:$LINENO: checking for $ac_word" >&5
3704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3705 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
3706 echo $ECHO_N "(cached) $ECHO_C" >&6
3708 if test -n "$ac_ct_DUMPBIN"; then
3709 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3715 test -z "$as_dir" && as_dir
=.
3716 for ac_exec_ext
in '' $ac_executable_extensions; do
3717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3718 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3728 if test -n "$ac_ct_DUMPBIN"; then
3729 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
3730 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
3732 echo "$as_me:$LINENO: result: no" >&5
3733 echo "${ECHO_T}no" >&6
3736 test -n "$ac_ct_DUMPBIN" && break
3738 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
3740 DUMPBIN
=$ac_ct_DUMPBIN
3744 if test "$DUMPBIN" != ":"; then
3748 test -z "$NM" && NM
=nm
3755 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
3756 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
3757 if test "${lt_cv_nm_interface+set}" = set; then
3758 echo $ECHO_N "(cached) $ECHO_C" >&6
3760 lt_cv_nm_interface
="BSD nm"
3761 echo "int some_variable = 0;" > conftest.
$ac_ext
3762 (eval echo "\"\$as_me:3762: $ac_compile\"" >&5)
3763 (eval "$ac_compile" 2>conftest.err
)
3764 cat conftest.err
>&5
3765 (eval echo "\"\$as_me:3765: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3766 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
3767 cat conftest.err
>&5
3768 (eval echo "\"\$as_me:3768: output\"" >&5)
3769 cat conftest.out
>&5
3770 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
3771 lt_cv_nm_interface
="MS dumpbin"
3775 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
3776 echo "${ECHO_T}$lt_cv_nm_interface" >&6
3778 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3779 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3781 if test "$LN_S" = "ln -s"; then
3782 echo "$as_me:$LINENO: result: yes" >&5
3783 echo "${ECHO_T}yes" >&6
3785 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3786 echo "${ECHO_T}no, using $LN_S" >&6
3789 # find the maximum length of command line arguments
3790 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3791 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3792 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3793 echo $ECHO_N "(cached) $ECHO_C" >&6
3800 # On DJGPP, this test can blow up pretty badly due to problems in libc
3801 # (any single argument exceeding 2000 bytes causes a buffer overrun
3802 # during glob expansion). Even if it were fixed, the result of this
3803 # check would be larger than it should be.
3804 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3808 # Under GNU Hurd, this test is not required because there is
3809 # no limit to the length of command line arguments.
3810 # Libtool will interpret -1 as no limit whatsoever
3811 lt_cv_sys_max_cmd_len
=-1;
3815 # On Win9x/ME, this test blows up -- it succeeds, but takes
3816 # about 5 minutes as the teststring grows exponentially.
3817 # Worse, since 9x/ME are not pre-emptively multitasking,
3818 # you end up with a "frozen" computer, even though with patience
3819 # the test eventually succeeds (with a max line length of 256k).
3820 # Instead, let's just punt: use the minimum linelength reported by
3821 # all of the supported platforms: 8192 (on NT/2K/XP).
3822 lt_cv_sys_max_cmd_len
=8192;
3826 # On AmigaOS with pdksh, this test takes hours, literally.
3827 # So we just punt and use a minimum line length of 8192.
3828 lt_cv_sys_max_cmd_len
=8192;
3831 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3832 # This has been around since 386BSD, at least. Likely further.
3833 if test -x /sbin
/sysctl
; then
3834 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3835 elif test -x /usr
/sbin
/sysctl
; then
3836 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3838 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
3840 # And add a safety zone
3841 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3842 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3846 # We know the value 262144 and hardcode it with a safety zone (like BSD)
3847 lt_cv_sys_max_cmd_len
=196608
3851 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3852 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3853 # nice to cause kernel panics so lets avoid the loop below.
3854 # First set a reasonable default.
3855 lt_cv_sys_max_cmd_len
=16384
3857 if test -x /sbin
/sysconfig
; then
3858 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3859 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
3864 lt_cv_sys_max_cmd_len
=102400
3866 sysv5
* | sco5v6
* | sysv4.2uw2
*)
3867 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3868 if test -n "$kargmax"; then
3869 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
3871 lt_cv_sys_max_cmd_len
=32768
3875 # Make teststring a little bigger before we do anything with it.
3876 # a 1K string should be a reasonable start.
3877 for i
in 1 2 3 4 5 6 7 8 ; do
3878 teststring
=$teststring$teststring
3880 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
3881 # If test is not a shell built-in, we'll probably end up computing a
3882 # maximum length that is only half of the actual maximum length, but
3884 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
3885 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
3886 test $i != 17 # 1/2 MB should be enough
3889 teststring
=$teststring$teststring
3891 # Only check the string length outside the loop.
3892 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
3894 # Add a significant safety factor because C++ compilers can tack on massive
3895 # amounts of additional arguments before passing them to the linker.
3896 # It appears as though 1/2 is a usable value.
3897 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
3903 if test -n $lt_cv_sys_max_cmd_len ; then
3904 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3905 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3907 echo "$as_me:$LINENO: result: none" >&5
3908 echo "${ECHO_T}none" >&6
3910 max_cmd_len
=$lt_cv_sys_max_cmd_len
3922 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
3923 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
3924 # Try some XSI features
3927 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
3928 = c,a/b,, ) >/dev/null 2>&1 \
3930 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
3931 echo "${ECHO_T}$xsi_shell" >&6
3934 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
3935 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
3937 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
3939 && lt_shell_append=yes
3940 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
3941 echo "${ECHO_T}$lt_shell_append" >&6
3944 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3954 # test EBCDIC or ASCII
3955 case `echo X|tr X '\101'` in
3956 A) # ASCII based system
3957 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
3958 lt_SP2NL='tr \040 \012'
3959 lt_NL2SP='tr \015\012 \040\040'
3961 *) # EBCDIC based system
3962 lt_SP2NL='tr \100 \n'
3963 lt_NL2SP='tr \r\n \100\100'
3975 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
3976 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
3977 if test "${lt_cv_ld_reload_flag+set}" = set; then
3978 echo $ECHO_N "(cached
) $ECHO_C" >&6
3980 lt_cv_ld_reload_flag='-r'
3982 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
3983 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3984 reload_flag=$lt_cv_ld_reload_flag
3985 case $reload_flag in
3987 *) reload_flag=" $reload_flag" ;;
3989 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3992 if test "$GCC" = yes; then
3993 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3995 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4009 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4010 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4011 if test "${lt_cv_deplibs_check_method+set}" = set; then
4012 echo $ECHO_N "(cached
) $ECHO_C" >&6
4014 lt_cv_file_magic_cmd='$MAGIC_CMD'
4015 lt_cv_file_magic_test_file=
4016 lt_cv_deplibs_check_method='unknown'
4017 # Need to set the preceding variable on all platforms that support
4018 # interlibrary dependencies.
4019 # 'none' -- dependencies not supported.
4020 # `unknown' -- same as none, but documents that we really don't know.
4021 # 'pass_all' -- all dependencies passed with no checks.
4022 # 'test_compile' -- check by making test program.
4023 # 'file_magic [[regex]]' -- check by looking for files in library path
4024 # which responds to the $file_magic_cmd with a given extended regex.
4025 # If you have `file' or equivalent on your system and you're not sure
4026 # whether `pass_all' will *always* work, you probably want this one.
4030 lt_cv_deplibs_check_method=pass_all
4034 lt_cv_deplibs_check_method=pass_all
4038 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4039 lt_cv_file_magic_cmd='/usr/bin/file -L'
4040 lt_cv_file_magic_test_file=/shlib/libc.so
4044 # func_win32_libid is a shell function defined in ltmain.sh
4045 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4046 lt_cv_file_magic_cmd='func_win32_libid'
4050 # Base MSYS/MinGW do not provide the 'file' command needed by
4051 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4052 # unless we find 'file', for example because we are cross-compiling.
4053 if ( file / ) >/dev/null 2>&1; then
4054 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4055 lt_cv_file_magic_cmd='func_win32_libid'
4057 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4058 lt_cv_file_magic_cmd='$OBJDUMP -f'
4062 darwin* | rhapsody*)
4063 lt_cv_deplibs_check_method=pass_all
4066 freebsd* | dragonfly*)
4067 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4070 # Not sure whether the presence of OpenBSD here was a mistake.
4071 # Let's accept both of them until this is cleared up.
4072 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4073 lt_cv_file_magic_cmd=/usr/bin/file
4074 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4078 lt_cv_deplibs_check_method=pass_all
4083 lt_cv_deplibs_check_method=pass_all
4086 hpux10.20* | hpux11*)
4087 lt_cv_file_magic_cmd=/usr/bin/file
4090 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4091 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4094 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]'
4095 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4098 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4099 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4105 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4106 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4109 irix5* | irix6* | nonstopux*)
4111 *-32|*"-32 ") libmagic=32-bit;;
4112 *-n32|*"-n32 ") libmagic=N32;;
4113 *-64|*"-64 ") libmagic=64-bit;;
4114 *) libmagic=never-match;;
4116 lt_cv_deplibs_check_method=pass_all
4119 # This must be Linux ELF.
4120 linux* | k*bsd*-gnu)
4121 lt_cv_deplibs_check_method=pass_all
4125 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4126 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4128 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4133 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4134 lt_cv_file_magic_cmd=/usr/bin/file
4135 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4139 lt_cv_deplibs_check_method=pass_all
4143 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4144 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4146 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4150 osf3* | osf4* | osf5*)
4151 lt_cv_deplibs_check_method=pass_all
4155 lt_cv_deplibs_check_method=pass_all
4159 lt_cv_deplibs_check_method=pass_all
4162 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4163 lt_cv_deplibs_check_method=pass_all
4167 case $host_vendor in
4169 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]'
4170 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4173 lt_cv_deplibs_check_method=pass_all
4176 lt_cv_file_magic_cmd='/bin/file'
4177 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4180 lt_cv_file_magic_cmd='/bin/file'
4181 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4182 lt_cv_file_magic_test_file=/lib/libc.so
4185 lt_cv_deplibs_check_method=pass_all
4188 lt_cv_deplibs_check_method=pass_all
4194 lt_cv_deplibs_check_method=pass_all
4199 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4200 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4201 file_magic_cmd=$lt_cv_file_magic_cmd
4202 deplibs_check_method=$lt_cv_deplibs_check_method
4203 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4216 if test -n "$ac_tool_prefix"; then
4217 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4218 set dummy ${ac_tool_prefix}ar; ac_word=$2
4219 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4220 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4221 if test "${ac_cv_prog_AR+set}" = set; then
4222 echo $ECHO_N "(cached
) $ECHO_C" >&6
4224 if test -n "$AR"; then
4225 ac_cv_prog_AR="$AR" # Let the user override the test.
4227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4231 test -z "$as_dir" && as_dir=.
4232 for ac_exec_ext in '' $ac_executable_extensions; do
4233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4234 ac_cv_prog_AR="${ac_tool_prefix}ar"
4235 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4244 if test -n "$AR"; then
4245 echo "$as_me:$LINENO: result
: $AR" >&5
4246 echo "${ECHO_T}$AR" >&6
4248 echo "$as_me:$LINENO: result
: no
" >&5
4249 echo "${ECHO_T}no
" >&6
4253 if test -z "$ac_cv_prog_AR"; then
4255 # Extract the first word of "ar", so it can be a program name with args.
4256 set dummy ar; ac_word=$2
4257 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4258 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4259 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4260 echo $ECHO_N "(cached
) $ECHO_C" >&6
4262 if test -n "$ac_ct_AR"; then
4263 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269 test -z "$as_dir" && as_dir=.
4270 for ac_exec_ext in '' $ac_executable_extensions; do
4271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4272 ac_cv_prog_ac_ct_AR="ar"
4273 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4279 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
4282 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4283 if test -n "$ac_ct_AR"; then
4284 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
4285 echo "${ECHO_T}$ac_ct_AR" >&6
4287 echo "$as_me:$LINENO: result
: no
" >&5
4288 echo "${ECHO_T}no
" >&6
4296 test -z "$AR" && AR=ar
4297 test -z "$AR_FLAGS" && AR_FLAGS=cru
4309 if test -n "$ac_tool_prefix"; then
4310 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4311 set dummy ${ac_tool_prefix}strip; ac_word=$2
4312 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4313 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4314 if test "${ac_cv_prog_STRIP+set}" = set; then
4315 echo $ECHO_N "(cached
) $ECHO_C" >&6
4317 if test -n "$STRIP"; then
4318 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4324 test -z "$as_dir" && as_dir=.
4325 for ac_exec_ext in '' $ac_executable_extensions; do
4326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4327 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4328 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4336 STRIP=$ac_cv_prog_STRIP
4337 if test -n "$STRIP"; then
4338 echo "$as_me:$LINENO: result
: $STRIP" >&5
4339 echo "${ECHO_T}$STRIP" >&6
4341 echo "$as_me:$LINENO: result
: no
" >&5
4342 echo "${ECHO_T}no
" >&6
4346 if test -z "$ac_cv_prog_STRIP"; then
4348 # Extract the first word of "strip
", so it can be a program name with args.
4349 set dummy strip; ac_word=$2
4350 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4351 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4352 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4353 echo $ECHO_N "(cached
) $ECHO_C" >&6
4355 if test -n "$ac_ct_STRIP"; then
4356 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4362 test -z "$as_dir" && as_dir=.
4363 for ac_exec_ext in '' $ac_executable_extensions; do
4364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4365 ac_cv_prog_ac_ct_STRIP="strip
"
4366 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4372 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4375 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4376 if test -n "$ac_ct_STRIP"; then
4377 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
4378 echo "${ECHO_T}$ac_ct_STRIP" >&6
4380 echo "$as_me:$LINENO: result
: no
" >&5
4381 echo "${ECHO_T}no
" >&6
4386 STRIP="$ac_cv_prog_STRIP"
4389 test -z "$STRIP" && STRIP=:
4396 if test -n "$ac_tool_prefix"; then
4397 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
4398 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4399 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4400 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4401 if test "${ac_cv_prog_RANLIB+set}" = set; then
4402 echo $ECHO_N "(cached
) $ECHO_C" >&6
4404 if test -n "$RANLIB"; then
4405 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4411 test -z "$as_dir" && as_dir=.
4412 for ac_exec_ext in '' $ac_executable_extensions; do
4413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4414 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
4415 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4423 RANLIB=$ac_cv_prog_RANLIB
4424 if test -n "$RANLIB"; then
4425 echo "$as_me:$LINENO: result
: $RANLIB" >&5
4426 echo "${ECHO_T}$RANLIB" >&6
4428 echo "$as_me:$LINENO: result
: no
" >&5
4429 echo "${ECHO_T}no
" >&6
4433 if test -z "$ac_cv_prog_RANLIB"; then
4434 ac_ct_RANLIB=$RANLIB
4435 # Extract the first word of "ranlib
", so it can be a program name with args.
4436 set dummy ranlib; ac_word=$2
4437 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4438 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4439 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4440 echo $ECHO_N "(cached
) $ECHO_C" >&6
4442 if test -n "$ac_ct_RANLIB"; then
4443 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4449 test -z "$as_dir" && as_dir=.
4450 for ac_exec_ext in '' $ac_executable_extensions; do
4451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4452 ac_cv_prog_ac_ct_RANLIB="ranlib
"
4453 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4459 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4462 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4463 if test -n "$ac_ct_RANLIB"; then
4464 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
4465 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4467 echo "$as_me:$LINENO: result
: no
" >&5
4468 echo "${ECHO_T}no
" >&6
4471 RANLIB=$ac_ct_RANLIB
4473 RANLIB="$ac_cv_prog_RANLIB"
4476 test -z "$RANLIB" && RANLIB=:
4483 # Determine commands to create old-style static archives.
4484 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
4485 old_postinstall_cmds='chmod 644 $oldlib'
4486 old_postuninstall_cmds=
4488 if test -n "$RANLIB"; then
4491 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
4494 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
4497 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
4533 # If no C compiler was specified, use CC.
4536 # If no C compiler flags were specified, use CFLAGS.
4537 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4539 # Allow CC to be a program name with arguments.
4543 # Check for command to grab the raw symbol name followed by C symbol from nm.
4544 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
4545 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
4546 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4547 echo $ECHO_N "(cached
) $ECHO_C" >&6
4550 # These are sane defaults that work on at least a few old systems.
4551 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4553 # Character class describing NM global symbol codes.
4554 symcode='[BCDEGRST]'
4556 # Regexp to match symbols that can be accessed directly from C.
4557 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4559 # Define system-specific variables.
4564 cygwin* | mingw* | pw32*)
4565 symcode='[ABCDGISTW]'
4568 if test "$host_cpu" = ia64; then
4569 symcode='[ABCDEGRST]'
4573 symcode='[BCDEGRST]'
4576 symcode='[BCDEGQRST]'
4587 sysv5* | sco5v6* | unixware* | OpenUNIX*)
4595 # If we're using GNU nm, then use its standard symbol codes.
4596 case `$NM -V 2>&1` in
4597 *GNU* | *'with BFD'*)
4598 symcode='[ABCDGIRSTW]' ;;
4601 # Transform an extracted symbol line into a proper C declaration.
4602 # Some systems (esp. on ia64) link data and code symbols differently,
4603 # so use this general approach.
4604 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4606 # Transform an extracted symbol line into symbol name and symbol address
4607 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
4609 # Handle CRLF in mingw tool chain
4613 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4617 # Try without a prefix underscore, then with it.
4618 for ac_symprfx in "" "_
"; do
4620 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4621 symxfrm="\\1 $ac_symprfx\\2 \\2"
4623 # Write the raw and C identifiers.
4624 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
4625 # Fake it for dumpbin and say T for any non-static function
4626 # and D for any global variable.
4627 # Also find C++ and __fastcall symbols from MSVC++,
4628 # which start with @ or ?.
4629 lt_cv_sys_global_symbol_pipe="$AWK '"\
4630 " {last_section=section; section=\$ 3};"\
4631 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4632 " \$ 0!~/External *\|/{next};"\
4633 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4634 " {if(hide[section]) next};"\
4635 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4636 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4637 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
4638 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4639 " ' prfx
=^
$ac_symprfx"
4641 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4644 # Check to see that the pipe works correctly.
4648 cat > conftest.$ac_ext <<_LT_EOF
4653 void nm_test_func(void);
4654 void nm_test_func(void){}
4658 int main(){nm_test_var='a';nm_test_func();return(0);}
4661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4662 (eval $ac_compile) 2>&5
4664 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4665 (exit $ac_status); }; then
4666 # Now try to grab the symbols.
4668 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
4669 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4671 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4672 (exit $ac_status); } && test -s "$nlist"; then
4673 # Try sorting and uniquifying the output.
4674 if sort "$nlist" | uniq > "$nlist"T; then
4675 mv -f "$nlist"T "$nlist"
4680 # Make sure that we snagged all the symbols we need.
4681 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
4682 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
4683 cat <<_LT_EOF > conftest.$ac_ext
4689 # Now generate the symbol file.
4690 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4692 cat <<_LT_EOF >> conftest.$ac_ext
4694 /* The mapping between symbol names and symbols. */
4699 lt__PROGRAM__LTX_preloaded_symbols[] =
4701 { "@PROGRAM@
", (void *) 0 },
4703 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
4704 cat <<\_LT_EOF >> conftest.$ac_ext
4708 /* This works around a problem in FreeBSD linker */
4709 #ifdef FREEBSD_WORKAROUND
4710 static const void *lt_preloaded_setup() {
4711 return lt__PROGRAM__LTX_preloaded_symbols;
4719 # Now try linking the two files.
4720 mv conftest.$ac_objext conftstm.$ac_objext
4721 lt_save_LIBS="$LIBS"
4722 lt_save_CFLAGS="$CFLAGS"
4723 LIBS="conftstm.
$ac_objext"
4724 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
4725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4726 (eval $ac_link) 2>&5
4728 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4729 (exit $ac_status); } && test -s conftest${ac_exeext}; then
4732 LIBS="$lt_save_LIBS"
4733 CFLAGS="$lt_save_CFLAGS"
4735 echo "cannot
find nm_test_func
in $nlist" >&5
4738 echo "cannot
find nm_test_var
in $nlist" >&5
4741 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
4744 echo "$progname: failed program was
:" >&5
4745 cat conftest.$ac_ext >&5
4747 rm -f conftest* conftst*
4749 # Do not use the global_symbol_pipe unless it works.
4750 if test "$pipe_works" = yes; then
4753 lt_cv_sys_global_symbol_pipe=
4759 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4760 lt_cv_sys_global_symbol_to_cdecl=
4762 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4763 echo "$as_me:$LINENO: result
: failed
" >&5
4764 echo "${ECHO_T}failed
" >&6
4766 echo "$as_me:$LINENO: result
: ok
" >&5
4767 echo "${ECHO_T}ok
" >&6
4786 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4787 if test "${enable_libtool_lock+set}" = set; then
4788 enableval="$enable_libtool_lock"
4791 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
4793 # Some flags need to be propagated to the compiler or linker for good
4797 # Find out which ABI we are using.
4798 echo 'int i;' > conftest.$ac_ext
4799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4800 (eval $ac_compile) 2>&5
4802 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4803 (exit $ac_status); }; then
4804 case `/usr/bin/file conftest.$ac_objext` in
4816 # Find out which ABI we are using.
4817 echo '#line 4817 "configure
"' > conftest.$ac_ext
4818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4819 (eval $ac_compile) 2>&5
4821 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4822 (exit $ac_status); }; then
4823 if test "$lt_cv_prog_gnu_ld" = yes; then
4824 case `/usr/bin/file conftest.$ac_objext` in
4826 LD="${LD-ld} -melf32bsmip"
4829 LD="${LD-ld} -melf32bmipn32"
4832 LD="${LD-ld} -melf64bmip"
4836 case `/usr/bin/file conftest.$ac_objext` in
4852 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4853 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
4854 # Find out which ABI we are using.
4855 echo 'int i;' > conftest.$ac_ext
4856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4857 (eval $ac_compile) 2>&5
4859 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4860 (exit $ac_status); }; then
4861 case `/usr/bin/file conftest.o` in
4864 x86_64-*kfreebsd*-gnu)
4865 LD="${LD-ld} -m elf_i386_fbsd
"
4868 LD="${LD-ld} -m elf_i386
"
4870 ppc64-*linux*|powerpc64-*linux*)
4871 LD="${LD-ld} -m elf32ppclinux
"
4874 LD="${LD-ld} -m elf_s390
"
4877 LD="${LD-ld} -m elf32_sparc
"
4883 x86_64-*kfreebsd*-gnu)
4884 LD="${LD-ld} -m elf_x86_64_fbsd
"
4887 LD="${LD-ld} -m elf_x86_64
"
4889 ppc*-*linux*|powerpc*-*linux*)
4890 LD="${LD-ld} -m elf64ppc
"
4892 s390*-*linux*|s390*-*tpf*)
4893 LD="${LD-ld} -m elf64_s390
"
4896 LD="${LD-ld} -m elf64_sparc
"
4906 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4907 SAVE_CFLAGS="$CFLAGS"
4908 CFLAGS="$CFLAGS -belf"
4909 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
4910 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
4911 if test "${lt_cv_cc_needs_belf+set}" = set; then
4912 echo $ECHO_N "(cached
) $ECHO_C" >&6
4915 ac_cpp='$CPP $CPPFLAGS'
4916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4920 cat >conftest.$ac_ext <<_ACEOF
4923 cat confdefs.h >>conftest.$ac_ext
4924 cat >>conftest.$ac_ext <<_ACEOF
4925 /* end confdefs.h. */
4935 rm -f conftest.$ac_objext conftest$ac_exeext
4936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4937 (eval $ac_link) 2>conftest.er1
4939 grep -v '^ *+' conftest.er1 >conftest.err
4941 cat conftest.err >&5
4942 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4943 (exit $ac_status); } &&
4944 { ac_try='test -z "$ac_c_werror_flag"
4945 || test ! -s conftest.err'
4946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4949 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4950 (exit $ac_status); }; } &&
4951 { ac_try='test -s conftest$ac_exeext'
4952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4955 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4956 (exit $ac_status); }; }; then
4957 lt_cv_cc_needs_belf=yes
4959 echo "$as_me: failed program was
:" >&5
4960 sed 's/^/| /' conftest.$ac_ext >&5
4962 lt_cv_cc_needs_belf=no
4964 rm -f conftest.err conftest.$ac_objext \
4965 conftest$ac_exeext conftest.$ac_ext
4967 ac_cpp='$CPP $CPPFLAGS'
4968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4973 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
4974 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4975 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4976 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4977 CFLAGS="$SAVE_CFLAGS"
4981 # Find out which ABI we are using.
4982 echo 'int i;' > conftest.$ac_ext
4983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4984 (eval $ac_compile) 2>&5
4986 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4987 (exit $ac_status); }; then
4988 case `/usr/bin/file conftest.o` in
4990 case $lt_cv_prog_gnu_ld in
4991 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
4992 *) LD="${LD-ld} -64" ;;
5001 need_locks="$enable_libtool_lock"
5004 ac_cpp='$CPP $CPPFLAGS'
5005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5008 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5009 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5010 # On Suns, sometimes $CPP names a directory.
5011 if test -n "$CPP" && test -d "$CPP"; then
5014 if test -z "$CPP"; then
5015 if test "${ac_cv_prog_CPP+set}" = set; then
5016 echo $ECHO_N "(cached
) $ECHO_C" >&6
5018 # Double quotes because CPP needs to be expanded
5019 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5022 for ac_c_preproc_warn_flag in '' yes
5024 # Use a header file that comes with gcc, so configuring glibc
5025 # with a fresh cross-compiler works.
5026 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5027 # <limits.h> exists even on freestanding compilers.
5028 # On the NeXT, cc -E runs the code through the compiler's parser,
5029 # not just through cpp. "Syntax error
" is here to catch this case.
5030 cat >conftest.$ac_ext <<_ACEOF
5033 cat confdefs.h >>conftest.$ac_ext
5034 cat >>conftest.$ac_ext <<_ACEOF
5035 /* end confdefs.h. */
5037 # include <limits.h>
5039 # include <assert.h>
5043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5044 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5046 grep -v '^ *+' conftest.er1 >conftest.err
5048 cat conftest.err >&5
5049 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5050 (exit $ac_status); } >/dev/null; then
5051 if test -s conftest.err; then
5052 ac_cpp_err=$ac_c_preproc_warn_flag
5053 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5060 if test -z "$ac_cpp_err"; then
5063 echo "$as_me: failed program was
:" >&5
5064 sed 's/^/| /' conftest.$ac_ext >&5
5066 # Broken: fails on valid input.
5069 rm -f conftest.err conftest.$ac_ext
5071 # OK, works on sane cases. Now check whether non-existent headers
5072 # can be detected and how.
5073 cat >conftest.$ac_ext <<_ACEOF
5076 cat confdefs.h >>conftest.$ac_ext
5077 cat >>conftest.$ac_ext <<_ACEOF
5078 /* end confdefs.h. */
5079 #include <ac_nonexistent.h>
5081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5084 grep -v '^ *+' conftest.er1 >conftest.err
5086 cat conftest.err >&5
5087 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5088 (exit $ac_status); } >/dev/null; then
5089 if test -s conftest.err; then
5090 ac_cpp_err=$ac_c_preproc_warn_flag
5091 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5098 if test -z "$ac_cpp_err"; then
5099 # Broken: success on invalid input.
5102 echo "$as_me: failed program was
:" >&5
5103 sed 's/^/| /' conftest.$ac_ext >&5
5105 # Passes both tests.
5109 rm -f conftest.err conftest.$ac_ext
5112 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5113 rm -f conftest.err conftest.$ac_ext
5114 if $ac_preproc_ok; then
5126 echo "$as_me:$LINENO: result
: $CPP" >&5
5127 echo "${ECHO_T}$CPP" >&6
5129 for ac_c_preproc_warn_flag in '' yes
5131 # Use a header file that comes with gcc, so configuring glibc
5132 # with a fresh cross-compiler works.
5133 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5134 # <limits.h> exists even on freestanding compilers.
5135 # On the NeXT, cc -E runs the code through the compiler's parser,
5136 # not just through cpp. "Syntax error
" is here to catch this case.
5137 cat >conftest.$ac_ext <<_ACEOF
5140 cat confdefs.h >>conftest.$ac_ext
5141 cat >>conftest.$ac_ext <<_ACEOF
5142 /* end confdefs.h. */
5144 # include <limits.h>
5146 # include <assert.h>
5150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5153 grep -v '^ *+' conftest.er1 >conftest.err
5155 cat conftest.err >&5
5156 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5157 (exit $ac_status); } >/dev/null; then
5158 if test -s conftest.err; then
5159 ac_cpp_err=$ac_c_preproc_warn_flag
5160 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5167 if test -z "$ac_cpp_err"; then
5170 echo "$as_me: failed program was
:" >&5
5171 sed 's/^/| /' conftest.$ac_ext >&5
5173 # Broken: fails on valid input.
5176 rm -f conftest.err conftest.$ac_ext
5178 # OK, works on sane cases. Now check whether non-existent headers
5179 # can be detected and how.
5180 cat >conftest.$ac_ext <<_ACEOF
5183 cat confdefs.h >>conftest.$ac_ext
5184 cat >>conftest.$ac_ext <<_ACEOF
5185 /* end confdefs.h. */
5186 #include <ac_nonexistent.h>
5188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5189 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5191 grep -v '^ *+' conftest.er1 >conftest.err
5193 cat conftest.err >&5
5194 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5195 (exit $ac_status); } >/dev/null; then
5196 if test -s conftest.err; then
5197 ac_cpp_err=$ac_c_preproc_warn_flag
5198 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5205 if test -z "$ac_cpp_err"; then
5206 # Broken: success on invalid input.
5209 echo "$as_me: failed program was
:" >&5
5210 sed 's/^/| /' conftest.$ac_ext >&5
5212 # Passes both tests.
5216 rm -f conftest.err conftest.$ac_ext
5219 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5220 rm -f conftest.err conftest.$ac_ext
5221 if $ac_preproc_ok; then
5224 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
5225 See \
`config.log' for more details." >&5
5226 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5227 See \`config.log
' for more details." >&2;}
5228 { (exit 1); exit 1; }; }
5232 ac_cpp='$CPP $CPPFLAGS'
5233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5234 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5238 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5239 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5240 if test "${ac_cv_header_stdc+set}" = set; then
5241 echo $ECHO_N "(cached) $ECHO_C" >&6
5243 cat >conftest.$ac_ext <<_ACEOF
5246 cat confdefs.h >>conftest.$ac_ext
5247 cat >>conftest.$ac_ext <<_ACEOF
5248 /* end confdefs.h. */
5262 rm -f conftest.$ac_objext
5263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5264 (eval $ac_compile) 2>conftest.er1
5266 grep -v '^
*+' conftest.er1 >conftest.err
5268 cat conftest.err >&5
5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270 (exit $ac_status); } &&
5271 { ac_try='test -z "$ac_c_werror_flag"
5272 ||
test ! -s conftest.err
'
5273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); }; } &&
5278 { ac_try='test -s conftest.
$ac_objext'
5279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283 (exit $ac_status); }; }; then
5284 ac_cv_header_stdc=yes
5286 echo "$as_me: failed program was:" >&5
5287 sed 's
/^
/|
/' conftest.$ac_ext >&5
5289 ac_cv_header_stdc=no
5291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5293 if test $ac_cv_header_stdc = yes; then
5294 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5295 cat >conftest.$ac_ext <<_ACEOF
5298 cat confdefs.h >>conftest.$ac_ext
5299 cat >>conftest.$ac_ext <<_ACEOF
5300 /* end confdefs.h. */
5304 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5305 $EGREP "memchr" >/dev/null 2>&1; then
5308 ac_cv_header_stdc=no
5314 if test $ac_cv_header_stdc = yes; then
5315 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5316 cat >conftest.$ac_ext <<_ACEOF
5319 cat confdefs.h >>conftest.$ac_ext
5320 cat >>conftest.$ac_ext <<_ACEOF
5321 /* end confdefs.h. */
5325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5326 $EGREP "free" >/dev/null 2>&1; then
5329 ac_cv_header_stdc=no
5335 if test $ac_cv_header_stdc = yes; then
5336 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5337 if test "$cross_compiling" = yes; then
5340 cat >conftest.$ac_ext <<_ACEOF
5343 cat confdefs.h >>conftest.$ac_ext
5344 cat >>conftest.$ac_ext <<_ACEOF
5345 /* end confdefs.h. */
5347 #if ((' ' & 0x0FF) == 0x020)
5348 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
5349 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
5351 # define ISLOWER(c) \
5352 (('a
' <= (c) && (c) <= 'i
') \
5353 || ('j
' <= (c) && (c) <= 'r
') \
5354 || ('s
' <= (c) && (c) <= 'z
'))
5355 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5358 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5363 for (i = 0; i < 256; i++)
5364 if (XOR (islower (i), ISLOWER (i))
5365 || toupper (i) != TOUPPER (i))
5370 rm -f conftest$ac_exeext
5371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5372 (eval $ac_link) 2>&5
5374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
5376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); }; }; then
5383 echo "$as_me: program exited with status $ac_status" >&5
5384 echo "$as_me: failed program was:" >&5
5385 sed 's
/^
/|
/' conftest.$ac_ext >&5
5388 ac_cv_header_stdc=no
5390 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5394 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5395 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5396 if test $ac_cv_header_stdc = yes; then
5398 cat >>confdefs.h <<\_ACEOF
5399 #define STDC_HEADERS 1
5404 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5414 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5415 inttypes.h stdint.h unistd.h
5417 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5418 echo "$as_me:$LINENO: checking for $ac_header" >&5
5419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5421 echo $ECHO_N "(cached) $ECHO_C" >&6
5423 cat >conftest.$ac_ext <<_ACEOF
5426 cat confdefs.h >>conftest.$ac_ext
5427 cat >>conftest.$ac_ext <<_ACEOF
5428 /* end confdefs.h. */
5429 $ac_includes_default
5431 #include <$ac_header>
5433 rm -f conftest.$ac_objext
5434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5435 (eval $ac_compile) 2>conftest.er1
5437 grep -v '^
*+' conftest.er1 >conftest.err
5439 cat conftest.err >&5
5440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5441 (exit $ac_status); } &&
5442 { ac_try='test -z "$ac_c_werror_flag"
5443 ||
test ! -s conftest.err
'
5444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448 (exit $ac_status); }; } &&
5449 { ac_try='test -s conftest.
$ac_objext'
5450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454 (exit $ac_status); }; }; then
5455 eval "$as_ac_Header=yes"
5457 echo "$as_me: failed program was:" >&5
5458 sed 's
/^
/|
/' conftest.$ac_ext >&5
5460 eval "$as_ac_Header=no"
5462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5466 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5467 cat >>confdefs.h <<_ACEOF
5468 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5477 for ac_header in dlfcn.h
5479 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5480 echo "$as_me:$LINENO: checking for $ac_header" >&5
5481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5483 echo $ECHO_N "(cached) $ECHO_C" >&6
5485 cat >conftest.$ac_ext <<_ACEOF
5488 cat confdefs.h >>conftest.$ac_ext
5489 cat >>conftest.$ac_ext <<_ACEOF
5490 /* end confdefs.h. */
5491 $ac_includes_default
5493 #include <$ac_header>
5495 rm -f conftest.$ac_objext
5496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5497 (eval $ac_compile) 2>conftest.er1
5499 grep -v '^
*+' conftest.er1 >conftest.err
5501 cat conftest.err >&5
5502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503 (exit $ac_status); } &&
5504 { ac_try='test -z "$ac_c_werror_flag"
5505 ||
test ! -s conftest.err
'
5506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); }; } &&
5511 { ac_try='test -s conftest.
$ac_objext'
5512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); }; }; then
5517 eval "$as_ac_Header=yes"
5519 echo "$as_me: failed program was:" >&5
5520 sed 's
/^
/|
/' conftest.$ac_ext >&5
5522 eval "$as_ac_Header=no"
5524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5529 cat >>confdefs.h <<_ACEOF
5530 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5539 # This can be used to rebuild libtool when needed
5540 LIBTOOL_DEPS="$ltmain"
5542 # Always use our own libtool.
5543 LIBTOOL='$
(SHELL
) $
(top_builddir
)/libtool
'
5569 test -z "$LN_S" && LN_S="ln -s"
5584 if test -n "${ZSH_VERSION+set}" ; then
5585 setopt NO_GLOB_SUBST
5588 echo "$as_me:$LINENO: checking for objdir" >&5
5589 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5590 if test "${lt_cv_objdir+set}" = set; then
5591 echo $ECHO_N "(cached) $ECHO_C" >&6
5593 rm -f .libs 2>/dev/null
5594 mkdir .libs 2>/dev/null
5595 if test -d .libs; then
5598 # MS-DOS does not allow filenames that begin with a dot.
5601 rmdir .libs 2>/dev/null
5603 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5604 echo "${ECHO_T}$lt_cv_objdir" >&6
5605 objdir=$lt_cv_objdir
5611 cat >>confdefs.h <<_ACEOF
5612 #define LT_OBJDIR "$lt_cv_objdir/"
5633 # AIX sometimes has problems with the GCC collect2 program. For some
5634 # reason, if we set the COLLECT_NAMES environment variable, the problems
5635 # vanish in a puff of smoke.
5636 if test "X${COLLECT_NAMES+set}" != Xset; then
5638 export COLLECT_NAMES
5643 # Sed substitution that helps us do robust quoting. It backslashifies
5644 # metacharacters that are still active within double-quoted strings.
5645 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
5647 # Same as above, but do not quote variable references.
5648 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5650 # Sed substitution to delay expansion of an escaped shell variable in a
5651 # double_quote_subst'ed string.
5652 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5654 # Sed substitution to delay expansion of an escaped single quote.
5655 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5657 # Sed substitution to avoid accidental globbing in evaled expressions
5658 no_glob_subst='s/\*/\\\*/g'
5662 can_build_shared=yes
5664 # All known linkers require a `.a
' archive for static linking (except MSVC,
5665 # which needs '.lib
').
5668 with_gnu_ld="$lt_cv_prog_gnu_ld"
5671 old_CFLAGS="$CFLAGS"
5673 # Set sane defaults for various variables
5674 test -z "$CC" && CC=cc
5675 test -z "$LTCC" && LTCC=$CC
5676 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
5677 test -z "$LD" && LD=ld
5678 test -z "$ac_objext" && ac_objext=o
5680 for cc_temp in $compiler""; do
5682 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
5683 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
5688 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
5691 # Only perform the check for file, if the check method requires it
5692 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5693 case $deplibs_check_method in
5695 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5696 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5697 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5698 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5699 echo $ECHO_N "(cached) $ECHO_C" >&6
5703 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5706 lt_save_MAGIC_CMD="$MAGIC_CMD"
5707 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5708 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5709 for ac_dir in $ac_dummy; do
5711 test -z "$ac_dir" && ac_dir=.
5712 if test -f $ac_dir/${ac_tool_prefix}file; then
5713 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5714 if test -n "$file_magic_test_file"; then
5715 case $deplibs_check_method in
5717 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5718 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5719 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5720 $EGREP "$file_magic_regex" > /dev/null; then
5725 *** Warning: the command libtool uses to detect shared libraries,
5726 *** $file_magic_cmd, produces output that libtool cannot recognize.
5727 *** The result is that libtool may fail to recognize shared libraries
5728 *** as such. This will affect the creation of libtool libraries that
5729 *** depend on shared libraries, but programs linked with such libtool
5730 *** libraries will work regardless of this problem. Nevertheless, you
5731 *** may want to report the problem to your system manager and/or to
5732 *** bug-libtool@gnu.org
5742 MAGIC_CMD="$lt_save_MAGIC_CMD"
5747 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5748 if test -n "$MAGIC_CMD"; then
5749 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5750 echo "${ECHO_T}$MAGIC_CMD" >&6
5752 echo "$as_me:$LINENO: result: no" >&5
5753 echo "${ECHO_T}no" >&6
5760 if test -z "$lt_cv_path_MAGIC_CMD"; then
5761 if test -n "$ac_tool_prefix"; then
5762 echo "$as_me:$LINENO: checking for file" >&5
5763 echo $ECHO_N "checking for file... $ECHO_C" >&6
5764 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5765 echo $ECHO_N "(cached) $ECHO_C" >&6
5769 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5772 lt_save_MAGIC_CMD="$MAGIC_CMD"
5773 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5774 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5775 for ac_dir in $ac_dummy; do
5777 test -z "$ac_dir" && ac_dir=.
5778 if test -f $ac_dir/file; then
5779 lt_cv_path_MAGIC_CMD="$ac_dir/file"
5780 if test -n "$file_magic_test_file"; then
5781 case $deplibs_check_method in
5783 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5784 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5785 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5786 $EGREP "$file_magic_regex" > /dev/null; then
5791 *** Warning: the command libtool uses to detect shared libraries,
5792 *** $file_magic_cmd, produces output that libtool cannot recognize.
5793 *** The result is that libtool may fail to recognize shared libraries
5794 *** as such. This will affect the creation of libtool libraries that
5795 *** depend on shared libraries, but programs linked with such libtool
5796 *** libraries will work regardless of this problem. Nevertheless, you
5797 *** may want to report the problem to your system manager and/or to
5798 *** bug-libtool@gnu.org
5808 MAGIC_CMD="$lt_save_MAGIC_CMD"
5813 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5814 if test -n "$MAGIC_CMD"; then
5815 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5816 echo "${ECHO_T}$MAGIC_CMD" >&6
5818 echo "$as_me:$LINENO: result: no" >&5
5819 echo "${ECHO_T}no" >&6
5832 # Use C for the default configuration in the libtool script
5836 ac_cpp='$CPP $CPPFLAGS'
5837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5838 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5842 # Source file extension for C test sources.
5845 # Object file extension for compiled C test sources.
5849 # Code to be used in simple compile tests
5850 lt_simple_compile_test_code="int some_variable = 0;"
5852 # Code to be used in simple link tests
5853 lt_simple_link_test_code='int main
(){return(0);}'
5861 # If no C compiler was specified, use CC.
5864 # If no C compiler flags were specified, use CFLAGS.
5865 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5867 # Allow CC to be a program name with arguments.
5870 # Save the default compiler, since it gets overwritten when the other
5871 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
5872 compiler_DEFAULT=$CC
5874 # save warnings/boilerplate of simple test code
5875 ac_outfile=conftest.$ac_objext
5876 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
5877 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
5878 _lt_compiler_boilerplate=`cat conftest.err`
5881 ac_outfile=conftest.$ac_objext
5882 echo "$lt_simple_link_test_code" >conftest.$ac_ext
5883 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
5884 _lt_linker_boilerplate=`cat conftest.err`
5889 ## There is no encapsulation within the following macros, do not change
5890 ## the running order or otherwise move them around unless you know exactly
5891 ## what you are doing...
5892 if test -n "$compiler"; then
5894 lt_prog_compiler_no_builtin_flag=
5896 if test "$GCC" = yes; then
5897 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
5899 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
5900 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
5901 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
5902 echo $ECHO_N "(cached) $ECHO_C" >&6
5904 lt_cv_prog_compiler_rtti_exceptions=no
5905 ac_outfile=conftest.$ac_objext
5906 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
5907 lt_compiler_flag="-fno-rtti -fno-exceptions"
5908 # Insert the option either (1) after the last *FLAGS variable, or
5909 # (2) before a word containing "conftest.", or (3) at the end.
5910 # Note that $ac_compile itself does not contain backslashes and begins
5911 # with a dollar sign (not a hyphen), so the echo should work correctly.
5912 # The option is referenced via a variable to avoid confusing sed.
5913 lt_compile=`echo "$ac_compile" | $SED \
5914 -e 's
:.
*FLAGS
}\
{0,1\
} :&$lt_compiler_flag :; t
' \
5915 -e 's
: [^
]*conftest\.
: $lt_compiler_flag&:; t
' \
5916 -e 's
:$
: $lt_compiler_flag:'`
5917 (eval echo "\"\$as_me:5917: $lt_compile\"" >&5)
5918 (eval "$lt_compile" 2>conftest.err)
5920 cat conftest.err >&5
5921 echo "$as_me:5921: \$? = $ac_status" >&5
5922 if (exit $ac_status) && test -s "$ac_outfile"; then
5923 # The compiler can only warn and ignore the option if not recognized
5924 # So say no if there are warnings other than the usual output.
5925 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$
/d
' >conftest.exp
5926 $SED '/^$
/d
; /^
*+/d
' conftest.err >conftest.er2
5927 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
5928 lt_cv_prog_compiler_rtti_exceptions=yes
5934 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
5935 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
5937 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
5938 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
5950 lt_prog_compiler_wl=
5951 lt_prog_compiler_pic=
5952 lt_prog_compiler_static=
5954 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
5955 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
5957 if test "$GCC" = yes; then
5958 lt_prog_compiler_wl='-Wl,'
5959 lt_prog_compiler_static='-static'
5963 # All AIX code is PIC.
5964 if test "$host_cpu" = ia64; then
5965 # AIX 5 now supports IA64 processor
5966 lt_prog_compiler_static='-Bstatic'
5971 if test "$host_cpu" = m68k; then
5972 # FIXME: we need at least 68020 code to build shared libraries, but
5973 # adding the `-m68020' flag to GCC prevents building anything better
,
5975 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
5979 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
5980 # PIC is the default for these OSes.
5983 mingw
* | cygwin
* | pw32
* | os2
*)
5984 # This hack is so that the source file can tell whether it is being
5985 # built for inclusion in a dll (and should export symbols for example).
5986 # Although the cygwin gcc ignores -fPIC, still need this for old-style
5987 # (--disable-auto-import) libraries
5988 lt_prog_compiler_pic
='-DDLL_EXPORT'
5991 darwin
* | rhapsody
*)
5992 # PIC is the default on this platform
5993 # Common symbols not allowed in MH_DYLIB files
5994 lt_prog_compiler_pic
='-fno-common'
5998 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6005 lt_prog_compiler_pic
='-fPIC'
6011 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6012 # Instead, we relocate shared libraries at runtime.
6016 # Just because we use GCC doesn't mean we suddenly get shared libraries
6017 # on systems that don't support them.
6018 lt_prog_compiler_can_build_shared
=no
6023 # QNX uses GNU C++, but need to define -shared option too, otherwise
6025 lt_prog_compiler_pic
='-fPIC -shared'
6029 if test -d /usr
/nec
; then
6030 lt_prog_compiler_pic
=-Kconform_pic
6035 lt_prog_compiler_pic
='-fPIC'
6039 # PORTME Check for flag to pass linker flags through the system compiler.
6042 lt_prog_compiler_wl
='-Wl,'
6043 if test "$host_cpu" = ia64
; then
6044 # AIX 5 now supports IA64 processor
6045 lt_prog_compiler_static
='-Bstatic'
6047 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6051 # PIC is the default on this platform
6052 # Common symbols not allowed in MH_DYLIB files
6053 case $cc_basename in
6055 lt_prog_compiler_pic
='-qnocommon'
6056 lt_prog_compiler_wl
='-Wl,'
6061 mingw
* | cygwin
* | pw32
* | os2
*)
6062 # This hack is so that the source file can tell whether it is being
6063 # built for inclusion in a dll (and should export symbols for example).
6064 lt_prog_compiler_pic
='-DDLL_EXPORT'
6067 hpux9
* | hpux10
* | hpux11
*)
6068 lt_prog_compiler_wl
='-Wl,'
6069 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6076 lt_prog_compiler_pic
='+Z'
6079 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6080 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6083 irix5
* | irix6
* | nonstopux
*)
6084 lt_prog_compiler_wl
='-Wl,'
6085 # PIC (with -KPIC) is the default.
6086 lt_prog_compiler_static
='-non_shared'
6089 linux
* | k
*bsd
*-gnu)
6090 case $cc_basename in
6092 lt_prog_compiler_wl
='-Wl,'
6093 lt_prog_compiler_pic
='-KPIC'
6094 lt_prog_compiler_static
='-static'
6096 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6097 # Portland Group compilers (*not* the Pentium gcc compiler,
6098 # which looks to be a dead project)
6099 lt_prog_compiler_wl
='-Wl,'
6100 lt_prog_compiler_pic
='-fpic'
6101 lt_prog_compiler_static
='-Bstatic'
6104 lt_prog_compiler_wl
='-Wl,'
6105 # All Alpha code is PIC.
6106 lt_prog_compiler_static
='-non_shared'
6109 case `$CC -V 2>&1 | sed 5q` in
6112 lt_prog_compiler_pic
='-KPIC'
6113 lt_prog_compiler_static
='-Bstatic'
6114 lt_prog_compiler_wl
='-Wl,'
6117 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6118 lt_prog_compiler_pic
='-KPIC'
6119 lt_prog_compiler_static
='-Bstatic'
6120 lt_prog_compiler_wl
=''
6128 lt_prog_compiler_pic
='-KPIC'
6129 lt_prog_compiler_static
='-Bstatic'
6133 # QNX uses GNU C++, but need to define -shared option too, otherwise
6135 lt_prog_compiler_pic
='-fPIC -shared'
6138 osf3
* | osf4
* | osf5
*)
6139 lt_prog_compiler_wl
='-Wl,'
6140 # All OSF/1 code is PIC.
6141 lt_prog_compiler_static
='-non_shared'
6145 lt_prog_compiler_static
='-non_shared'
6149 lt_prog_compiler_pic
='-KPIC'
6150 lt_prog_compiler_static
='-Bstatic'
6151 case $cc_basename in
6153 lt_prog_compiler_wl
='-Qoption ld ';;
6155 lt_prog_compiler_wl
='-Wl,';;
6160 lt_prog_compiler_wl
='-Qoption ld '
6161 lt_prog_compiler_pic
='-PIC'
6162 lt_prog_compiler_static
='-Bstatic'
6165 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6166 lt_prog_compiler_wl
='-Wl,'
6167 lt_prog_compiler_pic
='-KPIC'
6168 lt_prog_compiler_static
='-Bstatic'
6172 if test -d /usr
/nec
;then
6173 lt_prog_compiler_pic
='-Kconform_pic'
6174 lt_prog_compiler_static
='-Bstatic'
6178 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6179 lt_prog_compiler_wl
='-Wl,'
6180 lt_prog_compiler_pic
='-KPIC'
6181 lt_prog_compiler_static
='-Bstatic'
6185 lt_prog_compiler_wl
='-Wl,'
6186 lt_prog_compiler_can_build_shared
=no
6190 lt_prog_compiler_pic
='-pic'
6191 lt_prog_compiler_static
='-Bstatic'
6195 lt_prog_compiler_can_build_shared
=no
6201 # For platforms which do not support PIC, -DPIC is meaningless:
6203 lt_prog_compiler_pic
=
6206 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6209 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6210 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6218 # Check to make sure the PIC flag actually works.
6220 if test -n "$lt_prog_compiler_pic"; then
6221 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6222 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6223 if test "${lt_prog_compiler_pic_works+set}" = set; then
6224 echo $ECHO_N "(cached) $ECHO_C" >&6
6226 lt_prog_compiler_pic_works
=no
6227 ac_outfile
=conftest.
$ac_objext
6228 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6229 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6230 # Insert the option either (1) after the last *FLAGS variable, or
6231 # (2) before a word containing "conftest.", or (3) at the end.
6232 # Note that $ac_compile itself does not contain backslashes and begins
6233 # with a dollar sign (not a hyphen), so the echo should work correctly.
6234 # The option is referenced via a variable to avoid confusing sed.
6235 lt_compile
=`echo "$ac_compile" | $SED \
6236 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6237 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6238 -e 's:$: $lt_compiler_flag:'`
6239 (eval echo "\"\$as_me:6239: $lt_compile\"" >&5)
6240 (eval "$lt_compile" 2>conftest.err
)
6242 cat conftest.err
>&5
6243 echo "$as_me:6243: \$? = $ac_status" >&5
6244 if (exit $ac_status) && test -s "$ac_outfile"; then
6245 # The compiler can only warn and ignore the option if not recognized
6246 # So say no if there are warnings other than the usual output.
6247 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6248 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6249 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6250 lt_prog_compiler_pic_works
=yes
6256 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6257 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6259 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6260 case $lt_prog_compiler_pic in
6262 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6265 lt_prog_compiler_pic
=
6266 lt_prog_compiler_can_build_shared
=no
6277 # Check to make sure the static flag actually works.
6279 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6280 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6281 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6282 if test "${lt_prog_compiler_static_works+set}" = set; then
6283 echo $ECHO_N "(cached) $ECHO_C" >&6
6285 lt_prog_compiler_static_works
=no
6286 save_LDFLAGS
="$LDFLAGS"
6287 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6288 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
6289 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6290 # The linker can only warn and ignore the option if not recognized
6291 # So say no if there are warnings
6292 if test -s conftest.err
; then
6293 # Append any errors to the config.log.
6294 cat conftest.err
1>&5
6295 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
6296 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6297 if diff conftest.exp conftest.er2
>/dev
/null
; then
6298 lt_prog_compiler_static_works
=yes
6301 lt_prog_compiler_static_works
=yes
6305 LDFLAGS
="$save_LDFLAGS"
6308 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6309 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6311 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6314 lt_prog_compiler_static
=
6323 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6324 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6325 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6326 echo $ECHO_N "(cached) $ECHO_C" >&6
6328 lt_cv_prog_compiler_c_o
=no
6329 $RM -r conftest
2>/dev
/null
6333 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6335 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6336 # Insert the option either (1) after the last *FLAGS variable, or
6337 # (2) before a word containing "conftest.", or (3) at the end.
6338 # Note that $ac_compile itself does not contain backslashes and begins
6339 # with a dollar sign (not a hyphen), so the echo should work correctly.
6340 lt_compile
=`echo "$ac_compile" | $SED \
6341 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6342 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6343 -e 's:$: $lt_compiler_flag:'`
6344 (eval echo "\"\$as_me:6344: $lt_compile\"" >&5)
6345 (eval "$lt_compile" 2>out
/conftest.err
)
6347 cat out
/conftest.err
>&5
6348 echo "$as_me:6348: \$? = $ac_status" >&5
6349 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6351 # The compiler can only warn and ignore the option if not recognized
6352 # So say no if there are warnings
6353 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6354 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6355 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6356 lt_cv_prog_compiler_c_o
=yes
6361 # SGI C++ compiler will create directory out/ii_files/ for
6362 # template instantiation
6363 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
6364 $RM out
/* && rmdir out
6370 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6371 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6378 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6379 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6380 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6381 echo $ECHO_N "(cached) $ECHO_C" >&6
6383 lt_cv_prog_compiler_c_o
=no
6384 $RM -r conftest
2>/dev
/null
6388 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6390 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6391 # Insert the option either (1) after the last *FLAGS variable, or
6392 # (2) before a word containing "conftest.", or (3) at the end.
6393 # Note that $ac_compile itself does not contain backslashes and begins
6394 # with a dollar sign (not a hyphen), so the echo should work correctly.
6395 lt_compile
=`echo "$ac_compile" | $SED \
6396 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6397 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6398 -e 's:$: $lt_compiler_flag:'`
6399 (eval echo "\"\$as_me:6399: $lt_compile\"" >&5)
6400 (eval "$lt_compile" 2>out
/conftest.err
)
6402 cat out
/conftest.err
>&5
6403 echo "$as_me:6403: \$? = $ac_status" >&5
6404 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6406 # The compiler can only warn and ignore the option if not recognized
6407 # So say no if there are warnings
6408 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6409 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6410 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6411 lt_cv_prog_compiler_c_o
=yes
6416 # SGI C++ compiler will create directory out/ii_files/ for
6417 # template instantiation
6418 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
6419 $RM out
/* && rmdir out
6425 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6426 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6431 hard_links
="nottested"
6432 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6433 # do not overwrite the value of need_locks provided by the user
6434 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6435 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6438 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6440 ln conftest.a conftest.b
2>&5 || hard_links
=no
6441 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6442 echo "$as_me:$LINENO: result: $hard_links" >&5
6443 echo "${ECHO_T}$hard_links" >&6
6444 if test "$hard_links" = no
; then
6445 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6446 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6458 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6459 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6462 allow_undefined_flag
=
6463 always_export_symbols
=no
6465 archive_expsym_cmds
=
6466 compiler_needs_object
=no
6467 enable_shared_with_static_runtimes
=no
6468 export_dynamic_flag_spec
=
6469 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6470 hardcode_automatic
=no
6472 hardcode_direct_absolute
=no
6473 hardcode_libdir_flag_spec
=
6474 hardcode_libdir_flag_spec_ld
=
6475 hardcode_libdir_separator
=
6477 hardcode_shlibpath_var
=unsupported
6479 link_all_deplibs
=unknown
6482 old_archive_from_new_cmds
=
6483 old_archive_from_expsyms_cmds
=
6484 thread_safe_flag_spec
=
6485 whole_archive_flag_spec
=
6486 # include_expsyms should be a list of space-separated symbols to be *always*
6487 # included in the symbol list
6489 # exclude_expsyms can be an extended regexp of symbols to exclude
6490 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6491 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6492 # as well as any symbol that contains `d'.
6493 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6494 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6495 # platforms (ab)use it in PIC code, but their linkers get confused if
6496 # the symbol is explicitly referenced. Since portable code cannot
6497 # rely on this symbol name, it's probably fine to never include it in
6498 # preloaded symbol tables.
6499 extract_expsyms_cmds
=
6502 cygwin
* | mingw
* | pw32
*)
6503 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6504 # When not using gcc, we currently assume that we are using
6505 # Microsoft Visual C++.
6506 if test "$GCC" != yes; then
6511 # we just hope/assume this is gcc and not c89 (= MSVC++)
6520 if test "$with_gnu_ld" = yes; then
6521 # If archive_cmds runs LD, not CC, wlarc should be empty
6524 # Set some defaults for GNU ld with shared library support. These
6525 # are reset later if shared libraries are not supported. Putting them
6526 # here allows them to be overridden if necessary.
6527 runpath_var
=LD_RUN_PATH
6528 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
6529 export_dynamic_flag_spec
='${wl}--export-dynamic'
6530 # ancient GNU ld didn't support --whole-archive et. al.
6531 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
6532 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6534 whole_archive_flag_spec
=
6536 supports_anon_versioning
=no
6537 case `$LD -v 2>&1` in
6538 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
6539 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6540 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6541 *\
2.11.
*) ;; # other 2.11 versions
6542 *) supports_anon_versioning
=yes ;;
6545 # See if GNU ld supports shared libraries.
6547 aix3
* | aix4
* | aix5
*)
6548 # On AIX/PPC, the GNU linker is very broken
6549 if test "$host_cpu" != ia64
; then
6553 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6554 *** to be unable to reliably create shared libraries on AIX.
6555 *** Therefore, libtool is disabling shared libraries support. If you
6556 *** really care for shared libraries, you may want to modify your PATH
6557 *** so that a non-GNU linker is found, and then restart.
6564 if test "$host_cpu" = m68k
; then
6565 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)'
6566 hardcode_libdir_flag_spec
='-L$libdir'
6567 hardcode_minus_L
=yes
6570 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6571 # that the semantics of dynamic libraries on AmigaOS, at least up
6572 # to version 4, is to share data among multiple programs linked
6573 # with the same dynamic library. Since this doesn't match the
6574 # behavior of shared libraries on other platforms, we can't use
6580 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
6581 allow_undefined_flag
=unsupported
6582 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6583 # support --undefined. This deserves some investigation. FIXME
6584 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6590 cygwin
* | mingw
* | pw32
*)
6591 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6592 # as there is no search path for DLLs.
6593 hardcode_libdir_flag_spec
='-L$libdir'
6594 allow_undefined_flag
=unsupported
6595 always_export_symbols
=no
6596 enable_shared_with_static_runtimes
=yes
6597 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
6599 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
6600 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6601 # If the export-symbols file already is a .def file (1st line
6602 # is EXPORTS), use it as is; otherwise, prepend...
6603 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6604 cp $export_symbols $output_objdir/$soname.def;
6606 echo EXPORTS > $output_objdir/$soname.def;
6607 cat $export_symbols >> $output_objdir/$soname.def;
6609 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6617 hardcode_shlibpath_var
=no
6618 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
6619 export_dynamic_flag_spec
='${wl}-E'
6620 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
6621 # Instead, shared libraries are loaded at an image base (0x10000000 by
6622 # default) and relocated if they conflict, which is a slow very memory
6623 # consuming and fragmenting process. To avoid this, we pick a random,
6624 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6625 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
6626 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6627 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6630 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
6632 if test "$host_os" = linux-dietlibc
; then
6633 case $cc_basename in
6634 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
6637 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
6638 && test "$tmp_diet" = no
6641 case $cc_basename,$host_cpu in
6642 pgcc
*) # Portland Group C compiler
6643 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
6644 tmp_addflag
=' $pic_flag'
6646 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
6647 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
6648 tmp_addflag
=' $pic_flag -Mnomain' ;;
6649 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
6650 tmp_addflag
=' -i_dynamic' ;;
6651 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
6652 tmp_addflag
=' -i_dynamic -nofor_main' ;;
6653 ifc
* | ifort
*) # Intel Fortran compiler
6654 tmp_addflag
=' -nofor_main' ;;
6656 case `$CC -V 2>&1 | sed 5q` in
6657 *Sun\ C
*) # Sun C 5.9
6658 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
6659 compiler_needs_object
=yes
6660 tmp_sharedflag
='-G' ;;
6661 *Sun\ F
*) # Sun Fortran 8.3
6662 tmp_sharedflag
='-G' ;;
6664 tmp_sharedflag
='-shared' ;;
6666 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6668 if test "x$supports_anon_versioning" = xyes
; then
6669 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
6670 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6671 echo "local: *; };" >> $output_objdir/$libname.ver~
6672 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6680 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
6681 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6684 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6685 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6690 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
6694 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6695 *** create shared libraries on Solaris systems. Therefore, libtool
6696 *** is disabling shared libraries support. We urge you to upgrade GNU
6697 *** binutils to release 2.9.1 or newer. Another option is to modify
6698 *** your PATH or compiler configuration so that the native linker is
6699 *** used, and then restart.
6702 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
6703 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6704 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6710 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6711 case `$LD -v 2>&1` in
6712 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
6716 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
6717 *** reliably create shared libraries on SCO systems. Therefore, libtool
6718 *** is disabling shared libraries support. We urge you to upgrade GNU
6719 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
6720 *** your PATH or compiler configuration so that the native linker is
6721 *** used, and then restart.
6726 # For security reasons, it is highly recommended that you always
6727 # use absolute paths for naming shared libraries, and exclude the
6728 # DT_RUNPATH tag from executables and libraries. But doing so
6729 # requires that you compile everything twice, which is a pain.
6730 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
6731 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
6732 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6733 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6742 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6745 hardcode_shlibpath_var
=no
6749 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
6750 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6751 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6758 if test "$ld_shlibs" = no
; then
6760 hardcode_libdir_flag_spec
=
6761 export_dynamic_flag_spec
=
6762 whole_archive_flag_spec
=
6765 # PORTME fill in a description of your system's linker (not GNU ld)
6768 allow_undefined_flag
=unsupported
6769 always_export_symbols
=yes
6770 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'
6771 # Note: this linker hardcodes the directories in LIBPATH if there
6772 # are no directories specified by -L.
6773 hardcode_minus_L
=yes
6774 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
6775 # Neither direct hardcoding nor static linking is supported with a
6777 hardcode_direct
=unsupported
6782 if test "$host_cpu" = ia64
; then
6783 # On IA64, the linker does run time linking by default, so we don't
6784 # have to do anything special.
6785 aix_use_runtimelinking
=no
6786 exp_sym_flag
='-Bexport'
6789 # If we're using GNU nm, then we don't want the "-C" option.
6790 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6791 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
6792 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'
6794 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'
6796 aix_use_runtimelinking
=no
6798 # Test if we are trying to use run time linking or normal
6799 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6800 # need to do runtime linking.
6801 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
6802 for ld_flag
in $LDFLAGS; do
6803 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
6804 aix_use_runtimelinking
=yes
6811 exp_sym_flag
='-bexport'
6812 no_entry_flag
='-bnoentry'
6815 # When large executables or shared objects are built, AIX ld can
6816 # have problems creating the table of contents. If linking a library
6817 # or program results in "error TOC overflow" add -mminimal-toc to
6818 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6819 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6823 hardcode_direct_absolute
=yes
6824 hardcode_libdir_separator
=':'
6825 link_all_deplibs
=yes
6826 file_list_spec
='${wl}-f,'
6828 if test "$GCC" = yes; then
6829 case $host_os in aix4.
[012]|aix4.
[012].
*)
6830 # We only want to do this on AIX 4.2 and lower, the check
6831 # below for broken collect2 doesn't work under 4.3+
6832 collect2name
=`${CC} -print-prog-name=collect2`
6833 if test -f "$collect2name" &&
6834 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
6836 # We have reworked collect2
6839 # We have old collect2
6840 hardcode_direct
=unsupported
6841 # It fails to find uninstalled libraries when the uninstalled
6842 # path is not listed in the libpath. Setting hardcode_minus_L
6843 # to unsupported forces relinking
6844 hardcode_minus_L
=yes
6845 hardcode_libdir_flag_spec
='-L$libdir'
6846 hardcode_libdir_separator
=
6850 shared_flag
='-shared'
6851 if test "$aix_use_runtimelinking" = yes; then
6852 shared_flag
="$shared_flag "'${wl}-G'
6856 if test "$host_cpu" = ia64
; then
6857 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6858 # chokes on -Wl,-G. The following line is correct:
6861 if test "$aix_use_runtimelinking" = yes; then
6862 shared_flag
='${wl}-G'
6864 shared_flag
='${wl}-bM:SRE'
6869 # It seems that -bexpall does not export symbols beginning with
6870 # underscore (_), so it is better to generate a list of symbols to export.
6871 always_export_symbols
=yes
6872 if test "$aix_use_runtimelinking" = yes; then
6873 # Warning - without using the other runtime loading flags (-brtl),
6874 # -berok will link without error, but may produce a broken library.
6875 allow_undefined_flag
='-berok'
6876 # Determine the default libpath from the value encoded in an
6878 cat >conftest.
$ac_ext <<_ACEOF
6881 cat confdefs.h
>>conftest.
$ac_ext
6882 cat >>conftest.
$ac_ext <<_ACEOF
6883 /* end confdefs.h. */
6893 rm -f conftest.
$ac_objext conftest
$ac_exeext
6894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6895 (eval $ac_link) 2>conftest.er1
6897 grep -v '^ *+' conftest.er1
>conftest.err
6899 cat conftest.err
>&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); } &&
6902 { ac_try
='test -z "$ac_c_werror_flag"
6903 || test ! -s conftest.err'
6904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); }; } &&
6909 { ac_try
='test -s conftest$ac_exeext'
6910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6914 (exit $ac_status); }; }; then
6916 lt_aix_libpath_sed
='
6917 /Import File Strings/,/^$/ {
6923 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
6924 # Check for a 64-bit object if we didn't find anything.
6925 if test -z "$aix_libpath"; then
6926 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
6929 echo "$as_me: failed program was:" >&5
6930 sed 's/^/| /' conftest.
$ac_ext >&5
6933 rm -f conftest.err conftest.
$ac_objext \
6934 conftest
$ac_exeext conftest.
$ac_ext
6935 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
6937 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
6938 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6940 if test "$host_cpu" = ia64
; then
6941 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
6942 allow_undefined_flag
="-z nodefs"
6943 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
6945 # Determine the default libpath from the value encoded in an
6947 cat >conftest.
$ac_ext <<_ACEOF
6950 cat confdefs.h
>>conftest.
$ac_ext
6951 cat >>conftest.
$ac_ext <<_ACEOF
6952 /* end confdefs.h. */
6962 rm -f conftest.
$ac_objext conftest
$ac_exeext
6963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6964 (eval $ac_link) 2>conftest.er1
6966 grep -v '^ *+' conftest.er1
>conftest.err
6968 cat conftest.err
>&5
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); } &&
6971 { ac_try
='test -z "$ac_c_werror_flag"
6972 || test ! -s conftest.err'
6973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6977 (exit $ac_status); }; } &&
6978 { ac_try
='test -s conftest$ac_exeext'
6979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); }; }; then
6985 lt_aix_libpath_sed
='
6986 /Import File Strings/,/^$/ {
6992 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
6993 # Check for a 64-bit object if we didn't find anything.
6994 if test -z "$aix_libpath"; then
6995 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
6998 echo "$as_me: failed program was:" >&5
6999 sed 's/^/| /' conftest.
$ac_ext >&5
7002 rm -f conftest.err conftest.
$ac_objext \
7003 conftest
$ac_exeext conftest.
$ac_ext
7004 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7006 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7007 # Warning - without using the other run time loading flags,
7008 # -berok will link without error, but may produce a broken library.
7009 no_undefined_flag
=' ${wl}-bernotok'
7010 allow_undefined_flag
=' ${wl}-berok'
7011 # Exported symbols can be pulled into shared objects from archives
7012 whole_archive_flag_spec
='$convenience'
7013 archive_cmds_need_lc
=yes
7014 # This is similar to how AIX traditionally builds its shared libraries.
7015 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7021 if test "$host_cpu" = m68k
; then
7022 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)'
7023 hardcode_libdir_flag_spec
='-L$libdir'
7024 hardcode_minus_L
=yes
7026 # see comment about different semantics on the GNU ld section
7031 export_dynamic_flag_spec
=-rdynamic
7034 cygwin
* | mingw
* | pw32
*)
7035 # When not using gcc, we currently assume that we are using
7036 # Microsoft Visual C++.
7037 # hardcode_libdir_flag_spec is actually meaningless, as there is
7038 # no search path for DLLs.
7039 hardcode_libdir_flag_spec
=' '
7040 allow_undefined_flag
=unsupported
7041 # Tell ltmain to make .lib files, not .a files.
7043 # Tell ltmain to make .dll files, not .so files.
7045 # FIXME: Setting linknames here is a bad hack.
7046 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7047 # The linker will automatically build a .lib file if we build a DLL.
7048 old_archive_from_new_cmds
='true'
7049 # FIXME: Should let the user specify the lib program.
7050 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7051 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7052 enable_shared_with_static_runtimes
=yes
7055 darwin
* | rhapsody
*)
7057 rhapsody
* | darwin1.
[012])
7058 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7061 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7063 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7066 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7071 archive_cmds_need_lc
=no
7073 hardcode_automatic
=yes
7074 hardcode_shlibpath_var
=unsupported
7075 whole_archive_flag_spec
=''
7076 link_all_deplibs
=yes
7077 if test "$GCC" = yes ; then
7078 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7079 echo $ECHO_N "(cached) $ECHO_C" >&6
7081 lt_cv_apple_cc_single_mod
=no
7082 if test -z "${LT_MULTI_MODULE}"; then
7083 # By default we will add the -single_module flag. You can override
7084 # by either setting the environment variable LT_MULTI_MODULE
7085 # non-empty at configure time, or by adding -multi-module to the
7087 echo "int foo(void){return 1;}" > conftest.c
7088 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7089 -dynamiclib ${wl}-single_module conftest.c
7090 if test -f libconftest.dylib
; then
7091 lt_cv_apple_cc_single_mod
=yes
7092 rm libconftest.dylib
7098 output_verbose_link_cmd
=echo
7099 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
7100 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7101 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7103 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7104 archive_expsym_cmds
='sed "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}'
7106 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7107 module_expsym_cmds
='sed -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}'
7109 case $cc_basename in
7111 output_verbose_link_cmd
=echo
7112 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7113 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7114 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7115 archive_expsym_cmds
='sed "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}'
7116 module_expsym_cmds
='sed "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}'
7126 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7127 hardcode_libdir_flag_spec
='-L$libdir'
7128 hardcode_shlibpath_var
=no
7135 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7136 # support. Future versions do this automatically, but an explicit c++rt0.o
7137 # does not break anything, and helps significantly (at the cost of a little
7140 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7141 hardcode_libdir_flag_spec
='-R$libdir'
7143 hardcode_shlibpath_var
=no
7146 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7148 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7150 hardcode_minus_L
=yes
7151 hardcode_shlibpath_var
=no
7154 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7155 freebsd
* | dragonfly
*)
7156 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7157 hardcode_libdir_flag_spec
='-R$libdir'
7159 hardcode_shlibpath_var
=no
7163 if test "$GCC" = yes; then
7164 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'
7166 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'
7168 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7169 hardcode_libdir_separator
=:
7172 # hardcode_minus_L: Not really in the search PATH,
7173 # but as the default location of the library.
7174 hardcode_minus_L
=yes
7175 export_dynamic_flag_spec
='${wl}-E'
7179 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7180 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7182 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7184 if test "$with_gnu_ld" = no
; then
7185 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7186 hardcode_libdir_flag_spec_ld
='+b $libdir'
7187 hardcode_libdir_separator
=:
7189 hardcode_direct_absolute
=yes
7190 export_dynamic_flag_spec
='${wl}-E'
7191 # hardcode_minus_L: Not really in the search PATH,
7192 # but as the default location of the library.
7193 hardcode_minus_L
=yes
7198 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7201 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7204 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7207 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7213 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7216 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7219 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7223 if test "$with_gnu_ld" = no
; then
7224 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7225 hardcode_libdir_separator
=:
7230 hardcode_shlibpath_var
=no
7234 hardcode_direct_absolute
=yes
7235 export_dynamic_flag_spec
='${wl}-E'
7237 # hardcode_minus_L: Not really in the search PATH,
7238 # but as the default location of the library.
7239 hardcode_minus_L
=yes
7245 irix5
* | irix6
* | nonstopux
*)
7246 if test "$GCC" = yes; then
7247 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7248 # Try to use the -exported_symbol ld option, if it does not
7249 # work, assume that -exports_file does not work either and
7250 # implicitly export all symbols.
7251 save_LDFLAGS
="$LDFLAGS"
7252 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7253 cat >conftest.
$ac_ext <<_ACEOF
7256 rm -f conftest.
$ac_objext conftest
$ac_exeext
7257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7258 (eval $ac_link) 2>conftest.er1
7260 grep -v '^ *+' conftest.er1
>conftest.err
7262 cat conftest.err
>&5
7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); } &&
7265 { ac_try
='test -z "$ac_c_werror_flag"
7266 || test ! -s conftest.err'
7267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271 (exit $ac_status); }; } &&
7272 { ac_try
='test -s conftest$ac_exeext'
7273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7277 (exit $ac_status); }; }; then
7278 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
7281 echo "$as_me: failed program was:" >&5
7282 sed 's/^/| /' conftest.
$ac_ext >&5
7285 rm -f conftest.err conftest.
$ac_objext \
7286 conftest
$ac_exeext conftest.
$ac_ext
7287 LDFLAGS
="$save_LDFLAGS"
7289 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7290 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
7292 archive_cmds_need_lc
='no'
7293 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7294 hardcode_libdir_separator
=:
7296 link_all_deplibs
=yes
7300 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7301 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7303 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7305 hardcode_libdir_flag_spec
='-R$libdir'
7307 hardcode_shlibpath_var
=no
7311 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7313 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7314 hardcode_libdir_separator
=:
7315 hardcode_shlibpath_var
=no
7323 hardcode_shlibpath_var
=no
7324 hardcode_direct_absolute
=yes
7325 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7326 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7327 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7328 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7329 export_dynamic_flag_spec
='${wl}-E'
7332 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7333 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7334 hardcode_libdir_flag_spec
='-R$libdir'
7337 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7338 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7345 hardcode_libdir_flag_spec
='-L$libdir'
7346 hardcode_minus_L
=yes
7347 allow_undefined_flag
=unsupported
7348 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'
7349 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7353 if test "$GCC" = yes; then
7354 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7355 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7357 allow_undefined_flag
=' -expect_unresolved \*'
7358 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7360 archive_cmds_need_lc
='no'
7361 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7362 hardcode_libdir_separator
=:
7365 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7366 if test "$GCC" = yes; then
7367 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7368 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7369 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7371 allow_undefined_flag
=' -expect_unresolved \*'
7372 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7373 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
7374 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
7376 # Both c and cxx compiler support -rpath directly
7377 hardcode_libdir_flag_spec
='-rpath $libdir'
7379 archive_cmds_need_lc
='no'
7380 hardcode_libdir_separator
=:
7384 no_undefined_flag
=' -z defs'
7385 if test "$GCC" = yes; then
7387 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7388 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7389 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7391 case `$CC -V 2>&1` in
7394 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7395 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7396 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
7400 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
7401 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7402 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7406 hardcode_libdir_flag_spec
='-R$libdir'
7407 hardcode_shlibpath_var
=no
7409 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7411 # The compiler driver will combine and reorder linker options,
7412 # but understands `-z linker_flag'. GCC discards it without `$wl',
7413 # but is careful enough not to reorder.
7414 # Supported since Solaris 2.6 (maybe 2.5.1?)
7415 if test "$GCC" = yes; then
7416 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
7418 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
7422 link_all_deplibs
=yes
7426 if test "x$host_vendor" = xsequent
; then
7427 # Use $CC to link under sequent, because it throws in some extra .o
7428 # files that make .init and .fini sections work.
7429 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7431 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7433 hardcode_libdir_flag_spec
='-L$libdir'
7435 hardcode_minus_L
=yes
7436 hardcode_shlibpath_var
=no
7440 case $host_vendor in
7442 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7443 hardcode_direct
=yes # is this really true???
7446 ## LD is ld it makes a PLAMLIB
7447 ## CC just makes a GrossModule.
7448 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7449 reload_cmds
='$CC -r -o $output$reload_objs'
7453 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7454 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7457 runpath_var
='LD_RUN_PATH'
7458 hardcode_shlibpath_var
=no
7462 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7463 hardcode_shlibpath_var
=no
7464 export_dynamic_flag_spec
='-Bexport'
7468 if test -d /usr
/nec
; then
7469 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7470 hardcode_shlibpath_var
=no
7471 runpath_var
=LD_RUN_PATH
7472 hardcode_runpath_var
=yes
7477 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
7478 no_undefined_flag
='${wl}-z,text'
7479 archive_cmds_need_lc
=no
7480 hardcode_shlibpath_var
=no
7481 runpath_var
='LD_RUN_PATH'
7483 if test "$GCC" = yes; then
7484 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7485 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7487 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7488 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7492 sysv5
* | sco3.2v5
* | sco5v6
*)
7493 # Note: We can NOT use -z defs as we might desire, because we do not
7494 # link with -lc, and that would cause any symbols used from libc to
7495 # always be unresolved, which means just about no library would
7496 # ever link correctly. If we're not using GNU ld we use -z text
7497 # though, which does catch some bad symbols but isn't as heavy-handed
7499 no_undefined_flag
='${wl}-z,text'
7500 allow_undefined_flag
='${wl}-z,nodefs'
7501 archive_cmds_need_lc
=no
7502 hardcode_shlibpath_var
=no
7503 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
7504 hardcode_libdir_separator
=':'
7505 link_all_deplibs
=yes
7506 export_dynamic_flag_spec
='${wl}-Bexport'
7507 runpath_var
='LD_RUN_PATH'
7509 if test "$GCC" = yes; then
7510 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7511 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7513 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7514 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7519 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7520 hardcode_libdir_flag_spec
='-L$libdir'
7521 hardcode_shlibpath_var
=no
7529 if test x
$host_vendor = xsni
; then
7531 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
7532 export_dynamic_flag_spec
='${wl}-Blargedynsym'
7538 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7539 echo "${ECHO_T}$ld_shlibs" >&6
7540 test "$ld_shlibs" = no
&& can_build_shared
=no
7542 with_gnu_ld
=$with_gnu_ld
7559 # Do we need to explicitly link libc?
7561 case "x$archive_cmds_need_lc" in
7563 # Assume -lc should be added
7564 archive_cmds_need_lc
=yes
7566 if test "$enable_shared" = yes && test "$GCC" = yes; then
7567 case $archive_cmds in
7569 # FIXME: we may have to deal with multi-command sequences.
7572 # Test whether the compiler implicitly links with -lc since on some
7573 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7574 # to ld, don't add -lc before -lgcc.
7575 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7576 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7578 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7581 (eval $ac_compile) 2>&5
7583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7584 (exit $ac_status); } 2>conftest.err
; then
7587 libobjs
=conftest.
$ac_objext
7589 wl
=$lt_prog_compiler_wl
7590 pic_flag
=$lt_prog_compiler_pic
7596 lt_save_allow_undefined_flag
=$allow_undefined_flag
7597 allow_undefined_flag
=
7598 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
7599 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602 (exit $ac_status); }
7604 archive_cmds_need_lc
=no
7606 archive_cmds_need_lc
=yes
7608 allow_undefined_flag
=$lt_save_allow_undefined_flag
7610 cat conftest.err
1>&5
7613 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7614 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7777 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7778 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7780 if test "$withGCC" = yes; then
7782 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
7783 *) lt_awk_arg
="/^libraries:/" ;;
7785 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7786 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
7787 # if the path contains ";" then we assume it to be the separator
7788 # otherwise default to the standard path separator (i.e. ":") - it is
7789 # assumed that no part of a normal pathname contains ";" but that should
7790 # okay in the real world where ";" in dirpaths is itself problematic.
7791 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
7793 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7795 # Ok, now we have the path, separated by spaces, we can step through it
7796 # and add multilib dir if necessary.
7797 lt_tmp_lt_search_path_spec
=
7798 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
7799 for lt_sys_path
in $lt_search_path_spec; do
7800 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
7801 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
7803 test -d "$lt_sys_path" && \
7804 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
7807 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
7808 BEGIN {RS=" "; FS="/|\n";} {
7811 for (lt_i = NF; lt_i > 0; lt_i--) {
7812 if ($lt_i != "" && $lt_i != ".") {
7813 if ($lt_i == "..") {
7816 if (lt_count == 0) {
7817 lt_foo="/" $lt_i lt_foo;
7824 if (lt_foo != "") { lt_freq[lt_foo]++; }
7825 if (lt_freq[lt_foo] == 1) { print lt_foo; }
7827 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
7829 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7832 libname_spec
='lib$name'
7840 shlibpath_overrides_runpath
=unknown
7842 dynamic_linker
="$host_os ld.so"
7843 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7844 need_lib_prefix
=unknown
7845 hardcode_into_libs
=no
7847 # when you set need_version to no, make sure it does not cause -set_version
7848 # flags to be left without arguments
7849 need_version
=unknown
7854 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7855 shlibpath_var
=LIBPATH
7857 # AIX 3 has no versioning support, so we append a major version to the name.
7858 soname_spec
='${libname}${release}${shared_ext}$major'
7865 hardcode_into_libs
=yes
7866 if test "$host_cpu" = ia64
; then
7867 # AIX 5 supports IA64
7868 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7869 shlibpath_var
=LD_LIBRARY_PATH
7871 # With GCC up to 2.95.x, collect2 would create an import file
7872 # for dependence libraries. The import file would start with
7873 # the line `#! .'. This would cause the generated library to
7874 # depend on `.', always an invalid library. This was fixed in
7875 # development snapshots of GCC prior to 3.0.
7877 aix4 | aix4.
[01] | aix4.
[01].
*)
7878 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7880 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
7887 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7888 # soname into executable. Probably we can add versioning support to
7889 # collect2, so additional links can be useful in future.
7890 if test "$aix_use_runtimelinking" = yes; then
7891 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7892 # instead of lib<name>.a to let people know that these are not
7893 # typical AIX shared libraries.
7894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7896 # We preserve .a as extension for shared libraries through AIX4.2
7897 # and later when we are not doing run time linking.
7898 library_names_spec
='${libname}${release}.a $libname.a'
7899 soname_spec
='${libname}${release}${shared_ext}$major'
7901 shlibpath_var
=LIBPATH
7906 if test "$host_cpu" = m68k
; then
7907 library_names_spec
='$libname.ixlibrary $libname.a'
7908 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7909 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'
7916 library_names_spec
='${libname}${shared_ext}'
7917 dynamic_linker
="$host_os ld.so"
7918 shlibpath_var
=LIBRARY_PATH
7924 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7925 soname_spec
='${libname}${release}${shared_ext}$major'
7926 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
7927 shlibpath_var
=LD_LIBRARY_PATH
7928 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7929 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
7930 # the default ld.so.conf also contains /usr/contrib/lib and
7931 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7932 # libtool to hard-code these into programs
7935 cygwin
* | mingw
* | pw32
*)
7936 version_type
=windows
7941 case $withGCC,$host_os in
7942 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
7943 library_names_spec
='$libname.dll.a'
7944 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7945 postinstall_cmds
='base_file=`basename \${file}`~
7946 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
7947 dldir=$destdir/`dirname \$dlpath`~
7948 test -d \$dldir || mkdir -p \$dldir~
7949 $install_prog $dir/$dlname \$dldir/$dlname~
7950 chmod a+x \$dldir/$dlname~
7951 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
7952 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
7954 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7955 dlpath=$dir/\$dldll~
7957 shlibpath_overrides_runpath
=yes
7961 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7962 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7963 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
7966 # MinGW DLLs use traditional 'lib' prefix
7967 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7968 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7969 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
7970 # It is most probably a Windows format PATH printed by
7971 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7972 # path with ; separators, and with drive letters. We can handle the
7973 # drive letters (cygwin fileutils understands them), so leave them,
7974 # especially as we might pass files found there to a mingw objdump,
7975 # which wouldn't understand a cygwinified path. Ahh.
7976 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7978 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7982 # pw32 DLLs use 'pw' prefix rather than 'lib'
7983 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7989 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7992 dynamic_linker
='Win32 ld.exe'
7993 # FIXME: first we should search . and the directory the executable is in
7997 darwin
* | rhapsody
*)
7998 dynamic_linker
="$host_os dyld"
8002 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8003 soname_spec
='${libname}${release}${major}$shared_ext'
8004 shlibpath_overrides_runpath
=yes
8005 shlibpath_var
=DYLD_LIBRARY_PATH
8006 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8008 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8009 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8017 soname_spec
='${libname}${release}${shared_ext}$major'
8018 shlibpath_var
=LD_LIBRARY_PATH
8025 freebsd
* | dragonfly
*)
8026 # DragonFly does not have aout. When/if they implement a new
8027 # versioning mechanism, adjust this.
8028 if test -x /usr
/bin
/objformat
; then
8029 objformat
=`/usr/bin/objformat`
8032 freebsd
[123]*) objformat
=aout
;;
8036 version_type
=freebsd-
$objformat
8037 case $version_type in
8039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8044 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8048 shlibpath_var
=LD_LIBRARY_PATH
8051 shlibpath_overrides_runpath
=yes
8053 freebsd3.
[01]* | freebsdelf3.
[01]*)
8054 shlibpath_overrides_runpath
=yes
8055 hardcode_into_libs
=yes
8057 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8058 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8059 shlibpath_overrides_runpath
=no
8060 hardcode_into_libs
=yes
8062 *) # from 4.6 on, and DragonFly
8063 shlibpath_overrides_runpath
=yes
8064 hardcode_into_libs
=yes
8073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8074 soname_spec
='${libname}${release}${shared_ext}$major'
8075 shlibpath_var
=LD_LIBRARY_PATH
8076 hardcode_into_libs
=yes
8079 hpux9
* | hpux10
* | hpux11
*)
8080 # Give a soname corresponding to the major version so that dld.sl refuses to
8081 # link against other versions.
8088 hardcode_into_libs
=yes
8089 dynamic_linker
="$host_os dld.so"
8090 shlibpath_var
=LD_LIBRARY_PATH
8091 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8093 soname_spec
='${libname}${release}${shared_ext}$major'
8094 if test "X$HPUX_IA64_MODE" = X32
; then
8095 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8097 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8099 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8103 hardcode_into_libs
=yes
8104 dynamic_linker
="$host_os dld.sl"
8105 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8106 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8108 soname_spec
='${libname}${release}${shared_ext}$major'
8109 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8110 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8114 dynamic_linker
="$host_os dld.sl"
8115 shlibpath_var
=SHLIB_PATH
8116 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8118 soname_spec
='${libname}${release}${shared_ext}$major'
8121 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8122 postinstall_cmds
='chmod 555 $lib'
8129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8130 soname_spec
='${libname}${release}${shared_ext}$major'
8131 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8132 shlibpath_var
=LD_LIBRARY_PATH
8133 shlibpath_overrides_runpath
=no
8134 hardcode_into_libs
=yes
8137 irix5
* | irix6
* | nonstopux
*)
8139 nonstopux
*) version_type
=nonstopux
;;
8141 if test "$lt_cv_prog_gnu_ld" = yes; then
8149 soname_spec
='${libname}${release}${shared_ext}$major'
8150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8152 irix5
* | nonstopux
*)
8156 case $LD in # libtool.m4 will add one of these switches to LD
8157 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8158 libsuff
= shlibsuff
= libmagic
=32-bit;;
8159 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8160 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8161 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8162 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8163 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8167 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8168 shlibpath_overrides_runpath
=no
8169 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8170 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8171 hardcode_into_libs
=yes
8174 # No shared lib support for Linux oldld, aout, or coff.
8175 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8179 # This must be Linux ELF.
8180 linux
* | k
*bsd
*-gnu)
8184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8185 soname_spec
='${libname}${release}${shared_ext}$major'
8186 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8187 shlibpath_var
=LD_LIBRARY_PATH
8188 shlibpath_overrides_runpath
=no
8189 # Some binutils ld are patched to set DT_RUNPATH
8190 save_LDFLAGS
=$LDFLAGS
8192 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8193 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8194 cat >conftest.
$ac_ext <<_ACEOF
8197 cat confdefs.h
>>conftest.
$ac_ext
8198 cat >>conftest.
$ac_ext <<_ACEOF
8199 /* end confdefs.h. */
8209 rm -f conftest.
$ac_objext conftest
$ac_exeext
8210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8211 (eval $ac_link) 2>conftest.er1
8213 grep -v '^ *+' conftest.er1
>conftest.err
8215 cat conftest.err
>&5
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); } &&
8218 { ac_try
='test -z "$ac_c_werror_flag"
8219 || test ! -s conftest.err'
8220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8224 (exit $ac_status); }; } &&
8225 { ac_try
='test -s conftest$ac_exeext'
8226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8230 (exit $ac_status); }; }; then
8231 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
8232 shlibpath_overrides_runpath
=yes
8236 echo "$as_me: failed program was:" >&5
8237 sed 's/^/| /' conftest.
$ac_ext >&5
8240 rm -f conftest.err conftest.
$ac_objext \
8241 conftest
$ac_exeext conftest.
$ac_ext
8242 LDFLAGS
=$save_LDFLAGS
8245 # This implies no fast_install, which is unacceptable.
8246 # Some rework will be needed to allow for fast_install
8247 # before this can be enabled.
8248 hardcode_into_libs
=yes
8250 # Append ld.so.conf contents to the search path
8251 if test -f /etc
/ld.so.conf
; then
8252 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8253 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8256 # We used to test for /lib/ld.so.1 and disable shared libraries on
8257 # powerpc, because MkLinux only supported shared libraries with the
8258 # GNU dynamic linker. Since this was broken with cross compilers,
8259 # most powerpc-linux boxes support dynamic linking these days and
8260 # people can always --disable-shared, the test was removed, and we
8261 # assume the GNU/Linux dynamic linker is in use.
8262 dynamic_linker
='GNU/Linux ld.so'
8269 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8271 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8272 dynamic_linker
='NetBSD (a.out) ld.so'
8274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8275 soname_spec
='${libname}${release}${shared_ext}$major'
8276 dynamic_linker
='NetBSD ld.elf_so'
8278 shlibpath_var
=LD_LIBRARY_PATH
8279 shlibpath_overrides_runpath
=yes
8280 hardcode_into_libs
=yes
8285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8286 shlibpath_var
=LD_LIBRARY_PATH
8287 shlibpath_overrides_runpath
=yes
8294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8295 soname_spec
='${libname}${release}${shared_ext}$major'
8296 shlibpath_var
=LD_LIBRARY_PATH
8297 shlibpath_overrides_runpath
=no
8298 hardcode_into_libs
=yes
8299 dynamic_linker
='ldqnx.so'
8304 sys_lib_dlsearch_path_spec
="/usr/lib"
8306 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8308 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8309 *) need_version
=no
;;
8311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8312 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8313 shlibpath_var
=LD_LIBRARY_PATH
8314 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8316 openbsd2.
[89] | openbsd2.
[89].
*)
8317 shlibpath_overrides_runpath
=no
8320 shlibpath_overrides_runpath
=yes
8324 shlibpath_overrides_runpath
=yes
8329 libname_spec
='$name'
8332 library_names_spec
='$libname${shared_ext} $libname.a'
8333 dynamic_linker
='OS/2 ld.exe'
8334 shlibpath_var
=LIBPATH
8337 osf3
* | osf4
* | osf5
*)
8341 soname_spec
='${libname}${release}${shared_ext}$major'
8342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8343 shlibpath_var
=LD_LIBRARY_PATH
8344 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8345 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8357 soname_spec
='${libname}${release}${shared_ext}$major'
8358 shlibpath_var
=LD_LIBRARY_PATH
8359 shlibpath_overrides_runpath
=yes
8360 hardcode_into_libs
=yes
8361 # ldd complains unless libraries are executable
8362 postinstall_cmds
='chmod +x $lib'
8367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8368 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8369 shlibpath_var
=LD_LIBRARY_PATH
8370 shlibpath_overrides_runpath
=yes
8371 if test "$with_gnu_ld" = yes; then
8379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8380 soname_spec
='${libname}${release}${shared_ext}$major'
8381 shlibpath_var
=LD_LIBRARY_PATH
8382 case $host_vendor in
8384 shlibpath_overrides_runpath
=no
8386 runpath_var
=LD_RUN_PATH
8394 shlibpath_overrides_runpath
=no
8395 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8401 if test -d /usr
/nec
;then
8403 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8404 soname_spec
='$libname${shared_ext}.$major'
8405 shlibpath_var
=LD_LIBRARY_PATH
8409 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8410 version_type
=freebsd-elf
8413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8414 soname_spec
='${libname}${release}${shared_ext}$major'
8415 shlibpath_var
=LD_LIBRARY_PATH
8416 shlibpath_overrides_runpath
=yes
8417 hardcode_into_libs
=yes
8418 if test "$with_gnu_ld" = yes; then
8419 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8421 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8424 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8428 sys_lib_dlsearch_path_spec
='/usr/lib'
8432 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
8436 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8437 shlibpath_var
=LD_LIBRARY_PATH
8438 shlibpath_overrides_runpath
=no
8439 hardcode_into_libs
=yes
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
8453 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8454 echo "${ECHO_T}$dynamic_linker" >&6
8455 test "$dynamic_linker" = no
&& can_build_shared
=no
8457 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8458 if test "$GCC" = yes; then
8459 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8548 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8549 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8551 if test -n "$hardcode_libdir_flag_spec" ||
8552 test -n "$runpath_var" ||
8553 test "X$hardcode_automatic" = "Xyes" ; then
8555 # We can hardcode non-existent directories.
8556 if test "$hardcode_direct" != no
&&
8557 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8558 # have to relink, otherwise we might link with an installed library
8559 # when we should be linking with a yet-to-be-installed one
8560 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
8561 test "$hardcode_minus_L" != no
; then
8562 # Linking always hardcodes the temporary library directory.
8563 hardcode_action
=relink
8565 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8566 hardcode_action
=immediate
8569 # We cannot hardcode anything, or else we can only hardcode existing
8571 hardcode_action
=unsupported
8573 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8574 echo "${ECHO_T}$hardcode_action" >&6
8576 if test "$hardcode_action" = relink ||
8577 test "$inherit_rpath" = yes; then
8578 # Fast installation is not supported
8579 enable_fast_install
=no
8580 elif test "$shlibpath_overrides_runpath" = yes ||
8581 test "$enable_shared" = no
; then
8582 # Fast installation is not necessary
8583 enable_fast_install
=needless
8591 if test "x$enable_dlopen" != xyes
; then
8592 enable_dlopen
=unknown
8593 enable_dlopen_self
=unknown
8594 enable_dlopen_self_static
=unknown
8601 lt_cv_dlopen
="load_add_on"
8603 lt_cv_dlopen_self
=yes
8607 lt_cv_dlopen
="LoadLibrary"
8612 lt_cv_dlopen
="dlopen"
8617 # if libdl is installed we need to link against it
8618 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8619 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8620 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8621 echo $ECHO_N "(cached) $ECHO_C" >&6
8623 ac_check_lib_save_LIBS
=$LIBS
8625 cat >conftest.
$ac_ext <<_ACEOF
8628 cat confdefs.h
>>conftest.
$ac_ext
8629 cat >>conftest.
$ac_ext <<_ACEOF
8630 /* end confdefs.h. */
8632 /* Override any gcc2 internal prototype to avoid an error. */
8636 /* We use char because int might match the return type of a gcc2
8637 builtin and then its argument prototype would still apply. */
8647 rm -f conftest.
$ac_objext conftest
$ac_exeext
8648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8649 (eval $ac_link) 2>conftest.er1
8651 grep -v '^ *+' conftest.er1
>conftest.err
8653 cat conftest.err
>&5
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); } &&
8656 { ac_try
='test -z "$ac_c_werror_flag"
8657 || test ! -s conftest.err'
8658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662 (exit $ac_status); }; } &&
8663 { ac_try
='test -s conftest$ac_exeext'
8664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); }; }; then
8669 ac_cv_lib_dl_dlopen
=yes
8671 echo "$as_me: failed program was:" >&5
8672 sed 's/^/| /' conftest.
$ac_ext >&5
8674 ac_cv_lib_dl_dlopen
=no
8676 rm -f conftest.err conftest.
$ac_objext \
8677 conftest
$ac_exeext conftest.
$ac_ext
8678 LIBS
=$ac_check_lib_save_LIBS
8680 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8681 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8682 if test $ac_cv_lib_dl_dlopen = yes; then
8683 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8688 lt_cv_dlopen_self
=yes
8695 echo "$as_me:$LINENO: checking for shl_load" >&5
8696 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8697 if test "${ac_cv_func_shl_load+set}" = set; then
8698 echo $ECHO_N "(cached) $ECHO_C" >&6
8700 cat >conftest.
$ac_ext <<_ACEOF
8703 cat confdefs.h
>>conftest.
$ac_ext
8704 cat >>conftest.
$ac_ext <<_ACEOF
8705 /* end confdefs.h. */
8706 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8708 #define shl_load innocuous_shl_load
8710 /* System header to define __stub macros and hopefully few prototypes,
8711 which can conflict with char shl_load (); below.
8712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8713 <limits.h> exists even on freestanding compilers. */
8716 # include <limits.h>
8718 # include <assert.h>
8723 /* Override any gcc2 internal prototype to avoid an error. */
8728 /* We use char because int might match the return type of a gcc2
8729 builtin and then its argument prototype would still apply. */
8731 /* The GNU C library defines this for functions which it implements
8732 to always fail with ENOSYS. Some functions are actually named
8733 something starting with __ and the normal name is an alias. */
8734 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8737 char (*f) () = shl_load;
8746 return f != shl_load;
8751 rm -f conftest.
$ac_objext conftest
$ac_exeext
8752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8753 (eval $ac_link) 2>conftest.er1
8755 grep -v '^ *+' conftest.er1
>conftest.err
8757 cat conftest.err
>&5
8758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759 (exit $ac_status); } &&
8760 { ac_try
='test -z "$ac_c_werror_flag"
8761 || test ! -s conftest.err'
8762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766 (exit $ac_status); }; } &&
8767 { ac_try
='test -s conftest$ac_exeext'
8768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8772 (exit $ac_status); }; }; then
8773 ac_cv_func_shl_load
=yes
8775 echo "$as_me: failed program was:" >&5
8776 sed 's/^/| /' conftest.
$ac_ext >&5
8778 ac_cv_func_shl_load
=no
8780 rm -f conftest.err conftest.
$ac_objext \
8781 conftest
$ac_exeext conftest.
$ac_ext
8783 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8784 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8785 if test $ac_cv_func_shl_load = yes; then
8786 lt_cv_dlopen
="shl_load"
8788 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8789 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8790 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8791 echo $ECHO_N "(cached) $ECHO_C" >&6
8793 ac_check_lib_save_LIBS
=$LIBS
8795 cat >conftest.
$ac_ext <<_ACEOF
8798 cat confdefs.h
>>conftest.
$ac_ext
8799 cat >>conftest.
$ac_ext <<_ACEOF
8800 /* end confdefs.h. */
8802 /* Override any gcc2 internal prototype to avoid an error. */
8806 /* We use char because int might match the return type of a gcc2
8807 builtin and then its argument prototype would still apply. */
8817 rm -f conftest.
$ac_objext conftest
$ac_exeext
8818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8819 (eval $ac_link) 2>conftest.er1
8821 grep -v '^ *+' conftest.er1
>conftest.err
8823 cat conftest.err
>&5
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 (exit $ac_status); } &&
8826 { ac_try
='test -z "$ac_c_werror_flag"
8827 || test ! -s conftest.err'
8828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8832 (exit $ac_status); }; } &&
8833 { ac_try
='test -s conftest$ac_exeext'
8834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838 (exit $ac_status); }; }; then
8839 ac_cv_lib_dld_shl_load
=yes
8841 echo "$as_me: failed program was:" >&5
8842 sed 's/^/| /' conftest.
$ac_ext >&5
8844 ac_cv_lib_dld_shl_load
=no
8846 rm -f conftest.err conftest.
$ac_objext \
8847 conftest
$ac_exeext conftest.
$ac_ext
8848 LIBS
=$ac_check_lib_save_LIBS
8850 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8851 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8852 if test $ac_cv_lib_dld_shl_load = yes; then
8853 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8855 echo "$as_me:$LINENO: checking for dlopen" >&5
8856 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8857 if test "${ac_cv_func_dlopen+set}" = set; then
8858 echo $ECHO_N "(cached) $ECHO_C" >&6
8860 cat >conftest.
$ac_ext <<_ACEOF
8863 cat confdefs.h
>>conftest.
$ac_ext
8864 cat >>conftest.
$ac_ext <<_ACEOF
8865 /* end confdefs.h. */
8866 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8868 #define dlopen innocuous_dlopen
8870 /* System header to define __stub macros and hopefully few prototypes,
8871 which can conflict with char dlopen (); below.
8872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8873 <limits.h> exists even on freestanding compilers. */
8876 # include <limits.h>
8878 # include <assert.h>
8883 /* Override any gcc2 internal prototype to avoid an error. */
8888 /* We use char because int might match the return type of a gcc2
8889 builtin and then its argument prototype would still apply. */
8891 /* The GNU C library defines this for functions which it implements
8892 to always fail with ENOSYS. Some functions are actually named
8893 something starting with __ and the normal name is an alias. */
8894 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8897 char (*f) () = dlopen;
8911 rm -f conftest.
$ac_objext conftest
$ac_exeext
8912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8913 (eval $ac_link) 2>conftest.er1
8915 grep -v '^ *+' conftest.er1
>conftest.err
8917 cat conftest.err
>&5
8918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8919 (exit $ac_status); } &&
8920 { ac_try
='test -z "$ac_c_werror_flag"
8921 || test ! -s conftest.err'
8922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8926 (exit $ac_status); }; } &&
8927 { ac_try
='test -s conftest$ac_exeext'
8928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 (exit $ac_status); }; }; then
8933 ac_cv_func_dlopen
=yes
8935 echo "$as_me: failed program was:" >&5
8936 sed 's/^/| /' conftest.
$ac_ext >&5
8938 ac_cv_func_dlopen
=no
8940 rm -f conftest.err conftest.
$ac_objext \
8941 conftest
$ac_exeext conftest.
$ac_ext
8943 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8944 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8945 if test $ac_cv_func_dlopen = yes; then
8946 lt_cv_dlopen
="dlopen"
8948 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8949 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8950 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8951 echo $ECHO_N "(cached) $ECHO_C" >&6
8953 ac_check_lib_save_LIBS
=$LIBS
8955 cat >conftest.
$ac_ext <<_ACEOF
8958 cat confdefs.h
>>conftest.
$ac_ext
8959 cat >>conftest.
$ac_ext <<_ACEOF
8960 /* end confdefs.h. */
8962 /* Override any gcc2 internal prototype to avoid an error. */
8966 /* We use char because int might match the return type of a gcc2
8967 builtin and then its argument prototype would still apply. */
8977 rm -f conftest.
$ac_objext conftest
$ac_exeext
8978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8979 (eval $ac_link) 2>conftest.er1
8981 grep -v '^ *+' conftest.er1
>conftest.err
8983 cat conftest.err
>&5
8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985 (exit $ac_status); } &&
8986 { ac_try
='test -z "$ac_c_werror_flag"
8987 || test ! -s conftest.err'
8988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992 (exit $ac_status); }; } &&
8993 { ac_try
='test -s conftest$ac_exeext'
8994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8998 (exit $ac_status); }; }; then
8999 ac_cv_lib_dl_dlopen
=yes
9001 echo "$as_me: failed program was:" >&5
9002 sed 's/^/| /' conftest.
$ac_ext >&5
9004 ac_cv_lib_dl_dlopen
=no
9006 rm -f conftest.err conftest.
$ac_objext \
9007 conftest
$ac_exeext conftest.
$ac_ext
9008 LIBS
=$ac_check_lib_save_LIBS
9010 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9011 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9012 if test $ac_cv_lib_dl_dlopen = yes; then
9013 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9015 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9016 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9017 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9018 echo $ECHO_N "(cached) $ECHO_C" >&6
9020 ac_check_lib_save_LIBS
=$LIBS
9022 cat >conftest.
$ac_ext <<_ACEOF
9025 cat confdefs.h
>>conftest.
$ac_ext
9026 cat >>conftest.
$ac_ext <<_ACEOF
9027 /* end confdefs.h. */
9029 /* Override any gcc2 internal prototype to avoid an error. */
9033 /* We use char because int might match the return type of a gcc2
9034 builtin and then its argument prototype would still apply. */
9044 rm -f conftest.
$ac_objext conftest
$ac_exeext
9045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9046 (eval $ac_link) 2>conftest.er1
9048 grep -v '^ *+' conftest.er1
>conftest.err
9050 cat conftest.err
>&5
9051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9052 (exit $ac_status); } &&
9053 { ac_try
='test -z "$ac_c_werror_flag"
9054 || test ! -s conftest.err'
9055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9059 (exit $ac_status); }; } &&
9060 { ac_try
='test -s conftest$ac_exeext'
9061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9065 (exit $ac_status); }; }; then
9066 ac_cv_lib_svld_dlopen
=yes
9068 echo "$as_me: failed program was:" >&5
9069 sed 's/^/| /' conftest.
$ac_ext >&5
9071 ac_cv_lib_svld_dlopen
=no
9073 rm -f conftest.err conftest.
$ac_objext \
9074 conftest
$ac_exeext conftest.
$ac_ext
9075 LIBS
=$ac_check_lib_save_LIBS
9077 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9078 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9079 if test $ac_cv_lib_svld_dlopen = yes; then
9080 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9082 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9083 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9084 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9085 echo $ECHO_N "(cached) $ECHO_C" >&6
9087 ac_check_lib_save_LIBS
=$LIBS
9089 cat >conftest.
$ac_ext <<_ACEOF
9092 cat confdefs.h
>>conftest.
$ac_ext
9093 cat >>conftest.
$ac_ext <<_ACEOF
9094 /* end confdefs.h. */
9096 /* Override any gcc2 internal prototype to avoid an error. */
9100 /* We use char because int might match the return type of a gcc2
9101 builtin and then its argument prototype would still apply. */
9111 rm -f conftest.
$ac_objext conftest
$ac_exeext
9112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9113 (eval $ac_link) 2>conftest.er1
9115 grep -v '^ *+' conftest.er1
>conftest.err
9117 cat conftest.err
>&5
9118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 (exit $ac_status); } &&
9120 { ac_try
='test -z "$ac_c_werror_flag"
9121 || test ! -s conftest.err'
9122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126 (exit $ac_status); }; } &&
9127 { ac_try
='test -s conftest$ac_exeext'
9128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 (exit $ac_status); }; }; then
9133 ac_cv_lib_dld_dld_link
=yes
9135 echo "$as_me: failed program was:" >&5
9136 sed 's/^/| /' conftest.
$ac_ext >&5
9138 ac_cv_lib_dld_dld_link
=no
9140 rm -f conftest.err conftest.
$ac_objext \
9141 conftest
$ac_exeext conftest.
$ac_ext
9142 LIBS
=$ac_check_lib_save_LIBS
9144 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9145 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9146 if test $ac_cv_lib_dld_dld_link = yes; then
9147 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9168 if test "x$lt_cv_dlopen" != xno
; then
9174 case $lt_cv_dlopen in
9176 save_CPPFLAGS
="$CPPFLAGS"
9177 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9179 save_LDFLAGS
="$LDFLAGS"
9180 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9183 LIBS
="$lt_cv_dlopen_libs $LIBS"
9185 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9186 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9187 if test "${lt_cv_dlopen_self+set}" = set; then
9188 echo $ECHO_N "(cached) $ECHO_C" >&6
9190 if test "$cross_compiling" = yes; then :
9191 lt_cv_dlopen_self
=cross
9193 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9194 lt_status
=$lt_dlunknown
9195 cat > conftest.
$ac_ext <<_LT_EOF
9196 #line 9196 "configure"
9197 #include "confdefs.h"
9206 # define LT_DLGLOBAL RTLD_GLOBAL
9209 # define LT_DLGLOBAL DL_GLOBAL
9211 # define LT_DLGLOBAL 0
9215 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9216 find out it does not work in some platform. */
9217 #ifndef LT_DLLAZY_OR_NOW
9219 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9222 # define LT_DLLAZY_OR_NOW DL_LAZY
9225 # define LT_DLLAZY_OR_NOW RTLD_NOW
9228 # define LT_DLLAZY_OR_NOW DL_NOW
9230 # define LT_DLLAZY_OR_NOW 0
9238 extern "C" void exit (int);
9241 void fnord() { int i=42;}
9244 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9245 int status = $lt_dlunknown;
9249 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9250 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9251 /* dlclose (self); */
9259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9260 (eval $ac_link) 2>&5
9262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9263 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9264 (.
/conftest
; exit; ) >&5 2>/dev
/null
9267 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9268 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9269 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9272 # compilation failed
9273 lt_cv_dlopen_self
=no
9280 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9281 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9283 if test "x$lt_cv_dlopen_self" = xyes
; then
9284 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9285 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9286 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9287 if test "${lt_cv_dlopen_self_static+set}" = set; then
9288 echo $ECHO_N "(cached) $ECHO_C" >&6
9290 if test "$cross_compiling" = yes; then :
9291 lt_cv_dlopen_self_static
=cross
9293 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9294 lt_status
=$lt_dlunknown
9295 cat > conftest.
$ac_ext <<_LT_EOF
9296 #line 9296 "configure"
9297 #include "confdefs.h"
9306 # define LT_DLGLOBAL RTLD_GLOBAL
9309 # define LT_DLGLOBAL DL_GLOBAL
9311 # define LT_DLGLOBAL 0
9315 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9316 find out it does not work in some platform. */
9317 #ifndef LT_DLLAZY_OR_NOW
9319 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9322 # define LT_DLLAZY_OR_NOW DL_LAZY
9325 # define LT_DLLAZY_OR_NOW RTLD_NOW
9328 # define LT_DLLAZY_OR_NOW DL_NOW
9330 # define LT_DLLAZY_OR_NOW 0
9338 extern "C" void exit (int);
9341 void fnord() { int i=42;}
9344 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9345 int status = $lt_dlunknown;
9349 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9350 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9351 /* dlclose (self); */
9359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9360 (eval $ac_link) 2>&5
9362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9363 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9364 (.
/conftest
; exit; ) >&5 2>/dev
/null
9367 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9368 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9369 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9372 # compilation failed
9373 lt_cv_dlopen_self_static
=no
9380 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9381 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9384 CPPFLAGS
="$save_CPPFLAGS"
9385 LDFLAGS
="$save_LDFLAGS"
9390 case $lt_cv_dlopen_self in
9391 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9392 *) enable_dlopen_self
=unknown
;;
9395 case $lt_cv_dlopen_self_static in
9396 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9397 *) enable_dlopen_self_static
=unknown
;;
9419 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9420 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9421 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
9422 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9423 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9424 echo "$as_me:$LINENO: result: yes" >&5
9425 echo "${ECHO_T}yes" >&6
9427 # FIXME - insert some real tests, host_os isn't really good enough
9430 if test -n "$STRIP" ; then
9431 striplib
="$STRIP -x"
9432 old_striplib
="$STRIP -S"
9433 echo "$as_me:$LINENO: result: yes" >&5
9434 echo "${ECHO_T}yes" >&6
9436 echo "$as_me:$LINENO: result: no" >&5
9437 echo "${ECHO_T}no" >&6
9441 echo "$as_me:$LINENO: result: no" >&5
9442 echo "${ECHO_T}no" >&6
9458 # Report which library types will actually be built
9459 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9460 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9461 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9462 echo "${ECHO_T}$can_build_shared" >&6
9464 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9465 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9466 test "$can_build_shared" = "no" && enable_shared
=no
9468 # On AIX, shared libraries and static libraries use the same namespace, and
9469 # are all built from PIC.
9472 test "$enable_shared" = yes && enable_static
=no
9473 if test -n "$RANLIB"; then
9474 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9475 postinstall_cmds
='$RANLIB $lib'
9480 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9481 test "$enable_shared" = yes && enable_static
=no
9485 echo "$as_me:$LINENO: result: $enable_shared" >&5
9486 echo "${ECHO_T}$enable_shared" >&6
9488 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9489 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9490 # Make sure either enable_shared or enable_static is yes.
9491 test "$enable_shared" = yes || enable_static
=yes
9492 echo "$as_me:$LINENO: result: $enable_static" >&5
9493 echo "${ECHO_T}$enable_static" >&6
9500 ac_cpp
='$CPP $CPPFLAGS'
9501 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9502 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9503 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9519 ac_config_commands
="$ac_config_commands libtool"
9529 # Check whether --with-lib-path or --without-lib-path was given.
9530 if test "${with_lib_path+set}" = set; then
9531 withval
="$with_lib_path"
9534 # Check whether --enable-targets or --disable-targets was given.
9535 if test "${enable_targets+set}" = set; then
9536 enableval
="$enable_targets"
9537 case "${enableval}" in
9538 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
9539 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
9540 { (exit 1); exit 1; }; }
9542 no
) enable_targets
= ;;
9543 *) enable_targets
=$enableval ;;
9545 fi; # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
9546 if test "${enable_64_bit_bfd+set}" = set; then
9547 enableval
="$enable_64_bit_bfd"
9548 case "${enableval}" in
9551 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
9552 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
9553 { (exit 1); exit 1; }; } ;;
9559 # Check whether --with-sysroot or --without-sysroot was given.
9560 if test "${with_sysroot+set}" = set; then
9561 withval
="$with_sysroot"
9563 case ${with_sysroot} in
9564 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
9565 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
9568 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
9571 if test "x$prefix" = xNONE
; then
9572 test_prefix
=/usr
/local
9576 if test "x$exec_prefix" = xNONE
; then
9577 test_exec_prefix
=$test_prefix
9579 test_exec_prefix
=$exec_prefix
9581 case ${TARGET_SYSTEM_ROOT} in
9582 "${test_prefix}"|
"${test_prefix}/"*|\
9583 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
9584 '${prefix}'|
'${prefix}/'*|\
9585 '${exec_prefix}'|
'${exec_prefix}/'*)
9586 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
9587 TARGET_SYSTEM_ROOT_DEFINE
="$t"
9595 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
9603 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
9605 # Check whether --enable-werror or --disable-werror was given.
9606 if test "${enable_werror+set}" = set; then
9607 enableval
="$enable_werror"
9608 case "${enableval}" in
9609 yes | y
) ERROR_ON_WARNING
="yes" ;;
9610 no | n
) ERROR_ON_WARNING
="no" ;;
9611 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
9612 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
9613 { (exit 1); exit 1; }; } ;;
9617 # Enable -Werror by default when using gcc
9618 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
9619 ERROR_ON_WARNING
=yes
9623 if test "${ERROR_ON_WARNING}" = yes ; then
9624 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
9625 NO_WERROR
="-Wno-error"
9628 if test "${GCC}" = yes ; then
9629 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
9632 # Check whether --enable-build-warnings or --disable-build-warnings was given.
9633 if test "${enable_build_warnings+set}" = set; then
9634 enableval
="$enable_build_warnings"
9635 case "${enableval}" in
9636 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
9637 no
) if test "${GCC}" = yes ; then
9640 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
9641 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
9642 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
9643 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
9644 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
9648 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
9649 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
9656 ac_config_headers
="$ac_config_headers config.h:config.in"
9659 if test -z "$target" ; then
9660 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
9661 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
9662 { (exit 1); exit 1; }; }
9664 if test -z "$host" ; then
9665 { { echo "$as_me:$LINENO: error: Unrecognized host system type; please check config.sub." >&5
9666 echo "$as_me: error: Unrecognized host system type; please check config.sub." >&2;}
9667 { (exit 1); exit 1; }; }
9670 # host-specific stuff:
9673 ac_cpp
='$CPP $CPPFLAGS'
9674 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9675 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9676 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9677 if test -n "$ac_tool_prefix"; then
9678 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9679 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9680 echo "$as_me:$LINENO: checking for $ac_word" >&5
9681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9682 if test "${ac_cv_prog_CC+set}" = set; then
9683 echo $ECHO_N "(cached) $ECHO_C" >&6
9685 if test -n "$CC"; then
9686 ac_cv_prog_CC
="$CC" # Let the user override the test.
9688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9692 test -z "$as_dir" && as_dir
=.
9693 for ac_exec_ext
in '' $ac_executable_extensions; do
9694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9695 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9705 if test -n "$CC"; then
9706 echo "$as_me:$LINENO: result: $CC" >&5
9707 echo "${ECHO_T}$CC" >&6
9709 echo "$as_me:$LINENO: result: no" >&5
9710 echo "${ECHO_T}no" >&6
9714 if test -z "$ac_cv_prog_CC"; then
9716 # Extract the first word of "gcc", so it can be a program name with args.
9717 set dummy gcc
; ac_word
=$2
9718 echo "$as_me:$LINENO: checking for $ac_word" >&5
9719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9720 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9721 echo $ECHO_N "(cached) $ECHO_C" >&6
9723 if test -n "$ac_ct_CC"; then
9724 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9730 test -z "$as_dir" && as_dir
=.
9731 for ac_exec_ext
in '' $ac_executable_extensions; do
9732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9733 ac_cv_prog_ac_ct_CC
="gcc"
9734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9742 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9743 if test -n "$ac_ct_CC"; then
9744 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9745 echo "${ECHO_T}$ac_ct_CC" >&6
9747 echo "$as_me:$LINENO: result: no" >&5
9748 echo "${ECHO_T}no" >&6
9756 if test -z "$CC"; then
9757 if test -n "$ac_tool_prefix"; then
9758 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9759 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
9760 echo "$as_me:$LINENO: checking for $ac_word" >&5
9761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9762 if test "${ac_cv_prog_CC+set}" = set; then
9763 echo $ECHO_N "(cached) $ECHO_C" >&6
9765 if test -n "$CC"; then
9766 ac_cv_prog_CC
="$CC" # Let the user override the test.
9768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9772 test -z "$as_dir" && as_dir
=.
9773 for ac_exec_ext
in '' $ac_executable_extensions; do
9774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9775 ac_cv_prog_CC
="${ac_tool_prefix}cc"
9776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9785 if test -n "$CC"; then
9786 echo "$as_me:$LINENO: result: $CC" >&5
9787 echo "${ECHO_T}$CC" >&6
9789 echo "$as_me:$LINENO: result: no" >&5
9790 echo "${ECHO_T}no" >&6
9794 if test -z "$ac_cv_prog_CC"; then
9796 # Extract the first word of "cc", so it can be a program name with args.
9797 set dummy cc
; ac_word
=$2
9798 echo "$as_me:$LINENO: checking for $ac_word" >&5
9799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9800 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9801 echo $ECHO_N "(cached) $ECHO_C" >&6
9803 if test -n "$ac_ct_CC"; then
9804 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9810 test -z "$as_dir" && as_dir
=.
9811 for ac_exec_ext
in '' $ac_executable_extensions; do
9812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9813 ac_cv_prog_ac_ct_CC
="cc"
9814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9822 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9823 if test -n "$ac_ct_CC"; then
9824 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9825 echo "${ECHO_T}$ac_ct_CC" >&6
9827 echo "$as_me:$LINENO: result: no" >&5
9828 echo "${ECHO_T}no" >&6
9837 if test -z "$CC"; then
9838 # Extract the first word of "cc", so it can be a program name with args.
9839 set dummy cc
; ac_word
=$2
9840 echo "$as_me:$LINENO: checking for $ac_word" >&5
9841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9842 if test "${ac_cv_prog_CC+set}" = set; then
9843 echo $ECHO_N "(cached) $ECHO_C" >&6
9845 if test -n "$CC"; then
9846 ac_cv_prog_CC
="$CC" # Let the user override the test.
9849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9853 test -z "$as_dir" && as_dir
=.
9854 for ac_exec_ext
in '' $ac_executable_extensions; do
9855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9856 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9857 ac_prog_rejected
=yes
9861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9867 if test $ac_prog_rejected = yes; then
9868 # We found a bogon in the path, so make sure we never use it.
9869 set dummy
$ac_cv_prog_CC
9871 if test $# != 0; then
9872 # We chose a different compiler from the bogus one.
9873 # However, it has the same basename, so the bogon will be chosen
9874 # first if we set CC to just the basename; use the full file name.
9876 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
9882 if test -n "$CC"; then
9883 echo "$as_me:$LINENO: result: $CC" >&5
9884 echo "${ECHO_T}$CC" >&6
9886 echo "$as_me:$LINENO: result: no" >&5
9887 echo "${ECHO_T}no" >&6
9891 if test -z "$CC"; then
9892 if test -n "$ac_tool_prefix"; then
9895 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9896 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9897 echo "$as_me:$LINENO: checking for $ac_word" >&5
9898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9899 if test "${ac_cv_prog_CC+set}" = set; then
9900 echo $ECHO_N "(cached) $ECHO_C" >&6
9902 if test -n "$CC"; then
9903 ac_cv_prog_CC
="$CC" # Let the user override the test.
9905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9909 test -z "$as_dir" && as_dir
=.
9910 for ac_exec_ext
in '' $ac_executable_extensions; do
9911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9912 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
9913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9922 if test -n "$CC"; then
9923 echo "$as_me:$LINENO: result: $CC" >&5
9924 echo "${ECHO_T}$CC" >&6
9926 echo "$as_me:$LINENO: result: no" >&5
9927 echo "${ECHO_T}no" >&6
9930 test -n "$CC" && break
9933 if test -z "$CC"; then
9937 # Extract the first word of "$ac_prog", so it can be a program name with args.
9938 set dummy
$ac_prog; ac_word
=$2
9939 echo "$as_me:$LINENO: checking for $ac_word" >&5
9940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9941 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9942 echo $ECHO_N "(cached) $ECHO_C" >&6
9944 if test -n "$ac_ct_CC"; then
9945 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9951 test -z "$as_dir" && as_dir
=.
9952 for ac_exec_ext
in '' $ac_executable_extensions; do
9953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9954 ac_cv_prog_ac_ct_CC
="$ac_prog"
9955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9963 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9964 if test -n "$ac_ct_CC"; then
9965 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9966 echo "${ECHO_T}$ac_ct_CC" >&6
9968 echo "$as_me:$LINENO: result: no" >&5
9969 echo "${ECHO_T}no" >&6
9972 test -n "$ac_ct_CC" && break
9981 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9982 See \`config.log' for more details." >&5
9983 echo "$as_me: error: no acceptable C compiler found in \$PATH
9984 See \`config.log' for more details." >&2;}
9985 { (exit 1); exit 1; }; }
9987 # Provide some information about the compiler.
9988 echo "$as_me:$LINENO:" \
9989 "checking for C compiler version" >&5
9990 ac_compiler
=`set X $ac_compile; echo $2`
9991 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9992 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
9994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9995 (exit $ac_status); }
9996 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9997 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
9999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000 (exit $ac_status); }
10001 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10002 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10005 (exit $ac_status); }
10007 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10008 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10009 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10010 echo $ECHO_N "(cached) $ECHO_C" >&6
10012 cat >conftest.
$ac_ext <<_ACEOF
10015 cat confdefs.h
>>conftest.
$ac_ext
10016 cat >>conftest.
$ac_ext <<_ACEOF
10017 /* end confdefs.h. */
10030 rm -f conftest.
$ac_objext
10031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10032 (eval $ac_compile) 2>conftest.er1
10034 grep -v '^ *+' conftest.er1
>conftest.err
10036 cat conftest.err
>&5
10037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10038 (exit $ac_status); } &&
10039 { ac_try
='test -z "$ac_c_werror_flag"
10040 || test ! -s conftest.err'
10041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10042 (eval $ac_try) 2>&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); }; } &&
10046 { ac_try
='test -s conftest.$ac_objext'
10047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10048 (eval $ac_try) 2>&5
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); }; }; then
10052 ac_compiler_gnu
=yes
10054 echo "$as_me: failed program was:" >&5
10055 sed 's/^/| /' conftest.
$ac_ext >&5
10059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10060 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10063 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10064 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10065 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10066 ac_test_CFLAGS
=${CFLAGS+set}
10067 ac_save_CFLAGS
=$CFLAGS
10069 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10070 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10071 if test "${ac_cv_prog_cc_g+set}" = set; then
10072 echo $ECHO_N "(cached) $ECHO_C" >&6
10074 cat >conftest.
$ac_ext <<_ACEOF
10077 cat confdefs.h
>>conftest.
$ac_ext
10078 cat >>conftest.
$ac_ext <<_ACEOF
10079 /* end confdefs.h. */
10089 rm -f conftest.
$ac_objext
10090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10091 (eval $ac_compile) 2>conftest.er1
10093 grep -v '^ *+' conftest.er1
>conftest.err
10095 cat conftest.err
>&5
10096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097 (exit $ac_status); } &&
10098 { ac_try
='test -z "$ac_c_werror_flag"
10099 || test ! -s conftest.err'
10100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10101 (eval $ac_try) 2>&5
10103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10104 (exit $ac_status); }; } &&
10105 { ac_try
='test -s conftest.$ac_objext'
10106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10107 (eval $ac_try) 2>&5
10109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110 (exit $ac_status); }; }; then
10111 ac_cv_prog_cc_g
=yes
10113 echo "$as_me: failed program was:" >&5
10114 sed 's/^/| /' conftest.
$ac_ext >&5
10118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10120 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10121 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10122 if test "$ac_test_CFLAGS" = set; then
10123 CFLAGS
=$ac_save_CFLAGS
10124 elif test $ac_cv_prog_cc_g = yes; then
10125 if test "$GCC" = yes; then
10131 if test "$GCC" = yes; then
10137 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10138 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10139 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10140 echo $ECHO_N "(cached) $ECHO_C" >&6
10142 ac_cv_prog_cc_stdc
=no
10144 cat >conftest.
$ac_ext <<_ACEOF
10147 cat confdefs.h
>>conftest.
$ac_ext
10148 cat >>conftest.
$ac_ext <<_ACEOF
10149 /* end confdefs.h. */
10150 #include <stdarg.h>
10152 #include <sys/types.h>
10153 #include <sys/stat.h>
10154 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10155 struct buf { int x; };
10156 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10157 static char *e (p, i)
10163 static char *f (char * (*g) (char **, int), char **p, ...)
10168 s = g (p, va_arg (v,int));
10173 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10174 function prototypes and stuff, but not '\xHH' hex character constants.
10175 These don't provoke an error unfortunately, instead are silently treated
10176 as 'x'. The following induces an error, until -std1 is added to get
10177 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10178 array size at least. It's necessary to write '\x00'==0 to get something
10179 that's true only with -std1. */
10180 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10182 int test (int i, double x);
10183 struct s1 {int (*f) (int a);};
10184 struct s2 {int (*f) (double a);};
10185 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10191 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10196 # Don't try gcc -ansi; that turns off useful extensions and
10197 # breaks some systems' header files.
10198 # AIX -qlanglvl=ansi
10199 # Ultrix and OSF/1 -std1
10200 # HP-UX 10.20 and later -Ae
10201 # HP-UX older versions -Aa -D_HPUX_SOURCE
10202 # SVR4 -Xc -D__EXTENSIONS__
10203 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10205 CC
="$ac_save_CC $ac_arg"
10206 rm -f conftest.
$ac_objext
10207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10208 (eval $ac_compile) 2>conftest.er1
10210 grep -v '^ *+' conftest.er1
>conftest.err
10212 cat conftest.err
>&5
10213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10214 (exit $ac_status); } &&
10215 { ac_try
='test -z "$ac_c_werror_flag"
10216 || test ! -s conftest.err'
10217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10218 (eval $ac_try) 2>&5
10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221 (exit $ac_status); }; } &&
10222 { ac_try
='test -s conftest.$ac_objext'
10223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10224 (eval $ac_try) 2>&5
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 (exit $ac_status); }; }; then
10228 ac_cv_prog_cc_stdc
=$ac_arg
10231 echo "$as_me: failed program was:" >&5
10232 sed 's/^/| /' conftest.
$ac_ext >&5
10235 rm -f conftest.err conftest.
$ac_objext
10237 rm -f conftest.
$ac_ext conftest.
$ac_objext
10242 case "x$ac_cv_prog_cc_stdc" in
10244 echo "$as_me:$LINENO: result: none needed" >&5
10245 echo "${ECHO_T}none needed" >&6 ;;
10247 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10248 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10249 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10252 # Some people use a C++ compiler to compile C. Since we use `exit',
10253 # in C++ we need to declare it. In case someone uses the same compiler
10254 # for both compiling C and C++ we need to have the C++ compiler decide
10255 # the declaration of exit, since it's the most demanding environment.
10256 cat >conftest.
$ac_ext <<_ACEOF
10257 #ifndef __cplusplus
10261 rm -f conftest.
$ac_objext
10262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10263 (eval $ac_compile) 2>conftest.er1
10265 grep -v '^ *+' conftest.er1
>conftest.err
10267 cat conftest.err
>&5
10268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269 (exit $ac_status); } &&
10270 { ac_try
='test -z "$ac_c_werror_flag"
10271 || test ! -s conftest.err'
10272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10273 (eval $ac_try) 2>&5
10275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10276 (exit $ac_status); }; } &&
10277 { ac_try
='test -s conftest.$ac_objext'
10278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10279 (eval $ac_try) 2>&5
10281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282 (exit $ac_status); }; }; then
10283 for ac_declaration
in \
10285 'extern "C" void std::exit (int) throw (); using std::exit;' \
10286 'extern "C" void std::exit (int); using std::exit;' \
10287 'extern "C" void exit (int) throw ();' \
10288 'extern "C" void exit (int);' \
10291 cat >conftest.
$ac_ext <<_ACEOF
10294 cat confdefs.h
>>conftest.
$ac_ext
10295 cat >>conftest.
$ac_ext <<_ACEOF
10296 /* end confdefs.h. */
10298 #include <stdlib.h>
10307 rm -f conftest.
$ac_objext
10308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10309 (eval $ac_compile) 2>conftest.er1
10311 grep -v '^ *+' conftest.er1
>conftest.err
10313 cat conftest.err
>&5
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); } &&
10316 { ac_try
='test -z "$ac_c_werror_flag"
10317 || test ! -s conftest.err'
10318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10319 (eval $ac_try) 2>&5
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); }; } &&
10323 { ac_try
='test -s conftest.$ac_objext'
10324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10325 (eval $ac_try) 2>&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); }; }; then
10331 echo "$as_me: failed program was:" >&5
10332 sed 's/^/| /' conftest.
$ac_ext >&5
10336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10337 cat >conftest.
$ac_ext <<_ACEOF
10340 cat confdefs.h
>>conftest.
$ac_ext
10341 cat >>conftest.
$ac_ext <<_ACEOF
10342 /* end confdefs.h. */
10352 rm -f conftest.
$ac_objext
10353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10354 (eval $ac_compile) 2>conftest.er1
10356 grep -v '^ *+' conftest.er1
>conftest.err
10358 cat conftest.err
>&5
10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); } &&
10361 { ac_try
='test -z "$ac_c_werror_flag"
10362 || test ! -s conftest.err'
10363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10364 (eval $ac_try) 2>&5
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); }; } &&
10368 { ac_try
='test -s conftest.$ac_objext'
10369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10370 (eval $ac_try) 2>&5
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); }; }; then
10376 echo "$as_me: failed program was:" >&5
10377 sed 's/^/| /' conftest.
$ac_ext >&5
10380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10383 if test -n "$ac_declaration"; then
10384 echo '#ifdef __cplusplus' >>confdefs.h
10385 echo $ac_declaration >>confdefs.h
10386 echo '#endif' >>confdefs.h
10390 echo "$as_me: failed program was:" >&5
10391 sed 's/^/| /' conftest.
$ac_ext >&5
10394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10396 ac_cpp
='$CPP $CPPFLAGS'
10397 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10398 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10399 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10401 # Find a good install program. We prefer a C program (faster),
10402 # so one script is as good as another. But avoid the broken or
10403 # incompatible versions:
10404 # SysV /etc/install, /usr/sbin/install
10405 # SunOS /usr/etc/install
10406 # IRIX /sbin/install
10408 # AmigaOS /C/install, which installs bootblocks on floppy discs
10409 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10410 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
10411 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10412 # OS/2's system install, which has a completely different semantic
10413 # ./install, which can be erroneously created by make from ./install.sh.
10414 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
10415 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
10416 if test -z "$INSTALL"; then
10417 if test "${ac_cv_path_install+set}" = set; then
10418 echo $ECHO_N "(cached) $ECHO_C" >&6
10420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10421 for as_dir
in $PATH
10424 test -z "$as_dir" && as_dir
=.
10425 # Account for people who put trailing slashes in PATH elements.
10427 .
/ | .
// |
/cC
/* | \
10428 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
10429 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
10432 # OSF1 and SCO ODT 3.0 have their own names for install.
10433 # Don't use installbsd from OSF since it installs stuff as root
10435 for ac_prog
in ginstall scoinst
install; do
10436 for ac_exec_ext
in '' $ac_executable_extensions; do
10437 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
10438 if test $ac_prog = install &&
10439 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10440 # AIX install. It has an incompatible calling convention.
10442 elif test $ac_prog = install &&
10443 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10444 # program-specific install script used by HP pwplus--don't use.
10447 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
10459 if test "${ac_cv_path_install+set}" = set; then
10460 INSTALL
=$ac_cv_path_install
10462 # As a last resort, use the slow shell script. We don't cache a
10463 # path for INSTALL within a source directory, because that will
10464 # break other packages using the cache if that directory is
10465 # removed, or if the path is relative.
10466 INSTALL
=$ac_install_sh
10469 echo "$as_me:$LINENO: result: $INSTALL" >&5
10470 echo "${ECHO_T}$INSTALL" >&6
10472 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10473 # It thinks the first close brace ends the variable substitution.
10474 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
10476 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
10478 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
10481 ALL_LINGUAS
="fr sv tr es da vi zh_CN zh_TW ga"
10482 # If we haven't got the data from the intl directory,
10483 # assume NLS is disabled.
10492 if test -f ..
/intl
/config.intl
; then
10493 . ..
/intl
/config.intl
10495 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10496 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10497 if test x
"$USE_NLS" != xyes
; then
10498 echo "$as_me:$LINENO: result: no" >&5
10499 echo "${ECHO_T}no" >&6
10501 echo "$as_me:$LINENO: result: yes" >&5
10502 echo "${ECHO_T}yes" >&6
10504 cat >>confdefs.h
<<\_ACEOF
10505 #define ENABLE_NLS 1
10509 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
10510 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
10511 # Look for .po and .gmo files in the source directory.
10514 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
10515 # If there aren't any .gmo files the shell will give us the
10516 # literal string "../path/to/srcdir/po/*.gmo" which has to be
10518 case "$cat" in *\
**)
10521 # The quadruple backslash is collapsed to a double backslash
10522 # by the backticks, then collapsed again by the double quotes,
10523 # leaving us with one backslash in the sed expression (right
10524 # before the dot that mustn't act as a wildcard).
10525 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
10526 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
10527 # The user is allowed to set LINGUAS to a list of languages to
10528 # install catalogs for. If it's empty that means "all of them."
10529 if test "x$LINGUAS" = x
; then
10530 CATALOGS
="$CATALOGS $cat"
10531 XLINGUAS
="$XLINGUAS $lang"
10533 case "$LINGUAS" in *$lang*)
10534 CATALOGS
="$CATALOGS $cat"
10535 XLINGUAS
="$XLINGUAS $lang"
10540 LINGUAS
="$XLINGUAS"
10541 echo "$as_me:$LINENO: result: $LINGUAS" >&5
10542 echo "${ECHO_T}$LINGUAS" >&6
10556 if test -n "$ac_aux_dir"; then
10557 case "$ac_aux_dir" in
10558 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
10559 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
10562 if test -z "$MKINSTALLDIRS"; then
10563 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
10568 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10569 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10570 # Check whether --enable-nls or --disable-nls was given.
10571 if test "${enable_nls+set}" = set; then
10572 enableval
="$enable_nls"
10577 echo "$as_me:$LINENO: result: $USE_NLS" >&5
10578 echo "${ECHO_T}$USE_NLS" >&6
10585 # Prepare PATH_SEPARATOR.
10586 # The user is always right.
10587 if test "${PATH_SEPARATOR+set}" != set; then
10588 echo "#! /bin/sh" >conf$$.sh
10589 echo "exit 0" >>conf$$.sh
10591 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10599 # Find out how to test for executable files. Don't use a zero-byte file,
10600 # as systems may use methods other than mode bits to determine executability.
10601 cat >conf$$.
file <<_ASEOF
10605 chmod +x conf$$.
file
10606 if test -x conf$$.
file >/dev
/null
2>&1; then
10607 ac_executable_p
="test -x"
10609 ac_executable_p
="test -f"
10613 # Extract the first word of "msgfmt", so it can be a program name with args.
10614 set dummy msgfmt
; ac_word
=$2
10615 echo "$as_me:$LINENO: checking for $ac_word" >&5
10616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10617 if test "${ac_cv_path_MSGFMT+set}" = set; then
10618 echo $ECHO_N "(cached) $ECHO_C" >&6
10622 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
10625 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
10626 for ac_dir
in $PATH; do
10628 test -z "$ac_dir" && ac_dir
=.
10629 for ac_exec_ext
in '' $ac_executable_extensions; do
10630 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10631 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
10632 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
10633 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
10640 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
10644 MSGFMT
="$ac_cv_path_MSGFMT"
10645 if test "$MSGFMT" != ":"; then
10646 echo "$as_me:$LINENO: result: $MSGFMT" >&5
10647 echo "${ECHO_T}$MSGFMT" >&6
10649 echo "$as_me:$LINENO: result: no" >&5
10650 echo "${ECHO_T}no" >&6
10653 # Extract the first word of "gmsgfmt", so it can be a program name with args.
10654 set dummy gmsgfmt
; ac_word
=$2
10655 echo "$as_me:$LINENO: checking for $ac_word" >&5
10656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10657 if test "${ac_cv_path_GMSGFMT+set}" = set; then
10658 echo $ECHO_N "(cached) $ECHO_C" >&6
10662 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
10665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10666 for as_dir
in $PATH
10669 test -z "$as_dir" && as_dir
=.
10670 for ac_exec_ext
in '' $ac_executable_extensions; do
10671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10672 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
10673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10679 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
10683 GMSGFMT
=$ac_cv_path_GMSGFMT
10685 if test -n "$GMSGFMT"; then
10686 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
10687 echo "${ECHO_T}$GMSGFMT" >&6
10689 echo "$as_me:$LINENO: result: no" >&5
10690 echo "${ECHO_T}no" >&6
10695 # Prepare PATH_SEPARATOR.
10696 # The user is always right.
10697 if test "${PATH_SEPARATOR+set}" != set; then
10698 echo "#! /bin/sh" >conf$$.sh
10699 echo "exit 0" >>conf$$.sh
10701 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10709 # Find out how to test for executable files. Don't use a zero-byte file,
10710 # as systems may use methods other than mode bits to determine executability.
10711 cat >conf$$.
file <<_ASEOF
10715 chmod +x conf$$.
file
10716 if test -x conf$$.
file >/dev
/null
2>&1; then
10717 ac_executable_p
="test -x"
10719 ac_executable_p
="test -f"
10723 # Extract the first word of "xgettext", so it can be a program name with args.
10724 set dummy xgettext
; ac_word
=$2
10725 echo "$as_me:$LINENO: checking for $ac_word" >&5
10726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10727 if test "${ac_cv_path_XGETTEXT+set}" = set; then
10728 echo $ECHO_N "(cached) $ECHO_C" >&6
10730 case "$XGETTEXT" in
10732 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
10735 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
10736 for ac_dir
in $PATH; do
10738 test -z "$ac_dir" && ac_dir
=.
10739 for ac_exec_ext
in '' $ac_executable_extensions; do
10740 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10741 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
10742 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
10743 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
10750 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
10754 XGETTEXT
="$ac_cv_path_XGETTEXT"
10755 if test "$XGETTEXT" != ":"; then
10756 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
10757 echo "${ECHO_T}$XGETTEXT" >&6
10759 echo "$as_me:$LINENO: result: no" >&5
10760 echo "${ECHO_T}no" >&6
10766 # Prepare PATH_SEPARATOR.
10767 # The user is always right.
10768 if test "${PATH_SEPARATOR+set}" != set; then
10769 echo "#! /bin/sh" >conf$$.sh
10770 echo "exit 0" >>conf$$.sh
10772 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10780 # Find out how to test for executable files. Don't use a zero-byte file,
10781 # as systems may use methods other than mode bits to determine executability.
10782 cat >conf$$.
file <<_ASEOF
10786 chmod +x conf$$.
file
10787 if test -x conf$$.
file >/dev
/null
2>&1; then
10788 ac_executable_p
="test -x"
10790 ac_executable_p
="test -f"
10794 # Extract the first word of "msgmerge", so it can be a program name with args.
10795 set dummy msgmerge
; ac_word
=$2
10796 echo "$as_me:$LINENO: checking for $ac_word" >&5
10797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10798 if test "${ac_cv_path_MSGMERGE+set}" = set; then
10799 echo $ECHO_N "(cached) $ECHO_C" >&6
10801 case "$MSGMERGE" in
10803 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
10806 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
10807 for ac_dir
in $PATH; do
10809 test -z "$ac_dir" && ac_dir
=.
10810 for ac_exec_ext
in '' $ac_executable_extensions; do
10811 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10812 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
10813 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
10820 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
10824 MSGMERGE
="$ac_cv_path_MSGMERGE"
10825 if test "$MSGMERGE" != ":"; then
10826 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
10827 echo "${ECHO_T}$MSGMERGE" >&6
10829 echo "$as_me:$LINENO: result: no" >&5
10830 echo "${ECHO_T}no" >&6
10834 if test "$GMSGFMT" != ":"; then
10835 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
10836 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
10839 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
10840 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
10841 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
10846 if test "$XGETTEXT" != ":"; then
10847 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
10848 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
10851 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
10852 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
10858 ac_config_commands
="$ac_config_commands default-1"
10864 for ac_prog
in 'bison -y' byacc
10866 # Extract the first word of "$ac_prog", so it can be a program name with args.
10867 set dummy
$ac_prog; ac_word
=$2
10868 echo "$as_me:$LINENO: checking for $ac_word" >&5
10869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10870 if test "${ac_cv_prog_YACC+set}" = set; then
10871 echo $ECHO_N "(cached) $ECHO_C" >&6
10873 if test -n "$YACC"; then
10874 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
10876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10877 for as_dir
in $PATH
10880 test -z "$as_dir" && as_dir
=.
10881 for ac_exec_ext
in '' $ac_executable_extensions; do
10882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10883 ac_cv_prog_YACC
="$ac_prog"
10884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10892 YACC
=$ac_cv_prog_YACC
10893 if test -n "$YACC"; then
10894 echo "$as_me:$LINENO: result: $YACC" >&5
10895 echo "${ECHO_T}$YACC" >&6
10897 echo "$as_me:$LINENO: result: no" >&5
10898 echo "${ECHO_T}no" >&6
10901 test -n "$YACC" && break
10903 test -n "$YACC" || YACC
="yacc"
10905 for ac_prog
in flex
lex
10907 # Extract the first word of "$ac_prog", so it can be a program name with args.
10908 set dummy
$ac_prog; ac_word
=$2
10909 echo "$as_me:$LINENO: checking for $ac_word" >&5
10910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10911 if test "${ac_cv_prog_LEX+set}" = set; then
10912 echo $ECHO_N "(cached) $ECHO_C" >&6
10914 if test -n "$LEX"; then
10915 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
10917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10918 for as_dir
in $PATH
10921 test -z "$as_dir" && as_dir
=.
10922 for ac_exec_ext
in '' $ac_executable_extensions; do
10923 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10924 ac_cv_prog_LEX
="$ac_prog"
10925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10933 LEX
=$ac_cv_prog_LEX
10934 if test -n "$LEX"; then
10935 echo "$as_me:$LINENO: result: $LEX" >&5
10936 echo "${ECHO_T}$LEX" >&6
10938 echo "$as_me:$LINENO: result: no" >&5
10939 echo "${ECHO_T}no" >&6
10942 test -n "$LEX" && break
10944 test -n "$LEX" || LEX
=":"
10946 if test -z "$LEXLIB"
10948 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
10949 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
10950 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
10951 echo $ECHO_N "(cached) $ECHO_C" >&6
10953 ac_check_lib_save_LIBS
=$LIBS
10955 cat >conftest.
$ac_ext <<_ACEOF
10958 cat confdefs.h
>>conftest.
$ac_ext
10959 cat >>conftest.
$ac_ext <<_ACEOF
10960 /* end confdefs.h. */
10962 /* Override any gcc2 internal prototype to avoid an error. */
10966 /* We use char because int might match the return type of a gcc2
10967 builtin and then its argument prototype would still apply. */
10977 rm -f conftest.
$ac_objext conftest
$ac_exeext
10978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10979 (eval $ac_link) 2>conftest.er1
10981 grep -v '^ *+' conftest.er1
>conftest.err
10983 cat conftest.err
>&5
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); } &&
10986 { ac_try
='test -z "$ac_c_werror_flag"
10987 || test ! -s conftest.err'
10988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10989 (eval $ac_try) 2>&5
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 (exit $ac_status); }; } &&
10993 { ac_try
='test -s conftest$ac_exeext'
10994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10995 (eval $ac_try) 2>&5
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10998 (exit $ac_status); }; }; then
10999 ac_cv_lib_fl_yywrap
=yes
11001 echo "$as_me: failed program was:" >&5
11002 sed 's/^/| /' conftest.
$ac_ext >&5
11004 ac_cv_lib_fl_yywrap
=no
11006 rm -f conftest.err conftest.
$ac_objext \
11007 conftest
$ac_exeext conftest.
$ac_ext
11008 LIBS
=$ac_check_lib_save_LIBS
11010 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11011 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11012 if test $ac_cv_lib_fl_yywrap = yes; then
11015 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11016 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11017 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11018 echo $ECHO_N "(cached) $ECHO_C" >&6
11020 ac_check_lib_save_LIBS
=$LIBS
11022 cat >conftest.
$ac_ext <<_ACEOF
11025 cat confdefs.h
>>conftest.
$ac_ext
11026 cat >>conftest.
$ac_ext <<_ACEOF
11027 /* end confdefs.h. */
11029 /* Override any gcc2 internal prototype to avoid an error. */
11033 /* We use char because int might match the return type of a gcc2
11034 builtin and then its argument prototype would still apply. */
11044 rm -f conftest.
$ac_objext conftest
$ac_exeext
11045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11046 (eval $ac_link) 2>conftest.er1
11048 grep -v '^ *+' conftest.er1
>conftest.err
11050 cat conftest.err
>&5
11051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052 (exit $ac_status); } &&
11053 { ac_try
='test -z "$ac_c_werror_flag"
11054 || test ! -s conftest.err'
11055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11056 (eval $ac_try) 2>&5
11058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11059 (exit $ac_status); }; } &&
11060 { ac_try
='test -s conftest$ac_exeext'
11061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11062 (eval $ac_try) 2>&5
11064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11065 (exit $ac_status); }; }; then
11066 ac_cv_lib_l_yywrap
=yes
11068 echo "$as_me: failed program was:" >&5
11069 sed 's/^/| /' conftest.
$ac_ext >&5
11071 ac_cv_lib_l_yywrap
=no
11073 rm -f conftest.err conftest.
$ac_objext \
11074 conftest
$ac_exeext conftest.
$ac_ext
11075 LIBS
=$ac_check_lib_save_LIBS
11077 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11078 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11079 if test $ac_cv_lib_l_yywrap = yes; then
11087 if test "x$LEX" != "x:"; then
11088 echo "$as_me:$LINENO: checking lex output file root" >&5
11089 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11090 if test "${ac_cv_prog_lex_root+set}" = set; then
11091 echo $ECHO_N "(cached) $ECHO_C" >&6
11093 # The minimal lex program is just a single line: %%. But some broken lexes
11094 # (Solaris, I think it was) want two %% lines, so accommodate them.
11095 cat >conftest.l
<<_ACEOF
11099 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11100 (eval $LEX conftest.l
) 2>&5
11102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11103 (exit $ac_status); }
11104 if test -f lex.yy.c
; then
11105 ac_cv_prog_lex_root
=lex.yy
11106 elif test -f lexyy.c
; then
11107 ac_cv_prog_lex_root
=lexyy
11109 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11110 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11111 { (exit 1); exit 1; }; }
11114 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11115 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11117 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
11119 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11120 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11121 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11122 echo $ECHO_N "(cached) $ECHO_C" >&6
11124 # POSIX says lex can declare yytext either as a pointer or an array; the
11125 # default is implementation-dependent. Figure out which it is, since
11126 # not all implementations provide the %pointer and %array declarations.
11127 ac_cv_prog_lex_yytext_pointer
=no
11128 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11130 LIBS
="$LIBS $LEXLIB"
11131 cat >conftest.
$ac_ext <<_ACEOF
11132 `cat $LEX_OUTPUT_ROOT.c`
11134 rm -f conftest.
$ac_objext conftest
$ac_exeext
11135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11136 (eval $ac_link) 2>conftest.er1
11138 grep -v '^ *+' conftest.er1
>conftest.err
11140 cat conftest.err
>&5
11141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142 (exit $ac_status); } &&
11143 { ac_try
='test -z "$ac_c_werror_flag"
11144 || test ! -s conftest.err'
11145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11146 (eval $ac_try) 2>&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); }; } &&
11150 { ac_try
='test -s conftest$ac_exeext'
11151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11152 (eval $ac_try) 2>&5
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); }; }; then
11156 ac_cv_prog_lex_yytext_pointer
=yes
11158 echo "$as_me: failed program was:" >&5
11159 sed 's/^/| /' conftest.
$ac_ext >&5
11162 rm -f conftest.err conftest.
$ac_objext \
11163 conftest
$ac_exeext conftest.
$ac_ext
11165 rm -f "${LEX_OUTPUT_ROOT}.c"
11168 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11169 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11170 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11172 cat >>confdefs.h
<<\_ACEOF
11173 #define YYTEXT_POINTER 1
11179 if test "$LEX" = :; then
11180 LEX
=${am_missing_run}flex
11183 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
11184 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
11185 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
11186 if test "${enable_maintainer_mode+set}" = set; then
11187 enableval
="$enable_maintainer_mode"
11188 USE_MAINTAINER_MODE
=$enableval
11190 USE_MAINTAINER_MODE
=no
11192 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
11193 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
11196 if test $USE_MAINTAINER_MODE = yes; then
11197 MAINTAINER_MODE_TRUE
=
11198 MAINTAINER_MODE_FALSE
='#'
11200 MAINTAINER_MODE_TRUE
='#'
11201 MAINTAINER_MODE_FALSE
=
11204 MAINT
=$MAINTAINER_MODE_TRUE
11210 GENINSRC_NEVER_TRUE
=
11211 GENINSRC_NEVER_FALSE
='#'
11213 GENINSRC_NEVER_TRUE
='#'
11214 GENINSRC_NEVER_FALSE
=
11218 .
${srcdir}/configure.
host
11232 for ac_header
in string.h
strings.h stdlib.h unistd.h elf-hints.h limits.h sys
/param.h
11234 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11236 echo "$as_me:$LINENO: checking for $ac_header" >&5
11237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11239 echo $ECHO_N "(cached) $ECHO_C" >&6
11241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11244 # Is the header compilable?
11245 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11246 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11247 cat >conftest.
$ac_ext <<_ACEOF
11250 cat confdefs.h
>>conftest.
$ac_ext
11251 cat >>conftest.
$ac_ext <<_ACEOF
11252 /* end confdefs.h. */
11253 $ac_includes_default
11254 #include <$ac_header>
11256 rm -f conftest.
$ac_objext
11257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11258 (eval $ac_compile) 2>conftest.er1
11260 grep -v '^ *+' conftest.er1
>conftest.err
11262 cat conftest.err
>&5
11263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264 (exit $ac_status); } &&
11265 { ac_try
='test -z "$ac_c_werror_flag"
11266 || test ! -s conftest.err'
11267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11268 (eval $ac_try) 2>&5
11270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11271 (exit $ac_status); }; } &&
11272 { ac_try
='test -s conftest.$ac_objext'
11273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11274 (eval $ac_try) 2>&5
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); }; }; then
11278 ac_header_compiler
=yes
11280 echo "$as_me: failed program was:" >&5
11281 sed 's/^/| /' conftest.
$ac_ext >&5
11283 ac_header_compiler
=no
11285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11286 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11287 echo "${ECHO_T}$ac_header_compiler" >&6
11289 # Is the header present?
11290 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11291 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11292 cat >conftest.
$ac_ext <<_ACEOF
11295 cat confdefs.h
>>conftest.
$ac_ext
11296 cat >>conftest.
$ac_ext <<_ACEOF
11297 /* end confdefs.h. */
11298 #include <$ac_header>
11300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11301 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11303 grep -v '^ *+' conftest.er1
>conftest.err
11305 cat conftest.err
>&5
11306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11307 (exit $ac_status); } >/dev
/null
; then
11308 if test -s conftest.err
; then
11309 ac_cpp_err
=$ac_c_preproc_warn_flag
11310 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11317 if test -z "$ac_cpp_err"; then
11318 ac_header_preproc
=yes
11320 echo "$as_me: failed program was:" >&5
11321 sed 's/^/| /' conftest.
$ac_ext >&5
11323 ac_header_preproc
=no
11325 rm -f conftest.err conftest.
$ac_ext
11326 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11327 echo "${ECHO_T}$ac_header_preproc" >&6
11329 # So? What about this header?
11330 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11332 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11333 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11334 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11335 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11336 ac_header_preproc
=yes
11339 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11340 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11341 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11342 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11343 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11344 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11345 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11346 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11347 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11348 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11349 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11350 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11353 ## ------------------------------------------ ##
11354 ## Report this to the AC_PACKAGE_NAME lists. ##
11355 ## ------------------------------------------ ##
11358 sed "s/^/$as_me: WARNING: /" >&2
11361 echo "$as_me:$LINENO: checking for $ac_header" >&5
11362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11364 echo $ECHO_N "(cached) $ECHO_C" >&6
11366 eval "$as_ac_Header=\$ac_header_preproc"
11368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11372 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11373 cat >>confdefs.h
<<_ACEOF
11374 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11386 for ac_func
in glob mkstemp realpath sbrk waitpid
11388 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11389 echo "$as_me:$LINENO: checking for $ac_func" >&5
11390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11391 if eval "test \"\${$as_ac_var+set}\" = set"; then
11392 echo $ECHO_N "(cached) $ECHO_C" >&6
11394 cat >conftest.
$ac_ext <<_ACEOF
11397 cat confdefs.h
>>conftest.
$ac_ext
11398 cat >>conftest.
$ac_ext <<_ACEOF
11399 /* end confdefs.h. */
11400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11402 #define $ac_func innocuous_$ac_func
11404 /* System header to define __stub macros and hopefully few prototypes,
11405 which can conflict with char $ac_func (); below.
11406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11407 <limits.h> exists even on freestanding compilers. */
11410 # include <limits.h>
11412 # include <assert.h>
11417 /* Override any gcc2 internal prototype to avoid an error. */
11422 /* We use char because int might match the return type of a gcc2
11423 builtin and then its argument prototype would still apply. */
11425 /* The GNU C library defines this for functions which it implements
11426 to always fail with ENOSYS. Some functions are actually named
11427 something starting with __ and the normal name is an alias. */
11428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11431 char (*f) () = $ac_func;
11440 return f != $ac_func;
11445 rm -f conftest.
$ac_objext conftest
$ac_exeext
11446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11447 (eval $ac_link) 2>conftest.er1
11449 grep -v '^ *+' conftest.er1
>conftest.err
11451 cat conftest.err
>&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); } &&
11454 { ac_try
='test -z "$ac_c_werror_flag"
11455 || test ! -s conftest.err'
11456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11457 (eval $ac_try) 2>&5
11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460 (exit $ac_status); }; } &&
11461 { ac_try
='test -s conftest$ac_exeext'
11462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11463 (eval $ac_try) 2>&5
11465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11466 (exit $ac_status); }; }; then
11467 eval "$as_ac_var=yes"
11469 echo "$as_me: failed program was:" >&5
11470 sed 's/^/| /' conftest.
$ac_ext >&5
11472 eval "$as_ac_var=no"
11474 rm -f conftest.err conftest.
$ac_objext \
11475 conftest
$ac_exeext conftest.
$ac_ext
11477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11479 if test `eval echo '${'$as_ac_var'}'` = yes; then
11480 cat >>confdefs.h
<<_ACEOF
11481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11492 ac_header_dirent
=no
11493 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
11494 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
11495 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
11496 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
11497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11498 echo $ECHO_N "(cached) $ECHO_C" >&6
11500 cat >conftest.
$ac_ext <<_ACEOF
11503 cat confdefs.h
>>conftest.
$ac_ext
11504 cat >>conftest.
$ac_ext <<_ACEOF
11505 /* end confdefs.h. */
11506 #include <sys/types.h>
11518 rm -f conftest.
$ac_objext
11519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11520 (eval $ac_compile) 2>conftest.er1
11522 grep -v '^ *+' conftest.er1
>conftest.err
11524 cat conftest.err
>&5
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); } &&
11527 { ac_try
='test -z "$ac_c_werror_flag"
11528 || test ! -s conftest.err'
11529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11530 (eval $ac_try) 2>&5
11532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 (exit $ac_status); }; } &&
11534 { ac_try
='test -s conftest.$ac_objext'
11535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11536 (eval $ac_try) 2>&5
11538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); }; }; then
11540 eval "$as_ac_Header=yes"
11542 echo "$as_me: failed program was:" >&5
11543 sed 's/^/| /' conftest.
$ac_ext >&5
11545 eval "$as_ac_Header=no"
11547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11552 cat >>confdefs.h
<<_ACEOF
11553 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
11556 ac_header_dirent
=$ac_hdr; break
11560 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
11561 if test $ac_header_dirent = dirent.h
; then
11562 echo "$as_me:$LINENO: checking for library containing opendir" >&5
11563 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
11564 if test "${ac_cv_search_opendir+set}" = set; then
11565 echo $ECHO_N "(cached) $ECHO_C" >&6
11567 ac_func_search_save_LIBS
=$LIBS
11568 ac_cv_search_opendir
=no
11569 cat >conftest.
$ac_ext <<_ACEOF
11572 cat confdefs.h
>>conftest.
$ac_ext
11573 cat >>conftest.
$ac_ext <<_ACEOF
11574 /* end confdefs.h. */
11576 /* Override any gcc2 internal prototype to avoid an error. */
11580 /* We use char because int might match the return type of a gcc2
11581 builtin and then its argument prototype would still apply. */
11591 rm -f conftest.
$ac_objext conftest
$ac_exeext
11592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11593 (eval $ac_link) 2>conftest.er1
11595 grep -v '^ *+' conftest.er1
>conftest.err
11597 cat conftest.err
>&5
11598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11599 (exit $ac_status); } &&
11600 { ac_try
='test -z "$ac_c_werror_flag"
11601 || test ! -s conftest.err'
11602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11603 (eval $ac_try) 2>&5
11605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11606 (exit $ac_status); }; } &&
11607 { ac_try
='test -s conftest$ac_exeext'
11608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11609 (eval $ac_try) 2>&5
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); }; }; then
11613 ac_cv_search_opendir
="none required"
11615 echo "$as_me: failed program was:" >&5
11616 sed 's/^/| /' conftest.
$ac_ext >&5
11619 rm -f conftest.err conftest.
$ac_objext \
11620 conftest
$ac_exeext conftest.
$ac_ext
11621 if test "$ac_cv_search_opendir" = no
; then
11622 for ac_lib
in dir
; do
11623 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11624 cat >conftest.
$ac_ext <<_ACEOF
11627 cat confdefs.h
>>conftest.
$ac_ext
11628 cat >>conftest.
$ac_ext <<_ACEOF
11629 /* end confdefs.h. */
11631 /* Override any gcc2 internal prototype to avoid an error. */
11635 /* We use char because int might match the return type of a gcc2
11636 builtin and then its argument prototype would still apply. */
11646 rm -f conftest.
$ac_objext conftest
$ac_exeext
11647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11648 (eval $ac_link) 2>conftest.er1
11650 grep -v '^ *+' conftest.er1
>conftest.err
11652 cat conftest.err
>&5
11653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11654 (exit $ac_status); } &&
11655 { ac_try
='test -z "$ac_c_werror_flag"
11656 || test ! -s conftest.err'
11657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11658 (eval $ac_try) 2>&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); }; } &&
11662 { ac_try
='test -s conftest$ac_exeext'
11663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11664 (eval $ac_try) 2>&5
11666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667 (exit $ac_status); }; }; then
11668 ac_cv_search_opendir
="-l$ac_lib"
11671 echo "$as_me: failed program was:" >&5
11672 sed 's/^/| /' conftest.
$ac_ext >&5
11675 rm -f conftest.err conftest.
$ac_objext \
11676 conftest
$ac_exeext conftest.
$ac_ext
11679 LIBS
=$ac_func_search_save_LIBS
11681 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11682 echo "${ECHO_T}$ac_cv_search_opendir" >&6
11683 if test "$ac_cv_search_opendir" != no
; then
11684 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
11689 echo "$as_me:$LINENO: checking for library containing opendir" >&5
11690 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
11691 if test "${ac_cv_search_opendir+set}" = set; then
11692 echo $ECHO_N "(cached) $ECHO_C" >&6
11694 ac_func_search_save_LIBS
=$LIBS
11695 ac_cv_search_opendir
=no
11696 cat >conftest.
$ac_ext <<_ACEOF
11699 cat confdefs.h
>>conftest.
$ac_ext
11700 cat >>conftest.
$ac_ext <<_ACEOF
11701 /* end confdefs.h. */
11703 /* Override any gcc2 internal prototype to avoid an error. */
11707 /* We use char because int might match the return type of a gcc2
11708 builtin and then its argument prototype would still apply. */
11718 rm -f conftest.
$ac_objext conftest
$ac_exeext
11719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11720 (eval $ac_link) 2>conftest.er1
11722 grep -v '^ *+' conftest.er1
>conftest.err
11724 cat conftest.err
>&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } &&
11727 { ac_try
='test -z "$ac_c_werror_flag"
11728 || test ! -s conftest.err'
11729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11730 (eval $ac_try) 2>&5
11732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733 (exit $ac_status); }; } &&
11734 { ac_try
='test -s conftest$ac_exeext'
11735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11736 (eval $ac_try) 2>&5
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }; }; then
11740 ac_cv_search_opendir
="none required"
11742 echo "$as_me: failed program was:" >&5
11743 sed 's/^/| /' conftest.
$ac_ext >&5
11746 rm -f conftest.err conftest.
$ac_objext \
11747 conftest
$ac_exeext conftest.
$ac_ext
11748 if test "$ac_cv_search_opendir" = no
; then
11749 for ac_lib
in x
; do
11750 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11751 cat >conftest.
$ac_ext <<_ACEOF
11754 cat confdefs.h
>>conftest.
$ac_ext
11755 cat >>conftest.
$ac_ext <<_ACEOF
11756 /* end confdefs.h. */
11758 /* Override any gcc2 internal prototype to avoid an error. */
11762 /* We use char because int might match the return type of a gcc2
11763 builtin and then its argument prototype would still apply. */
11773 rm -f conftest.
$ac_objext conftest
$ac_exeext
11774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11775 (eval $ac_link) 2>conftest.er1
11777 grep -v '^ *+' conftest.er1
>conftest.err
11779 cat conftest.err
>&5
11780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11781 (exit $ac_status); } &&
11782 { ac_try
='test -z "$ac_c_werror_flag"
11783 || test ! -s conftest.err'
11784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11785 (eval $ac_try) 2>&5
11787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788 (exit $ac_status); }; } &&
11789 { ac_try
='test -s conftest$ac_exeext'
11790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11791 (eval $ac_try) 2>&5
11793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794 (exit $ac_status); }; }; then
11795 ac_cv_search_opendir
="-l$ac_lib"
11798 echo "$as_me: failed program was:" >&5
11799 sed 's/^/| /' conftest.
$ac_ext >&5
11802 rm -f conftest.err conftest.
$ac_objext \
11803 conftest
$ac_exeext conftest.
$ac_ext
11806 LIBS
=$ac_func_search_save_LIBS
11808 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11809 echo "${ECHO_T}$ac_cv_search_opendir" >&6
11810 if test "$ac_cv_search_opendir" != no
; then
11811 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
11818 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
11819 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
11820 if test "${ld_cv_decl_getopt_unistd_h+set}" = set; then
11821 echo $ECHO_N "(cached) $ECHO_C" >&6
11823 cat >conftest.
$ac_ext <<_ACEOF
11826 cat confdefs.h
>>conftest.
$ac_ext
11827 cat >>conftest.
$ac_ext <<_ACEOF
11828 /* end confdefs.h. */
11829 #include <unistd.h>
11833 extern int getopt (int, char *const*, const char *);
11838 rm -f conftest.
$ac_objext
11839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11840 (eval $ac_compile) 2>conftest.er1
11842 grep -v '^ *+' conftest.er1
>conftest.err
11844 cat conftest.err
>&5
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); } &&
11847 { ac_try
='test -z "$ac_c_werror_flag"
11848 || test ! -s conftest.err'
11849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11850 (eval $ac_try) 2>&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); }; } &&
11854 { ac_try
='test -s conftest.$ac_objext'
11855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11856 (eval $ac_try) 2>&5
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); }; }; then
11860 ld_cv_decl_getopt_unistd_h
=yes
11862 echo "$as_me: failed program was:" >&5
11863 sed 's/^/| /' conftest.
$ac_ext >&5
11865 ld_cv_decl_getopt_unistd_h
=no
11867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11870 echo "$as_me:$LINENO: result: $ld_cv_decl_getopt_unistd_h" >&5
11871 echo "${ECHO_T}$ld_cv_decl_getopt_unistd_h" >&6
11872 if test $ld_cv_decl_getopt_unistd_h = yes; then
11874 cat >>confdefs.h
<<\_ACEOF
11875 #define HAVE_DECL_GETOPT 1
11882 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
11884 cat >>confdefs.h
<<\_ACEOF
11885 #define USE_BINARY_FOPEN 1
11890 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
11891 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
11892 if test "${ac_cv_have_decl_strstr+set}" = set; then
11893 echo $ECHO_N "(cached) $ECHO_C" >&6
11895 cat >conftest.
$ac_ext <<_ACEOF
11898 cat confdefs.h
>>conftest.
$ac_ext
11899 cat >>conftest.
$ac_ext <<_ACEOF
11900 /* end confdefs.h. */
11901 $ac_includes_default
11906 char *p = (char *) strstr;
11913 rm -f conftest.
$ac_objext
11914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11915 (eval $ac_compile) 2>conftest.er1
11917 grep -v '^ *+' conftest.er1
>conftest.err
11919 cat conftest.err
>&5
11920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 (exit $ac_status); } &&
11922 { ac_try
='test -z "$ac_c_werror_flag"
11923 || test ! -s conftest.err'
11924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11925 (eval $ac_try) 2>&5
11927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11928 (exit $ac_status); }; } &&
11929 { ac_try
='test -s conftest.$ac_objext'
11930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11931 (eval $ac_try) 2>&5
11933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11934 (exit $ac_status); }; }; then
11935 ac_cv_have_decl_strstr
=yes
11937 echo "$as_me: failed program was:" >&5
11938 sed 's/^/| /' conftest.
$ac_ext >&5
11940 ac_cv_have_decl_strstr
=no
11942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11944 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
11945 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
11946 if test $ac_cv_have_decl_strstr = yes; then
11948 cat >>confdefs.h
<<_ACEOF
11949 #define HAVE_DECL_STRSTR 1
11954 cat >>confdefs.h
<<_ACEOF
11955 #define HAVE_DECL_STRSTR 0
11960 echo "$as_me:$LINENO: checking whether free is declared" >&5
11961 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
11962 if test "${ac_cv_have_decl_free+set}" = set; then
11963 echo $ECHO_N "(cached) $ECHO_C" >&6
11965 cat >conftest.
$ac_ext <<_ACEOF
11968 cat confdefs.h
>>conftest.
$ac_ext
11969 cat >>conftest.
$ac_ext <<_ACEOF
11970 /* end confdefs.h. */
11971 $ac_includes_default
11976 char *p = (char *) free;
11983 rm -f conftest.
$ac_objext
11984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11985 (eval $ac_compile) 2>conftest.er1
11987 grep -v '^ *+' conftest.er1
>conftest.err
11989 cat conftest.err
>&5
11990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); } &&
11992 { ac_try
='test -z "$ac_c_werror_flag"
11993 || test ! -s conftest.err'
11994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11995 (eval $ac_try) 2>&5
11997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11998 (exit $ac_status); }; } &&
11999 { ac_try
='test -s conftest.$ac_objext'
12000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12001 (eval $ac_try) 2>&5
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); }; }; then
12005 ac_cv_have_decl_free
=yes
12007 echo "$as_me: failed program was:" >&5
12008 sed 's/^/| /' conftest.
$ac_ext >&5
12010 ac_cv_have_decl_free
=no
12012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12014 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
12015 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
12016 if test $ac_cv_have_decl_free = yes; then
12018 cat >>confdefs.h
<<_ACEOF
12019 #define HAVE_DECL_FREE 1
12024 cat >>confdefs.h
<<_ACEOF
12025 #define HAVE_DECL_FREE 0
12030 echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
12031 echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
12032 if test "${ac_cv_have_decl_sbrk+set}" = set; then
12033 echo $ECHO_N "(cached) $ECHO_C" >&6
12035 cat >conftest.
$ac_ext <<_ACEOF
12038 cat confdefs.h
>>conftest.
$ac_ext
12039 cat >>conftest.
$ac_ext <<_ACEOF
12040 /* end confdefs.h. */
12041 $ac_includes_default
12046 char *p = (char *) sbrk;
12053 rm -f conftest.
$ac_objext
12054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12055 (eval $ac_compile) 2>conftest.er1
12057 grep -v '^ *+' conftest.er1
>conftest.err
12059 cat conftest.err
>&5
12060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12061 (exit $ac_status); } &&
12062 { ac_try
='test -z "$ac_c_werror_flag"
12063 || test ! -s conftest.err'
12064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12065 (eval $ac_try) 2>&5
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); }; } &&
12069 { ac_try
='test -s conftest.$ac_objext'
12070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12071 (eval $ac_try) 2>&5
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); }; }; then
12075 ac_cv_have_decl_sbrk
=yes
12077 echo "$as_me: failed program was:" >&5
12078 sed 's/^/| /' conftest.
$ac_ext >&5
12080 ac_cv_have_decl_sbrk
=no
12082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12084 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
12085 echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
12086 if test $ac_cv_have_decl_sbrk = yes; then
12088 cat >>confdefs.h
<<_ACEOF
12089 #define HAVE_DECL_SBRK 1
12094 cat >>confdefs.h
<<_ACEOF
12095 #define HAVE_DECL_SBRK 0
12100 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
12101 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
12102 if test "${ac_cv_have_decl_getenv+set}" = set; then
12103 echo $ECHO_N "(cached) $ECHO_C" >&6
12105 cat >conftest.
$ac_ext <<_ACEOF
12108 cat confdefs.h
>>conftest.
$ac_ext
12109 cat >>conftest.
$ac_ext <<_ACEOF
12110 /* end confdefs.h. */
12111 $ac_includes_default
12116 char *p = (char *) getenv;
12123 rm -f conftest.
$ac_objext
12124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12125 (eval $ac_compile) 2>conftest.er1
12127 grep -v '^ *+' conftest.er1
>conftest.err
12129 cat conftest.err
>&5
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); } &&
12132 { ac_try
='test -z "$ac_c_werror_flag"
12133 || test ! -s conftest.err'
12134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12135 (eval $ac_try) 2>&5
12137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12138 (exit $ac_status); }; } &&
12139 { ac_try
='test -s conftest.$ac_objext'
12140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12141 (eval $ac_try) 2>&5
12143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12144 (exit $ac_status); }; }; then
12145 ac_cv_have_decl_getenv
=yes
12147 echo "$as_me: failed program was:" >&5
12148 sed 's/^/| /' conftest.
$ac_ext >&5
12150 ac_cv_have_decl_getenv
=no
12152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12154 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
12155 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
12156 if test $ac_cv_have_decl_getenv = yes; then
12158 cat >>confdefs.h
<<_ACEOF
12159 #define HAVE_DECL_GETENV 1
12164 cat >>confdefs.h
<<_ACEOF
12165 #define HAVE_DECL_GETENV 0
12170 echo "$as_me:$LINENO: checking whether environ is declared" >&5
12171 echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
12172 if test "${ac_cv_have_decl_environ+set}" = set; then
12173 echo $ECHO_N "(cached) $ECHO_C" >&6
12175 cat >conftest.
$ac_ext <<_ACEOF
12178 cat confdefs.h
>>conftest.
$ac_ext
12179 cat >>conftest.
$ac_ext <<_ACEOF
12180 /* end confdefs.h. */
12181 $ac_includes_default
12186 char *p = (char *) environ;
12193 rm -f conftest.
$ac_objext
12194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12195 (eval $ac_compile) 2>conftest.er1
12197 grep -v '^ *+' conftest.er1
>conftest.err
12199 cat conftest.err
>&5
12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 (exit $ac_status); } &&
12202 { ac_try
='test -z "$ac_c_werror_flag"
12203 || test ! -s conftest.err'
12204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12205 (eval $ac_try) 2>&5
12207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208 (exit $ac_status); }; } &&
12209 { ac_try
='test -s conftest.$ac_objext'
12210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12211 (eval $ac_try) 2>&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); }; }; then
12215 ac_cv_have_decl_environ
=yes
12217 echo "$as_me: failed program was:" >&5
12218 sed 's/^/| /' conftest.
$ac_ext >&5
12220 ac_cv_have_decl_environ
=no
12222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12224 echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
12225 echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
12226 if test $ac_cv_have_decl_environ = yes; then
12228 cat >>confdefs.h
<<_ACEOF
12229 #define HAVE_DECL_ENVIRON 1
12234 cat >>confdefs.h
<<_ACEOF
12235 #define HAVE_DECL_ENVIRON 0
12243 # When converting linker scripts into strings for use in emulation
12244 # files, use astring.sed if the compiler supports ANSI string
12245 # concatenation, or ostring.sed otherwise. This is to support the
12246 # broken Microsoft MSVC compiler, which limits the length of string
12247 # constants, while still supporting pre-ANSI compilers which do not
12248 # support string concatenation.
12249 echo "$as_me:$LINENO: checking whether ANSI C string concatenation works" >&5
12250 echo $ECHO_N "checking whether ANSI C string concatenation works... $ECHO_C" >&6
12251 if test "${ld_cv_string_concatenation+set}" = set; then
12252 echo $ECHO_N "(cached) $ECHO_C" >&6
12254 cat >conftest.
$ac_ext <<_ACEOF
12257 cat confdefs.h
>>conftest.
$ac_ext
12258 cat >>conftest.
$ac_ext <<_ACEOF
12259 /* end confdefs.h. */
12269 rm -f conftest.
$ac_objext
12270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12271 (eval $ac_compile) 2>conftest.er1
12273 grep -v '^ *+' conftest.er1
>conftest.err
12275 cat conftest.err
>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); } &&
12278 { ac_try
='test -z "$ac_c_werror_flag"
12279 || test ! -s conftest.err'
12280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12281 (eval $ac_try) 2>&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); }; } &&
12285 { ac_try
='test -s conftest.$ac_objext'
12286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12287 (eval $ac_try) 2>&5
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); }; }; then
12291 ld_cv_string_concatenation
=yes
12293 echo "$as_me: failed program was:" >&5
12294 sed 's/^/| /' conftest.
$ac_ext >&5
12296 ld_cv_string_concatenation
=no
12298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12301 echo "$as_me:$LINENO: result: $ld_cv_string_concatenation" >&5
12302 echo "${ECHO_T}$ld_cv_string_concatenation" >&6
12303 if test "$ld_cv_string_concatenation" = "yes"; then
12304 STRINGIFY
=astring.
sed
12306 STRINGIFY
=ostring.
sed
12310 # target-specific stuff:
12320 for targ_alias
in `echo $target_alias $enable_targets | sed 's/,/ /g'`
12322 if test "$targ_alias" = "all"; then
12325 # Canonicalize the secondary target names.
12326 result
=`$ac_config_sub $targ_alias 2>/dev/null`
12327 if test -n "$result"; then
12333 .
${srcdir}/configure.tgt
12335 if test "$targ" = "$target"; then
12339 if test x
${want64} = xfalse
; then
12340 .
${srcdir}/..
/bfd
/config.bfd
12343 if test x
${want64} = xtrue
; then
12344 targ_extra_emuls
="$targ_extra_emuls $targ64_extra_emuls"
12345 targ_extra_libpath
="$targ_extra_libpath $targ64_extra_libpath"
12348 for i
in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
12349 case " $all_emuls " in
12352 all_emuls
="$all_emuls e${i}.o"
12353 eval result
=\
$tdir_$i
12354 test -z "$result" && result
=$targ_alias
12355 echo tdir_
$i=$result >> tdirs
12360 for i
in $targ_emul $targ_extra_libpath; do
12361 case " $all_libpath " in
12364 if test -z "$all_libpath"; then
12367 all_libpath
="$all_libpath ${i}"
12373 for i
in $targ_extra_ofiles; do
12374 case " $all_emul_extras " in
12377 all_emul_extras
="$all_emul_extras ${i}"
12389 if test x
${all_targets} = xtrue
; then
12390 if test x
${want64} = xfalse
; then
12391 echo "$as_me:$LINENO: checking for long" >&5
12392 echo $ECHO_N "checking for long... $ECHO_C" >&6
12393 if test "${ac_cv_type_long+set}" = set; then
12394 echo $ECHO_N "(cached) $ECHO_C" >&6
12396 cat >conftest.
$ac_ext <<_ACEOF
12399 cat confdefs.h
>>conftest.
$ac_ext
12400 cat >>conftest.
$ac_ext <<_ACEOF
12401 /* end confdefs.h. */
12402 $ac_includes_default
12414 rm -f conftest.
$ac_objext
12415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12416 (eval $ac_compile) 2>conftest.er1
12418 grep -v '^ *+' conftest.er1
>conftest.err
12420 cat conftest.err
>&5
12421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422 (exit $ac_status); } &&
12423 { ac_try
='test -z "$ac_c_werror_flag"
12424 || test ! -s conftest.err'
12425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12426 (eval $ac_try) 2>&5
12428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12429 (exit $ac_status); }; } &&
12430 { ac_try
='test -s conftest.$ac_objext'
12431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12432 (eval $ac_try) 2>&5
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); }; }; then
12436 ac_cv_type_long
=yes
12438 echo "$as_me: failed program was:" >&5
12439 sed 's/^/| /' conftest.
$ac_ext >&5
12443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12445 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
12446 echo "${ECHO_T}$ac_cv_type_long" >&6
12448 echo "$as_me:$LINENO: checking size of long" >&5
12449 echo $ECHO_N "checking size of long... $ECHO_C" >&6
12450 if test "${ac_cv_sizeof_long+set}" = set; then
12451 echo $ECHO_N "(cached) $ECHO_C" >&6
12453 if test "$ac_cv_type_long" = yes; then
12454 # The cast to unsigned long works around a bug in the HP C Compiler
12455 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12456 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12457 # This bug is HP SR number 8606223364.
12458 if test "$cross_compiling" = yes; then
12459 # Depending upon the size, compute the lo and hi bounds.
12460 cat >conftest.
$ac_ext <<_ACEOF
12463 cat confdefs.h
>>conftest.
$ac_ext
12464 cat >>conftest.
$ac_ext <<_ACEOF
12465 /* end confdefs.h. */
12466 $ac_includes_default
12470 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
12477 rm -f conftest.
$ac_objext
12478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12479 (eval $ac_compile) 2>conftest.er1
12481 grep -v '^ *+' conftest.er1
>conftest.err
12483 cat conftest.err
>&5
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); } &&
12486 { ac_try
='test -z "$ac_c_werror_flag"
12487 || test ! -s conftest.err'
12488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12489 (eval $ac_try) 2>&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); }; } &&
12493 { ac_try
='test -s conftest.$ac_objext'
12494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12495 (eval $ac_try) 2>&5
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); }; }; then
12501 cat >conftest.
$ac_ext <<_ACEOF
12504 cat confdefs.h
>>conftest.
$ac_ext
12505 cat >>conftest.
$ac_ext <<_ACEOF
12506 /* end confdefs.h. */
12507 $ac_includes_default
12511 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12518 rm -f conftest.
$ac_objext
12519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12520 (eval $ac_compile) 2>conftest.er1
12522 grep -v '^ *+' conftest.er1
>conftest.err
12524 cat conftest.err
>&5
12525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12526 (exit $ac_status); } &&
12527 { ac_try
='test -z "$ac_c_werror_flag"
12528 || test ! -s conftest.err'
12529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12530 (eval $ac_try) 2>&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); }; } &&
12534 { ac_try
='test -s conftest.$ac_objext'
12535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12536 (eval $ac_try) 2>&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); }; }; then
12540 ac_hi
=$ac_mid; break
12542 echo "$as_me: failed program was:" >&5
12543 sed 's/^/| /' conftest.
$ac_ext >&5
12545 ac_lo
=`expr $ac_mid + 1`
12546 if test $ac_lo -le $ac_mid; then
12550 ac_mid
=`expr 2 '*' $ac_mid + 1`
12552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12555 echo "$as_me: failed program was:" >&5
12556 sed 's/^/| /' conftest.
$ac_ext >&5
12558 cat >conftest.
$ac_ext <<_ACEOF
12561 cat confdefs.h
>>conftest.
$ac_ext
12562 cat >>conftest.
$ac_ext <<_ACEOF
12563 /* end confdefs.h. */
12564 $ac_includes_default
12568 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
12575 rm -f conftest.
$ac_objext
12576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12577 (eval $ac_compile) 2>conftest.er1
12579 grep -v '^ *+' conftest.er1
>conftest.err
12581 cat conftest.err
>&5
12582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12583 (exit $ac_status); } &&
12584 { ac_try
='test -z "$ac_c_werror_flag"
12585 || test ! -s conftest.err'
12586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12587 (eval $ac_try) 2>&5
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); }; } &&
12591 { ac_try
='test -s conftest.$ac_objext'
12592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12593 (eval $ac_try) 2>&5
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); }; }; then
12599 cat >conftest.
$ac_ext <<_ACEOF
12602 cat confdefs.h
>>conftest.
$ac_ext
12603 cat >>conftest.
$ac_ext <<_ACEOF
12604 /* end confdefs.h. */
12605 $ac_includes_default
12609 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
12616 rm -f conftest.
$ac_objext
12617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12618 (eval $ac_compile) 2>conftest.er1
12620 grep -v '^ *+' conftest.er1
>conftest.err
12622 cat conftest.err
>&5
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); } &&
12625 { ac_try
='test -z "$ac_c_werror_flag"
12626 || test ! -s conftest.err'
12627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12628 (eval $ac_try) 2>&5
12630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631 (exit $ac_status); }; } &&
12632 { ac_try
='test -s conftest.$ac_objext'
12633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12634 (eval $ac_try) 2>&5
12636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637 (exit $ac_status); }; }; then
12638 ac_lo
=$ac_mid; break
12640 echo "$as_me: failed program was:" >&5
12641 sed 's/^/| /' conftest.
$ac_ext >&5
12643 ac_hi
=`expr '(' $ac_mid ')' - 1`
12644 if test $ac_mid -le $ac_hi; then
12648 ac_mid
=`expr 2 '*' $ac_mid`
12650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12653 echo "$as_me: failed program was:" >&5
12654 sed 's/^/| /' conftest.
$ac_ext >&5
12658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12661 # Binary search between lo and hi bounds.
12662 while test "x$ac_lo" != "x$ac_hi"; do
12663 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12664 cat >conftest.
$ac_ext <<_ACEOF
12667 cat confdefs.h
>>conftest.
$ac_ext
12668 cat >>conftest.
$ac_ext <<_ACEOF
12669 /* end confdefs.h. */
12670 $ac_includes_default
12674 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12681 rm -f conftest.
$ac_objext
12682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12683 (eval $ac_compile) 2>conftest.er1
12685 grep -v '^ *+' conftest.er1
>conftest.err
12687 cat conftest.err
>&5
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); } &&
12690 { ac_try
='test -z "$ac_c_werror_flag"
12691 || test ! -s conftest.err'
12692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12693 (eval $ac_try) 2>&5
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); }; } &&
12697 { ac_try
='test -s conftest.$ac_objext'
12698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12699 (eval $ac_try) 2>&5
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); }; }; then
12705 echo "$as_me: failed program was:" >&5
12706 sed 's/^/| /' conftest.
$ac_ext >&5
12708 ac_lo
=`expr '(' $ac_mid ')' + 1`
12710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12713 ?
*) ac_cv_sizeof_long
=$ac_lo;;
12714 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12715 See \`config.log' for more details." >&5
12716 echo "$as_me: error: cannot compute sizeof (long), 77
12717 See \`config.log' for more details." >&2;}
12718 { (exit 1); exit 1; }; } ;;
12721 if test "$cross_compiling" = yes; then
12722 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12723 See \`config.log' for more details." >&5
12724 echo "$as_me: error: cannot run test program while cross compiling
12725 See \`config.log' for more details." >&2;}
12726 { (exit 1); exit 1; }; }
12728 cat >conftest.
$ac_ext <<_ACEOF
12731 cat confdefs.h
>>conftest.
$ac_ext
12732 cat >>conftest.
$ac_ext <<_ACEOF
12733 /* end confdefs.h. */
12734 $ac_includes_default
12735 long longval () { return (long) (sizeof (long)); }
12736 unsigned long ulongval () { return (long) (sizeof (long)); }
12738 #include <stdlib.h>
12743 FILE *f = fopen ("conftest.val", "w");
12746 if (((long) (sizeof (long))) < 0)
12748 long i = longval ();
12749 if (i != ((long) (sizeof (long))))
12751 fprintf (f, "%ld\n", i);
12755 unsigned long i = ulongval ();
12756 if (i != ((long) (sizeof (long))))
12758 fprintf (f, "%lu\n", i);
12760 exit (ferror (f) || fclose (f) != 0);
12766 rm -f conftest
$ac_exeext
12767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12768 (eval $ac_link) 2>&5
12770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12773 (eval $ac_try) 2>&5
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); }; }; then
12777 ac_cv_sizeof_long
=`cat conftest.val`
12779 echo "$as_me: program exited with status $ac_status" >&5
12780 echo "$as_me: failed program was:" >&5
12781 sed 's/^/| /' conftest.
$ac_ext >&5
12783 ( exit $ac_status )
12784 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12785 See \`config.log' for more details." >&5
12786 echo "$as_me: error: cannot compute sizeof (long), 77
12787 See \`config.log' for more details." >&2;}
12788 { (exit 1); exit 1; }; }
12790 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12795 ac_cv_sizeof_long
=0
12798 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
12799 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
12800 cat >>confdefs.h
<<_ACEOF
12801 #define SIZEOF_LONG $ac_cv_sizeof_long
12805 if test "x${ac_cv_sizeof_long}" = "x8"; then
12809 if test x
${want64} = xtrue
; then
12810 EMULATION_OFILES
='$(ALL_EMULATIONS) $(ALL_64_EMULATIONS)'
12812 EMULATION_OFILES
='$(ALL_EMULATIONS)'
12814 EMUL_EXTRA_OFILES
='$(ALL_EMUL_EXTRA_OFILES)'
12816 EMULATION_OFILES
=$all_emuls
12817 EMUL_EXTRA_OFILES
=$all_emul_extras
12823 EMULATION_LIBPATH
=$all_libpath
12826 if test x
${enable_static} = xno
; then
12827 TESTBFDLIB
="--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
12829 TESTBFDLIB
="../bfd/.libs/libbfd.a"
12833 target_vendor
=${target_vendor=$host_vendor}
12834 case "$target_vendor" in
12835 hp
) EXTRA_SHLIB_EXTENSION
=".sl" ;;
12836 *) EXTRA_SHLIB_EXTENSION
= ;;
12839 case "$target_os" in
12840 lynxos
) EXTRA_SHLIB_EXTENSION
=".a" ;;
12843 if test x
${EXTRA_SHLIB_EXTENSION} != x
; then
12845 cat >>confdefs.h
<<_ACEOF
12846 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
12855 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
12856 cat >confcache
<<\_ACEOF
12857 # This file is a shell script that caches the results of configure
12858 # tests run on this system so they can be shared between configure
12859 # scripts and configure runs, see configure's option --config-cache.
12860 # It is not useful on other systems. If it contains results you don't
12861 # want to keep, you may remove or edit it.
12863 # config.status only pays attention to the cache file if you give it
12864 # the --recheck option to rerun configure.
12866 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12867 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12868 # following values.
12872 # The following way of writing the cache mishandles newlines in values,
12873 # but we know of no workaround that is simple, portable, and efficient.
12874 # So, don't put newlines in cache variables' values.
12875 # Ultrix sh set writes to stderr and can't be redirected directly,
12876 # and sets the high bit in the cache file unless we assign to the vars.
12879 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12881 # `set' does not quote correctly, so add quotes (double-quote
12882 # substitution turns \\\\ into \\, and sed turns \\ into \).
12885 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12888 # `set' quotes correctly as required by POSIX, so do not add quotes.
12890 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12897 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12899 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12901 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12902 if test -w $cache_file; then
12903 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12904 cat confcache
>$cache_file
12906 echo "not updating unwritable cache $cache_file"
12911 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12912 # Let make expand exec_prefix.
12913 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12915 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12916 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12917 # trailing colons and then remove the whole line if VPATH becomes empty
12918 # (actually we leave an empty line to preserve line numbers).
12919 if test "x$srcdir" = x.
; then
12920 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12921 s/:*\$(srcdir):*/:/;
12922 s/:*\${srcdir}:*/:/;
12924 s/^\([^=]*=[ ]*\):*/\1/;
12930 DEFS
=-DHAVE_CONFIG_H
12934 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12935 # 1. Remove the extension, and $U if already installed.
12936 ac_i
=`echo "$ac_i" |
12937 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12939 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12940 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12942 LIBOBJS
=$ac_libobjs
12944 LTLIBOBJS
=$ac_ltlibobjs
12947 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12948 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12949 Usually this means the macro was only invoked conditionally." >&5
12950 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12951 Usually this means the macro was only invoked conditionally." >&2;}
12952 { (exit 1); exit 1; }; }
12954 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12955 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12956 Usually this means the macro was only invoked conditionally." >&5
12957 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12958 Usually this means the macro was only invoked conditionally." >&2;}
12959 { (exit 1); exit 1; }; }
12961 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12962 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12963 Usually this means the macro was only invoked conditionally." >&5
12964 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12965 Usually this means the macro was only invoked conditionally." >&2;}
12966 { (exit 1); exit 1; }; }
12968 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
12969 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
12970 Usually this means the macro was only invoked conditionally." >&5
12971 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
12972 Usually this means the macro was only invoked conditionally." >&2;}
12973 { (exit 1); exit 1; }; }
12976 : ${CONFIG_STATUS=./config.status}
12977 ac_clean_files_save
=$ac_clean_files
12978 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12979 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12980 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12981 cat >$CONFIG_STATUS <<_ACEOF
12983 # Generated by $as_me.
12984 # Run this file to recreate the current configuration.
12985 # Compiler output produced by configure, useful for debugging
12986 # configure, is in config.log if it exists.
12989 ac_cs_recheck=false
12991 SHELL=\${CONFIG_SHELL-$SHELL}
12994 cat >>$CONFIG_STATUS <<\_ACEOF
12995 ## --------------------- ##
12996 ## M4sh Initialization. ##
12997 ## --------------------- ##
12999 # Be Bourne compatible
13000 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13003 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13004 # is contrary to our usage. Disable this feature.
13005 alias -g '${1+"$@"}'='"$@"'
13006 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
13009 DUALCASE
=1; export DUALCASE
# for MKS sh
13011 # Support unset when possible.
13012 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
13019 # Work around bugs in pre-3.0 UWIN ksh.
13020 $as_unset ENV MAIL MAILPATH
13027 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13028 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13029 LC_TELEPHONE LC_TIME
13031 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13032 eval $as_var=C
; export $as_var
13038 # Required to use basename.
13039 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13045 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
13046 as_basename
=basename
13052 # Name of the executable.
13053 as_me
=`$as_basename "$0" ||
13054 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13055 X"$0" : 'X\(//\)$' \| \
13056 X"$0" : 'X\(/\)$' \| \
13057 . : '\(.\)' 2>/dev/null ||
13059 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13060 /^X\/\(\/\/\)$/{ s//\1/; q; }
13061 /^X\/\(\/\).*/{ s//\1/; q; }
13065 # PATH needs CR, and LINENO needs CR and PATH.
13066 # Avoid depending upon Character Ranges.
13067 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13068 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13069 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13070 as_cr_digits
='0123456789'
13071 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13073 # The user is always right.
13074 if test "${PATH_SEPARATOR+set}" != set; then
13075 echo "#! /bin/sh" >conf$$.sh
13076 echo "exit 0" >>conf$$.sh
13078 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13087 as_lineno_1
=$LINENO
13088 as_lineno_2
=$LINENO
13089 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
13090 test "x$as_lineno_1" != "x$as_lineno_2" &&
13091 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
13092 # Find who we are. Look in the path if we contain no path at all
13095 *[\\/]* ) as_myself
=$0 ;;
13096 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13097 for as_dir
in $PATH
13100 test -z "$as_dir" && as_dir
=.
13101 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
13106 # We did not find ourselves, most probably we were run as `sh COMMAND'
13107 # in which case we are not to be found in the path.
13108 if test "x$as_myself" = x
; then
13111 if test ! -f "$as_myself"; then
13112 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
13113 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
13114 { (exit 1); exit 1; }; }
13116 case $CONFIG_SHELL in
13118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13119 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
13122 test -z "$as_dir" && as_dir
=.
13123 for as_base
in sh bash ksh sh5
; do
13126 if ("$as_dir/$as_base" -c '
13127 as_lineno_1=$LINENO
13128 as_lineno_2=$LINENO
13129 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13130 test "x$as_lineno_1" != "x$as_lineno_2" &&
13131 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
13132 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
13133 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
13134 CONFIG_SHELL
=$as_dir/$as_base
13135 export CONFIG_SHELL
13136 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
13144 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13145 # uniformly replaced by the line number. The first 'sed' inserts a
13146 # line-number line before each line; the second 'sed' does the real
13147 # work. The second script uses 'N' to pair each line-number line
13148 # with the numbered line, and appends trailing '-' during
13149 # substitution so that $LINENO is not a special case at line end.
13150 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13151 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
13152 sed '=' <$as_myself |
13157 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
13160 s,^['$as_cr_digits']*\n,,
13161 ' >$as_me.lineno
&&
13162 chmod +x
$as_me.lineno ||
13163 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
13164 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
13165 { (exit 1); exit 1; }; }
13167 # Don't try to exec as it changes $[0], causing all sort of problems
13168 # (the dirname of $[0] is not the place where we might find the
13169 # original and so on. Autoconf is especially sensible to this).
13171 # Exit status is that of the last command.
13176 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
13177 *c
*,-n*) ECHO_N
= ECHO_C
='
13179 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
13180 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
13183 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13189 rm -f conf$$ conf$$.exe conf$$.
file
13191 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13192 # We could just check for DJGPP; but this test a) works b) is more generic
13193 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
13194 if test -f conf$$.exe
; then
13195 # Don't use ln at all; we don't have any links
13200 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13205 rm -f conf$$ conf$$.exe conf$$.
file
13207 if mkdir
-p .
2>/dev
/null
; then
13210 test -d .
/-p && rmdir .
/-p
13214 as_executable_p
="test -f"
13216 # Sed expression to map a string onto a valid CPP name.
13217 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13219 # Sed expression to map a string onto a valid variable name.
13220 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13224 # We need space, tab and new line, in precisely that order.
13234 # Open the log real soon, to keep \$[0] and so on meaningful, and to
13235 # report actual input values of CONFIG_FILES etc. instead of their
13236 # values after options handling. Logging --version etc. is OK.
13240 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13241 ## Running $as_me. ##
13246 This file was extended by $as_me, which was
13247 generated by GNU Autoconf 2.59. Invocation command line was
13249 CONFIG_FILES = $CONFIG_FILES
13250 CONFIG_HEADERS = $CONFIG_HEADERS
13251 CONFIG_LINKS = $CONFIG_LINKS
13252 CONFIG_COMMANDS = $CONFIG_COMMANDS
13256 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
13260 # Files that config.status was made for.
13261 if test -n "$ac_config_files"; then
13262 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
13265 if test -n "$ac_config_headers"; then
13266 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13269 if test -n "$ac_config_links"; then
13270 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13273 if test -n "$ac_config_commands"; then
13274 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13277 cat >>$CONFIG_STATUS <<\_ACEOF
13280 \`$as_me' instantiates files from templates according to the
13281 current configuration.
13283 Usage: $0 [OPTIONS] [FILE]...
13285 -h, --help print this help, then exit
13286 -V, --version print version number, then exit
13287 -q, --quiet do not print progress messages
13288 -d, --debug don't remove temporary files
13289 --recheck update $as_me by reconfiguring in the same conditions
13290 --file=FILE[:TEMPLATE]
13291 instantiate the configuration file FILE
13292 --header=FILE[:TEMPLATE]
13293 instantiate the configuration header FILE
13295 Configuration files:
13298 Configuration headers:
13301 Configuration commands:
13304 Report bugs to <bug-autoconf@gnu.org>."
13307 cat >>$CONFIG_STATUS <<_ACEOF
13310 configured by $0, generated by GNU Autoconf 2.59,
13311 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13313 Copyright (C) 2003 Free Software Foundation, Inc.
13314 This config.status script is free software; the Free Software Foundation
13315 gives unlimited permission to copy, distribute and modify it."
13320 cat >>$CONFIG_STATUS <<\_ACEOF
13321 # If no file are specified by the user, then we need to provide default
13322 # value. By we need to know if files were specified by the user.
13328 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
13329 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
13337 *) # This is not an option, so the user has probably given explicit
13340 ac_need_defaults
=false
;;
13344 # Handling of the options.
13346 cat >>$CONFIG_STATUS <<\_ACEOF
13347 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13349 --version |
--vers* |
-V )
13350 echo "$ac_cs_version"; exit 0 ;;
13352 # Conflict between --help and --header
13353 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13354 Try \`$0 --help' for more information." >&5
13355 echo "$as_me: error: ambiguous option: $1
13356 Try \`$0 --help' for more information." >&2;}
13357 { (exit 1); exit 1; }; };;
13358 --help |
--hel |
-h )
13359 echo "$ac_cs_usage"; exit 0 ;;
13360 --debug |
--d* |
-d )
13362 --file |
--fil |
--fi |
--f )
13364 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13365 ac_need_defaults
=false
;;
13366 --header |
--heade |
--head |
--hea )
13368 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13369 ac_need_defaults
=false
;;
13370 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13371 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13374 # This is an error.
13375 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13376 Try \`$0 --help' for more information." >&5
13377 echo "$as_me: error: unrecognized option: $1
13378 Try \`$0 --help' for more information." >&2;}
13379 { (exit 1); exit 1; }; } ;;
13381 *) ac_config_targets
="$ac_config_targets $1" ;;
13387 ac_configure_extra_args
=
13389 if $ac_cs_silent; then
13391 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13395 cat >>$CONFIG_STATUS <<_ACEOF
13396 if \$ac_cs_recheck; then
13397 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13398 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13403 cat >>$CONFIG_STATUS <<_ACEOF
13405 # INIT-COMMANDS section.
13408 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13411 # The HP-UX ksh and POSIX shell print the target directory to stdout
13412 # if CDPATH is set.
13413 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13415 sed_quote_subst='$sed_quote_subst'
13416 double_quote_subst='$double_quote_subst'
13417 delay_variable_subst='$delay_variable_subst'
13418 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13419 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13420 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13421 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13422 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13423 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13424 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13425 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13426 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13427 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13428 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13429 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13430 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13431 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13432 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13433 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13434 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13435 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13436 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13437 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13438 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13439 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13440 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13441 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13442 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13443 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13444 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13445 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13446 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13447 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13448 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13449 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13450 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13451 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13452 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13453 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13454 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13455 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13456 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13457 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13458 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13459 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13460 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13461 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13462 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13463 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13464 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13465 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13466 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13467 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13468 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13469 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13470 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13471 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13472 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13473 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13474 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13475 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13476 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13477 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13478 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13479 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13480 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13481 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13482 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13483 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13484 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13485 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13486 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13487 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13488 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13489 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13490 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13491 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13492 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13493 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13494 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13495 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13496 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13497 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13498 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13499 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13500 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13501 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13502 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13503 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13504 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13505 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13506 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13507 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13508 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13509 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13510 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13511 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13512 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13513 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13514 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13515 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13516 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13517 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13518 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13519 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13520 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13521 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13522 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13523 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13524 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13525 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13526 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13527 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13528 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13531 LTCFLAGS='$LTCFLAGS'
13532 compiler='$compiler_DEFAULT'
13534 # Quote evaled strings.
13545 deplibs_check_method \
13554 lt_cv_sys_global_symbol_pipe \
13555 lt_cv_sys_global_symbol_to_cdecl \
13556 lt_cv_sys_global_symbol_to_c_name_address \
13559 lt_prog_compiler_no_builtin_flag \
13560 lt_prog_compiler_wl \
13561 lt_prog_compiler_pic \
13562 lt_prog_compiler_static \
13563 lt_cv_prog_compiler_c_o \
13566 export_dynamic_flag_spec \
13567 whole_archive_flag_spec \
13568 compiler_needs_object \
13570 allow_undefined_flag \
13571 no_undefined_flag \
13572 hardcode_libdir_flag_spec \
13573 hardcode_libdir_flag_spec_ld \
13574 hardcode_libdir_separator \
13579 variables_saved_for_relink \
13581 library_names_spec \
13586 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13587 *[\\\\\\\`\\"\\\$]*)
13588 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13591 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13596 # Double-quote double-evaled strings.
13597 for var in reload_cmds \
13598 old_postinstall_cmds \
13599 old_postuninstall_cmds \
13601 extract_expsyms_cmds \
13602 old_archive_from_new_cmds \
13603 old_archive_from_expsyms_cmds \
13605 archive_expsym_cmds \
13607 module_expsym_cmds \
13608 export_symbols_cmds \
13611 postuninstall_cmds \
13613 sys_lib_search_path_spec \
13614 sys_lib_dlsearch_path_spec; do
13615 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13616 *[\\\\\\\`\\"\\\$]*)
13617 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13620 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13625 # Fix-up fallback echo if it was mangled by the above quoting rules.
13627 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13631 ac_aux_dir='$ac_aux_dir'
13632 xsi_shell='$xsi_shell'
13633 lt_shell_append='$lt_shell_append'
13635 # See if we are running on zsh, and set the options which allow our
13636 # commands through without removal of \ escapes INIT.
13637 if test -n "\${ZSH_VERSION+set}" ; then
13638 setopt NO_GLOB_SUBST
13644 TIMESTAMP='$TIMESTAMP'
13650 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
13651 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
13653 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13654 # Capture the value of LINGUAS because we need it to compute CATALOGS.
13655 LINGUAS="${LINGUAS-%UNSET%}"
13662 cat >>$CONFIG_STATUS <<\_ACEOF
13663 for ac_config_target
in $ac_config_targets
13665 case "$ac_config_target" in
13666 # Handling of arguments.
13667 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13668 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
13669 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13670 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13671 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13672 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
13673 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13674 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13675 { (exit 1); exit 1; }; };;
13679 # If the user did not use the arguments to specify the items to instantiate,
13680 # then the envvar interface is used. Set only those that are not.
13681 # We use the long form for the default assignment because of an extremely
13682 # bizarre bug on SunOS 4.1.3.
13683 if $ac_need_defaults; then
13684 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13685 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13686 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13689 # Have a temporary directory for convenience. Make it in the build tree
13690 # simply because there is no reason to put it here, and in addition,
13691 # creating and moving files from /tmp can sometimes cause problems.
13692 # Create a temporary directory, and hook for its removal unless debugging.
13695 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13696 trap '{ (exit 1); exit 1; }' 1 2 13 15
13699 # Create a (secure) tmp directory for tmp files.
13702 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13703 test -n "$tmp" && test -d "$tmp"
13706 tmp
=.
/confstat$$
-$RANDOM
13707 (umask 077 && mkdir
$tmp)
13710 echo "$me: cannot create a temporary directory in ." >&2
13711 { (exit 1); exit 1; }
13716 cat >>$CONFIG_STATUS <<_ACEOF
13719 # CONFIG_FILES section.
13722 # No need to generate the scripts if there are no CONFIG_FILES.
13723 # This happens for instance when ./config.status config.h
13724 if test -n "\$CONFIG_FILES"; then
13725 # Protect against being on the right side of a sed subst in config.status.
13726 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13727 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13728 s,@SHELL@,$SHELL,;t t
13729 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13730 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13731 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13732 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13733 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13734 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13735 s,@exec_prefix@,$exec_prefix,;t t
13736 s,@prefix@,$prefix,;t t
13737 s,@program_transform_name@,$program_transform_name,;t t
13738 s,@bindir@,$bindir,;t t
13739 s,@sbindir@,$sbindir,;t t
13740 s,@libexecdir@,$libexecdir,;t t
13741 s,@datadir@,$datadir,;t t
13742 s,@sysconfdir@,$sysconfdir,;t t
13743 s,@sharedstatedir@,$sharedstatedir,;t t
13744 s,@localstatedir@,$localstatedir,;t t
13745 s,@libdir@,$libdir,;t t
13746 s,@includedir@,$includedir,;t t
13747 s,@oldincludedir@,$oldincludedir,;t t
13748 s,@infodir@,$infodir,;t t
13749 s,@mandir@,$mandir,;t t
13750 s,@build_alias@,$build_alias,;t t
13751 s,@host_alias@,$host_alias,;t t
13752 s,@target_alias@,$target_alias,;t t
13753 s,@DEFS@,$DEFS,;t t
13754 s,@ECHO_C@,$ECHO_C,;t t
13755 s,@ECHO_N@,$ECHO_N,;t t
13756 s,@ECHO_T@,$ECHO_T,;t t
13757 s,@LIBS@,$LIBS,;t t
13758 s,@build@,$build,;t t
13759 s,@build_cpu@,$build_cpu,;t t
13760 s,@build_vendor@,$build_vendor,;t t
13761 s,@build_os@,$build_os,;t t
13762 s,@host@,$host,;t t
13763 s,@host_cpu@,$host_cpu,;t t
13764 s,@host_vendor@,$host_vendor,;t t
13765 s,@host_os@,$host_os,;t t
13766 s,@target@,$target,;t t
13767 s,@target_cpu@,$target_cpu,;t t
13768 s,@target_vendor@,$target_vendor,;t t
13769 s,@target_os@,$target_os,;t t
13771 s,@CFLAGS@,$CFLAGS,;t t
13772 s,@LDFLAGS@,$LDFLAGS,;t t
13773 s,@CPPFLAGS@,$CPPFLAGS,;t t
13774 s,@ac_ct_CC@,$ac_ct_CC,;t t
13775 s,@EXEEXT@,$EXEEXT,;t t
13776 s,@OBJEXT@,$OBJEXT,;t t
13777 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13778 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13779 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13780 s,@CYGPATH_W@,$CYGPATH_W,;t t
13781 s,@PACKAGE@,$PACKAGE,;t t
13782 s,@VERSION@,$VERSION,;t t
13783 s,@ACLOCAL@,$ACLOCAL,;t t
13784 s,@AUTOCONF@,$AUTOCONF,;t t
13785 s,@AUTOMAKE@,$AUTOMAKE,;t t
13786 s,@AUTOHEADER@,$AUTOHEADER,;t t
13787 s,@MAKEINFO@,$MAKEINFO,;t t
13788 s,@install_sh@,$install_sh,;t t
13789 s,@STRIP@,$STRIP,;t t
13790 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13791 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13792 s,@mkdir_p@,$mkdir_p,;t t
13794 s,@SET_MAKE@,$SET_MAKE,;t t
13795 s,@am__leading_dot@,$am__leading_dot,;t t
13796 s,@AMTAR@,$AMTAR,;t t
13797 s,@am__tar@,$am__tar,;t t
13798 s,@am__untar@,$am__untar,;t t
13799 s,@DEPDIR@,$DEPDIR,;t t
13800 s,@am__include@,$am__include,;t t
13801 s,@am__quote@,$am__quote,;t t
13802 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13803 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13804 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13805 s,@CCDEPMODE@,$CCDEPMODE,;t t
13806 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
13807 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
13808 s,@LIBTOOL@,$LIBTOOL,;t t
13810 s,@EGREP@,$EGREP,;t t
13811 s,@FGREP@,$FGREP,;t t
13812 s,@GREP@,$GREP,;t t
13814 s,@DUMPBIN@,$DUMPBIN,;t t
13815 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
13817 s,@LN_S@,$LN_S,;t t
13819 s,@ac_ct_AR@,$ac_ct_AR,;t t
13820 s,@RANLIB@,$RANLIB,;t t
13821 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13822 s,@lt_ECHO@,$lt_ECHO,;t t
13824 s,@use_sysroot@,$use_sysroot,;t t
13825 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
13826 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
13827 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
13828 s,@NO_WERROR@,$NO_WERROR,;t t
13829 s,@USE_NLS@,$USE_NLS,;t t
13830 s,@LIBINTL@,$LIBINTL,;t t
13831 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
13832 s,@INCINTL@,$INCINTL,;t t
13833 s,@XGETTEXT@,$XGETTEXT,;t t
13834 s,@GMSGFMT@,$GMSGFMT,;t t
13835 s,@POSUB@,$POSUB,;t t
13836 s,@CATALOGS@,$CATALOGS,;t t
13837 s,@DATADIRNAME@,$DATADIRNAME,;t t
13838 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
13839 s,@GENCAT@,$GENCAT,;t t
13840 s,@CATOBJEXT@,$CATOBJEXT,;t t
13841 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
13842 s,@MSGFMT@,$MSGFMT,;t t
13843 s,@MSGMERGE@,$MSGMERGE,;t t
13844 s,@YACC@,$YACC,;t t
13846 s,@LEXLIB@,$LEXLIB,;t t
13847 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
13848 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13849 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13850 s,@MAINT@,$MAINT,;t t
13851 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
13852 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
13853 s,@HDEFINES@,$HDEFINES,;t t
13854 s,@HOSTING_CRT0@,$HOSTING_CRT0,;t t
13855 s,@HOSTING_LIBS@,$HOSTING_LIBS,;t t
13856 s,@NATIVE_LIB_DIRS@,$NATIVE_LIB_DIRS,;t t
13857 s,@STRINGIFY@,$STRINGIFY,;t t
13858 s,@EMUL@,$EMUL,;t t
13859 s,@EMULATION_OFILES@,$EMULATION_OFILES,;t t
13860 s,@EMUL_EXTRA_OFILES@,$EMUL_EXTRA_OFILES,;t t
13861 s,@LIB_PATH@,$LIB_PATH,;t t
13862 s,@EMULATION_LIBPATH@,$EMULATION_LIBPATH,;t t
13863 s,@TESTBFDLIB@,$TESTBFDLIB,;t t
13864 s,@datarootdir@,$datarootdir,;t t
13865 s,@docdir@,$docdir,;t t
13866 s,@htmldir@,$htmldir,;t t
13867 s,@LIBOBJS@,$LIBOBJS,;t t
13868 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13875 cat >>$CONFIG_STATUS <<\_ACEOF
13876 # Split the substitutions into bite-sized pieces for seds with
13877 # small command number limits, like on Digital OSF/1 and HP-UX.
13878 ac_max_sed_lines
=48
13879 ac_sed_frag
=1 # Number of current file.
13880 ac_beg
=1 # First line for current file.
13881 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13884 while $ac_more_lines; do
13885 if test $ac_beg -gt 1; then
13886 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13888 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13890 if test ! -s $tmp/subs.frag
; then
13891 ac_more_lines
=false
13893 # The purpose of the label and of the branching condition is to
13894 # speed up the sed processing (if there are no `@' at all, there
13895 # is no need to browse any of the substitutions).
13896 # These are the two extra sed commands mentioned above.
13898 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13899 if test -z "$ac_sed_cmds"; then
13900 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13902 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13904 ac_sed_frag
=`expr $ac_sed_frag + 1`
13906 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13909 if test -z "$ac_sed_cmds"; then
13912 fi # test -n "$CONFIG_FILES"
13915 cat >>$CONFIG_STATUS <<\_ACEOF
13916 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13917 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13919 - |
*:- |
*:-:* ) # input from stdin
13921 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13922 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13923 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13924 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13925 * ) ac_file_in
=$ac_file.
in ;;
13928 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13929 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13930 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13931 X"$ac_file" : 'X\(//\)[^/]' \| \
13932 X"$ac_file" : 'X\(//\)$' \| \
13933 X"$ac_file" : 'X\(/\)' \| \
13934 . : '\(.\)' 2>/dev/null ||
13936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13937 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13938 /^X\(\/\/\)$/{ s//\1/; q; }
13939 /^X\(\/\).*/{ s//\1/; q; }
13941 { if $as_mkdir_p; then
13946 while test ! -d "$as_dir"; do
13947 as_dirs
="$as_dir $as_dirs"
13948 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13949 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13950 X"$as_dir" : 'X\(//\)[^/]' \| \
13951 X"$as_dir" : 'X\(//\)$' \| \
13952 X"$as_dir" : 'X\(/\)' \| \
13953 . : '\(.\)' 2>/dev/null ||
13955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13956 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13957 /^X\(\/\/\)$/{ s//\1/; q; }
13958 /^X\(\/\).*/{ s//\1/; q; }
13961 test ! -n "$as_dirs" || mkdir
$as_dirs
13962 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13963 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13964 { (exit 1); exit 1; }; }; }
13968 if test "$ac_dir" != .
; then
13969 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13970 # A "../" for each directory in $ac_dir_suffix.
13971 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13973 ac_dir_suffix
= ac_top_builddir
=
13977 .
) # No --srcdir option. We are building in place.
13979 if test -z "$ac_top_builddir"; then
13982 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13984 [\\/]* | ?
:[\\/]* ) # Absolute path.
13985 ac_srcdir
=$srcdir$ac_dir_suffix;
13986 ac_top_srcdir
=$srcdir ;;
13987 *) # Relative path.
13988 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13989 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13992 # Do not use `cd foo && pwd` to compute absolute paths, because
13993 # the directories may not exist.
13995 .
) ac_abs_builddir
="$ac_dir";;
13998 .
) ac_abs_builddir
=`pwd`;;
13999 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
14000 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
14003 case $ac_abs_builddir in
14004 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14006 case ${ac_top_builddir}.
in
14007 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
14008 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14009 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
14012 case $ac_abs_builddir in
14013 .
) ac_abs_srcdir
=$ac_srcdir;;
14016 .
) ac_abs_srcdir
=$ac_abs_builddir;;
14017 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
14018 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
14021 case $ac_abs_builddir in
14022 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
14024 case $ac_top_srcdir in
14025 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
14026 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
14027 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
14033 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14034 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
14037 if test x
"$ac_file" != x-
; then
14038 { echo "$as_me:$LINENO: creating $ac_file" >&5
14039 echo "$as_me: creating $ac_file" >&6;}
14042 # Let's still pretend it is `configure' which instantiates (i.e., don't
14043 # use $as_me), people would be surprised to read:
14044 # /* config.h. Generated by config.status. */
14045 if test x
"$ac_file" = x-
; then
14048 configure_input
="$ac_file. "
14050 configure_input
=$configure_input"Generated from `echo $ac_file_in |
14051 sed 's,.*/,,'` by configure."
14053 # First look for the input files in the build tree, otherwise in the
14055 ac_file_inputs
=`IFS=:
14056 for f in $ac_file_in; do
14058 -) echo $tmp/stdin ;;
14060 # Absolute (can't be DOS-style, as IFS=:)
14061 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14062 echo "$as_me: error: cannot find input file: $f" >&2;}
14063 { (exit 1); exit 1; }; }
14066 if test -f "$f"; then
14069 elif test -f "$srcdir/$f"; then
14074 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14075 echo "$as_me: error: cannot find input file: $f" >&2;}
14076 { (exit 1); exit 1; }; }
14079 done` ||
{ (exit 1); exit 1; }
14081 cat >>$CONFIG_STATUS <<_ACEOF
14085 cat >>$CONFIG_STATUS <<\_ACEOF
14087 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14088 s
,@configure_input@
,$configure_input,;t t
14089 s
,@srcdir@
,$ac_srcdir,;t t
14090 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
14091 s
,@top_srcdir@
,$ac_top_srcdir,;t t
14092 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
14093 s
,@builddir@
,$ac_builddir,;t t
14094 s
,@abs_builddir@
,$ac_abs_builddir,;t t
14095 s
,@top_builddir@
,$ac_top_builddir,;t t
14096 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
14097 s
,@INSTALL@
,$ac_INSTALL,;t t
14098 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
14100 if test x"$ac_file" != x-; then
14101 mv $tmp/out $ac_file
14109 cat >>$CONFIG_STATUS <<\_ACEOF
14112 # CONFIG_HEADER section.
14115 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
14116 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14118 # ac_d sets the value in "#define NAME VALUE" lines.
14119 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14120 ac_dB
='[ ].*$,\1#\2'
14123 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14124 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14125 ac_uB
='$,\1#\2define\3'
14129 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
14130 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14132 - |
*:- |
*:-:* ) # input from stdin
14134 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14135 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14136 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14137 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14138 * ) ac_file_in
=$ac_file.
in ;;
14141 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
14142 echo "$as_me: creating $ac_file" >&6;}
14144 # First look for the input files in the build tree, otherwise in the
14146 ac_file_inputs
=`IFS=:
14147 for f in $ac_file_in; do
14149 -) echo $tmp/stdin ;;
14151 # Absolute (can't be DOS-style, as IFS=:)
14152 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14153 echo "$as_me: error: cannot find input file: $f" >&2;}
14154 { (exit 1); exit 1; }; }
14155 # Do quote $f, to prevent DOS paths from being IFS'd.
14158 if test -f "$f"; then
14161 elif test -f "$srcdir/$f"; then
14166 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14167 echo "$as_me: error: cannot find input file: $f" >&2;}
14168 { (exit 1); exit 1; }; }
14171 done` ||
{ (exit 1); exit 1; }
14172 # Remove the trailing spaces.
14173 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
14177 # Transform confdefs.h into two sed scripts, `conftest.defines' and
14178 # `conftest.undefs', that substitutes the proper values into
14179 # config.h.in to produce config.h. The first handles `#define'
14180 # templates, and the second `#undef' templates.
14181 # And first: Protect against being on the right side of a sed subst in
14182 # config.status. Protect against being in an unquoted here document
14183 # in config.status.
14184 rm -f conftest.defines conftest.undefs
14185 # Using a here document instead of a string reduces the quoting nightmare.
14186 # Putting comments in sed scripts is not portable.
14188 # `end' is used to avoid that the second main sed command (meant for
14189 # 0-ary CPP macros) applies to n-ary macro definitions.
14190 # See the Autoconf documentation for `clear'.
14191 cat >confdef2sed.
sed <<\_ACEOF
14196 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
14198 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
14201 # If some macros were called several times there might be several times
14202 # the same #defines, which is useless. Nevertheless, we may not want to
14203 # sort them, since we want the *last* AC-DEFINE to be honored.
14204 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
14205 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
14206 rm -f confdef2sed.sed
14208 # This sed command replaces #undef with comments. This is necessary, for
14209 # example, in the case of _POSIX_SOURCE, which is predefined and required
14210 # on some systems where configure will not decide to define it.
14211 cat >>conftest.undefs <<\_ACEOF
14212 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
14215 # Break up conftest.defines because some shells have a limit on the size
14216 # of here documents, and old seds have small limits too (100 cmds).
14217 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
14218 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
14219 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
14220 echo ' :' >>$CONFIG_STATUS
14221 rm -f conftest.tail
14222 while grep . conftest.defines >/dev/null
14224 # Write a limited-size here document to $tmp/defines.sed.
14225 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
14226 # Speed up: don't consider the non `#define' lines.
14227 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
14228 # Work around the forget-to-reset-the-flag bug.
14229 echo 't clr' >>$CONFIG_STATUS
14230 echo ': clr' >>$CONFIG_STATUS
14231 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
14233 sed -f $tmp/defines.sed $tmp/in >$tmp/out
14235 mv $tmp/out $tmp/in
14237 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
14238 rm -f conftest.defines
14239 mv conftest.
tail conftest.defines
14241 rm -f conftest.defines
14242 echo ' fi # grep' >>$CONFIG_STATUS
14243 echo >>$CONFIG_STATUS
14245 # Break up conftest.undefs because some shells have a limit on the size
14246 # of here documents, and old seds have small limits too (100 cmds).
14247 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
14248 rm -f conftest.
tail
14249 while grep . conftest.undefs
>/dev
/null
14251 # Write a limited-size here document to $tmp/undefs.sed.
14252 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
14253 # Speed up: don't consider the non
`#undef'
14254 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
14255 # Work around the forget-to-reset-the-flag bug.
14256 echo 't clr' >>$CONFIG_STATUS
14257 echo ': clr' >>$CONFIG_STATUS
14258 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
14260 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
14262 mv $tmp/out $tmp/in
14264 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
14265 rm -f conftest.undefs
14266 mv conftest.tail conftest.undefs
14268 rm -f conftest.undefs
14270 cat >>$CONFIG_STATUS <<\_ACEOF
14271 # Let's still pretend it is `configure
' which instantiates (i.e., don't
14272 # use $as_me), people would be surprised to read:
14273 # /* config.h. Generated by config.status. */
14274 if test x
"$ac_file" = x-
; then
14275 echo "/* Generated by configure. */" >$tmp/config.h
14277 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
14279 cat $tmp/in >>$tmp/config.h
14281 if test x
"$ac_file" != x-
; then
14282 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
14283 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14284 echo "$as_me: $ac_file is unchanged" >&6;}
14286 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
14287 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14288 X"$ac_file" : 'X\(//\)[^/]' \| \
14289 X"$ac_file" : 'X\(//\)$' \| \
14290 X"$ac_file" : 'X\(/\)' \| \
14291 . : '\(.\)' 2>/dev/null ||
14293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14294 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14295 /^X\(\/\/\)$/{ s//\1/; q; }
14296 /^X\(\/\).*/{ s//\1/; q; }
14298 { if $as_mkdir_p; then
14303 while test ! -d "$as_dir"; do
14304 as_dirs
="$as_dir $as_dirs"
14305 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14307 X"$as_dir" : 'X\(//\)[^/]' \| \
14308 X"$as_dir" : 'X\(//\)$' \| \
14309 X"$as_dir" : 'X\(/\)' \| \
14310 . : '\(.\)' 2>/dev/null ||
14312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14313 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14314 /^X\(\/\/\)$/{ s//\1/; q; }
14315 /^X\(\/\).*/{ s//\1/; q; }
14318 test ! -n "$as_dirs" || mkdir
$as_dirs
14319 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14320 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14321 { (exit 1); exit 1; }; }; }
14324 mv $tmp/config.h
$ac_file
14328 rm -f $tmp/config.h
14330 # Compute $ac_file's index in $config_headers.
14332 for _am_header
in $config_headers :; do
14333 case $_am_header in
14334 $ac_file |
$ac_file:* )
14337 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14340 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
14341 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14342 X$ac_file : 'X\(//\)[^/]' \| \
14343 X$ac_file : 'X\(//\)$' \| \
14344 X$ac_file : 'X\(/\)' \| \
14345 . : '\(.\)' 2>/dev/null ||
14347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14348 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14349 /^X\(\/\/\)$/{ s//\1/; q; }
14350 /^X\(\/\).*/{ s//\1/; q; }
14351 s/.*/./; q'`/stamp-h
$_am_stamp_count
14354 cat >>$CONFIG_STATUS <<\_ACEOF
14357 # CONFIG_COMMANDS section.
14359 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
14360 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
14361 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14362 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
14363 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14364 X"$ac_dest" : 'X\(//\)[^/]' \| \
14365 X"$ac_dest" : 'X\(//\)$' \| \
14366 X"$ac_dest" : 'X\(/\)' \| \
14367 . : '\(.\)' 2>/dev/null ||
14369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14370 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14371 /^X\(\/\/\)$/{ s//\1/; q; }
14372 /^X\(\/\).*/{ s//\1/; q; }
14374 { if $as_mkdir_p; then
14379 while test ! -d "$as_dir"; do
14380 as_dirs
="$as_dir $as_dirs"
14381 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14382 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14383 X"$as_dir" : 'X\(//\)[^/]' \| \
14384 X"$as_dir" : 'X\(//\)$' \| \
14385 X"$as_dir" : 'X\(/\)' \| \
14386 . : '\(.\)' 2>/dev/null ||
14388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14389 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14390 /^X\(\/\/\)$/{ s//\1/; q; }
14391 /^X\(\/\).*/{ s//\1/; q; }
14394 test ! -n "$as_dirs" || mkdir
$as_dirs
14395 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14396 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14397 { (exit 1); exit 1; }; }; }
14401 if test "$ac_dir" != .
; then
14402 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14403 # A "../" for each directory in $ac_dir_suffix.
14404 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14406 ac_dir_suffix
= ac_top_builddir
=
14410 .
) # No --srcdir option. We are building in place.
14412 if test -z "$ac_top_builddir"; then
14415 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14417 [\\/]* | ?
:[\\/]* ) # Absolute path.
14418 ac_srcdir
=$srcdir$ac_dir_suffix;
14419 ac_top_srcdir
=$srcdir ;;
14420 *) # Relative path.
14421 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14422 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14425 # Do not use `cd foo && pwd` to compute absolute paths, because
14426 # the directories may not exist.
14428 .
) ac_abs_builddir
="$ac_dir";;
14431 .
) ac_abs_builddir
=`pwd`;;
14432 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
14433 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
14436 case $ac_abs_builddir in
14437 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14439 case ${ac_top_builddir}.
in
14440 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
14441 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14442 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
14445 case $ac_abs_builddir in
14446 .
) ac_abs_srcdir
=$ac_srcdir;;
14449 .
) ac_abs_srcdir
=$ac_abs_builddir;;
14450 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
14451 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
14454 case $ac_abs_builddir in
14455 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
14457 case $ac_top_srcdir in
14458 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
14459 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
14460 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
14465 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
14466 echo "$as_me: executing $ac_dest commands" >&6;}
14468 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
14469 # Strip MF so we end up with the name of the file.
14470 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14471 # Check whether this is an Automake generated Makefile or not.
14472 # We used to match only the files named `Makefile.in', but
14473 # some people rename them; so instead we look at the file content.
14474 # Grep'ing the first line is not enough: some people post-process
14475 # each Makefile.in and add a new line on top of each file to say so.
14476 # So let's grep whole file.
14477 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
14478 dirpart
=`(dirname "$mf") 2>/dev/null ||
14479 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14480 X"$mf" : 'X\(//\)[^/]' \| \
14481 X"$mf" : 'X\(//\)$' \| \
14482 X"$mf" : 'X\(/\)' \| \
14483 . : '\(.\)' 2>/dev/null ||
14485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14486 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14487 /^X\(\/\/\)$/{ s//\1/; q; }
14488 /^X\(\/\).*/{ s//\1/; q; }
14493 # Extract the definition of DEPDIR, am__include, and am__quote
14494 # from the Makefile without running `make'.
14495 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14496 test -z "$DEPDIR" && continue
14497 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14498 test -z "am__include" && continue
14499 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14500 # When using ansi2knr, U may be empty or an underscore; expand it
14501 U
=`sed -n 's/^U = //p' < "$mf"`
14502 # Find all dependency output files, they are included files with
14503 # $(DEPDIR) in their names. We invoke sed twice because it is the
14504 # simplest approach to changing $(DEPDIR) to its actual value in the
14506 for file in `sed -n "
14507 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14508 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14509 # Make sure the directory exists.
14510 test -f "$dirpart/$file" && continue
14511 fdir
=`(dirname "$file") 2>/dev/null ||
14512 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14513 X"$file" : 'X\(//\)[^/]' \| \
14514 X"$file" : 'X\(//\)$' \| \
14515 X"$file" : 'X\(/\)' \| \
14516 . : '\(.\)' 2>/dev/null ||
14518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14519 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14520 /^X\(\/\/\)$/{ s//\1/; q; }
14521 /^X\(\/\).*/{ s//\1/; q; }
14523 { if $as_mkdir_p; then
14524 mkdir
-p $dirpart/$fdir
14526 as_dir
=$dirpart/$fdir
14528 while test ! -d "$as_dir"; do
14529 as_dirs
="$as_dir $as_dirs"
14530 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14531 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14532 X"$as_dir" : 'X\(//\)[^/]' \| \
14533 X"$as_dir" : 'X\(//\)$' \| \
14534 X"$as_dir" : 'X\(/\)' \| \
14535 . : '\(.\)' 2>/dev/null ||
14537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14538 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14539 /^X\(\/\/\)$/{ s//\1/; q; }
14540 /^X\(\/\).*/{ s//\1/; q; }
14543 test ! -n "$as_dirs" || mkdir
$as_dirs
14544 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
14545 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
14546 { (exit 1); exit 1; }; }; }
14548 # echo "creating $dirpart/$file"
14549 echo '# dummy' > "$dirpart/$file"
14555 # See if we are running on zsh, and set the options which allow our
14556 # commands through without removal of \ escapes.
14557 if test -n "${ZSH_VERSION+set}" ; then
14558 setopt NO_GLOB_SUBST
14561 cfgfile
="${ofile}T"
14562 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14565 cat <<_LT_EOF >> "$cfgfile"
14568 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14569 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
14570 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14571 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14573 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14574 # 2006, 2007 Free Software Foundation, Inc.
14576 # This file is part of GNU Libtool:
14577 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
14579 # This program is free software; you can redistribute it and/or modify
14580 # it under the terms of the GNU General Public License as published by
14581 # the Free Software Foundation; either version 2 of the License, or
14582 # (at your option) any later version.
14584 # This program is distributed in the hope that it will be useful, but
14585 # WITHOUT ANY WARRANTY; without even the implied warranty of
14586 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14587 # General Public License for more details.
14589 # You should have received a copy of the GNU General Public License
14590 # along with this program; if not, a copy can be downloaded from
14591 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
14592 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
14593 # MA 02110-1301, USA.
14595 # As a special exception to the GNU General Public License, if you
14596 # distribute this file as part of a program that contains a
14597 # configuration script generated by Autoconf, you may include it under
14598 # the same distribution terms that you use for the rest of that program.
14601 # The names of the tagged configurations supported by this script.
14604 # ### BEGIN LIBTOOL CONFIG
14606 # Which release of libtool.m4 was used?
14607 macro_version=$macro_version
14608 macro_revision=$macro_revision
14610 # Whether or not to build shared libraries.
14611 build_libtool_libs=$enable_shared
14613 # Whether or not to build static libraries.
14614 build_old_libs=$enable_static
14616 # What type of objects to build.
14619 # Whether or not to optimize for fast installation.
14620 fast_install=$enable_fast_install
14623 host_alias=$host_alias
14627 # The build system.
14628 build_alias=$build_alias
14632 # A sed program that does not truncate output.
14635 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14636 Xsed="\$SED -e 1s/^X//"
14638 # A grep program that handles long lines.
14644 # A literal string matcher.
14647 # A BSD- or MS-compatible name lister.
14650 # Whether we need soft or hard links.
14653 # What is the maximum length of a command?
14654 max_cmd_len=$max_cmd_len
14656 # Object file suffix (normally "o").
14659 # Executable file suffix (normally "").
14662 # whether the shell understands "unset".
14665 # turn spaces into newlines.
14668 # turn newlines into spaces.
14671 # How to create reloadable object files.
14672 reload_flag=$lt_reload_flag
14673 reload_cmds=$lt_reload_cmds
14675 # Method to check whether dependent libraries are shared objects.
14676 deplibs_check_method=$lt_deplibs_check_method
14678 # Command to use when deplibs_check_method == "file_magic".
14679 file_magic_cmd=$lt_file_magic_cmd
14683 AR_FLAGS=$lt_AR_FLAGS
14685 # A symbol stripping program.
14688 # Commands used to install an old-style archive.
14690 old_postinstall_cmds=$lt_old_postinstall_cmds
14691 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14696 # LTCC compiler flags.
14697 LTCFLAGS=$lt_CFLAGS
14699 # Take the output of nm and produce a listing of raw symbols and C names.
14700 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14702 # Transform the output of nm in a proper C declaration.
14703 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14705 # Transform the output of nm in a C name address pair.
14706 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14708 # The name of the directory that contains temporary libtool files.
14711 # Shell to use when invoking shell scripts.
14714 # An echo program that does not interpret backslashes.
14717 # Used to examine libraries when file_magic_cmd begins with "file".
14718 MAGIC_CMD=$MAGIC_CMD
14720 # Must we lock files when doing compilation?
14721 need_locks=$lt_need_locks
14723 # Old archive suffix (normally "a").
14726 # Shared library suffix (normally ".so").
14727 shrext_cmds=$lt_shrext_cmds
14729 # The commands to extract the exported symbol list from a shared archive.
14730 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14732 # Variables whose values should be saved in libtool wrapper scripts and
14733 # restored at link time.
14734 variables_saved_for_relink=$lt_variables_saved_for_relink
14736 # Do we need the "lib" prefix for modules?
14737 need_lib_prefix=$need_lib_prefix
14739 # Do we need a version for libraries?
14740 need_version=$need_version
14742 # Library versioning type.
14743 version_type=$version_type
14745 # Shared library runtime path variable.
14746 runpath_var=$runpath_var
14748 # Shared library path variable.
14749 shlibpath_var=$shlibpath_var
14751 # Is shlibpath searched before the hard-coded library search path?
14752 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14754 # Format of library name prefix.
14755 libname_spec=$lt_libname_spec
14757 # List of archive names. First name is the real one, the rest are links.
14758 # The last name is the one that the linker finds with -lNAME
14759 library_names_spec=$lt_library_names_spec
14761 # The coded name of the library, if different from the real name.
14762 soname_spec=$lt_soname_spec
14764 # Command to use after installation of a shared archive.
14765 postinstall_cmds=$lt_postinstall_cmds
14767 # Command to use after uninstallation of a shared archive.
14768 postuninstall_cmds=$lt_postuninstall_cmds
14770 # Commands used to finish a libtool library installation in a directory.
14771 finish_cmds=$lt_finish_cmds
14773 # As "finish_cmds", except a single script fragment to be evaled but
14775 finish_eval=$lt_finish_eval
14777 # Whether we should hardcode library paths into libraries.
14778 hardcode_into_libs=$hardcode_into_libs
14780 # Compile-time system search path for libraries.
14781 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14783 # Run-time system search path for libraries.
14784 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14786 # Whether dlopen is supported.
14787 dlopen_support=$enable_dlopen
14789 # Whether dlopen of programs is supported.
14790 dlopen_self=$enable_dlopen_self
14792 # Whether dlopen of statically linked programs is supported.
14793 dlopen_self_static=$enable_dlopen_self_static
14795 # Commands to strip libraries.
14796 old_striplib=$lt_old_striplib
14797 striplib=$lt_striplib
14800 # The linker used to build libraries.
14803 # Commands used to build an old-style archive.
14804 old_archive_cmds=$lt_old_archive_cmds
14806 # A language specific compiler.
14809 # Is the compiler the GNU compiler?
14812 # Compiler flag to turn off builtin functions.
14813 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14815 # How to pass a linker flag through the compiler.
14816 wl=$lt_lt_prog_compiler_wl
14818 # Additional compiler flags for building library objects.
14819 pic_flag=$lt_lt_prog_compiler_pic
14821 # Compiler flag to prevent dynamic linking.
14822 link_static_flag=$lt_lt_prog_compiler_static
14824 # Does compiler simultaneously support -c and -o options?
14825 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14827 # Whether or not to add -lc for building shared libraries.
14828 build_libtool_need_lc=$archive_cmds_need_lc
14830 # Whether or not to disallow shared libs when runtime libs are static.
14831 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14833 # Compiler flag to allow reflexive dlopens.
14834 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14836 # Compiler flag to generate shared objects directly from archives.
14837 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14839 # Whether the compiler copes with passing no objects directly.
14840 compiler_needs_object=$lt_compiler_needs_object
14842 # Create an old-style archive from a shared archive.
14843 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14845 # Create a temporary old-style archive to link instead of a shared archive.
14846 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14848 # Commands used to build a shared archive.
14849 archive_cmds=$lt_archive_cmds
14850 archive_expsym_cmds=$lt_archive_expsym_cmds
14852 # Commands used to build a loadable module if different from building
14853 # a shared archive.
14854 module_cmds=$lt_module_cmds
14855 module_expsym_cmds=$lt_module_expsym_cmds
14857 # Whether we are building with GNU ld or not.
14858 with_gnu_ld=$lt_with_gnu_ld
14860 # Flag that allows shared libraries with undefined symbols to be built.
14861 allow_undefined_flag=$lt_allow_undefined_flag
14863 # Flag that enforces no undefined symbols.
14864 no_undefined_flag=$lt_no_undefined_flag
14866 # Flag to hardcode \$libdir into a binary during linking.
14867 # This must work even if \$libdir does not exist
14868 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14870 # If ld is used when linking, flag to hardcode \$libdir into a binary
14871 # during linking. This must work even if \$libdir does not exist.
14872 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14874 # Whether we need a single "-rpath" flag with a separated argument.
14875 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14877 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14878 # DIR into the resulting binary.
14879 hardcode_direct=$hardcode_direct
14881 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14882 # DIR into the resulting binary and the resulting library dependency is
14883 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14884 # library is relocated.
14885 hardcode_direct_absolute=$hardcode_direct_absolute
14887 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14888 # into the resulting binary.
14889 hardcode_minus_L=$hardcode_minus_L
14891 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14892 # into the resulting binary.
14893 hardcode_shlibpath_var=$hardcode_shlibpath_var
14895 # Set to "yes" if building a shared library automatically hardcodes DIR
14896 # into the library and all subsequent libraries and executables linked
14898 hardcode_automatic=$hardcode_automatic
14900 # Set to yes if linker adds runtime paths of dependent libraries
14901 # to runtime path list.
14902 inherit_rpath=$inherit_rpath
14904 # Whether libtool must link a program against all its dependency libraries.
14905 link_all_deplibs=$link_all_deplibs
14907 # Fix the shell variable \$srcfile for the compiler.
14908 fix_srcfile_path=$lt_fix_srcfile_path
14910 # Set to "yes" if exported symbols are required.
14911 always_export_symbols=$always_export_symbols
14913 # The commands to list exported symbols.
14914 export_symbols_cmds=$lt_export_symbols_cmds
14916 # Symbols that should not be listed in the preloaded symbols.
14917 exclude_expsyms=$lt_exclude_expsyms
14919 # Symbols that must always be exported.
14920 include_expsyms=$lt_include_expsyms
14922 # Commands necessary for linking programs (against libraries) with templates.
14923 prelink_cmds=$lt_prelink_cmds
14925 # Specify filename containing input files.
14926 file_list_spec=$lt_file_list_spec
14928 # How to hardcode a shared library path into an executable.
14929 hardcode_action=$hardcode_action
14931 # ### END LIBTOOL CONFIG
14937 cat <<\_LT_EOF
>> "$cfgfile"
14938 # AIX sometimes has problems with the GCC collect2 program. For some
14939 # reason, if we set the COLLECT_NAMES environment variable, the problems
14940 # vanish in a puff of smoke.
14941 if test "X${COLLECT_NAMES+set}" != Xset
; then
14943 export COLLECT_NAMES
14950 ltmain
="$ac_aux_dir/ltmain.sh"
14953 # We use sed instead of cat because bash on DJGPP gets confused if
14954 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14955 # text mode, it properly converts lines to CR/LF. This bash problem
14956 # is reportedly fixed, but why not run on old versions too?
14957 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14958 ||
(rm -f "$cfgfile"; exit 1)
14962 cat << \_LT_EOF
>> "$cfgfile"
14963 # func_dirname file append nondir_replacement
14964 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14965 # otherwise set result to NONDIR_REPLACEMENT.
14969 */*) func_dirname_result
="${1%/*}${2}" ;;
14970 * ) func_dirname_result
="${3}" ;;
14974 # func_basename file
14977 func_basename_result
="${1##*/}"
14980 # func_stripname prefix suffix name
14981 # strip PREFIX and SUFFIX off of NAME.
14982 # PREFIX and SUFFIX must not contain globbing or regex special
14983 # characters, hashes, percent signs, but SUFFIX may contain a leading
14984 # dot (in which case that matches only a dot).
14987 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14988 # positional parameters, so assign one to ordinary parameter first.
14989 func_stripname_result
=${3}
14990 func_stripname_result
=${func_stripname_result#"${1}"}
14991 func_stripname_result
=${func_stripname_result%"${2}"}
14997 func_opt_split_opt
=${1%%=*}
14998 func_opt_split_arg
=${1#*=}
15005 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15006 *) func_lo2o_result
=${1} ;;
15011 *) # Bourne compatible functions.
15012 cat << \_LT_EOF
>> "$cfgfile"
15013 # func_dirname file append nondir_replacement
15014 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15015 # otherwise set result to NONDIR_REPLACEMENT.
15018 # Extract subdirectory from the argument.
15019 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15020 if test "X$func_dirname_result" = "X${1}"; then
15021 func_dirname_result
="${3}"
15023 func_dirname_result
="$func_dirname_result${2}"
15027 # func_basename file
15030 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15033 # func_stripname prefix suffix name
15034 # strip PREFIX and SUFFIX off of NAME.
15035 # PREFIX and SUFFIX must not contain globbing or regex special
15036 # characters, hashes, percent signs, but SUFFIX may contain a leading
15037 # dot (in which case that matches only a dot).
15038 # func_strip_suffix prefix name
15042 .
*) func_stripname_result
=`$ECHO "X${3}" \
15043 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15044 *) func_stripname_result
=`$ECHO "X${3}" \
15045 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15050 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15051 my_sed_long_arg
='1s/^-[^=]*=//'
15056 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15057 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15063 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15068 case $lt_shell_append in
15070 cat << \_LT_EOF
>> "$cfgfile"
15072 # func_append var value
15073 # Append VALUE to the end of shell variable VAR.
15081 cat << \_LT_EOF
>> "$cfgfile"
15083 # func_append var value
15084 # Append VALUE to the end of shell variable VAR.
15094 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15095 ||
(rm -f "$cfgfile"; exit 1)
15097 mv -f "$cfgfile" "$ofile" ||
15098 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15103 for ac_file
in $CONFIG_FILES; do
15104 # Support "outfile[:infile[:infile...]]"
15106 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15108 # PO directories have a Makefile.in generated from Makefile.in.in.
15109 case "$ac_file" in */Makefile.
in)
15110 # Adjust a relative srcdir.
15111 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
15112 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
15113 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
15114 # In autoconf-2.13 it is called $ac_given_srcdir.
15115 # In autoconf-2.50 it is called $srcdir.
15116 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
15117 case "$ac_given_srcdir" in
15118 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
15119 /*) top_srcdir
="$ac_given_srcdir" ;;
15120 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
15122 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
15123 rm -f "$ac_dir/POTFILES"
15124 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
15125 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
15126 POMAKEFILEDEPS
="POTFILES.in"
15127 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
15128 # on $ac_dir but don't depend on user-specified configuration
15130 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
15131 # The LINGUAS file contains the set of available languages.
15132 if test -n "$OBSOLETE_ALL_LINGUAS"; then
15133 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
15135 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
15136 # Hide the ALL_LINGUAS assigment from automake.
15137 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
15138 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
15140 # The set of available languages was given in configure.in.
15141 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
15143 case "$ac_given_srcdir" in
15145 *) srcdirpre
='$(srcdir)/' ;;
15151 for lang
in $ALL_LINGUAS; do
15152 POFILES
="$POFILES $srcdirpre$lang.po"
15153 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
15154 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
15155 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
15157 # CATALOGS depends on both $ac_dir and the user's LINGUAS
15158 # environment variable.
15160 if test -n "$ALL_LINGUAS"; then
15161 for presentlang
in $ALL_LINGUAS; do
15163 if test "%UNSET%" != "$LINGUAS"; then
15164 desiredlanguages
="$LINGUAS"
15166 desiredlanguages
="$ALL_LINGUAS"
15168 for desiredlang
in $desiredlanguages; do
15169 # Use the presentlang catalog if desiredlang is
15170 # a. equal to presentlang, or
15171 # b. a variant of presentlang (because in this case,
15172 # presentlang can be used as a fallback for messages
15173 # which are not translated in the desiredlang catalog).
15174 case "$desiredlang" in
15175 "$presentlang"*) useit
=yes;;
15178 if test $useit = yes; then
15179 INST_LINGUAS
="$INST_LINGUAS $presentlang"
15184 if test -n "$INST_LINGUAS"; then
15185 for lang
in $INST_LINGUAS; do
15186 CATALOGS
="$CATALOGS $lang.gmo"
15189 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
15190 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
15191 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
15192 if test -f "$f"; then
15194 *.orig |
*.bak |
*~
) ;;
15195 *) cat "$f" >> "$ac_dir/Makefile" ;;
15207 cat >>$CONFIG_STATUS <<\_ACEOF
15209 { (exit 0); exit 0; }
15211 chmod +x
$CONFIG_STATUS
15212 ac_clean_files
=$ac_clean_files_save
15215 # configure is writing to config.log, and then calls config.status.
15216 # config.status does its own redirection, appending to config.log.
15217 # Unfortunately, on DOS this fails, as config.log is still kept open
15218 # by configure, so config.status won't be able to write to it; its
15219 # output is simply discarded. So we exec the FD to /dev/null,
15220 # effectively closing config.log, so it can be properly (re)opened and
15221 # appended to by config.status. When coming back to configure, we
15222 # need to make the FD available again.
15223 if test "$no_create" != yes; then
15225 ac_config_status_args
=
15226 test "$silent" = yes &&
15227 ac_config_status_args
="$ac_config_status_args --quiet"
15229 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15231 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15232 # would make configure fail if this is the last instruction.
15233 $ac_cs_success ||
{ (exit 1); exit 1; }