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
="gprof.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 CPP EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE WARN_CFLAGS NO_WERROR datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
465 # Initialize some variables set by options.
467 ac_init_version
=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
477 program_transform_name
=s
,x
,x
,
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir
='${exec_prefix}/bin'
491 sbindir
='${exec_prefix}/sbin'
492 libexecdir
='${exec_prefix}/libexec'
493 datadir
='${prefix}/share'
494 sysconfdir
='${prefix}/etc'
495 sharedstatedir
='${prefix}/com'
496 localstatedir
='${prefix}/var'
497 libdir
='${exec_prefix}/lib'
498 includedir
='${prefix}/include'
499 oldincludedir
='/usr/include'
500 infodir
='${prefix}/info'
501 mandir
='${prefix}/man'
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
513 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
519 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
521 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
524 -build |
--build |
--buil |
--bui |
--bu)
525 ac_prev
=build_alias
;;
526 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
527 build_alias
=$ac_optarg ;;
529 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
530 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
531 ac_prev
=cache_file
;;
532 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
533 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
534 cache_file
=$ac_optarg ;;
537 cache_file
=config.cache
;;
539 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
541 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
543 datadir
=$ac_optarg ;;
545 -disable-* |
--disable-*)
546 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* |
--enable-*)
555 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
562 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
568 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
569 |
--exec |
--exe |
--ex)
570 ac_prev
=exec_prefix
;;
571 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
572 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
573 |
--exec=* |
--exe=* |
--ex=*)
574 exec_prefix
=$ac_optarg ;;
576 -gas |
--gas |
--ga |
--g)
577 # Obsolete; use --with-gas.
580 -help |
--help |
--hel |
--he |
-h)
582 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
583 ac_init_help
=recursive
;;
584 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
585 ac_init_help
=short
;;
587 -host |
--host |
--hos |
--ho)
588 ac_prev
=host_alias
;;
589 -host=* |
--host=* |
--hos=* |
--ho=*)
590 host_alias
=$ac_optarg ;;
592 -includedir |
--includedir |
--includedi |
--included |
--include \
593 |
--includ |
--inclu |
--incl |
--inc)
594 ac_prev
=includedir
;;
595 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
596 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
597 includedir
=$ac_optarg ;;
599 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
601 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
602 infodir
=$ac_optarg ;;
604 -libdir |
--libdir |
--libdi |
--libd)
606 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
609 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
610 |
--libexe |
--libex |
--libe)
611 ac_prev
=libexecdir
;;
612 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
613 |
--libexe=* |
--libex=* |
--libe=*)
614 libexecdir
=$ac_optarg ;;
616 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
617 |
--localstate |
--localstat |
--localsta |
--localst \
618 |
--locals |
--local |
--loca |
--loc |
--lo)
619 ac_prev
=localstatedir
;;
620 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
621 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
622 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
623 localstatedir
=$ac_optarg ;;
625 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
627 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
631 # Obsolete; use --without-fp.
634 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
635 |
--no-cr |
--no-c |
-n)
638 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
639 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
642 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
643 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
644 |
--oldin |
--oldi |
--old |
--ol |
--o)
645 ac_prev
=oldincludedir
;;
646 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
647 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
648 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
649 oldincludedir
=$ac_optarg ;;
651 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
653 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
656 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
657 |
--program-pre |
--program-pr |
--program-p)
658 ac_prev
=program_prefix
;;
659 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
660 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
661 program_prefix
=$ac_optarg ;;
663 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
664 |
--program-suf |
--program-su |
--program-s)
665 ac_prev
=program_suffix
;;
666 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
667 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
668 program_suffix
=$ac_optarg ;;
670 -program-transform-name |
--program-transform-name \
671 |
--program-transform-nam |
--program-transform-na \
672 |
--program-transform-n |
--program-transform- \
673 |
--program-transform |
--program-transfor \
674 |
--program-transfo |
--program-transf \
675 |
--program-trans |
--program-tran \
676 |
--progr-tra |
--program-tr |
--program-t)
677 ac_prev
=program_transform_name
;;
678 -program-transform-name=* |
--program-transform-name=* \
679 |
--program-transform-nam=* |
--program-transform-na=* \
680 |
--program-transform-n=* |
--program-transform-=* \
681 |
--program-transform=* |
--program-transfor=* \
682 |
--program-transfo=* |
--program-transf=* \
683 |
--program-trans=* |
--program-tran=* \
684 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
685 program_transform_name
=$ac_optarg ;;
687 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
688 |
-silent |
--silent |
--silen |
--sile |
--sil)
691 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
693 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
695 sbindir
=$ac_optarg ;;
697 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
698 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
699 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
701 ac_prev
=sharedstatedir
;;
702 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
703 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
704 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
706 sharedstatedir
=$ac_optarg ;;
708 -site |
--site |
--sit)
710 -site=* |
--site=* |
--sit=*)
713 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
715 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
718 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
719 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
720 ac_prev
=sysconfdir
;;
721 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
722 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
723 sysconfdir
=$ac_optarg ;;
725 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
726 ac_prev
=target_alias
;;
727 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
728 target_alias
=$ac_optarg ;;
730 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
733 -version |
--version |
--versio |
--versi |
--vers |
-V)
737 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package
=`echo $ac_package| sed 's/-/_/g'`
744 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* |
--without-*)
750 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package
=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
759 # Obsolete; use --with-x.
762 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
763 |
--x-incl |
--x-inc |
--x-in |
--x-i)
764 ac_prev
=x_includes
;;
765 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
766 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
767 x_includes
=$ac_optarg ;;
769 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
770 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
771 ac_prev
=x_libraries
;;
772 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
773 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
774 x_libraries
=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
782 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
802 if test -n "$ac_prev"; then
803 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var
in exec_prefix prefix
811 eval ac_val
=$
`echo $ac_var`
813 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
819 # Be sure to have absolute paths.
820 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val
=$
`echo $ac_var`
825 [\\/$
]* | ?
:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x
; then
840 if test "x$build_alias" = x
; then
841 cross_compiling
=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
850 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
852 test "$silent" = yes && exec 6>/dev
/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted
=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir
=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
872 if test ! -r $srcdir/$ac_unique_file; then
876 ac_srcdir_defaulted
=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set
=${build_alias+set}
892 ac_env_build_alias_value
=$build_alias
893 ac_cv_env_build_alias_set
=${build_alias+set}
894 ac_cv_env_build_alias_value
=$build_alias
895 ac_env_host_alias_set
=${host_alias+set}
896 ac_env_host_alias_value
=$host_alias
897 ac_cv_env_host_alias_set
=${host_alias+set}
898 ac_cv_env_host_alias_value
=$host_alias
899 ac_env_target_alias_set
=${target_alias+set}
900 ac_env_target_alias_value
=$target_alias
901 ac_cv_env_target_alias_set
=${target_alias+set}
902 ac_cv_env_target_alias_value
=$target_alias
903 ac_env_CC_set
=${CC+set}
905 ac_cv_env_CC_set
=${CC+set}
906 ac_cv_env_CC_value
=$CC
907 ac_env_CFLAGS_set
=${CFLAGS+set}
908 ac_env_CFLAGS_value
=$CFLAGS
909 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
910 ac_cv_env_CFLAGS_value
=$CFLAGS
911 ac_env_LDFLAGS_set
=${LDFLAGS+set}
912 ac_env_LDFLAGS_value
=$LDFLAGS
913 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
914 ac_cv_env_LDFLAGS_value
=$LDFLAGS
915 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
916 ac_env_CPPFLAGS_value
=$CPPFLAGS
917 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
918 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
919 ac_env_CPP_set
=${CPP+set}
920 ac_env_CPP_value
=$CPP
921 ac_cv_env_CPP_set
=${CPP+set}
922 ac_cv_env_CPP_value
=$CPP
925 # Report the --help message.
927 if test "$ac_init_help" = "long"; then
928 # Omit some internal or obsolete options to make the list less imposing.
929 # This message is too long to be a string in the A/UX 3.1 sh.
931 \`configure' configures this package to adapt to many kinds of systems.
933 Usage: $0 [OPTION]... [VAR=VALUE]...
935 To assign environment variables (e.g., CC, CFLAGS...), specify them as
936 VAR=VALUE. See below for descriptions of some of the useful variables.
938 Defaults for the options are specified in brackets.
941 -h, --help display this help and exit
942 --help=short display options specific to this package
943 --help=recursive display the short help of all the included packages
944 -V, --version display version information and exit
945 -q, --quiet, --silent do not print \`checking...' messages
946 --cache-file=FILE cache test results in FILE [disabled]
947 -C, --config-cache alias for \`--cache-file=config.cache'
948 -n, --no-create do not create output files
949 --srcdir=DIR find the sources in DIR [configure dir or \`..']
954 Installation directories:
955 --prefix=PREFIX install architecture-independent files in PREFIX
957 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
960 By default, \`make install' will install all the files in
961 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
962 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
963 for instance \`--prefix=\$HOME'.
965 For better control, use the options below.
967 Fine tuning of the installation directories:
968 --bindir=DIR user executables [EPREFIX/bin]
969 --sbindir=DIR system admin executables [EPREFIX/sbin]
970 --libexecdir=DIR program executables [EPREFIX/libexec]
971 --datadir=DIR read-only architecture-independent data [PREFIX/share]
972 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
973 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
974 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
975 --libdir=DIR object code libraries [EPREFIX/lib]
976 --includedir=DIR C header files [PREFIX/include]
977 --oldincludedir=DIR C header files for non-gcc [/usr/include]
978 --infodir=DIR info documentation [PREFIX/info]
979 --mandir=DIR man documentation [PREFIX/man]
985 --program-prefix=PREFIX prepend PREFIX to installed program names
986 --program-suffix=SUFFIX append SUFFIX to installed program names
987 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
990 --build=BUILD configure
for building on BUILD
[guessed
]
991 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
992 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
996 if test -n "$ac_init_help"; then
1001 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1002 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1003 --disable-dependency-tracking speeds up one-time build
1004 --enable-dependency-tracking do not reject slow dependency extractors
1005 --disable-largefile omit support
for large files
1006 --enable-shared[=PKGS
]
1007 build shared libraries
[default
=yes]
1008 --enable-static[=PKGS
]
1009 build static libraries
[default
=yes]
1010 --enable-fast-install[=PKGS
]
1011 optimize
for fast installation
[default
=yes]
1012 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1013 --disable-nls do not use Native Language Support
1014 --enable-maintainer-mode enable make rules and dependencies not useful
1015 (and sometimes confusing
) to the casual installer
1016 --enable-werror treat compile warnings as errors
1017 --enable-build-warnings enable build-time compiler warnings
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
]
1026 Some influential environment variables
:
1027 CC C compiler
command
1028 CFLAGS C compiler flags
1029 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1030 nonstandard directory
<lib dir
>
1031 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1032 headers
in a nonstandard directory
<include dir
>
1035 Use these variables to override the choices made by
`configure' or to help
1036 it to find libraries and programs with nonstandard names/locations.
1041 if test "$ac_init_help" = "recursive"; then
1042 # If there are subdirs, report their specific --help.
1044 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1045 test -d $ac_dir || continue
1048 if test "$ac_dir" != .; then
1049 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1050 # A "../" for each directory in $ac_dir_suffix.
1051 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1053 ac_dir_suffix= ac_top_builddir=
1057 .) # No --srcdir option. We are building in place.
1059 if test -z "$ac_top_builddir"; then
1062 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1064 [\\/]* | ?:[\\/]* ) # Absolute path.
1065 ac_srcdir=$srcdir$ac_dir_suffix;
1066 ac_top_srcdir=$srcdir ;;
1068 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1069 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1072 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1073 # the directories may not exist.
1075 .) ac_abs_builddir="$ac_dir";;
1078 .) ac_abs_builddir=`pwd`;;
1079 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1080 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1083 case $ac_abs_builddir in
1084 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1086 case ${ac_top_builddir}. in
1087 .) ac_abs_top_builddir=$ac_abs_builddir;;
1088 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1089 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1092 case $ac_abs_builddir in
1093 .) ac_abs_srcdir=$ac_srcdir;;
1096 .) ac_abs_srcdir=$ac_abs_builddir;;
1097 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1098 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1101 case $ac_abs_builddir in
1102 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1104 case $ac_top_srcdir in
1105 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1106 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1107 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1112 # Check for guested configure; otherwise get Cygnus style configure.
1113 if test -f $ac_srcdir/configure.gnu; then
1115 $SHELL $ac_srcdir/configure.gnu --help=recursive
1116 elif test -f $ac_srcdir/configure; then
1118 $SHELL $ac_srcdir/configure --help=recursive
1119 elif test -f $ac_srcdir/configure.ac ||
1120 test -f $ac_srcdir/configure.in; then
1122 $ac_configure --help
1124 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1130 test -n "$ac_init_help" && exit 0
1131 if $ac_init_version; then
1134 Copyright (C) 2003 Free Software Foundation, Inc.
1135 This configure script is free software; the Free Software Foundation
1136 gives unlimited permission to copy, distribute and modify it.
1142 This file contains any messages produced by compilers while
1143 running configure, to aid debugging if configure makes a mistake.
1145 It was created by $as_me, which was
1146 generated by GNU Autoconf 2.59. Invocation command line was
1157 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1158 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1159 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1160 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1161 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1163 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1164 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1166 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1167 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1168 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1169 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1170 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1171 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1172 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1180 test -z "$as_dir" && as_dir=.
1181 echo "PATH: $as_dir"
1196 # Keep a trace of the command line.
1197 # Strip out --no-create and --no-recursion so they do not pile up.
1198 # Strip out --silent because we don't want to record it for future runs.
1199 # Also quote any args containing shell meta-characters.
1200 # Make two passes to allow for proper duplicate-argument suppression.
1205 ac_must_keep_next=false
1211 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1212 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1213 | -silent | --silent | --silen | --sile | --sil)
1215 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1216 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1219 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1221 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1222 if test $ac_must_keep_next = true; then
1223 ac_must_keep_next=false # Got value, back to normal.
1226 *=* | --config-cache | -C | -disable-* | --disable-* \
1227 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1228 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1229 | -with-* | --with-* | -without-* | --without-* | --x)
1230 case "$ac_configure_args0 " in
1231 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1234 -* ) ac_must_keep_next=true ;;
1237 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1238 # Get rid of the leading space.
1244 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1245 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1247 # When interrupted or exit'd, cleanup temporary files, and complete
1248 # config.log. We remove comments because anyway the quotes in there
1249 # would cause problems or look ugly.
1250 # WARNING: Be sure not to use single quotes in there, as some shells,
1251 # such as our DU 5.0 friend, will then `close
' the trap.
1252 trap 'exit_status
=$?
1253 # Save into config.log some information that might help in debugging.
1258 ## ---------------- ##
1259 ## Cache variables. ##
1260 ## ---------------- ##
1263 # The following way of writing the cache mishandles newlines in values,
1266 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1269 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1270 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1274 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1281 ## ----------------- ##
1282 ## Output variables. ##
1283 ## ----------------- ##
1286 for ac_var
in $ac_subst_vars
1288 eval ac_val
=$
`echo $ac_var`
1289 echo "$ac_var='"'"'$ac_val'"'"'"
1293 if test -n "$ac_subst_files"; then
1300 for ac_var
in $ac_subst_files
1302 eval ac_val
=$
`echo $ac_var`
1303 echo "$ac_var='"'"'$ac_val'"'"'"
1308 if test -s confdefs.h
; then
1315 sed "/^$/d" confdefs.h |
sort
1318 test "$ac_signal" != 0 &&
1319 echo "$as_me: caught signal $ac_signal"
1320 echo "$as_me: exit $exit_status"
1322 rm -f core
*.core
&&
1323 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1326 for ac_signal in 1 2 13 15; do
1327 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1331 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1332 rm -rf conftest* confdefs.h
1333 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1336 # Predefined preprocessor variables.
1338 cat >>confdefs.h <<_ACEOF
1339 #define PACKAGE_NAME "$PACKAGE_NAME"
1343 cat >>confdefs.h <<_ACEOF
1344 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1353 cat >>confdefs.h <<_ACEOF
1354 #define PACKAGE_STRING "$PACKAGE_STRING"
1358 cat >>confdefs.h <<_ACEOF
1359 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1363 # Let the site file select an alternate cache file if it wants to.
1364 # Prefer explicitly selected file to automatically selected ones.
1365 if test -z "$CONFIG_SITE"; then
1366 if test "x$prefix" != xNONE; then
1367 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1369 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1372 for ac_site_file in $CONFIG_SITE; do
1373 if test -r "$ac_site_file"; then
1374 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1375 echo "$as_me: loading site script $ac_site_file" >&6;}
1376 sed 's
/^
/|
/' "$ac_site_file" >&5
1381 if test -r "$cache_file"; then
1382 # Some versions of bash will fail to source /dev/null (special
1383 # files actually), so we avoid doing that.
1384 if test -f "$cache_file"; then
1385 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1386 echo "$as_me: loading cache $cache_file" >&6;}
1388 [\\/]* | ?:[\\/]* ) . $cache_file;;
1389 *) . ./$cache_file;;
1393 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1394 echo "$as_me: creating cache $cache_file" >&6;}
1398 # Check that the precious variables saved in the cache have kept the same
1400 ac_cache_corrupted=false
1401 for ac_var in `(set) 2>&1 |
1402 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1403 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1404 eval ac_new_set=\$ac_env_${ac_var}_set
1405 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1406 eval ac_new_val="\$ac_env_${ac_var}_value"
1407 case $ac_old_set,$ac_new_set in
1409 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1410 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1411 ac_cache_corrupted=: ;;
1413 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1415 ac_cache_corrupted=: ;;
1418 if test "x$ac_old_val" != "x$ac_new_val"; then
1419 # differences in whitespace do not lead to failure.
1420 ac_old_val_w=`echo x $ac_old_val`
1421 ac_new_val_w=`echo x $ac_new_val`
1422 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1424 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1425 ac_cache_corrupted=:
1427 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1428 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1429 eval $ac_var=\$ac_old_val
1431 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1432 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1433 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1434 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1437 # Pass precious variables to config.status.
1438 if test "$ac_new_set" = set; then
1440 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1441 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1442 *) ac_arg=$ac_var=$ac_new_val ;;
1444 case " $ac_configure_args " in
1445 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1446 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1450 if $ac_cache_corrupted; then
1451 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1452 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1453 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1454 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1455 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1456 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1457 { (exit 1); exit 1; }; }
1461 ac_cpp='$CPP $CPPFLAGS'
1462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1490 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1491 if test -f $ac_dir/install-sh; then
1493 ac_install_sh="$ac_aux_dir/install-sh -c"
1495 elif test -f $ac_dir/install.sh; then
1497 ac_install_sh="$ac_aux_dir/install.sh -c"
1499 elif test -f $ac_dir/shtool; then
1501 ac_install_sh="$ac_aux_dir/shtool install -c"
1505 if test -z "$ac_aux_dir"; then
1506 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1507 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1508 { (exit 1); exit 1; }; }
1510 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1511 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1512 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1514 # Make sure we can run config.sub.
1515 $ac_config_sub sun4 >/dev/null 2>&1 ||
1516 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1517 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1518 { (exit 1); exit 1; }; }
1520 echo "$as_me:$LINENO: checking build system type" >&5
1521 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1522 if test "${ac_cv_build+set}" = set; then
1523 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 ac_cv_build_alias=$build_alias
1526 test -z "$ac_cv_build_alias" &&
1527 ac_cv_build_alias=`$ac_config_guess`
1528 test -z "$ac_cv_build_alias" &&
1529 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1530 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1531 { (exit 1); exit 1; }; }
1532 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1533 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1534 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1535 { (exit 1); exit 1; }; }
1538 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1539 echo "${ECHO_T}$ac_cv_build" >&6
1541 build_cpu=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1542 build_vendor=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1543 build_os=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1546 echo "$as_me:$LINENO: checking host system type" >&5
1547 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1548 if test "${ac_cv_host+set}" = set; then
1549 echo $ECHO_N "(cached) $ECHO_C" >&6
1551 ac_cv_host_alias=$host_alias
1552 test -z "$ac_cv_host_alias" &&
1553 ac_cv_host_alias=$ac_cv_build_alias
1554 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1555 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1556 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1557 { (exit 1); exit 1; }; }
1560 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1561 echo "${ECHO_T}$ac_cv_host" >&6
1563 host_cpu=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1564 host_vendor=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1565 host_os=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1568 echo "$as_me:$LINENO: checking target system type" >&5
1569 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1570 if test "${ac_cv_target+set}" = set; then
1571 echo $ECHO_N "(cached) $ECHO_C" >&6
1573 ac_cv_target_alias=$target_alias
1574 test "x$ac_cv_target_alias" = "x" &&
1575 ac_cv_target_alias=$ac_cv_host_alias
1576 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1577 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1578 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1579 { (exit 1); exit 1; }; }
1582 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1583 echo "${ECHO_T}$ac_cv_target" >&6
1584 target=$ac_cv_target
1585 target_cpu=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1586 target_vendor=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1587 target_os=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1590 # The aliases save the names the user supplied, while $host etc.
1591 # will get canonicalized.
1592 test -n "$target_alias" &&
1593 test "$program_prefix$program_suffix$program_transform_name" = \
1595 program_prefix=${target_alias}-
1597 ac_cpp='$CPP $CPPFLAGS'
1598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1601 if test -n "$ac_tool_prefix"; then
1602 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1603 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1604 echo "$as_me:$LINENO: checking for $ac_word" >&5
1605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1606 if test "${ac_cv_prog_CC+set}" = set; then
1607 echo $ECHO_N "(cached) $ECHO_C" >&6
1609 if test -n "$CC"; then
1610 ac_cv_prog_CC="$CC" # Let the user override the test.
1612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1616 test -z "$as_dir" && as_dir=.
1617 for ac_exec_ext in '' $ac_executable_extensions; do
1618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1619 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1629 if test -n "$CC"; then
1630 echo "$as_me:$LINENO: result: $CC" >&5
1631 echo "${ECHO_T}$CC" >&6
1633 echo "$as_me:$LINENO: result: no" >&5
1634 echo "${ECHO_T}no" >&6
1638 if test -z "$ac_cv_prog_CC"; then
1640 # Extract the first word of "gcc", so it can be a program name with args.
1641 set dummy gcc; ac_word=$2
1642 echo "$as_me:$LINENO: checking for $ac_word" >&5
1643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1644 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1645 echo $ECHO_N "(cached) $ECHO_C" >&6
1647 if test -n "$ac_ct_CC"; then
1648 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1654 test -z "$as_dir" && as_dir=.
1655 for ac_exec_ext in '' $ac_executable_extensions; do
1656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1657 ac_cv_prog_ac_ct_CC="gcc"
1658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1666 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1667 if test -n "$ac_ct_CC"; then
1668 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1669 echo "${ECHO_T}$ac_ct_CC" >&6
1671 echo "$as_me:$LINENO: result: no" >&5
1672 echo "${ECHO_T}no" >&6
1680 if test -z "$CC"; then
1681 if test -n "$ac_tool_prefix"; then
1682 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1683 set dummy ${ac_tool_prefix}cc; ac_word=$2
1684 echo "$as_me:$LINENO: checking for $ac_word" >&5
1685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1686 if test "${ac_cv_prog_CC+set}" = set; then
1687 echo $ECHO_N "(cached) $ECHO_C" >&6
1689 if test -n "$CC"; then
1690 ac_cv_prog_CC="$CC" # Let the user override the test.
1692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1696 test -z "$as_dir" && as_dir=.
1697 for ac_exec_ext in '' $ac_executable_extensions; do
1698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1699 ac_cv_prog_CC="${ac_tool_prefix}cc"
1700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1709 if test -n "$CC"; then
1710 echo "$as_me:$LINENO: result: $CC" >&5
1711 echo "${ECHO_T}$CC" >&6
1713 echo "$as_me:$LINENO: result: no" >&5
1714 echo "${ECHO_T}no" >&6
1718 if test -z "$ac_cv_prog_CC"; then
1720 # Extract the first word of "cc", so it can be a program name with args.
1721 set dummy cc; ac_word=$2
1722 echo "$as_me:$LINENO: checking for $ac_word" >&5
1723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1724 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1725 echo $ECHO_N "(cached) $ECHO_C" >&6
1727 if test -n "$ac_ct_CC"; then
1728 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1734 test -z "$as_dir" && as_dir=.
1735 for ac_exec_ext in '' $ac_executable_extensions; do
1736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1737 ac_cv_prog_ac_ct_CC="cc"
1738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1746 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1747 if test -n "$ac_ct_CC"; then
1748 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1749 echo "${ECHO_T}$ac_ct_CC" >&6
1751 echo "$as_me:$LINENO: result: no" >&5
1752 echo "${ECHO_T}no" >&6
1761 if test -z "$CC"; then
1762 # Extract the first word of "cc", so it can be a program name with args.
1763 set dummy cc; ac_word=$2
1764 echo "$as_me:$LINENO: checking for $ac_word" >&5
1765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1766 if test "${ac_cv_prog_CC+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1769 if test -n "$CC"; then
1770 ac_cv_prog_CC="$CC" # Let the user override the test.
1773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 test -z "$as_dir" && as_dir=.
1778 for ac_exec_ext in '' $ac_executable_extensions; do
1779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1780 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1781 ac_prog_rejected=yes
1785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1791 if test $ac_prog_rejected = yes; then
1792 # We found a bogon in the path, so make sure we never use it.
1793 set dummy $ac_cv_prog_CC
1795 if test $# != 0; then
1796 # We chose a different compiler from the bogus one.
1797 # However, it has the same basename, so the bogon will be chosen
1798 # first if we set CC to just the basename; use the full file name.
1800 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1806 if test -n "$CC"; then
1807 echo "$as_me:$LINENO: result: $CC" >&5
1808 echo "${ECHO_T}$CC" >&6
1810 echo "$as_me:$LINENO: result: no" >&5
1811 echo "${ECHO_T}no" >&6
1815 if test -z "$CC"; then
1816 if test -n "$ac_tool_prefix"; then
1819 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1820 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1821 echo "$as_me:$LINENO: checking for $ac_word" >&5
1822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1823 if test "${ac_cv_prog_CC+set}" = set; then
1824 echo $ECHO_N "(cached) $ECHO_C" >&6
1826 if test -n "$CC"; then
1827 ac_cv_prog_CC="$CC" # Let the user override the test.
1829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1833 test -z "$as_dir" && as_dir=.
1834 for ac_exec_ext in '' $ac_executable_extensions; do
1835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1836 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1846 if test -n "$CC"; then
1847 echo "$as_me:$LINENO: result: $CC" >&5
1848 echo "${ECHO_T}$CC" >&6
1850 echo "$as_me:$LINENO: result: no" >&5
1851 echo "${ECHO_T}no" >&6
1854 test -n "$CC" && break
1857 if test -z "$CC"; then
1861 # Extract the first word of "$ac_prog", so it can be a program name with args.
1862 set dummy $ac_prog; ac_word=$2
1863 echo "$as_me:$LINENO: checking for $ac_word" >&5
1864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1865 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1866 echo $ECHO_N "(cached) $ECHO_C" >&6
1868 if test -n "$ac_ct_CC"; then
1869 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1875 test -z "$as_dir" && as_dir=.
1876 for ac_exec_ext in '' $ac_executable_extensions; do
1877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1878 ac_cv_prog_ac_ct_CC="$ac_prog"
1879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1887 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1888 if test -n "$ac_ct_CC"; then
1889 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1890 echo "${ECHO_T}$ac_ct_CC" >&6
1892 echo "$as_me:$LINENO: result: no" >&5
1893 echo "${ECHO_T}no" >&6
1896 test -n "$ac_ct_CC" && break
1905 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1906 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1907 { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
1908 See \
`config.log' for more details." >&5
1909 echo "$as_me: error: no acceptable C compiler found in \$PATH
1910 See \`config.log
' for more details." >&2;}
1911 { (exit 1); exit 1; }; }; }
1913 # Provide some information about the compiler.
1914 echo "$as_me:$LINENO:" \
1915 "checking for C compiler version" >&5
1916 ac_compiler=`set X $ac_compile; echo $2`
1917 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1918 (eval $ac_compiler --version </dev/null >&5) 2>&5
1920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1921 (exit $ac_status); }
1922 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1923 (eval $ac_compiler -v </dev/null >&5) 2>&5
1925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1926 (exit $ac_status); }
1927 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1928 (eval $ac_compiler -V </dev/null >&5) 2>&5
1930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1931 (exit $ac_status); }
1933 cat >conftest.$ac_ext <<_ACEOF
1936 cat confdefs.h >>conftest.$ac_ext
1937 cat >>conftest.$ac_ext <<_ACEOF
1938 /* end confdefs.h. */
1948 ac_clean_files_save=$ac_clean_files
1949 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1950 # Try to create an executable without -o first, disregard a.out.
1951 # It will help us diagnose broken compilers, and finding out an intuition
1953 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1954 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1955 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1956 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1957 (eval $ac_link_default) 2>&5
1959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1960 (exit $ac_status); }; then
1961 # Find the output, starting from the most likely. This scheme is
1962 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1965 # Be careful to initialize this variable, since it used to be cached.
1966 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1968 # b.out is created by i960 compilers.
1969 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1971 test -f "$ac_file" ||
continue
1973 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1976 # This is the source file.
1979 # We found the default executable, but exeext='' is most
1983 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1984 # FIXME: I believe we export ac_cv_exeext for Libtool,
1985 # but it would be cool to find out if it's true. Does anybody
1986 # maintain Libtool? --akim.
1994 echo "$as_me: failed program was:" >&5
1995 sed 's/^/| /' conftest.
$ac_ext >&5
1997 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1998 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1999 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2000 See \`config.log' for more details." >&5
2001 echo "$as_me: error: C compiler cannot create executables
2002 See \`config.log' for more details." >&2;}
2003 { (exit 77); exit 77; }; }; }
2006 ac_exeext
=$ac_cv_exeext
2007 echo "$as_me:$LINENO: result: $ac_file" >&5
2008 echo "${ECHO_T}$ac_file" >&6
2010 # Check the compiler produces executables we can run. If not, either
2011 # the compiler is broken, or we cross compile.
2012 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2013 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2014 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2015 # If not cross compiling, check that we can run a simple program.
2016 if test "$cross_compiling" != yes; then
2017 if { ac_try
='./$ac_file'
2018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2022 (exit $ac_status); }; }; then
2025 if test "$cross_compiling" = maybe
; then
2028 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2029 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2030 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2031 If you meant to cross compile, use \`--host'.
2032 See \`config.log' for more details." >&5
2033 echo "$as_me: error: cannot run C compiled programs.
2034 If you meant to cross compile, use \`--host'.
2035 See \`config.log' for more details." >&2;}
2036 { (exit 1); exit 1; }; }; }
2040 echo "$as_me:$LINENO: result: yes" >&5
2041 echo "${ECHO_T}yes" >&6
2043 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2044 ac_clean_files
=$ac_clean_files_save
2045 # Check the compiler produces executables we can run. If not, either
2046 # the compiler is broken, or we cross compile.
2047 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2048 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2049 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2050 echo "${ECHO_T}$cross_compiling" >&6
2052 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2053 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2055 (eval $ac_link) 2>&5
2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058 (exit $ac_status); }; then
2059 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2060 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2061 # work properly (i.e., refer to `conftest.exe'), while it won't with
2063 for ac_file
in conftest.exe conftest conftest.
*; do
2064 test -f "$ac_file" ||
continue
2066 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2067 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2074 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2075 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2076 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2077 See \`config.log' for more details." >&5
2078 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2079 See \`config.log' for more details." >&2;}
2080 { (exit 1); exit 1; }; }; }
2083 rm -f conftest
$ac_cv_exeext
2084 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2085 echo "${ECHO_T}$ac_cv_exeext" >&6
2087 rm -f conftest.
$ac_ext
2088 EXEEXT
=$ac_cv_exeext
2090 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2091 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2092 if test "${ac_cv_objext+set}" = set; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6
2095 cat >conftest.
$ac_ext <<_ACEOF
2098 cat confdefs.h
>>conftest.
$ac_ext
2099 cat >>conftest.
$ac_ext <<_ACEOF
2100 /* end confdefs.h. */
2110 rm -f conftest.o conftest.obj
2111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2112 (eval $ac_compile) 2>&5
2114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115 (exit $ac_status); }; then
2116 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2118 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2119 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2124 echo "$as_me: failed program was:" >&5
2125 sed 's/^/| /' conftest.
$ac_ext >&5
2127 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2128 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2129 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2130 See \`config.log' for more details." >&5
2131 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2132 See \`config.log' for more details." >&2;}
2133 { (exit 1); exit 1; }; }; }
2136 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2138 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2139 echo "${ECHO_T}$ac_cv_objext" >&6
2140 OBJEXT
=$ac_cv_objext
2142 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2143 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2144 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2145 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 cat >conftest.
$ac_ext <<_ACEOF
2150 cat confdefs.h
>>conftest.
$ac_ext
2151 cat >>conftest.
$ac_ext <<_ACEOF
2152 /* end confdefs.h. */
2165 rm -f conftest.
$ac_objext
2166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2167 (eval $ac_compile) 2>conftest.er1
2169 grep -v '^ *+' conftest.er1
>conftest.err
2171 cat conftest.err
>&5
2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173 (exit $ac_status); } &&
2174 { ac_try
='test -z "$ac_c_werror_flag"
2175 || test ! -s conftest.err'
2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; } &&
2181 { ac_try
='test -s conftest.$ac_objext'
2182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }; }; then
2189 echo "$as_me: failed program was:" >&5
2190 sed 's/^/| /' conftest.
$ac_ext >&5
2194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2195 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2198 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2199 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2200 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2201 ac_test_CFLAGS
=${CFLAGS+set}
2202 ac_save_CFLAGS
=$CFLAGS
2204 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2205 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2206 if test "${ac_cv_prog_cc_g+set}" = set; then
2207 echo $ECHO_N "(cached) $ECHO_C" >&6
2209 cat >conftest.
$ac_ext <<_ACEOF
2212 cat confdefs.h
>>conftest.
$ac_ext
2213 cat >>conftest.
$ac_ext <<_ACEOF
2214 /* end confdefs.h. */
2224 rm -f conftest.
$ac_objext
2225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2226 (eval $ac_compile) 2>conftest.er1
2228 grep -v '^ *+' conftest.er1
>conftest.err
2230 cat conftest.err
>&5
2231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2232 (exit $ac_status); } &&
2233 { ac_try
='test -z "$ac_c_werror_flag"
2234 || test ! -s conftest.err'
2235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2239 (exit $ac_status); }; } &&
2240 { ac_try
='test -s conftest.$ac_objext'
2241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245 (exit $ac_status); }; }; then
2248 echo "$as_me: failed program was:" >&5
2249 sed 's/^/| /' conftest.
$ac_ext >&5
2253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2255 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2256 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2257 if test "$ac_test_CFLAGS" = set; then
2258 CFLAGS
=$ac_save_CFLAGS
2259 elif test $ac_cv_prog_cc_g = yes; then
2260 if test "$GCC" = yes; then
2266 if test "$GCC" = yes; then
2272 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2273 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2274 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2275 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 ac_cv_prog_cc_stdc
=no
2279 cat >conftest.
$ac_ext <<_ACEOF
2282 cat confdefs.h
>>conftest.
$ac_ext
2283 cat >>conftest.
$ac_ext <<_ACEOF
2284 /* end confdefs.h. */
2287 #include <sys/types.h>
2288 #include <sys/stat.h>
2289 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2290 struct buf { int x; };
2291 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2292 static char *e (p, i)
2298 static char *f (char * (*g) (char **, int), char **p, ...)
2303 s = g (p, va_arg (v,int));
2308 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2309 function prototypes and stuff, but not '\xHH' hex character constants.
2310 These don't provoke an error unfortunately, instead are silently treated
2311 as 'x'. The following induces an error, until -std1 is added to get
2312 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2313 array size at least. It's necessary to write '\x00'==0 to get something
2314 that's true only with -std1. */
2315 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2317 int test (int i, double x);
2318 struct s1 {int (*f) (int a);};
2319 struct s2 {int (*f) (double a);};
2320 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2326 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2331 # Don't try gcc -ansi; that turns off useful extensions and
2332 # breaks some systems' header files.
2333 # AIX -qlanglvl=ansi
2334 # Ultrix and OSF/1 -std1
2335 # HP-UX 10.20 and later -Ae
2336 # HP-UX older versions -Aa -D_HPUX_SOURCE
2337 # SVR4 -Xc -D__EXTENSIONS__
2338 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2340 CC
="$ac_save_CC $ac_arg"
2341 rm -f conftest.
$ac_objext
2342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2343 (eval $ac_compile) 2>conftest.er1
2345 grep -v '^ *+' conftest.er1
>conftest.err
2347 cat conftest.err
>&5
2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); } &&
2350 { ac_try
='test -z "$ac_c_werror_flag"
2351 || test ! -s conftest.err'
2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }; } &&
2357 { ac_try
='test -s conftest.$ac_objext'
2358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }; }; then
2363 ac_cv_prog_cc_stdc
=$ac_arg
2366 echo "$as_me: failed program was:" >&5
2367 sed 's/^/| /' conftest.
$ac_ext >&5
2370 rm -f conftest.err conftest.
$ac_objext
2372 rm -f conftest.
$ac_ext conftest.
$ac_objext
2377 case "x$ac_cv_prog_cc_stdc" in
2379 echo "$as_me:$LINENO: result: none needed" >&5
2380 echo "${ECHO_T}none needed" >&6 ;;
2382 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2383 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2384 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2387 # Some people use a C++ compiler to compile C. Since we use `exit',
2388 # in C++ we need to declare it. In case someone uses the same compiler
2389 # for both compiling C and C++ we need to have the C++ compiler decide
2390 # the declaration of exit, since it's the most demanding environment.
2391 cat >conftest.
$ac_ext <<_ACEOF
2396 rm -f conftest.
$ac_objext
2397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2398 (eval $ac_compile) 2>conftest.er1
2400 grep -v '^ *+' conftest.er1
>conftest.err
2402 cat conftest.err
>&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); } &&
2405 { ac_try
='test -z "$ac_c_werror_flag"
2406 || test ! -s conftest.err'
2407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); }; } &&
2412 { ac_try
='test -s conftest.$ac_objext'
2413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); }; }; then
2418 for ac_declaration
in \
2420 'extern "C" void std::exit (int) throw (); using std::exit;' \
2421 'extern "C" void std::exit (int); using std::exit;' \
2422 'extern "C" void exit (int) throw ();' \
2423 'extern "C" void exit (int);' \
2426 cat >conftest.
$ac_ext <<_ACEOF
2429 cat confdefs.h
>>conftest.
$ac_ext
2430 cat >>conftest.
$ac_ext <<_ACEOF
2431 /* end confdefs.h. */
2442 rm -f conftest.
$ac_objext
2443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2444 (eval $ac_compile) 2>conftest.er1
2446 grep -v '^ *+' conftest.er1
>conftest.err
2448 cat conftest.err
>&5
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); } &&
2451 { ac_try
='test -z "$ac_c_werror_flag"
2452 || test ! -s conftest.err'
2453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; } &&
2458 { ac_try
='test -s conftest.$ac_objext'
2459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); }; }; then
2466 echo "$as_me: failed program was:" >&5
2467 sed 's/^/| /' conftest.
$ac_ext >&5
2471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2472 cat >conftest.
$ac_ext <<_ACEOF
2475 cat confdefs.h
>>conftest.
$ac_ext
2476 cat >>conftest.
$ac_ext <<_ACEOF
2477 /* end confdefs.h. */
2487 rm -f conftest.
$ac_objext
2488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2489 (eval $ac_compile) 2>conftest.er1
2491 grep -v '^ *+' conftest.er1
>conftest.err
2493 cat conftest.err
>&5
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); } &&
2496 { ac_try
='test -z "$ac_c_werror_flag"
2497 || test ! -s conftest.err'
2498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }; } &&
2503 { ac_try
='test -s conftest.$ac_objext'
2504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }; }; then
2511 echo "$as_me: failed program was:" >&5
2512 sed 's/^/| /' conftest.
$ac_ext >&5
2515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2518 if test -n "$ac_declaration"; then
2519 echo '#ifdef __cplusplus' >>confdefs.h
2520 echo $ac_declaration >>confdefs.h
2521 echo '#endif' >>confdefs.h
2525 echo "$as_me: failed program was:" >&5
2526 sed 's/^/| /' conftest.
$ac_ext >&5
2529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2531 ac_cpp
='$CPP $CPPFLAGS'
2532 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2533 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2534 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2537 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2538 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2539 if test "${ac_cv_search_strerror+set}" = set; then
2540 echo $ECHO_N "(cached) $ECHO_C" >&6
2542 ac_func_search_save_LIBS
=$LIBS
2543 ac_cv_search_strerror
=no
2544 cat >conftest.
$ac_ext <<_ACEOF
2547 cat confdefs.h
>>conftest.
$ac_ext
2548 cat >>conftest.
$ac_ext <<_ACEOF
2549 /* end confdefs.h. */
2551 /* Override any gcc2 internal prototype to avoid an error. */
2555 /* We use char because int might match the return type of a gcc2
2556 builtin and then its argument prototype would still apply. */
2566 rm -f conftest.
$ac_objext conftest
$ac_exeext
2567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2568 (eval $ac_link) 2>conftest.er1
2570 grep -v '^ *+' conftest.er1
>conftest.err
2572 cat conftest.err
>&5
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); } &&
2575 { ac_try
='test -z "$ac_c_werror_flag"
2576 || test ! -s conftest.err'
2577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); }; } &&
2582 { ac_try
='test -s conftest$ac_exeext'
2583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }; }; then
2588 ac_cv_search_strerror
="none required"
2590 echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.
$ac_ext >&5
2594 rm -f conftest.err conftest.
$ac_objext \
2595 conftest
$ac_exeext conftest.
$ac_ext
2596 if test "$ac_cv_search_strerror" = no
; then
2597 for ac_lib
in cposix
; do
2598 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2599 cat >conftest.
$ac_ext <<_ACEOF
2602 cat confdefs.h
>>conftest.
$ac_ext
2603 cat >>conftest.
$ac_ext <<_ACEOF
2604 /* end confdefs.h. */
2606 /* Override any gcc2 internal prototype to avoid an error. */
2610 /* We use char because int might match the return type of a gcc2
2611 builtin and then its argument prototype would still apply. */
2621 rm -f conftest.
$ac_objext conftest
$ac_exeext
2622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2623 (eval $ac_link) 2>conftest.er1
2625 grep -v '^ *+' conftest.er1
>conftest.err
2627 cat conftest.err
>&5
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); } &&
2630 { ac_try
='test -z "$ac_c_werror_flag"
2631 || test ! -s conftest.err'
2632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }; } &&
2637 { ac_try
='test -s conftest$ac_exeext'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; }; then
2643 ac_cv_search_strerror
="-l$ac_lib"
2646 echo "$as_me: failed program was:" >&5
2647 sed 's/^/| /' conftest.
$ac_ext >&5
2650 rm -f conftest.err conftest.
$ac_objext \
2651 conftest
$ac_exeext conftest.
$ac_ext
2654 LIBS
=$ac_func_search_save_LIBS
2656 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2657 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2658 if test "$ac_cv_search_strerror" != no
; then
2659 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2664 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2665 am__api_version
="1.9"
2666 # Find a good install program. We prefer a C program (faster),
2667 # so one script is as good as another. But avoid the broken or
2668 # incompatible versions:
2669 # SysV /etc/install, /usr/sbin/install
2670 # SunOS /usr/etc/install
2671 # IRIX /sbin/install
2673 # AmigaOS /C/install, which installs bootblocks on floppy discs
2674 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2675 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2676 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2677 # OS/2's system install, which has a completely different semantic
2678 # ./install, which can be erroneously created by make from ./install.sh.
2679 # Reject install programs that cannot install multiple files.
2680 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2681 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2682 if test -z "$INSTALL"; then
2683 if test "${ac_cv_path_install+set}" = set; then
2684 echo $ECHO_N "(cached) $ECHO_C" >&6
2686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2690 test -z "$as_dir" && as_dir
=.
2691 # Account for people who put trailing slashes in PATH elements.
2693 .
/ | .
// |
/cC
/* | \
2694 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2695 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2698 # OSF1 and SCO ODT 3.0 have their own names for install.
2699 # Don't use installbsd from OSF since it installs stuff as root
2701 for ac_prog
in ginstall scoinst
install; do
2702 for ac_exec_ext
in '' $ac_executable_extensions; do
2703 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2704 if test $ac_prog = install &&
2705 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2706 # AIX install. It has an incompatible calling convention.
2708 elif test $ac_prog = install &&
2709 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2710 # program-specific install script used by HP pwplus--don't use.
2713 rm -rf conftest.one conftest.two conftest.dir
2714 echo one
> conftest.one
2715 echo two
> conftest.two
2717 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2718 test -s conftest.one
&& test -s conftest.two
&&
2719 test -s conftest.dir
/conftest.one
&&
2720 test -s conftest.dir
/conftest.two
2722 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2733 rm -rf conftest.one conftest.two conftest.dir
2736 if test "${ac_cv_path_install+set}" = set; then
2737 INSTALL
=$ac_cv_path_install
2739 # As a last resort, use the slow shell script. Don't cache a
2740 # value for INSTALL within a source directory, because that will
2741 # break other packages using the cache if that directory is
2742 # removed, or if the value is a relative name.
2743 INSTALL
=$ac_install_sh
2746 echo "$as_me:$LINENO: result: $INSTALL" >&5
2747 echo "${ECHO_T}$INSTALL" >&6
2749 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2750 # It thinks the first close brace ends the variable substitution.
2751 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2753 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2755 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2757 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2758 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2761 echo timestamp
> conftest.
file
2762 # Do `set' in a subshell so we don't clobber the current shell's
2763 # arguments. Must try -L first in case configure is actually a
2764 # symlink; some systems play weird games with the mod time of symlinks
2765 # (eg FreeBSD returns the mod time of the symlink's containing
2768 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2769 if test "$*" = "X"; then
2771 set X
`ls -t $srcdir/configure conftest.file`
2774 if test "$*" != "X $srcdir/configure conftest.file" \
2775 && test "$*" != "X conftest.file $srcdir/configure"; then
2777 # If neither matched, then we have a broken ls. This can happen
2778 # if, for instance, CONFIG_SHELL is bash and it inherits a
2779 # broken ls alias from the environment. This has actually
2780 # happened. Such a system could not be considered "sane".
2781 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2782 alias in your environment" >&5
2783 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2784 alias in your environment" >&2;}
2785 { (exit 1); exit 1; }; }
2788 test "$2" = conftest.
file
2794 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2795 Check your system clock" >&5
2796 echo "$as_me: error: newly created file is older than distributed files!
2797 Check your system clock" >&2;}
2798 { (exit 1); exit 1; }; }
2800 echo "$as_me:$LINENO: result: yes" >&5
2801 echo "${ECHO_T}yes" >&6
2802 test "$program_prefix" != NONE
&&
2803 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2804 # Use a double $ so make ignores it.
2805 test "$program_suffix" != NONE
&&
2806 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2807 # Double any \ or $. echo might interpret backslashes.
2808 # By default was `s,x,x', remove it if useless.
2809 cat <<\_ACEOF
>conftest.
sed
2810 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2812 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2815 # expand $ac_aux_dir to an absolute path
2816 am_aux_dir
=`cd $ac_aux_dir && pwd`
2818 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2819 # Use eval to expand $SHELL
2820 if eval "$MISSING --run true"; then
2821 am_missing_run
="$MISSING --run "
2824 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2825 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2828 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2829 # We used to keeping the `.' as first argument, in order to
2830 # allow $(mkdir_p) to be used without argument. As in
2831 # $(mkdir_p) $(somedir)
2832 # where $(somedir) is conditionally defined. However this is wrong
2834 # 1. if the package is installed by a user who cannot write `.'
2835 # make install will fail,
2836 # 2. the above comment should most certainly read
2837 # $(mkdir_p) $(DESTDIR)$(somedir)
2838 # so it does not work when $(somedir) is undefined and
2839 # $(DESTDIR) is not.
2840 # To support the latter case, we have to write
2841 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2842 # so the `.' trick is pointless.
2843 mkdir_p
='mkdir -p --'
2845 # On NextStep and OpenStep, the `mkdir' command does not
2846 # recognize any option. It will interpret all options as
2847 # directories to create, and then abort because `.' already
2849 for d
in .
/-p .
/--version;
2851 test -d $d && rmdir $d
2853 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2854 if test -f "$ac_aux_dir/mkinstalldirs"; then
2855 mkdir_p
='$(mkinstalldirs)'
2857 mkdir_p
='$(install_sh) -d'
2861 for ac_prog
in gawk mawk nawk
awk
2863 # Extract the first word of "$ac_prog", so it can be a program name with args.
2864 set dummy
$ac_prog; ac_word
=$2
2865 echo "$as_me:$LINENO: checking for $ac_word" >&5
2866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2867 if test "${ac_cv_prog_AWK+set}" = set; then
2868 echo $ECHO_N "(cached) $ECHO_C" >&6
2870 if test -n "$AWK"; then
2871 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2877 test -z "$as_dir" && as_dir
=.
2878 for ac_exec_ext
in '' $ac_executable_extensions; do
2879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2880 ac_cv_prog_AWK
="$ac_prog"
2881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2890 if test -n "$AWK"; then
2891 echo "$as_me:$LINENO: result: $AWK" >&5
2892 echo "${ECHO_T}$AWK" >&6
2894 echo "$as_me:$LINENO: result: no" >&5
2895 echo "${ECHO_T}no" >&6
2898 test -n "$AWK" && break
2901 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2902 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2903 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2904 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2905 echo $ECHO_N "(cached) $ECHO_C" >&6
2907 cat >conftest.
make <<\_ACEOF
2909 @
echo 'ac_maketemp="$(MAKE)"'
2911 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2912 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2913 if test -n "$ac_maketemp"; then
2914 eval ac_cv_prog_make_
${ac_make}_set
=yes
2916 eval ac_cv_prog_make_
${ac_make}_set
=no
2920 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2921 echo "$as_me:$LINENO: result: yes" >&5
2922 echo "${ECHO_T}yes" >&6
2925 echo "$as_me:$LINENO: result: no" >&5
2926 echo "${ECHO_T}no" >&6
2927 SET_MAKE
="MAKE=${MAKE-make}"
2930 rm -rf .tst
2>/dev
/null
2931 mkdir .tst
2>/dev
/null
2932 if test -d .tst
; then
2937 rmdir .tst
2>/dev
/null
2939 DEPDIR
="${am__leading_dot}deps"
2941 ac_config_commands
="$ac_config_commands depfiles"
2944 am_make
=${MAKE-make}
2945 cat > confinc
<< 'END'
2950 # If we don't find an include directive, just comment out the code.
2951 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2952 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2956 # First try GNU make style include.
2957 echo "include confinc" > confmf
2958 # We grep out `Entering directory' and `Leaving directory'
2959 # messages which can occur if `w' ends up in MAKEFLAGS.
2960 # In particular we don't look at `^make:' because GNU make might
2961 # be invoked under some other name (usually "gmake"), in which
2962 # case it prints its new name instead of `make'.
2963 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2968 # Now try BSD make style include.
2969 if test "$am__include" = "#"; then
2970 echo '.include "confinc"' > confmf
2971 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2972 am__include
=.include
2979 echo "$as_me:$LINENO: result: $_am_result" >&5
2980 echo "${ECHO_T}$_am_result" >&6
2981 rm -f confinc confmf
2983 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2984 if test "${enable_dependency_tracking+set}" = set; then
2985 enableval
="$enable_dependency_tracking"
2988 if test "x$enable_dependency_tracking" != xno
; then
2989 am_depcomp
="$ac_aux_dir/depcomp"
2994 if test "x$enable_dependency_tracking" != xno; then
3004 # test to see if srcdir already configured
3005 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3006 test -f $srcdir/config.status
; then
3007 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3008 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3009 { (exit 1); exit 1; }; }
3012 # test whether we have cygpath
3013 if test -z "$CYGPATH_W"; then
3014 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3015 CYGPATH_W
='cygpath -w'
3022 # Define the identity of the package.
3024 VERSION
=${BFD_VERSION}
3027 cat >>confdefs.h
<<_ACEOF
3028 #define PACKAGE "$PACKAGE"
3032 cat >>confdefs.h
<<_ACEOF
3033 #define VERSION "$VERSION"
3036 # Some tools Automake needs.
3038 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3041 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3044 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3047 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3050 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3052 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3054 # Installed binaries are usually stripped using `strip' when the user
3055 # run `make install-strip'. However `strip' might not be the right
3056 # tool to use in cross-compilation environments, therefore Automake
3057 # will honor the `STRIP' environment variable to overrule this program.
3058 if test "$cross_compiling" != no
; then
3059 if test -n "$ac_tool_prefix"; then
3060 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3061 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3062 echo "$as_me:$LINENO: checking for $ac_word" >&5
3063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3064 if test "${ac_cv_prog_STRIP+set}" = set; then
3065 echo $ECHO_N "(cached) $ECHO_C" >&6
3067 if test -n "$STRIP"; then
3068 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3074 test -z "$as_dir" && as_dir
=.
3075 for ac_exec_ext
in '' $ac_executable_extensions; do
3076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3077 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3086 STRIP
=$ac_cv_prog_STRIP
3087 if test -n "$STRIP"; then
3088 echo "$as_me:$LINENO: result: $STRIP" >&5
3089 echo "${ECHO_T}$STRIP" >&6
3091 echo "$as_me:$LINENO: result: no" >&5
3092 echo "${ECHO_T}no" >&6
3096 if test -z "$ac_cv_prog_STRIP"; then
3098 # Extract the first word of "strip", so it can be a program name with args.
3099 set dummy strip
; ac_word
=$2
3100 echo "$as_me:$LINENO: checking for $ac_word" >&5
3101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3102 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3103 echo $ECHO_N "(cached) $ECHO_C" >&6
3105 if test -n "$ac_ct_STRIP"; then
3106 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3112 test -z "$as_dir" && as_dir
=.
3113 for ac_exec_ext
in '' $ac_executable_extensions; do
3114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3115 ac_cv_prog_ac_ct_STRIP
="strip"
3116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3122 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3125 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3126 if test -n "$ac_ct_STRIP"; then
3127 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3128 echo "${ECHO_T}$ac_ct_STRIP" >&6
3130 echo "$as_me:$LINENO: result: no" >&5
3131 echo "${ECHO_T}no" >&6
3136 STRIP
="$ac_cv_prog_STRIP"
3140 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3142 # We need awk for the "check" target. The system "awk" is bad on
3144 # Always define AMTAR for backward compatibility.
3146 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3148 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3153 depcc
="$CC" am_compiler_list
=
3155 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3156 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3157 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3158 echo $ECHO_N "(cached) $ECHO_C" >&6
3160 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3161 # We make a subdir and do the tests there. Otherwise we can end up
3162 # making bogus files that we don't know about and never remove. For
3163 # instance it was reported that on HP-UX the gcc test will end up
3164 # making a dummy file named `D' -- because `-MD' means `put the output
3167 # Copy depcomp to subdir because otherwise we won't find it if we're
3168 # using a relative directory.
3169 cp "$am_depcomp" conftest.dir
3171 # We will build objects and dependencies in a subdirectory because
3172 # it helps to detect inapplicable dependency modes. For instance
3173 # both Tru64's cc and ICC support -MD to output dependencies as a
3174 # side effect of compilation, but ICC will put the dependencies in
3175 # the current directory while Tru64 will put them in the object
3179 am_cv_CC_dependencies_compiler_type
=none
3180 if test "$am_compiler_list" = ""; then
3181 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3183 for depmode
in $am_compiler_list; do
3184 # Setup a source with many dependencies, because some compilers
3185 # like to wrap large dependency lists on column 80 (with \), and
3186 # we should not choose a depcomp mode which is confused by this.
3188 # We need to recreate these files for each test, as the compiler may
3189 # overwrite some of them when testing with obscure command lines.
3190 # This happens at least with the AIX C compiler.
3192 for i
in 1 2 3 4 5 6; do
3193 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3194 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3195 # Solaris 8's {/usr,}/bin/sh.
3196 touch sub
/conftst
$i.h
3198 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3202 # after this tag, mechanisms are not by side-effect, so they'll
3203 # only be used when explicitly requested
3204 if test "x$enable_dependency_tracking" = xyes
; then
3212 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3213 # mode. It turns out that the SunPro C++ compiler does not properly
3214 # handle `-M -o', and we need to detect this.
3215 if depmode
=$depmode \
3216 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3217 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3218 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3219 >/dev
/null
2>conftest.err
&&
3220 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3221 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3222 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3223 # icc doesn't choke on unknown options, it will just issue warnings
3224 # or remarks (even with -Werror). So we grep stderr for any message
3225 # that says an option was ignored or not supported.
3226 # When given -MP, icc 7.0 and 7.1 complain thusly:
3227 # icc: Command line warning: ignoring option '-M'; no argument required
3228 # The diagnosis changed in icc 8.0:
3229 # icc: Command line remark: option '-MP' not supported
3230 if (grep 'ignoring option' conftest.err ||
3231 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3232 am_cv_CC_dependencies_compiler_type
=$depmode
3241 am_cv_CC_dependencies_compiler_type
=none
3245 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3246 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3247 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3252 test "x$enable_dependency_tracking" != xno \
3253 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3255 am__fastdepCC_FALSE
='#'
3257 am__fastdepCC_TRUE
='#'
3258 am__fastdepCC_FALSE
=
3264 ac_config_headers
="$ac_config_headers gconfig.h:gconfig.in"
3268 ac_cpp
='$CPP $CPPFLAGS'
3269 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3270 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3271 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3272 if test -n "$ac_tool_prefix"; then
3273 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3274 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3275 echo "$as_me:$LINENO: checking for $ac_word" >&5
3276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3277 if test "${ac_cv_prog_CC+set}" = set; then
3278 echo $ECHO_N "(cached) $ECHO_C" >&6
3280 if test -n "$CC"; then
3281 ac_cv_prog_CC
="$CC" # Let the user override the test.
3283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3287 test -z "$as_dir" && as_dir
=.
3288 for ac_exec_ext
in '' $ac_executable_extensions; do
3289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3290 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3300 if test -n "$CC"; then
3301 echo "$as_me:$LINENO: result: $CC" >&5
3302 echo "${ECHO_T}$CC" >&6
3304 echo "$as_me:$LINENO: result: no" >&5
3305 echo "${ECHO_T}no" >&6
3309 if test -z "$ac_cv_prog_CC"; then
3311 # Extract the first word of "gcc", so it can be a program name with args.
3312 set dummy gcc
; ac_word
=$2
3313 echo "$as_me:$LINENO: checking for $ac_word" >&5
3314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3315 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3316 echo $ECHO_N "(cached) $ECHO_C" >&6
3318 if test -n "$ac_ct_CC"; then
3319 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3325 test -z "$as_dir" && as_dir
=.
3326 for ac_exec_ext
in '' $ac_executable_extensions; do
3327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3328 ac_cv_prog_ac_ct_CC
="gcc"
3329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3337 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3338 if test -n "$ac_ct_CC"; then
3339 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3340 echo "${ECHO_T}$ac_ct_CC" >&6
3342 echo "$as_me:$LINENO: result: no" >&5
3343 echo "${ECHO_T}no" >&6
3351 if test -z "$CC"; then
3352 if test -n "$ac_tool_prefix"; then
3353 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3354 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3355 echo "$as_me:$LINENO: checking for $ac_word" >&5
3356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3357 if test "${ac_cv_prog_CC+set}" = set; then
3358 echo $ECHO_N "(cached) $ECHO_C" >&6
3360 if test -n "$CC"; then
3361 ac_cv_prog_CC
="$CC" # Let the user override the test.
3363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3367 test -z "$as_dir" && as_dir
=.
3368 for ac_exec_ext
in '' $ac_executable_extensions; do
3369 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3370 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3380 if test -n "$CC"; then
3381 echo "$as_me:$LINENO: result: $CC" >&5
3382 echo "${ECHO_T}$CC" >&6
3384 echo "$as_me:$LINENO: result: no" >&5
3385 echo "${ECHO_T}no" >&6
3389 if test -z "$ac_cv_prog_CC"; then
3391 # Extract the first word of "cc", so it can be a program name with args.
3392 set dummy cc
; ac_word
=$2
3393 echo "$as_me:$LINENO: checking for $ac_word" >&5
3394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3395 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3396 echo $ECHO_N "(cached) $ECHO_C" >&6
3398 if test -n "$ac_ct_CC"; then
3399 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3405 test -z "$as_dir" && as_dir
=.
3406 for ac_exec_ext
in '' $ac_executable_extensions; do
3407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3408 ac_cv_prog_ac_ct_CC
="cc"
3409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3417 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3418 if test -n "$ac_ct_CC"; then
3419 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3420 echo "${ECHO_T}$ac_ct_CC" >&6
3422 echo "$as_me:$LINENO: result: no" >&5
3423 echo "${ECHO_T}no" >&6
3432 if test -z "$CC"; then
3433 # Extract the first word of "cc", so it can be a program name with args.
3434 set dummy cc
; ac_word
=$2
3435 echo "$as_me:$LINENO: checking for $ac_word" >&5
3436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3437 if test "${ac_cv_prog_CC+set}" = set; then
3438 echo $ECHO_N "(cached) $ECHO_C" >&6
3440 if test -n "$CC"; then
3441 ac_cv_prog_CC
="$CC" # Let the user override the test.
3444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3448 test -z "$as_dir" && as_dir
=.
3449 for ac_exec_ext
in '' $ac_executable_extensions; do
3450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3451 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3452 ac_prog_rejected
=yes
3456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3462 if test $ac_prog_rejected = yes; then
3463 # We found a bogon in the path, so make sure we never use it.
3464 set dummy
$ac_cv_prog_CC
3466 if test $# != 0; then
3467 # We chose a different compiler from the bogus one.
3468 # However, it has the same basename, so the bogon will be chosen
3469 # first if we set CC to just the basename; use the full file name.
3471 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3477 if test -n "$CC"; then
3478 echo "$as_me:$LINENO: result: $CC" >&5
3479 echo "${ECHO_T}$CC" >&6
3481 echo "$as_me:$LINENO: result: no" >&5
3482 echo "${ECHO_T}no" >&6
3486 if test -z "$CC"; then
3487 if test -n "$ac_tool_prefix"; then
3490 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3491 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3492 echo "$as_me:$LINENO: checking for $ac_word" >&5
3493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3494 if test "${ac_cv_prog_CC+set}" = set; then
3495 echo $ECHO_N "(cached) $ECHO_C" >&6
3497 if test -n "$CC"; then
3498 ac_cv_prog_CC
="$CC" # Let the user override the test.
3500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3504 test -z "$as_dir" && as_dir
=.
3505 for ac_exec_ext
in '' $ac_executable_extensions; do
3506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3507 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3517 if test -n "$CC"; then
3518 echo "$as_me:$LINENO: result: $CC" >&5
3519 echo "${ECHO_T}$CC" >&6
3521 echo "$as_me:$LINENO: result: no" >&5
3522 echo "${ECHO_T}no" >&6
3525 test -n "$CC" && break
3528 if test -z "$CC"; then
3532 # Extract the first word of "$ac_prog", so it can be a program name with args.
3533 set dummy
$ac_prog; ac_word
=$2
3534 echo "$as_me:$LINENO: checking for $ac_word" >&5
3535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3536 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3539 if test -n "$ac_ct_CC"; then
3540 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3546 test -z "$as_dir" && as_dir
=.
3547 for ac_exec_ext
in '' $ac_executable_extensions; do
3548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3549 ac_cv_prog_ac_ct_CC
="$ac_prog"
3550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3558 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3559 if test -n "$ac_ct_CC"; then
3560 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3561 echo "${ECHO_T}$ac_ct_CC" >&6
3563 echo "$as_me:$LINENO: result: no" >&5
3564 echo "${ECHO_T}no" >&6
3567 test -n "$ac_ct_CC" && break
3576 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3577 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3578 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3579 See \`config.log' for more details." >&5
3580 echo "$as_me: error: no acceptable C compiler found in \$PATH
3581 See \`config.log' for more details." >&2;}
3582 { (exit 1); exit 1; }; }; }
3584 # Provide some information about the compiler.
3585 echo "$as_me:$LINENO:" \
3586 "checking for C compiler version" >&5
3587 ac_compiler
=`set X $ac_compile; echo $2`
3588 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3589 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); }
3593 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3594 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); }
3598 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3599 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); }
3604 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3605 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3606 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3607 echo $ECHO_N "(cached) $ECHO_C" >&6
3609 cat >conftest.
$ac_ext <<_ACEOF
3612 cat confdefs.h
>>conftest.
$ac_ext
3613 cat >>conftest.
$ac_ext <<_ACEOF
3614 /* end confdefs.h. */
3627 rm -f conftest.
$ac_objext
3628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3629 (eval $ac_compile) 2>conftest.er1
3631 grep -v '^ *+' conftest.er1
>conftest.err
3633 cat conftest.err
>&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); } &&
3636 { ac_try
='test -z "$ac_c_werror_flag"
3637 || test ! -s conftest.err'
3638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); }; } &&
3643 { ac_try
='test -s conftest.$ac_objext'
3644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3648 (exit $ac_status); }; }; then
3651 echo "$as_me: failed program was:" >&5
3652 sed 's/^/| /' conftest.
$ac_ext >&5
3656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3657 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3660 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3661 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3662 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3663 ac_test_CFLAGS
=${CFLAGS+set}
3664 ac_save_CFLAGS
=$CFLAGS
3666 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3667 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3668 if test "${ac_cv_prog_cc_g+set}" = set; then
3669 echo $ECHO_N "(cached) $ECHO_C" >&6
3671 cat >conftest.
$ac_ext <<_ACEOF
3674 cat confdefs.h
>>conftest.
$ac_ext
3675 cat >>conftest.
$ac_ext <<_ACEOF
3676 /* end confdefs.h. */
3686 rm -f conftest.
$ac_objext
3687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3688 (eval $ac_compile) 2>conftest.er1
3690 grep -v '^ *+' conftest.er1
>conftest.err
3692 cat conftest.err
>&5
3693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3694 (exit $ac_status); } &&
3695 { ac_try
='test -z "$ac_c_werror_flag"
3696 || test ! -s conftest.err'
3697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3701 (exit $ac_status); }; } &&
3702 { ac_try
='test -s conftest.$ac_objext'
3703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707 (exit $ac_status); }; }; then
3710 echo "$as_me: failed program was:" >&5
3711 sed 's/^/| /' conftest.
$ac_ext >&5
3715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3717 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3718 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3719 if test "$ac_test_CFLAGS" = set; then
3720 CFLAGS
=$ac_save_CFLAGS
3721 elif test $ac_cv_prog_cc_g = yes; then
3722 if test "$GCC" = yes; then
3728 if test "$GCC" = yes; then
3734 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3735 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3736 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3739 ac_cv_prog_cc_stdc
=no
3741 cat >conftest.
$ac_ext <<_ACEOF
3744 cat confdefs.h
>>conftest.
$ac_ext
3745 cat >>conftest.
$ac_ext <<_ACEOF
3746 /* end confdefs.h. */
3749 #include <sys/types.h>
3750 #include <sys/stat.h>
3751 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3752 struct buf { int x; };
3753 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3754 static char *e (p, i)
3760 static char *f (char * (*g) (char **, int), char **p, ...)
3765 s = g (p, va_arg (v,int));
3770 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3771 function prototypes and stuff, but not '\xHH' hex character constants.
3772 These don't provoke an error unfortunately, instead are silently treated
3773 as 'x'. The following induces an error, until -std1 is added to get
3774 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3775 array size at least. It's necessary to write '\x00'==0 to get something
3776 that's true only with -std1. */
3777 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3779 int test (int i, double x);
3780 struct s1 {int (*f) (int a);};
3781 struct s2 {int (*f) (double a);};
3782 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3788 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3793 # Don't try gcc -ansi; that turns off useful extensions and
3794 # breaks some systems' header files.
3795 # AIX -qlanglvl=ansi
3796 # Ultrix and OSF/1 -std1
3797 # HP-UX 10.20 and later -Ae
3798 # HP-UX older versions -Aa -D_HPUX_SOURCE
3799 # SVR4 -Xc -D__EXTENSIONS__
3800 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3802 CC
="$ac_save_CC $ac_arg"
3803 rm -f conftest.
$ac_objext
3804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3805 (eval $ac_compile) 2>conftest.er1
3807 grep -v '^ *+' conftest.er1
>conftest.err
3809 cat conftest.err
>&5
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); } &&
3812 { ac_try
='test -z "$ac_c_werror_flag"
3813 || test ! -s conftest.err'
3814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); }; } &&
3819 { ac_try
='test -s conftest.$ac_objext'
3820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824 (exit $ac_status); }; }; then
3825 ac_cv_prog_cc_stdc
=$ac_arg
3828 echo "$as_me: failed program was:" >&5
3829 sed 's/^/| /' conftest.
$ac_ext >&5
3832 rm -f conftest.err conftest.
$ac_objext
3834 rm -f conftest.
$ac_ext conftest.
$ac_objext
3839 case "x$ac_cv_prog_cc_stdc" in
3841 echo "$as_me:$LINENO: result: none needed" >&5
3842 echo "${ECHO_T}none needed" >&6 ;;
3844 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3845 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3846 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3849 # Some people use a C++ compiler to compile C. Since we use `exit',
3850 # in C++ we need to declare it. In case someone uses the same compiler
3851 # for both compiling C and C++ we need to have the C++ compiler decide
3852 # the declaration of exit, since it's the most demanding environment.
3853 cat >conftest.
$ac_ext <<_ACEOF
3858 rm -f conftest.
$ac_objext
3859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3860 (eval $ac_compile) 2>conftest.er1
3862 grep -v '^ *+' conftest.er1
>conftest.err
3864 cat conftest.err
>&5
3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); } &&
3867 { ac_try
='test -z "$ac_c_werror_flag"
3868 || test ! -s conftest.err'
3869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 (exit $ac_status); }; } &&
3874 { ac_try
='test -s conftest.$ac_objext'
3875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); }; }; then
3880 for ac_declaration
in \
3882 'extern "C" void std::exit (int) throw (); using std::exit;' \
3883 'extern "C" void std::exit (int); using std::exit;' \
3884 'extern "C" void exit (int) throw ();' \
3885 'extern "C" void exit (int);' \
3888 cat >conftest.
$ac_ext <<_ACEOF
3891 cat confdefs.h
>>conftest.
$ac_ext
3892 cat >>conftest.
$ac_ext <<_ACEOF
3893 /* end confdefs.h. */
3904 rm -f conftest.
$ac_objext
3905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3906 (eval $ac_compile) 2>conftest.er1
3908 grep -v '^ *+' conftest.er1
>conftest.err
3910 cat conftest.err
>&5
3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912 (exit $ac_status); } &&
3913 { ac_try
='test -z "$ac_c_werror_flag"
3914 || test ! -s conftest.err'
3915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); }; } &&
3920 { ac_try
='test -s conftest.$ac_objext'
3921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); }; }; then
3928 echo "$as_me: failed program was:" >&5
3929 sed 's/^/| /' conftest.
$ac_ext >&5
3933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3934 cat >conftest.
$ac_ext <<_ACEOF
3937 cat confdefs.h
>>conftest.
$ac_ext
3938 cat >>conftest.
$ac_ext <<_ACEOF
3939 /* end confdefs.h. */
3949 rm -f conftest.
$ac_objext
3950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3951 (eval $ac_compile) 2>conftest.er1
3953 grep -v '^ *+' conftest.er1
>conftest.err
3955 cat conftest.err
>&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); } &&
3958 { ac_try
='test -z "$ac_c_werror_flag"
3959 || test ! -s conftest.err'
3960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964 (exit $ac_status); }; } &&
3965 { ac_try
='test -s conftest.$ac_objext'
3966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); }; }; then
3973 echo "$as_me: failed program was:" >&5
3974 sed 's/^/| /' conftest.
$ac_ext >&5
3977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3980 if test -n "$ac_declaration"; then
3981 echo '#ifdef __cplusplus' >>confdefs.h
3982 echo $ac_declaration >>confdefs.h
3983 echo '#endif' >>confdefs.h
3987 echo "$as_me: failed program was:" >&5
3988 sed 's/^/| /' conftest.
$ac_ext >&5
3991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3993 ac_cpp
='$CPP $CPPFLAGS'
3994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3999 cat >>confdefs.h
<<\_ACEOF
4000 #define _GNU_SOURCE 1
4005 ac_cpp
='$CPP $CPPFLAGS'
4006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4009 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4010 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4011 # On Suns, sometimes $CPP names a directory.
4012 if test -n "$CPP" && test -d "$CPP"; then
4015 if test -z "$CPP"; then
4016 if test "${ac_cv_prog_CPP+set}" = set; then
4017 echo $ECHO_N "(cached) $ECHO_C" >&6
4019 # Double quotes because CPP needs to be expanded
4020 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4023 for ac_c_preproc_warn_flag
in '' yes
4025 # Use a header file that comes with gcc, so configuring glibc
4026 # with a fresh cross-compiler works.
4027 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4028 # <limits.h> exists even on freestanding compilers.
4029 # On the NeXT, cc -E runs the code through the compiler's parser,
4030 # not just through cpp. "Syntax error" is here to catch this case.
4031 cat >conftest.
$ac_ext <<_ACEOF
4034 cat confdefs.h
>>conftest.
$ac_ext
4035 cat >>conftest.
$ac_ext <<_ACEOF
4036 /* end confdefs.h. */
4038 # include <limits.h>
4040 # include <assert.h>
4044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4045 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4047 grep -v '^ *+' conftest.er1
>conftest.err
4049 cat conftest.err
>&5
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); } >/dev
/null
; then
4052 if test -s conftest.err
; then
4053 ac_cpp_err
=$ac_c_preproc_warn_flag
4054 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4061 if test -z "$ac_cpp_err"; then
4064 echo "$as_me: failed program was:" >&5
4065 sed 's/^/| /' conftest.
$ac_ext >&5
4067 # Broken: fails on valid input.
4070 rm -f conftest.err conftest.
$ac_ext
4072 # OK, works on sane cases. Now check whether non-existent headers
4073 # can be detected and how.
4074 cat >conftest.
$ac_ext <<_ACEOF
4077 cat confdefs.h
>>conftest.
$ac_ext
4078 cat >>conftest.
$ac_ext <<_ACEOF
4079 /* end confdefs.h. */
4080 #include <ac_nonexistent.h>
4082 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4083 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4085 grep -v '^ *+' conftest.er1
>conftest.err
4087 cat conftest.err
>&5
4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089 (exit $ac_status); } >/dev
/null
; then
4090 if test -s conftest.err
; then
4091 ac_cpp_err
=$ac_c_preproc_warn_flag
4092 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4099 if test -z "$ac_cpp_err"; then
4100 # Broken: success on invalid input.
4103 echo "$as_me: failed program was:" >&5
4104 sed 's/^/| /' conftest.
$ac_ext >&5
4106 # Passes both tests.
4110 rm -f conftest.err conftest.
$ac_ext
4113 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4114 rm -f conftest.err conftest.
$ac_ext
4115 if $ac_preproc_ok; then
4127 echo "$as_me:$LINENO: result: $CPP" >&5
4128 echo "${ECHO_T}$CPP" >&6
4130 for ac_c_preproc_warn_flag
in '' yes
4132 # Use a header file that comes with gcc, so configuring glibc
4133 # with a fresh cross-compiler works.
4134 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4135 # <limits.h> exists even on freestanding compilers.
4136 # On the NeXT, cc -E runs the code through the compiler's parser,
4137 # not just through cpp. "Syntax error" is here to catch this case.
4138 cat >conftest.
$ac_ext <<_ACEOF
4141 cat confdefs.h
>>conftest.
$ac_ext
4142 cat >>conftest.
$ac_ext <<_ACEOF
4143 /* end confdefs.h. */
4145 # include <limits.h>
4147 # include <assert.h>
4151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4152 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4154 grep -v '^ *+' conftest.er1
>conftest.err
4156 cat conftest.err
>&5
4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158 (exit $ac_status); } >/dev
/null
; then
4159 if test -s conftest.err
; then
4160 ac_cpp_err
=$ac_c_preproc_warn_flag
4161 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4168 if test -z "$ac_cpp_err"; then
4171 echo "$as_me: failed program was:" >&5
4172 sed 's/^/| /' conftest.
$ac_ext >&5
4174 # Broken: fails on valid input.
4177 rm -f conftest.err conftest.
$ac_ext
4179 # OK, works on sane cases. Now check whether non-existent headers
4180 # can be detected and how.
4181 cat >conftest.
$ac_ext <<_ACEOF
4184 cat confdefs.h
>>conftest.
$ac_ext
4185 cat >>conftest.
$ac_ext <<_ACEOF
4186 /* end confdefs.h. */
4187 #include <ac_nonexistent.h>
4189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4190 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4192 grep -v '^ *+' conftest.er1
>conftest.err
4194 cat conftest.err
>&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } >/dev
/null
; then
4197 if test -s conftest.err
; then
4198 ac_cpp_err
=$ac_c_preproc_warn_flag
4199 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4206 if test -z "$ac_cpp_err"; then
4207 # Broken: success on invalid input.
4210 echo "$as_me: failed program was:" >&5
4211 sed 's/^/| /' conftest.
$ac_ext >&5
4213 # Passes both tests.
4217 rm -f conftest.err conftest.
$ac_ext
4220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4221 rm -f conftest.err conftest.
$ac_ext
4222 if $ac_preproc_ok; then
4225 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4226 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4227 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4228 See \`config.log' for more details." >&5
4229 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4230 See \`config.log' for more details." >&2;}
4231 { (exit 1); exit 1; }; }; }
4235 ac_cpp
='$CPP $CPPFLAGS'
4236 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4237 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4238 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4241 echo "$as_me:$LINENO: checking for egrep" >&5
4242 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4243 if test "${ac_cv_prog_egrep+set}" = set; then
4244 echo $ECHO_N "(cached) $ECHO_C" >&6
4246 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4247 then ac_cv_prog_egrep
='grep -E'
4248 else ac_cv_prog_egrep
='egrep'
4251 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4252 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4253 EGREP
=$ac_cv_prog_egrep
4256 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4257 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4258 if test "${ac_cv_header_stdc+set}" = set; then
4259 echo $ECHO_N "(cached) $ECHO_C" >&6
4261 cat >conftest.
$ac_ext <<_ACEOF
4264 cat confdefs.h
>>conftest.
$ac_ext
4265 cat >>conftest.
$ac_ext <<_ACEOF
4266 /* end confdefs.h. */
4280 rm -f conftest.
$ac_objext
4281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4282 (eval $ac_compile) 2>conftest.er1
4284 grep -v '^ *+' conftest.er1
>conftest.err
4286 cat conftest.err
>&5
4287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4288 (exit $ac_status); } &&
4289 { ac_try
='test -z "$ac_c_werror_flag"
4290 || test ! -s conftest.err'
4291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295 (exit $ac_status); }; } &&
4296 { ac_try
='test -s conftest.$ac_objext'
4297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301 (exit $ac_status); }; }; then
4302 ac_cv_header_stdc
=yes
4304 echo "$as_me: failed program was:" >&5
4305 sed 's/^/| /' conftest.
$ac_ext >&5
4307 ac_cv_header_stdc
=no
4309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4311 if test $ac_cv_header_stdc = yes; then
4312 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4313 cat >conftest.
$ac_ext <<_ACEOF
4316 cat confdefs.h
>>conftest.
$ac_ext
4317 cat >>conftest.
$ac_ext <<_ACEOF
4318 /* end confdefs.h. */
4322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4323 $EGREP "memchr" >/dev
/null
2>&1; then
4326 ac_cv_header_stdc
=no
4332 if test $ac_cv_header_stdc = yes; then
4333 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4334 cat >conftest.
$ac_ext <<_ACEOF
4337 cat confdefs.h
>>conftest.
$ac_ext
4338 cat >>conftest.
$ac_ext <<_ACEOF
4339 /* end confdefs.h. */
4343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4344 $EGREP "free" >/dev
/null
2>&1; then
4347 ac_cv_header_stdc
=no
4353 if test $ac_cv_header_stdc = yes; then
4354 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4355 if test "$cross_compiling" = yes; then
4358 cat >conftest.
$ac_ext <<_ACEOF
4361 cat confdefs.h
>>conftest.
$ac_ext
4362 cat >>conftest.
$ac_ext <<_ACEOF
4363 /* end confdefs.h. */
4365 #if ((' ' & 0x0FF) == 0x020)
4366 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4367 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4369 # define ISLOWER(c) \
4370 (('a' <= (c) && (c) <= 'i') \
4371 || ('j' <= (c) && (c) <= 'r') \
4372 || ('s' <= (c) && (c) <= 'z'))
4373 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4376 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4381 for (i = 0; i < 256; i++)
4382 if (XOR (islower (i), ISLOWER (i))
4383 || toupper (i) != TOUPPER (i))
4388 rm -f conftest
$ac_exeext
4389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4390 (eval $ac_link) 2>&5
4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); }; }; then
4401 echo "$as_me: program exited with status $ac_status" >&5
4402 echo "$as_me: failed program was:" >&5
4403 sed 's/^/| /' conftest.
$ac_ext >&5
4406 ac_cv_header_stdc
=no
4408 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4412 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4413 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4414 if test $ac_cv_header_stdc = yes; then
4416 cat >>confdefs.h
<<\_ACEOF
4417 #define STDC_HEADERS 1
4422 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4432 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4433 inttypes.h stdint.h unistd.h
4435 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4436 echo "$as_me:$LINENO: checking for $ac_header" >&5
4437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4439 echo $ECHO_N "(cached) $ECHO_C" >&6
4441 cat >conftest.
$ac_ext <<_ACEOF
4444 cat confdefs.h
>>conftest.
$ac_ext
4445 cat >>conftest.
$ac_ext <<_ACEOF
4446 /* end confdefs.h. */
4447 $ac_includes_default
4449 #include <$ac_header>
4451 rm -f conftest.
$ac_objext
4452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4453 (eval $ac_compile) 2>conftest.er1
4455 grep -v '^ *+' conftest.er1
>conftest.err
4457 cat conftest.err
>&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); } &&
4460 { ac_try
='test -z "$ac_c_werror_flag"
4461 || test ! -s conftest.err'
4462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); }; } &&
4467 { ac_try
='test -s conftest.$ac_objext'
4468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); }; }; then
4473 eval "$as_ac_Header=yes"
4475 echo "$as_me: failed program was:" >&5
4476 sed 's/^/| /' conftest.
$ac_ext >&5
4478 eval "$as_ac_Header=no"
4480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4484 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4485 cat >>confdefs.h
<<_ACEOF
4486 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4495 if test "${ac_cv_header_minix_config_h+set}" = set; then
4496 echo "$as_me:$LINENO: checking for minix/config.h" >&5
4497 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
4498 if test "${ac_cv_header_minix_config_h+set}" = set; then
4499 echo $ECHO_N "(cached) $ECHO_C" >&6
4501 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4502 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
4504 # Is the header compilable?
4505 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4506 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
4507 cat >conftest.
$ac_ext <<_ACEOF
4510 cat confdefs.h
>>conftest.
$ac_ext
4511 cat >>conftest.
$ac_ext <<_ACEOF
4512 /* end confdefs.h. */
4513 $ac_includes_default
4514 #include <minix/config.h>
4516 rm -f conftest.
$ac_objext
4517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4518 (eval $ac_compile) 2>conftest.er1
4520 grep -v '^ *+' conftest.er1
>conftest.err
4522 cat conftest.err
>&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); } &&
4525 { ac_try
='test -z "$ac_c_werror_flag"
4526 || test ! -s conftest.err'
4527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531 (exit $ac_status); }; } &&
4532 { ac_try
='test -s conftest.$ac_objext'
4533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537 (exit $ac_status); }; }; then
4538 ac_header_compiler
=yes
4540 echo "$as_me: failed program was:" >&5
4541 sed 's/^/| /' conftest.
$ac_ext >&5
4543 ac_header_compiler
=no
4545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4547 echo "${ECHO_T}$ac_header_compiler" >&6
4549 # Is the header present?
4550 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4551 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
4552 cat >conftest.
$ac_ext <<_ACEOF
4555 cat confdefs.h
>>conftest.
$ac_ext
4556 cat >>conftest.
$ac_ext <<_ACEOF
4557 /* end confdefs.h. */
4558 #include <minix/config.h>
4560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4561 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4563 grep -v '^ *+' conftest.er1
>conftest.err
4565 cat conftest.err
>&5
4566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); } >/dev
/null
; then
4568 if test -s conftest.err
; then
4569 ac_cpp_err
=$ac_c_preproc_warn_flag
4570 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4577 if test -z "$ac_cpp_err"; then
4578 ac_header_preproc
=yes
4580 echo "$as_me: failed program was:" >&5
4581 sed 's/^/| /' conftest.
$ac_ext >&5
4583 ac_header_preproc
=no
4585 rm -f conftest.err conftest.
$ac_ext
4586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4587 echo "${ECHO_T}$ac_header_preproc" >&6
4589 # So? What about this header?
4590 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4592 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4593 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4594 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4595 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4596 ac_header_preproc
=yes
4599 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4600 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4601 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4602 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4603 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4604 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4605 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4606 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4607 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4608 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4609 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4610 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4613 ## ------------------------------------------ ##
4614 ## Report this to the AC_PACKAGE_NAME lists. ##
4615 ## ------------------------------------------ ##
4618 sed "s/^/$as_me: WARNING: /" >&2
4621 echo "$as_me:$LINENO: checking for minix/config.h" >&5
4622 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
4623 if test "${ac_cv_header_minix_config_h+set}" = set; then
4624 echo $ECHO_N "(cached) $ECHO_C" >&6
4626 ac_cv_header_minix_config_h
=$ac_header_preproc
4628 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4629 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
4632 if test $ac_cv_header_minix_config_h = yes; then
4639 if test "$MINIX" = yes; then
4641 cat >>confdefs.h
<<\_ACEOF
4642 #define _POSIX_SOURCE 1
4646 cat >>confdefs.h
<<\_ACEOF
4647 #define _POSIX_1_SOURCE 2
4651 cat >>confdefs.h
<<\_ACEOF
4659 echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4660 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6
4661 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4662 echo $ECHO_N "(cached) $ECHO_C" >&6
4664 cat >conftest.
$ac_ext <<_ACEOF
4667 cat confdefs.h
>>conftest.
$ac_ext
4668 cat >>conftest.
$ac_ext <<_ACEOF
4669 /* end confdefs.h. */
4671 # define __EXTENSIONS__ 1
4672 $ac_includes_default
4681 rm -f conftest.
$ac_objext
4682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4683 (eval $ac_compile) 2>conftest.er1
4685 grep -v '^ *+' conftest.er1
>conftest.err
4687 cat conftest.err
>&5
4688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689 (exit $ac_status); } &&
4690 { ac_try
='test -z "$ac_c_werror_flag"
4691 || test ! -s conftest.err'
4692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); }; } &&
4697 { ac_try
='test -s conftest.$ac_objext'
4698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4702 (exit $ac_status); }; }; then
4703 ac_cv_safe_to_define___extensions__
=yes
4705 echo "$as_me: failed program was:" >&5
4706 sed 's/^/| /' conftest.
$ac_ext >&5
4708 ac_cv_safe_to_define___extensions__
=no
4710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4712 echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4713 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6
4714 test $ac_cv_safe_to_define___extensions__ = yes &&
4715 cat >>confdefs.h
<<\_ACEOF
4716 #define __EXTENSIONS__ 1
4719 cat >>confdefs.h
<<\_ACEOF
4720 #define _ALL_SOURCE 1
4723 cat >>confdefs.h
<<\_ACEOF
4724 #define _GNU_SOURCE 1
4727 cat >>confdefs.h
<<\_ACEOF
4728 #define _POSIX_PTHREAD_SEMANTICS 1
4731 cat >>confdefs.h
<<\_ACEOF
4732 #define _TANDEM_SOURCE 1
4736 # Check whether --enable-largefile or --disable-largefile was given.
4737 if test "${enable_largefile+set}" = set; then
4738 enableval
="$enable_largefile"
4741 if test "$enable_largefile" != no
; then
4743 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4744 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4745 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4746 echo $ECHO_N "(cached) $ECHO_C" >&6
4748 ac_cv_sys_largefile_CC
=no
4749 if test "$GCC" != yes; then
4752 # IRIX 6.2 and later do not support large files by default,
4753 # so use the C compiler's -n32 option if that helps.
4754 cat >conftest.
$ac_ext <<_ACEOF
4757 cat confdefs.h
>>conftest.
$ac_ext
4758 cat >>conftest.
$ac_ext <<_ACEOF
4759 /* end confdefs.h. */
4760 #include <sys/types.h>
4761 /* Check that off_t can represent 2**63 - 1 correctly.
4762 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4763 since some C++ compilers masquerading as C compilers
4764 incorrectly reject 9223372036854775807. */
4765 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4766 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4767 && LARGE_OFF_T % 2147483647 == 1)
4777 rm -f conftest.
$ac_objext
4778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4779 (eval $ac_compile) 2>conftest.er1
4781 grep -v '^ *+' conftest.er1
>conftest.err
4783 cat conftest.err
>&5
4784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4785 (exit $ac_status); } &&
4786 { ac_try
='test -z "$ac_c_werror_flag"
4787 || test ! -s conftest.err'
4788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792 (exit $ac_status); }; } &&
4793 { ac_try
='test -s conftest.$ac_objext'
4794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798 (exit $ac_status); }; }; then
4801 echo "$as_me: failed program was:" >&5
4802 sed 's/^/| /' conftest.
$ac_ext >&5
4805 rm -f conftest.err conftest.
$ac_objext
4807 rm -f conftest.
$ac_objext
4808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4809 (eval $ac_compile) 2>conftest.er1
4811 grep -v '^ *+' conftest.er1
>conftest.err
4813 cat conftest.err
>&5
4814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4815 (exit $ac_status); } &&
4816 { ac_try
='test -z "$ac_c_werror_flag"
4817 || test ! -s conftest.err'
4818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); }; } &&
4823 { ac_try
='test -s conftest.$ac_objext'
4824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); }; }; then
4829 ac_cv_sys_largefile_CC
=' -n32'; break
4831 echo "$as_me: failed program was:" >&5
4832 sed 's/^/| /' conftest.
$ac_ext >&5
4835 rm -f conftest.err conftest.
$ac_objext
4839 rm -f conftest.
$ac_ext
4842 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4843 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4844 if test "$ac_cv_sys_largefile_CC" != no
; then
4845 CC
=$CC$ac_cv_sys_largefile_CC
4848 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4849 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4850 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4854 ac_cv_sys_file_offset_bits
=no
4855 cat >conftest.
$ac_ext <<_ACEOF
4858 cat confdefs.h
>>conftest.
$ac_ext
4859 cat >>conftest.
$ac_ext <<_ACEOF
4860 /* end confdefs.h. */
4861 #include <sys/types.h>
4862 /* Check that off_t can represent 2**63 - 1 correctly.
4863 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4864 since some C++ compilers masquerading as C compilers
4865 incorrectly reject 9223372036854775807. */
4866 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4867 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4868 && LARGE_OFF_T % 2147483647 == 1)
4878 rm -f conftest.
$ac_objext
4879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4880 (eval $ac_compile) 2>conftest.er1
4882 grep -v '^ *+' conftest.er1
>conftest.err
4884 cat conftest.err
>&5
4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886 (exit $ac_status); } &&
4887 { ac_try
='test -z "$ac_c_werror_flag"
4888 || test ! -s conftest.err'
4889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); }; } &&
4894 { ac_try
='test -s conftest.$ac_objext'
4895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899 (exit $ac_status); }; }; then
4902 echo "$as_me: failed program was:" >&5
4903 sed 's/^/| /' conftest.
$ac_ext >&5
4906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4907 cat >conftest.
$ac_ext <<_ACEOF
4910 cat confdefs.h
>>conftest.
$ac_ext
4911 cat >>conftest.
$ac_ext <<_ACEOF
4912 /* end confdefs.h. */
4913 #define _FILE_OFFSET_BITS 64
4914 #include <sys/types.h>
4915 /* Check that off_t can represent 2**63 - 1 correctly.
4916 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4917 since some C++ compilers masquerading as C compilers
4918 incorrectly reject 9223372036854775807. */
4919 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4920 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4921 && LARGE_OFF_T % 2147483647 == 1)
4931 rm -f conftest.
$ac_objext
4932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4933 (eval $ac_compile) 2>conftest.er1
4935 grep -v '^ *+' conftest.er1
>conftest.err
4937 cat conftest.err
>&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); } &&
4940 { ac_try
='test -z "$ac_c_werror_flag"
4941 || test ! -s conftest.err'
4942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); }; } &&
4947 { ac_try
='test -s conftest.$ac_objext'
4948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); }; }; then
4953 ac_cv_sys_file_offset_bits
=64; break
4955 echo "$as_me: failed program was:" >&5
4956 sed 's/^/| /' conftest.
$ac_ext >&5
4959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4963 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4964 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4965 if test "$ac_cv_sys_file_offset_bits" != no
; then
4967 cat >>confdefs.h
<<_ACEOF
4968 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4973 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4974 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4975 if test "${ac_cv_sys_large_files+set}" = set; then
4976 echo $ECHO_N "(cached) $ECHO_C" >&6
4979 ac_cv_sys_large_files
=no
4980 cat >conftest.
$ac_ext <<_ACEOF
4983 cat confdefs.h
>>conftest.
$ac_ext
4984 cat >>conftest.
$ac_ext <<_ACEOF
4985 /* end confdefs.h. */
4986 #include <sys/types.h>
4987 /* Check that off_t can represent 2**63 - 1 correctly.
4988 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4989 since some C++ compilers masquerading as C compilers
4990 incorrectly reject 9223372036854775807. */
4991 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4992 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4993 && LARGE_OFF_T % 2147483647 == 1)
5003 rm -f conftest.
$ac_objext
5004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5005 (eval $ac_compile) 2>conftest.er1
5007 grep -v '^ *+' conftest.er1
>conftest.err
5009 cat conftest.err
>&5
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); } &&
5012 { ac_try
='test -z "$ac_c_werror_flag"
5013 || test ! -s conftest.err'
5014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018 (exit $ac_status); }; } &&
5019 { ac_try
='test -s conftest.$ac_objext'
5020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); }; }; then
5027 echo "$as_me: failed program was:" >&5
5028 sed 's/^/| /' conftest.
$ac_ext >&5
5031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5032 cat >conftest.
$ac_ext <<_ACEOF
5035 cat confdefs.h
>>conftest.
$ac_ext
5036 cat >>conftest.
$ac_ext <<_ACEOF
5037 /* end confdefs.h. */
5038 #define _LARGE_FILES 1
5039 #include <sys/types.h>
5040 /* Check that off_t can represent 2**63 - 1 correctly.
5041 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5042 since some C++ compilers masquerading as C compilers
5043 incorrectly reject 9223372036854775807. */
5044 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5045 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5046 && LARGE_OFF_T % 2147483647 == 1)
5056 rm -f conftest.
$ac_objext
5057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5058 (eval $ac_compile) 2>conftest.er1
5060 grep -v '^ *+' conftest.er1
>conftest.err
5062 cat conftest.err
>&5
5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064 (exit $ac_status); } &&
5065 { ac_try
='test -z "$ac_c_werror_flag"
5066 || test ! -s conftest.err'
5067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); }; } &&
5072 { ac_try
='test -s conftest.$ac_objext'
5073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077 (exit $ac_status); }; }; then
5078 ac_cv_sys_large_files
=1; break
5080 echo "$as_me: failed program was:" >&5
5081 sed 's/^/| /' conftest.
$ac_ext >&5
5084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5088 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5089 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5090 if test "$ac_cv_sys_large_files" != no
; then
5092 cat >>confdefs.h
<<_ACEOF
5093 #define _LARGE_FILES $ac_cv_sys_large_files
5100 # Find a good install program. We prefer a C program (faster),
5101 # so one script is as good as another. But avoid the broken or
5102 # incompatible versions:
5103 # SysV /etc/install, /usr/sbin/install
5104 # SunOS /usr/etc/install
5105 # IRIX /sbin/install
5107 # AmigaOS /C/install, which installs bootblocks on floppy discs
5108 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5109 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5110 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5111 # OS/2's system install, which has a completely different semantic
5112 # ./install, which can be erroneously created by make from ./install.sh.
5113 # Reject install programs that cannot install multiple files.
5114 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5115 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5116 if test -z "$INSTALL"; then
5117 if test "${ac_cv_path_install+set}" = set; then
5118 echo $ECHO_N "(cached) $ECHO_C" >&6
5120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5124 test -z "$as_dir" && as_dir
=.
5125 # Account for people who put trailing slashes in PATH elements.
5127 .
/ | .
// |
/cC
/* | \
5128 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5129 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5132 # OSF1 and SCO ODT 3.0 have their own names for install.
5133 # Don't use installbsd from OSF since it installs stuff as root
5135 for ac_prog
in ginstall scoinst
install; do
5136 for ac_exec_ext
in '' $ac_executable_extensions; do
5137 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5138 if test $ac_prog = install &&
5139 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5140 # AIX install. It has an incompatible calling convention.
5142 elif test $ac_prog = install &&
5143 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5144 # program-specific install script used by HP pwplus--don't use.
5147 rm -rf conftest.one conftest.two conftest.dir
5148 echo one
> conftest.one
5149 echo two
> conftest.two
5151 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
5152 test -s conftest.one
&& test -s conftest.two
&&
5153 test -s conftest.dir
/conftest.one
&&
5154 test -s conftest.dir
/conftest.two
5156 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5167 rm -rf conftest.one conftest.two conftest.dir
5170 if test "${ac_cv_path_install+set}" = set; then
5171 INSTALL
=$ac_cv_path_install
5173 # As a last resort, use the slow shell script. Don't cache a
5174 # value for INSTALL within a source directory, because that will
5175 # break other packages using the cache if that directory is
5176 # removed, or if the value is a relative name.
5177 INSTALL
=$ac_install_sh
5180 echo "$as_me:$LINENO: result: $INSTALL" >&5
5181 echo "${ECHO_T}$INSTALL" >&6
5183 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5184 # It thinks the first close brace ends the variable substitution.
5185 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5187 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5189 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5194 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5195 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5200 macro_version
='2.2.6'
5201 macro_revision
='1.3012'
5215 ltmain
="$ac_aux_dir/ltmain.sh"
5217 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5218 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5219 if test "${lt_cv_path_SED+set}" = set; then
5220 echo $ECHO_N "(cached) $ECHO_C" >&6
5222 # Loop through the user's path and test for sed and gsed.
5223 # Then use that list of sed's as ones to test for truncation.
5224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5228 test -z "$as_dir" && as_dir
=.
5229 for lt_ac_prog
in sed gsed
; do
5230 for ac_exec_ext
in '' $ac_executable_extensions; do
5231 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5232 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5240 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5241 # along with /bin/sed that truncates output.
5242 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5243 test ! -f $lt_ac_sed && continue
5244 cat /dev
/null
> conftest.
in
5246 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5247 # Check for GNU sed and select it if it is found.
5248 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5249 lt_cv_path_SED
=$lt_ac_sed
5253 cat conftest.
in conftest.
in >conftest.tmp
5254 mv conftest.tmp conftest.
in
5255 cp conftest.
in conftest.
nl
5257 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5258 cmp -s conftest.out conftest.
nl ||
break
5259 # 10000 chars as input seems more than enough
5260 test $lt_ac_count -gt 10 && break
5261 lt_ac_count
=`expr $lt_ac_count + 1`
5262 if test $lt_ac_count -gt $lt_ac_max; then
5263 lt_ac_max
=$lt_ac_count
5264 lt_cv_path_SED
=$lt_ac_sed
5273 echo "$as_me:$LINENO: result: $SED" >&5
5274 echo "${ECHO_T}$SED" >&6
5276 test -z "$SED" && SED
=sed
5277 Xsed
="$SED -e 1s/^X//"
5289 echo "$as_me:$LINENO: checking for fgrep" >&5
5290 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5291 if test "${ac_cv_prog_fgrep+set}" = set; then
5292 echo $ECHO_N "(cached) $ECHO_C" >&6
5294 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
5295 then ac_cv_prog_fgrep
='grep -F'
5296 else ac_cv_prog_fgrep
='fgrep'
5299 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5300 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5301 FGREP
=$ac_cv_prog_fgrep
5304 test -z "$GREP" && GREP
=grep
5324 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5325 if test "${with_gnu_ld+set}" = set; then
5326 withval
="$with_gnu_ld"
5327 test "$withval" = no || with_gnu_ld
=yes
5332 if test "$GCC" = yes; then
5333 # Check if gcc -print-prog-name=ld gives a path.
5334 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5335 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5338 # gcc leaves a trailing carriage return which upsets mingw
5339 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5341 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5344 # Accept absolute paths.
5346 re_direlt
='/[^/][^/]*/\.\./'
5347 # Canonicalize the pathname of ld
5348 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5349 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5350 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5352 test -z "$LD" && LD
="$ac_prog"
5355 # If it fails, then pretend we aren't using GCC.
5359 # If it is relative, then search for the first ld in PATH.
5363 elif test "$with_gnu_ld" = yes; then
5364 echo "$as_me:$LINENO: checking for GNU ld" >&5
5365 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5367 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5368 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5370 if test "${lt_cv_path_LD+set}" = set; then
5371 echo $ECHO_N "(cached) $ECHO_C" >&6
5373 if test -z "$LD"; then
5374 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5375 for ac_dir
in $PATH; do
5377 test -z "$ac_dir" && ac_dir
=.
5378 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5379 lt_cv_path_LD
="$ac_dir/$ac_prog"
5380 # Check to see if the program is GNU ld. I'd rather use --version,
5381 # but apparently some variants of GNU ld only accept -v.
5382 # Break only if it was the GNU/non-GNU ld that we prefer.
5383 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5384 *GNU
* |
*'with BFD'*)
5385 test "$with_gnu_ld" != no
&& break
5388 test "$with_gnu_ld" != yes && break
5395 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5400 if test -n "$LD"; then
5401 echo "$as_me:$LINENO: result: $LD" >&5
5402 echo "${ECHO_T}$LD" >&6
5404 echo "$as_me:$LINENO: result: no" >&5
5405 echo "${ECHO_T}no" >&6
5407 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5408 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5409 { (exit 1); exit 1; }; }
5410 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5411 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5412 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5413 echo $ECHO_N "(cached) $ECHO_C" >&6
5415 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5416 case `$LD -v 2>&1 </dev/null` in
5417 *GNU
* |
*'with BFD'*)
5418 lt_cv_prog_gnu_ld
=yes
5421 lt_cv_prog_gnu_ld
=no
5425 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5426 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5427 with_gnu_ld
=$lt_cv_prog_gnu_ld
5437 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5438 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5439 if test "${lt_cv_path_NM+set}" = set; then
5440 echo $ECHO_N "(cached) $ECHO_C" >&6
5442 if test -n "$NM"; then
5443 # Let the user override the test.
5446 lt_nm_to_check
="${ac_tool_prefix}nm"
5447 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5448 lt_nm_to_check
="$lt_nm_to_check nm"
5450 for lt_tmp_nm
in $lt_nm_to_check; do
5451 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5452 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5454 test -z "$ac_dir" && ac_dir
=.
5455 tmp_nm
="$ac_dir/$lt_tmp_nm"
5456 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5457 # Check to see if the nm accepts a BSD-compat flag.
5458 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5459 # nm: unknown option "B" ignored
5460 # Tru64's nm complains that /dev/null is an invalid object file
5461 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5462 */dev
/null
* |
*'Invalid file or object type'*)
5463 lt_cv_path_NM
="$tmp_nm -B"
5467 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5469 lt_cv_path_NM
="$tmp_nm -p"
5473 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5474 continue # so that we can try to find one that supports BSD flags
5483 : ${lt_cv_path_NM=no}
5486 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5487 echo "${ECHO_T}$lt_cv_path_NM" >&6
5488 if test "$lt_cv_path_NM" != "no"; then
5491 # Didn't find any BSD compatible name lister, look for dumpbin.
5492 if test -n "$ac_tool_prefix"; then
5493 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5495 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5496 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5497 echo "$as_me:$LINENO: checking for $ac_word" >&5
5498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5499 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5500 echo $ECHO_N "(cached) $ECHO_C" >&6
5502 if test -n "$DUMPBIN"; then
5503 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5509 test -z "$as_dir" && as_dir
=.
5510 for ac_exec_ext
in '' $ac_executable_extensions; do
5511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5512 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5521 DUMPBIN
=$ac_cv_prog_DUMPBIN
5522 if test -n "$DUMPBIN"; then
5523 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5524 echo "${ECHO_T}$DUMPBIN" >&6
5526 echo "$as_me:$LINENO: result: no" >&5
5527 echo "${ECHO_T}no" >&6
5530 test -n "$DUMPBIN" && break
5533 if test -z "$DUMPBIN"; then
5534 ac_ct_DUMPBIN
=$DUMPBIN
5535 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5537 # Extract the first word of "$ac_prog", so it can be a program name with args.
5538 set dummy
$ac_prog; ac_word
=$2
5539 echo "$as_me:$LINENO: checking for $ac_word" >&5
5540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5541 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5542 echo $ECHO_N "(cached) $ECHO_C" >&6
5544 if test -n "$ac_ct_DUMPBIN"; then
5545 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5551 test -z "$as_dir" && as_dir
=.
5552 for ac_exec_ext
in '' $ac_executable_extensions; do
5553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5554 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5563 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5564 if test -n "$ac_ct_DUMPBIN"; then
5565 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5566 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5568 echo "$as_me:$LINENO: result: no" >&5
5569 echo "${ECHO_T}no" >&6
5572 test -n "$ac_ct_DUMPBIN" && break
5574 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5576 DUMPBIN
=$ac_ct_DUMPBIN
5580 if test "$DUMPBIN" != ":"; then
5584 test -z "$NM" && NM
=nm
5591 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5592 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5593 if test "${lt_cv_nm_interface+set}" = set; then
5594 echo $ECHO_N "(cached) $ECHO_C" >&6
5596 lt_cv_nm_interface
="BSD nm"
5597 echo "int some_variable = 0;" > conftest.
$ac_ext
5598 (eval echo "\"\$as_me:5598: $ac_compile\"" >&5)
5599 (eval "$ac_compile" 2>conftest.err
)
5600 cat conftest.err
>&5
5601 (eval echo "\"\$as_me:5601: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5602 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5603 cat conftest.err
>&5
5604 (eval echo "\"\$as_me:5604: output\"" >&5)
5605 cat conftest.out
>&5
5606 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5607 lt_cv_nm_interface
="MS dumpbin"
5611 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5612 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5614 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5615 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5617 if test "$LN_S" = "ln -s"; then
5618 echo "$as_me:$LINENO: result: yes" >&5
5619 echo "${ECHO_T}yes" >&6
5621 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5622 echo "${ECHO_T}no, using $LN_S" >&6
5625 # find the maximum length of command line arguments
5626 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5627 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5628 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5629 echo $ECHO_N "(cached) $ECHO_C" >&6
5636 # On DJGPP, this test can blow up pretty badly due to problems in libc
5637 # (any single argument exceeding 2000 bytes causes a buffer overrun
5638 # during glob expansion). Even if it were fixed, the result of this
5639 # check would be larger than it should be.
5640 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5644 # Under GNU Hurd, this test is not required because there is
5645 # no limit to the length of command line arguments.
5646 # Libtool will interpret -1 as no limit whatsoever
5647 lt_cv_sys_max_cmd_len
=-1;
5650 cygwin
* | mingw
* | cegcc
*)
5651 # On Win9x/ME, this test blows up -- it succeeds, but takes
5652 # about 5 minutes as the teststring grows exponentially.
5653 # Worse, since 9x/ME are not pre-emptively multitasking,
5654 # you end up with a "frozen" computer, even though with patience
5655 # the test eventually succeeds (with a max line length of 256k).
5656 # Instead, let's just punt: use the minimum linelength reported by
5657 # all of the supported platforms: 8192 (on NT/2K/XP).
5658 lt_cv_sys_max_cmd_len
=8192;
5662 # On AmigaOS with pdksh, this test takes hours, literally.
5663 # So we just punt and use a minimum line length of 8192.
5664 lt_cv_sys_max_cmd_len
=8192;
5667 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5668 # This has been around since 386BSD, at least. Likely further.
5669 if test -x /sbin
/sysctl
; then
5670 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5671 elif test -x /usr
/sbin
/sysctl
; then
5672 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5674 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5676 # And add a safety zone
5677 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5678 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5682 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5683 lt_cv_sys_max_cmd_len
=196608
5687 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5688 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5689 # nice to cause kernel panics so lets avoid the loop below.
5690 # First set a reasonable default.
5691 lt_cv_sys_max_cmd_len
=16384
5693 if test -x /sbin
/sysconfig
; then
5694 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5695 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5700 lt_cv_sys_max_cmd_len
=102400
5702 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5703 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5704 if test -n "$kargmax"; then
5705 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5707 lt_cv_sys_max_cmd_len
=32768
5711 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5712 if test -n "$lt_cv_sys_max_cmd_len"; then
5713 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5714 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5716 # Make teststring a little bigger before we do anything with it.
5717 # a 1K string should be a reasonable start.
5718 for i
in 1 2 3 4 5 6 7 8 ; do
5719 teststring
=$teststring$teststring
5721 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5722 # If test is not a shell built-in, we'll probably end up computing a
5723 # maximum length that is only half of the actual maximum length, but
5725 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5726 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5727 test $i != 17 # 1/2 MB should be enough
5730 teststring
=$teststring$teststring
5732 # Only check the string length outside the loop.
5733 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5735 # Add a significant safety factor because C++ compilers can tack on
5736 # massive amounts of additional arguments before passing them to the
5737 # linker. It appears as though 1/2 is a usable value.
5738 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5745 if test -n $lt_cv_sys_max_cmd_len ; then
5746 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5747 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5749 echo "$as_me:$LINENO: result: none" >&5
5750 echo "${ECHO_T}none" >&6
5752 max_cmd_len
=$lt_cv_sys_max_cmd_len
5763 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5764 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5765 # Try some XSI features
5768 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5770 && eval 'test $(( 1 + 1 )) -eq 2 \
5771 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5773 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
5774 echo "${ECHO_T}$xsi_shell" >&6
5777 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
5778 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
5780 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5782 && lt_shell_append=yes
5783 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
5784 echo "${ECHO_T}$lt_shell_append" >&6
5787 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5797 # test EBCDIC or ASCII
5798 case `echo X|tr X '\101'` in
5799 A) # ASCII based system
5800 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5801 lt_SP2NL='tr \040 \012'
5802 lt_NL2SP='tr \015\012 \040\040'
5804 *) # EBCDIC based system
5805 lt_SP2NL='tr \100 \n'
5806 lt_NL2SP='tr \r\n \100\100'
5818 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
5819 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
5820 if test "${lt_cv_ld_reload_flag+set}" = set; then
5821 echo $ECHO_N "(cached
) $ECHO_C" >&6
5823 lt_cv_ld_reload_flag='-r'
5825 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
5826 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5827 reload_flag=$lt_cv_ld_reload_flag
5828 case $reload_flag in
5830 *) reload_flag=" $reload_flag" ;;
5832 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5835 if test "$GCC" = yes; then
5836 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5838 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5851 if test -n "$ac_tool_prefix"; then
5852 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5853 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5854 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5855 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5856 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5857 echo $ECHO_N "(cached
) $ECHO_C" >&6
5859 if test -n "$OBJDUMP"; then
5860 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 test -z "$as_dir" && as_dir=.
5867 for ac_exec_ext in '' $ac_executable_extensions; do
5868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5869 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5870 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5878 OBJDUMP=$ac_cv_prog_OBJDUMP
5879 if test -n "$OBJDUMP"; then
5880 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
5881 echo "${ECHO_T}$OBJDUMP" >&6
5883 echo "$as_me:$LINENO: result
: no
" >&5
5884 echo "${ECHO_T}no
" >&6
5888 if test -z "$ac_cv_prog_OBJDUMP"; then
5889 ac_ct_OBJDUMP=$OBJDUMP
5890 # Extract the first word of "objdump
", so it can be a program name with args.
5891 set dummy objdump; ac_word=$2
5892 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5893 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5894 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5895 echo $ECHO_N "(cached
) $ECHO_C" >&6
5897 if test -n "$ac_ct_OBJDUMP"; then
5898 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5907 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5908 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5914 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false
"
5917 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5918 if test -n "$ac_ct_OBJDUMP"; then
5919 echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
5920 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
5922 echo "$as_me:$LINENO: result
: no
" >&5
5923 echo "${ECHO_T}no
" >&6
5926 OBJDUMP=$ac_ct_OBJDUMP
5928 OBJDUMP="$ac_cv_prog_OBJDUMP"
5931 test -z "$OBJDUMP" && OBJDUMP=objdump
5941 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
5942 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
5943 if test "${lt_cv_deplibs_check_method+set}" = set; then
5944 echo $ECHO_N "(cached
) $ECHO_C" >&6
5946 lt_cv_file_magic_cmd='$MAGIC_CMD'
5947 lt_cv_file_magic_test_file=
5948 lt_cv_deplibs_check_method='unknown'
5949 # Need to set the preceding variable on all platforms that support
5950 # interlibrary dependencies.
5951 # 'none' -- dependencies not supported.
5952 # `unknown' -- same as none, but documents that we really don't know.
5953 # 'pass_all' -- all dependencies passed with no checks.
5954 # 'test_compile' -- check by making test program.
5955 # 'file_magic [[regex]]' -- check by looking for files in library path
5956 # which responds to the $file_magic_cmd with a given extended regex.
5957 # If you have `file' or equivalent on your system and you're not sure
5958 # whether `pass_all' will *always* work, you probably want this one.
5962 lt_cv_deplibs_check_method=pass_all
5966 lt_cv_deplibs_check_method=pass_all
5970 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5971 lt_cv_file_magic_cmd='/usr/bin/file -L'
5972 lt_cv_file_magic_test_file=/shlib/libc.so
5976 # func_win32_libid is a shell function defined in ltmain.sh
5977 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5978 lt_cv_file_magic_cmd='func_win32_libid'
5982 # Base MSYS/MinGW do not provide the 'file' command needed by
5983 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5984 # unless we find 'file', for example because we are cross-compiling.
5985 if ( file / ) >/dev/null 2>&1; then
5986 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5987 lt_cv_file_magic_cmd='func_win32_libid'
5989 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5990 lt_cv_file_magic_cmd='$OBJDUMP -f'
5995 # use the weaker test based on 'objdump'. See mingw*.
5996 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5997 lt_cv_file_magic_cmd='$OBJDUMP -f'
6000 darwin* | rhapsody*)
6001 lt_cv_deplibs_check_method=pass_all
6004 freebsd* | dragonfly*)
6005 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6008 # Not sure whether the presence of OpenBSD here was a mistake.
6009 # Let's accept both of them until this is cleared up.
6010 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6011 lt_cv_file_magic_cmd=/usr/bin/file
6012 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6016 lt_cv_deplibs_check_method=pass_all
6021 lt_cv_deplibs_check_method=pass_all
6024 hpux10.20* | hpux11*)
6025 lt_cv_file_magic_cmd=/usr/bin/file
6028 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6029 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6032 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]'
6033 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6036 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6037 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6043 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6044 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6047 irix5* | irix6* | nonstopux*)
6049 *-32|*"-32 ") libmagic=32-bit;;
6050 *-n32|*"-n32 ") libmagic=N32;;
6051 *-64|*"-64 ") libmagic=64-bit;;
6052 *) libmagic=never-match;;
6054 lt_cv_deplibs_check_method=pass_all
6057 # This must be Linux ELF.
6058 linux* | k*bsd*-gnu)
6059 lt_cv_deplibs_check_method=pass_all
6063 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6064 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6066 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6071 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6072 lt_cv_file_magic_cmd=/usr/bin/file
6073 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6077 lt_cv_deplibs_check_method=pass_all
6081 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6082 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6084 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6088 osf3* | osf4* | osf5*)
6089 lt_cv_deplibs_check_method=pass_all
6093 lt_cv_deplibs_check_method=pass_all
6097 lt_cv_deplibs_check_method=pass_all
6100 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6101 lt_cv_deplibs_check_method=pass_all
6105 case $host_vendor in
6107 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]'
6108 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6111 lt_cv_deplibs_check_method=pass_all
6114 lt_cv_file_magic_cmd='/bin/file'
6115 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6118 lt_cv_file_magic_cmd='/bin/file'
6119 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6120 lt_cv_file_magic_test_file=/lib/libc.so
6123 lt_cv_deplibs_check_method=pass_all
6126 lt_cv_deplibs_check_method=pass_all
6132 lt_cv_deplibs_check_method=pass_all
6137 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6138 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6139 file_magic_cmd=$lt_cv_file_magic_cmd
6140 deplibs_check_method=$lt_cv_deplibs_check_method
6141 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6154 if test -n "$ac_tool_prefix"; then
6155 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6156 set dummy ${ac_tool_prefix}ar; ac_word=$2
6157 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6158 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6159 if test "${ac_cv_prog_AR+set}" = set; then
6160 echo $ECHO_N "(cached
) $ECHO_C" >&6
6162 if test -n "$AR"; then
6163 ac_cv_prog_AR="$AR" # Let the user override the test.
6165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6169 test -z "$as_dir" && as_dir=.
6170 for ac_exec_ext in '' $ac_executable_extensions; do
6171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6172 ac_cv_prog_AR="${ac_tool_prefix}ar"
6173 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6182 if test -n "$AR"; then
6183 echo "$as_me:$LINENO: result
: $AR" >&5
6184 echo "${ECHO_T}$AR" >&6
6186 echo "$as_me:$LINENO: result
: no
" >&5
6187 echo "${ECHO_T}no
" >&6
6191 if test -z "$ac_cv_prog_AR"; then
6193 # Extract the first word of "ar", so it can be a program name with args.
6194 set dummy ar; ac_word=$2
6195 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6196 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6197 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6198 echo $ECHO_N "(cached
) $ECHO_C" >&6
6200 if test -n "$ac_ct_AR"; then
6201 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6207 test -z "$as_dir" && as_dir=.
6208 for ac_exec_ext in '' $ac_executable_extensions; do
6209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6210 ac_cv_prog_ac_ct_AR="ar"
6211 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6217 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6220 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6221 if test -n "$ac_ct_AR"; then
6222 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6223 echo "${ECHO_T}$ac_ct_AR" >&6
6225 echo "$as_me:$LINENO: result
: no
" >&5
6226 echo "${ECHO_T}no
" >&6
6234 test -z "$AR" && AR=ar
6235 test -z "$AR_FLAGS" && AR_FLAGS=cru
6247 if test -n "$ac_tool_prefix"; then
6248 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6249 set dummy ${ac_tool_prefix}strip; ac_word=$2
6250 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6251 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6252 if test "${ac_cv_prog_STRIP+set}" = set; then
6253 echo $ECHO_N "(cached
) $ECHO_C" >&6
6255 if test -n "$STRIP"; then
6256 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6262 test -z "$as_dir" && as_dir=.
6263 for ac_exec_ext in '' $ac_executable_extensions; do
6264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6265 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6266 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6274 STRIP=$ac_cv_prog_STRIP
6275 if test -n "$STRIP"; then
6276 echo "$as_me:$LINENO: result
: $STRIP" >&5
6277 echo "${ECHO_T}$STRIP" >&6
6279 echo "$as_me:$LINENO: result
: no
" >&5
6280 echo "${ECHO_T}no
" >&6
6284 if test -z "$ac_cv_prog_STRIP"; then
6286 # Extract the first word of "strip
", so it can be a program name with args.
6287 set dummy strip; ac_word=$2
6288 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6289 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6290 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6291 echo $ECHO_N "(cached
) $ECHO_C" >&6
6293 if test -n "$ac_ct_STRIP"; then
6294 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6300 test -z "$as_dir" && as_dir=.
6301 for ac_exec_ext in '' $ac_executable_extensions; do
6302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6303 ac_cv_prog_ac_ct_STRIP="strip
"
6304 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6310 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6313 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6314 if test -n "$ac_ct_STRIP"; then
6315 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6316 echo "${ECHO_T}$ac_ct_STRIP" >&6
6318 echo "$as_me:$LINENO: result
: no
" >&5
6319 echo "${ECHO_T}no
" >&6
6324 STRIP="$ac_cv_prog_STRIP"
6327 test -z "$STRIP" && STRIP=:
6334 if test -n "$ac_tool_prefix"; then
6335 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6336 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6337 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6338 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6339 if test "${ac_cv_prog_RANLIB+set}" = set; then
6340 echo $ECHO_N "(cached
) $ECHO_C" >&6
6342 if test -n "$RANLIB"; then
6343 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6349 test -z "$as_dir" && as_dir=.
6350 for ac_exec_ext in '' $ac_executable_extensions; do
6351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6352 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6353 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6361 RANLIB=$ac_cv_prog_RANLIB
6362 if test -n "$RANLIB"; then
6363 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6364 echo "${ECHO_T}$RANLIB" >&6
6366 echo "$as_me:$LINENO: result
: no
" >&5
6367 echo "${ECHO_T}no
" >&6
6371 if test -z "$ac_cv_prog_RANLIB"; then
6372 ac_ct_RANLIB=$RANLIB
6373 # Extract the first word of "ranlib
", so it can be a program name with args.
6374 set dummy ranlib; ac_word=$2
6375 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6376 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6377 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6378 echo $ECHO_N "(cached
) $ECHO_C" >&6
6380 if test -n "$ac_ct_RANLIB"; then
6381 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6387 test -z "$as_dir" && as_dir=.
6388 for ac_exec_ext in '' $ac_executable_extensions; do
6389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6390 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6391 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6397 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6400 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6401 if test -n "$ac_ct_RANLIB"; then
6402 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6403 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6405 echo "$as_me:$LINENO: result
: no
" >&5
6406 echo "${ECHO_T}no
" >&6
6409 RANLIB=$ac_ct_RANLIB
6411 RANLIB="$ac_cv_prog_RANLIB"
6414 test -z "$RANLIB" && RANLIB=:
6421 # Determine commands to create old-style static archives.
6422 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6423 old_postinstall_cmds='chmod 644 $oldlib'
6424 old_postuninstall_cmds=
6426 if test -n "$RANLIB"; then
6429 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6432 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6435 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6471 # If no C compiler was specified, use CC.
6474 # If no C compiler flags were specified, use CFLAGS.
6475 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6477 # Allow CC to be a program name with arguments.
6481 # Check for command to grab the raw symbol name followed by C symbol from nm.
6482 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6483 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6484 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6485 echo $ECHO_N "(cached
) $ECHO_C" >&6
6488 # These are sane defaults that work on at least a few old systems.
6489 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6491 # Character class describing NM global symbol codes.
6492 symcode='[BCDEGRST]'
6494 # Regexp to match symbols that can be accessed directly from C.
6495 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6497 # Define system-specific variables.
6502 cygwin* | mingw* | pw32* | cegcc*)
6503 symcode='[ABCDGISTW]'
6506 if test "$host_cpu" = ia64; then
6507 symcode='[ABCDEGRST]'
6511 symcode='[BCDEGRST]'
6514 symcode='[BCDEGQRST]'
6525 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6533 # If we're using GNU nm, then use its standard symbol codes.
6534 case `$NM -V 2>&1` in
6535 *GNU* | *'with BFD'*)
6536 symcode='[ABCDGIRSTW]' ;;
6539 # Transform an extracted symbol line into a proper C declaration.
6540 # Some systems (esp. on ia64) link data and code symbols differently,
6541 # so use this general approach.
6542 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6544 # Transform an extracted symbol line into symbol name and symbol address
6545 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6546 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6548 # Handle CRLF in mingw tool chain
6552 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6556 # Try without a prefix underscore, then with it.
6557 for ac_symprfx in "" "_
"; do
6559 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6560 symxfrm="\\1 $ac_symprfx\\2 \\2"
6562 # Write the raw and C identifiers.
6563 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6564 # Fake it for dumpbin and say T for any non-static function
6565 # and D for any global variable.
6566 # Also find C++ and __fastcall symbols from MSVC++,
6567 # which start with @ or ?.
6568 lt_cv_sys_global_symbol_pipe="$AWK '"\
6569 " {last_section=section; section=\$ 3};"\
6570 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6571 " \$ 0!~/External *\|/{next};"\
6572 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6573 " {if(hide[section]) next};"\
6574 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6575 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6576 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6577 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6578 " ' prfx
=^
$ac_symprfx"
6580 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6583 # Check to see that the pipe works correctly.
6587 cat > conftest.$ac_ext <<_LT_EOF
6592 void nm_test_func(void);
6593 void nm_test_func(void){}
6597 int main(){nm_test_var='a';nm_test_func();return(0);}
6600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6601 (eval $ac_compile) 2>&5
6603 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6604 (exit $ac_status); }; then
6605 # Now try to grab the symbols.
6607 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6608 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6610 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6611 (exit $ac_status); } && test -s "$nlist"; then
6612 # Try sorting and uniquifying the output.
6613 if sort "$nlist" | uniq > "$nlist"T; then
6614 mv -f "$nlist"T "$nlist"
6619 # Make sure that we snagged all the symbols we need.
6620 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6621 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6622 cat <<_LT_EOF > conftest.$ac_ext
6628 # Now generate the symbol file.
6629 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6631 cat <<_LT_EOF >> conftest.$ac_ext
6633 /* The mapping between symbol names and symbols. */
6638 lt__PROGRAM__LTX_preloaded_symbols[] =
6640 { "@PROGRAM@
", (void *) 0 },
6642 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6643 cat <<\_LT_EOF >> conftest.$ac_ext
6647 /* This works around a problem in FreeBSD linker */
6648 #ifdef FREEBSD_WORKAROUND
6649 static const void *lt_preloaded_setup() {
6650 return lt__PROGRAM__LTX_preloaded_symbols;
6658 # Now try linking the two files.
6659 mv conftest.$ac_objext conftstm.$ac_objext
6660 lt_save_LIBS="$LIBS"
6661 lt_save_CFLAGS="$CFLAGS"
6662 LIBS="conftstm.
$ac_objext"
6663 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6665 (eval $ac_link) 2>&5
6667 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6668 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6671 LIBS="$lt_save_LIBS"
6672 CFLAGS="$lt_save_CFLAGS"
6674 echo "cannot
find nm_test_func
in $nlist" >&5
6677 echo "cannot
find nm_test_var
in $nlist" >&5
6680 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6683 echo "$progname: failed program was
:" >&5
6684 cat conftest.$ac_ext >&5
6686 rm -rf conftest* conftst*
6688 # Do not use the global_symbol_pipe unless it works.
6689 if test "$pipe_works" = yes; then
6692 lt_cv_sys_global_symbol_pipe=
6698 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6699 lt_cv_sys_global_symbol_to_cdecl=
6701 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6702 echo "$as_me:$LINENO: result
: failed
" >&5
6703 echo "${ECHO_T}failed
" >&6
6705 echo "$as_me:$LINENO: result
: ok
" >&5
6706 echo "${ECHO_T}ok
" >&6
6730 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6731 if test "${enable_libtool_lock+set}" = set; then
6732 enableval="$enable_libtool_lock"
6735 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6737 # Some flags need to be propagated to the compiler or linker for good
6741 # Find out which ABI we are using.
6742 echo 'int i;' > conftest.$ac_ext
6743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6744 (eval $ac_compile) 2>&5
6746 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6747 (exit $ac_status); }; then
6748 case `/usr/bin/file conftest.$ac_objext` in
6760 # Find out which ABI we are using.
6761 echo '#line 6761 "configure
"' > conftest.$ac_ext
6762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6763 (eval $ac_compile) 2>&5
6765 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6766 (exit $ac_status); }; then
6767 if test "$lt_cv_prog_gnu_ld" = yes; then
6768 case `/usr/bin/file conftest.$ac_objext` in
6770 LD="${LD-ld} -melf32bsmip"
6773 LD="${LD-ld} -melf32bmipn32"
6776 LD="${LD-ld} -melf64bmip"
6780 case `/usr/bin/file conftest.$ac_objext` in
6796 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6797 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6798 # Find out which ABI we are using.
6799 echo 'int i;' > conftest.$ac_ext
6800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6801 (eval $ac_compile) 2>&5
6803 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6804 (exit $ac_status); }; then
6805 case `/usr/bin/file conftest.o` in
6808 x86_64-*kfreebsd*-gnu)
6809 LD="${LD-ld} -m elf_i386_fbsd
"
6812 LD="${LD-ld} -m elf_i386
"
6814 ppc64-*linux*|powerpc64-*linux*)
6815 LD="${LD-ld} -m elf32ppclinux
"
6818 LD="${LD-ld} -m elf_s390
"
6821 LD="${LD-ld} -m elf32_sparc
"
6827 x86_64-*kfreebsd*-gnu)
6828 LD="${LD-ld} -m elf_x86_64_fbsd
"
6831 LD="${LD-ld} -m elf_x86_64
"
6833 ppc*-*linux*|powerpc*-*linux*)
6834 LD="${LD-ld} -m elf64ppc
"
6836 s390*-*linux*|s390*-*tpf*)
6837 LD="${LD-ld} -m elf64_s390
"
6840 LD="${LD-ld} -m elf64_sparc
"
6850 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6851 SAVE_CFLAGS="$CFLAGS"
6852 CFLAGS="$CFLAGS -belf"
6853 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6854 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
6855 if test "${lt_cv_cc_needs_belf+set}" = set; then
6856 echo $ECHO_N "(cached
) $ECHO_C" >&6
6859 ac_cpp='$CPP $CPPFLAGS'
6860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6864 cat >conftest.$ac_ext <<_ACEOF
6867 cat confdefs.h >>conftest.$ac_ext
6868 cat >>conftest.$ac_ext <<_ACEOF
6869 /* end confdefs.h. */
6879 rm -f conftest.$ac_objext conftest$ac_exeext
6880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6881 (eval $ac_link) 2>conftest.er1
6883 grep -v '^ *+' conftest.er1 >conftest.err
6885 cat conftest.err >&5
6886 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6887 (exit $ac_status); } &&
6888 { ac_try='test -z "$ac_c_werror_flag"
6889 || test ! -s conftest.err'
6890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6893 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6894 (exit $ac_status); }; } &&
6895 { ac_try='test -s conftest$ac_exeext'
6896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6899 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6900 (exit $ac_status); }; }; then
6901 lt_cv_cc_needs_belf=yes
6903 echo "$as_me: failed program was
:" >&5
6904 sed 's/^/| /' conftest.$ac_ext >&5
6906 lt_cv_cc_needs_belf=no
6908 rm -f conftest.err conftest.$ac_objext \
6909 conftest$ac_exeext conftest.$ac_ext
6911 ac_cpp='$CPP $CPPFLAGS'
6912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6917 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
6918 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6919 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6920 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6921 CFLAGS="$SAVE_CFLAGS"
6925 # Find out which ABI we are using.
6926 echo 'int i;' > conftest.$ac_ext
6927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6928 (eval $ac_compile) 2>&5
6930 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6931 (exit $ac_status); }; then
6932 case `/usr/bin/file conftest.o` in
6934 case $lt_cv_prog_gnu_ld in
6935 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6937 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6949 need_locks="$enable_libtool_lock"
6953 rhapsody* | darwin*)
6954 if test -n "$ac_tool_prefix"; then
6955 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6956 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6957 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6958 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6959 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6960 echo $ECHO_N "(cached
) $ECHO_C" >&6
6962 if test -n "$DSYMUTIL"; then
6963 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6969 test -z "$as_dir" && as_dir=.
6970 for ac_exec_ext in '' $ac_executable_extensions; do
6971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6972 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6973 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6981 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6982 if test -n "$DSYMUTIL"; then
6983 echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
6984 echo "${ECHO_T}$DSYMUTIL" >&6
6986 echo "$as_me:$LINENO: result
: no
" >&5
6987 echo "${ECHO_T}no
" >&6
6991 if test -z "$ac_cv_prog_DSYMUTIL"; then
6992 ac_ct_DSYMUTIL=$DSYMUTIL
6993 # Extract the first word of "dsymutil
", so it can be a program name with args.
6994 set dummy dsymutil; ac_word=$2
6995 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6996 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6997 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6998 echo $ECHO_N "(cached
) $ECHO_C" >&6
7000 if test -n "$ac_ct_DSYMUTIL"; then
7001 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 test -z "$as_dir" && as_dir=.
7008 for ac_exec_ext in '' $ac_executable_extensions; do
7009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7010 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7011 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7017 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
7020 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7021 if test -n "$ac_ct_DSYMUTIL"; then
7022 echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
7023 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
7025 echo "$as_me:$LINENO: result
: no
" >&5
7026 echo "${ECHO_T}no
" >&6
7029 DSYMUTIL=$ac_ct_DSYMUTIL
7031 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7034 if test -n "$ac_tool_prefix"; then
7035 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7036 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7037 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7038 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7039 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7040 echo $ECHO_N "(cached
) $ECHO_C" >&6
7042 if test -n "$NMEDIT"; then
7043 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7049 test -z "$as_dir" && as_dir=.
7050 for ac_exec_ext in '' $ac_executable_extensions; do
7051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7052 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7053 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7061 NMEDIT=$ac_cv_prog_NMEDIT
7062 if test -n "$NMEDIT"; then
7063 echo "$as_me:$LINENO: result
: $NMEDIT" >&5
7064 echo "${ECHO_T}$NMEDIT" >&6
7066 echo "$as_me:$LINENO: result
: no
" >&5
7067 echo "${ECHO_T}no
" >&6
7071 if test -z "$ac_cv_prog_NMEDIT"; then
7072 ac_ct_NMEDIT=$NMEDIT
7073 # Extract the first word of "nmedit
", so it can be a program name with args.
7074 set dummy nmedit; ac_word=$2
7075 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7076 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7077 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7078 echo $ECHO_N "(cached
) $ECHO_C" >&6
7080 if test -n "$ac_ct_NMEDIT"; then
7081 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 test -z "$as_dir" && as_dir=.
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7090 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7091 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7097 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
7100 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7101 if test -n "$ac_ct_NMEDIT"; then
7102 echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
7103 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
7105 echo "$as_me:$LINENO: result
: no
" >&5
7106 echo "${ECHO_T}no
" >&6
7109 NMEDIT=$ac_ct_NMEDIT
7111 NMEDIT="$ac_cv_prog_NMEDIT"
7114 if test -n "$ac_tool_prefix"; then
7115 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7116 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7117 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7118 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7119 if test "${ac_cv_prog_LIPO+set}" = set; then
7120 echo $ECHO_N "(cached
) $ECHO_C" >&6
7122 if test -n "$LIPO"; then
7123 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129 test -z "$as_dir" && as_dir=.
7130 for ac_exec_ext in '' $ac_executable_extensions; do
7131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7132 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7133 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7141 LIPO=$ac_cv_prog_LIPO
7142 if test -n "$LIPO"; then
7143 echo "$as_me:$LINENO: result
: $LIPO" >&5
7144 echo "${ECHO_T}$LIPO" >&6
7146 echo "$as_me:$LINENO: result
: no
" >&5
7147 echo "${ECHO_T}no
" >&6
7151 if test -z "$ac_cv_prog_LIPO"; then
7153 # Extract the first word of "lipo
", so it can be a program name with args.
7154 set dummy lipo; ac_word=$2
7155 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7156 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7157 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7158 echo $ECHO_N "(cached
) $ECHO_C" >&6
7160 if test -n "$ac_ct_LIPO"; then
7161 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7167 test -z "$as_dir" && as_dir=.
7168 for ac_exec_ext in '' $ac_executable_extensions; do
7169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7170 ac_cv_prog_ac_ct_LIPO="lipo
"
7171 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7177 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
7180 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7181 if test -n "$ac_ct_LIPO"; then
7182 echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
7183 echo "${ECHO_T}$ac_ct_LIPO" >&6
7185 echo "$as_me:$LINENO: result
: no
" >&5
7186 echo "${ECHO_T}no
" >&6
7191 LIPO="$ac_cv_prog_LIPO"
7194 if test -n "$ac_tool_prefix"; then
7195 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7196 set dummy ${ac_tool_prefix}otool; ac_word=$2
7197 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7198 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7199 if test "${ac_cv_prog_OTOOL+set}" = set; then
7200 echo $ECHO_N "(cached
) $ECHO_C" >&6
7202 if test -n "$OTOOL"; then
7203 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7209 test -z "$as_dir" && as_dir=.
7210 for ac_exec_ext in '' $ac_executable_extensions; do
7211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7212 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7213 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7221 OTOOL=$ac_cv_prog_OTOOL
7222 if test -n "$OTOOL"; then
7223 echo "$as_me:$LINENO: result
: $OTOOL" >&5
7224 echo "${ECHO_T}$OTOOL" >&6
7226 echo "$as_me:$LINENO: result
: no
" >&5
7227 echo "${ECHO_T}no
" >&6
7231 if test -z "$ac_cv_prog_OTOOL"; then
7233 # Extract the first word of "otool
", so it can be a program name with args.
7234 set dummy otool; ac_word=$2
7235 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7236 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7237 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7238 echo $ECHO_N "(cached
) $ECHO_C" >&6
7240 if test -n "$ac_ct_OTOOL"; then
7241 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7247 test -z "$as_dir" && as_dir=.
7248 for ac_exec_ext in '' $ac_executable_extensions; do
7249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7250 ac_cv_prog_ac_ct_OTOOL="otool
"
7251 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7257 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
7260 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7261 if test -n "$ac_ct_OTOOL"; then
7262 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
7263 echo "${ECHO_T}$ac_ct_OTOOL" >&6
7265 echo "$as_me:$LINENO: result
: no
" >&5
7266 echo "${ECHO_T}no
" >&6
7271 OTOOL="$ac_cv_prog_OTOOL"
7274 if test -n "$ac_tool_prefix"; then
7275 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7276 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7277 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7278 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7279 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7280 echo $ECHO_N "(cached
) $ECHO_C" >&6
7282 if test -n "$OTOOL64"; then
7283 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7289 test -z "$as_dir" && as_dir=.
7290 for ac_exec_ext in '' $ac_executable_extensions; do
7291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7292 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7293 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7301 OTOOL64=$ac_cv_prog_OTOOL64
7302 if test -n "$OTOOL64"; then
7303 echo "$as_me:$LINENO: result
: $OTOOL64" >&5
7304 echo "${ECHO_T}$OTOOL64" >&6
7306 echo "$as_me:$LINENO: result
: no
" >&5
7307 echo "${ECHO_T}no
" >&6
7311 if test -z "$ac_cv_prog_OTOOL64"; then
7312 ac_ct_OTOOL64=$OTOOL64
7313 # Extract the first word of "otool64
", so it can be a program name with args.
7314 set dummy otool64; ac_word=$2
7315 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7316 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7317 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7318 echo $ECHO_N "(cached
) $ECHO_C" >&6
7320 if test -n "$ac_ct_OTOOL64"; then
7321 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7327 test -z "$as_dir" && as_dir=.
7328 for ac_exec_ext in '' $ac_executable_extensions; do
7329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7330 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7331 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7337 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
7340 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7341 if test -n "$ac_ct_OTOOL64"; then
7342 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
7343 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
7345 echo "$as_me:$LINENO: result
: no
" >&5
7346 echo "${ECHO_T}no
" >&6
7349 OTOOL64=$ac_ct_OTOOL64
7351 OTOOL64="$ac_cv_prog_OTOOL64"
7380 echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
7381 echo $ECHO_N "checking
for -single_module linker flag...
$ECHO_C" >&6
7382 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7383 echo $ECHO_N "(cached
) $ECHO_C" >&6
7385 lt_cv_apple_cc_single_mod=no
7386 if test -z "${LT_MULTI_MODULE}"; then
7387 # By default we will add the -single_module flag. You can override
7388 # by either setting the environment variable LT_MULTI_MODULE
7389 # non-empty at configure time, or by adding -multi_module to the
7391 rm -rf libconftest.dylib*
7392 echo "int foo
(void
){return 1;}" > conftest.c
7393 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7394 -dynamiclib -Wl,-single_module conftest.c
" >&5
7395 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7396 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7398 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7399 lt_cv_apple_cc_single_mod=yes
7401 cat conftest.err >&5
7403 rm -rf libconftest.dylib*
7407 echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
7408 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
7409 echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
7410 echo $ECHO_N "checking
for -exported_symbols_list linker flag...
$ECHO_C" >&6
7411 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7412 echo $ECHO_N "(cached
) $ECHO_C" >&6
7414 lt_cv_ld_exported_symbols_list=no
7415 save_LDFLAGS=$LDFLAGS
7416 echo "_main
" > conftest.sym
7417 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7418 cat >conftest.$ac_ext <<_ACEOF
7421 cat confdefs.h >>conftest.$ac_ext
7422 cat >>conftest.$ac_ext <<_ACEOF
7423 /* end confdefs.h. */
7433 rm -f conftest.$ac_objext conftest$ac_exeext
7434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7435 (eval $ac_link) 2>conftest.er1
7437 grep -v '^ *+' conftest.er1 >conftest.err
7439 cat conftest.err >&5
7440 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7441 (exit $ac_status); } &&
7442 { ac_try='test -z "$ac_c_werror_flag"
7443 || test ! -s conftest.err'
7444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7447 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7448 (exit $ac_status); }; } &&
7449 { ac_try='test -s conftest$ac_exeext'
7450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7453 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7454 (exit $ac_status); }; }; then
7455 lt_cv_ld_exported_symbols_list=yes
7457 echo "$as_me: failed program was
:" >&5
7458 sed 's/^/| /' conftest.$ac_ext >&5
7460 lt_cv_ld_exported_symbols_list=no
7462 rm -f conftest.err conftest.$ac_objext \
7463 conftest$ac_exeext conftest.$ac_ext
7464 LDFLAGS="$save_LDFLAGS"
7467 echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
7468 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
7470 rhapsody* | darwin1.[012])
7471 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7473 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7474 darwin*) # darwin 5.x on
7475 # if running on 10.5 or later, the deployment target defaults
7476 # to the OS version, if on x86, and 10.4, the deployment
7477 # target defaults to 10.4. Don't you love it?
7478 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7479 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7480 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7482 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7484 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7488 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7489 _lt_dar_single_mod='$single_module'
7491 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7492 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7494 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7496 if test "$DSYMUTIL" != ":"; then
7497 _lt_dsymutil='~$DSYMUTIL $lib || :'
7505 for ac_header in dlfcn.h
7507 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7508 echo "$as_me:$LINENO: checking
for $ac_header" >&5
7509 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6
7510 if eval "test \"\
${$as_ac_Header+set}\" = set"; then
7511 echo $ECHO_N "(cached
) $ECHO_C" >&6
7513 cat >conftest.$ac_ext <<_ACEOF
7516 cat confdefs.h >>conftest.$ac_ext
7517 cat >>conftest.$ac_ext <<_ACEOF
7518 /* end confdefs.h. */
7519 $ac_includes_default
7521 #include <$ac_header>
7523 rm -f conftest.$ac_objext
7524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7525 (eval $ac_compile) 2>conftest.er1
7527 grep -v '^ *+' conftest.er1 >conftest.err
7529 cat conftest.err >&5
7530 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7531 (exit $ac_status); } &&
7532 { ac_try='test -z "$ac_c_werror_flag"
7533 || test ! -s conftest.err'
7534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7537 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7538 (exit $ac_status); }; } &&
7539 { ac_try='test -s conftest.$ac_objext'
7540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7543 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7544 (exit $ac_status); }; }; then
7545 eval "$as_ac_Header=yes"
7547 echo "$as_me: failed program was
:" >&5
7548 sed 's/^/| /' conftest.$ac_ext >&5
7550 eval "$as_ac_Header=no
"
7552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7554 echo "$as_me:$LINENO: result
: `eval echo '${'$as_ac_Header'}'`" >&5
7555 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7556 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7557 cat >>confdefs.h <<_ACEOF
7558 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7577 # Check whether --enable-shared or --disable-shared was given.
7578 if test "${enable_shared+set}" = set; then
7579 enableval="$enable_shared"
7580 p=${PACKAGE-default}
7582 yes) enable_shared=yes ;;
7583 no) enable_shared=no ;;
7586 # Look at the argument we got. We use all the common list separators.
7587 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7588 for pkg in $enableval; do
7590 if test "X
$pkg" = "X
$p"; then
7608 # Check whether --enable-static or --disable-static was given.
7609 if test "${enable_static+set}" = set; then
7610 enableval="$enable_static"
7611 p=${PACKAGE-default}
7613 yes) enable_static=yes ;;
7614 no) enable_static=no ;;
7617 # Look at the argument we got. We use all the common list separators.
7618 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7619 for pkg in $enableval; do
7621 if test "X
$pkg" = "X
$p"; then
7640 # Check whether --with-pic or --without-pic was given.
7641 if test "${with_pic+set}" = set; then
7648 test -z "$pic_mode" && pic_mode=default
7656 # Check whether --enable-fast-install or --disable-fast-install was given.
7657 if test "${enable_fast_install+set}" = set; then
7658 enableval="$enable_fast_install"
7659 p=${PACKAGE-default}
7661 yes) enable_fast_install=yes ;;
7662 no) enable_fast_install=no ;;
7664 enable_fast_install=no
7665 # Look at the argument we got. We use all the common list separators.
7666 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7667 for pkg in $enableval; do
7669 if test "X
$pkg" = "X
$p"; then
7670 enable_fast_install=yes
7677 enable_fast_install=yes
7689 # This can be used to rebuild libtool when needed
7690 LIBTOOL_DEPS="$ltmain"
7692 # Always use our own libtool.
7693 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7719 test -z "$LN_S" && LN_S="ln -s"
7734 if test -n "${ZSH_VERSION+set}" ; then
7735 setopt NO_GLOB_SUBST
7738 echo "$as_me:$LINENO: checking
for objdir
" >&5
7739 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6
7740 if test "${lt_cv_objdir+set}" = set; then
7741 echo $ECHO_N "(cached
) $ECHO_C" >&6
7743 rm -f .libs 2>/dev/null
7744 mkdir .libs 2>/dev/null
7745 if test -d .libs; then
7748 # MS-DOS does not allow filenames that begin with a dot.
7751 rmdir .libs 2>/dev/null
7753 echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
7754 echo "${ECHO_T}$lt_cv_objdir" >&6
7755 objdir=$lt_cv_objdir
7761 cat >>confdefs.h <<_ACEOF
7762 #define LT_OBJDIR "$lt_cv_objdir/"
7783 # AIX sometimes has problems with the GCC collect2 program. For some
7784 # reason, if we set the COLLECT_NAMES environment variable, the problems
7785 # vanish in a puff of smoke.
7786 if test "X
${COLLECT_NAMES+set}" != Xset; then
7788 export COLLECT_NAMES
7793 # Sed substitution that helps us do robust quoting. It backslashifies
7794 # metacharacters that are still active within double-quoted strings.
7795 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7797 # Same as above, but do not quote variable references.
7798 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7800 # Sed substitution to delay expansion of an escaped shell variable in a
7801 # double_quote_subst'ed string.
7802 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7804 # Sed substitution to delay expansion of an escaped single quote.
7805 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7807 # Sed substitution to avoid accidental globbing in evaled expressions
7808 no_glob_subst
='s/\*/\\\*/g'
7812 can_build_shared
=yes
7814 # All known linkers require a `.a' archive for static linking (except MSVC,
7815 # which needs '.lib').
7818 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7821 old_CFLAGS
="$CFLAGS"
7823 # Set sane defaults for various variables
7824 test -z "$CC" && CC
=cc
7825 test -z "$LTCC" && LTCC
=$CC
7826 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7827 test -z "$LD" && LD
=ld
7828 test -z "$ac_objext" && ac_objext
=o
7830 for cc_temp
in $compiler""; do
7832 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7833 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7838 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7841 # Only perform the check for file, if the check method requires it
7842 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7843 case $deplibs_check_method in
7845 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7846 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7847 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7848 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7849 echo $ECHO_N "(cached) $ECHO_C" >&6
7853 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7856 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7857 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7858 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7859 for ac_dir
in $ac_dummy; do
7861 test -z "$ac_dir" && ac_dir
=.
7862 if test -f $ac_dir/${ac_tool_prefix}file; then
7863 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7864 if test -n "$file_magic_test_file"; then
7865 case $deplibs_check_method in
7867 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7868 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7869 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7870 $EGREP "$file_magic_regex" > /dev
/null
; then
7875 *** Warning: the command libtool uses to detect shared libraries,
7876 *** $file_magic_cmd, produces output that libtool cannot recognize.
7877 *** The result is that libtool may fail to recognize shared libraries
7878 *** as such. This will affect the creation of libtool libraries that
7879 *** depend on shared libraries, but programs linked with such libtool
7880 *** libraries will work regardless of this problem. Nevertheless, you
7881 *** may want to report the problem to your system manager and/or to
7882 *** bug-libtool@gnu.org
7892 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7897 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7898 if test -n "$MAGIC_CMD"; then
7899 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7900 echo "${ECHO_T}$MAGIC_CMD" >&6
7902 echo "$as_me:$LINENO: result: no" >&5
7903 echo "${ECHO_T}no" >&6
7910 if test -z "$lt_cv_path_MAGIC_CMD"; then
7911 if test -n "$ac_tool_prefix"; then
7912 echo "$as_me:$LINENO: checking for file" >&5
7913 echo $ECHO_N "checking for file... $ECHO_C" >&6
7914 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7915 echo $ECHO_N "(cached) $ECHO_C" >&6
7919 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7922 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7923 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7924 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7925 for ac_dir
in $ac_dummy; do
7927 test -z "$ac_dir" && ac_dir
=.
7928 if test -f $ac_dir/file; then
7929 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7930 if test -n "$file_magic_test_file"; then
7931 case $deplibs_check_method in
7933 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7934 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7935 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7936 $EGREP "$file_magic_regex" > /dev
/null
; then
7941 *** Warning: the command libtool uses to detect shared libraries,
7942 *** $file_magic_cmd, produces output that libtool cannot recognize.
7943 *** The result is that libtool may fail to recognize shared libraries
7944 *** as such. This will affect the creation of libtool libraries that
7945 *** depend on shared libraries, but programs linked with such libtool
7946 *** libraries will work regardless of this problem. Nevertheless, you
7947 *** may want to report the problem to your system manager and/or to
7948 *** bug-libtool@gnu.org
7958 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7963 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7964 if test -n "$MAGIC_CMD"; then
7965 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7966 echo "${ECHO_T}$MAGIC_CMD" >&6
7968 echo "$as_me:$LINENO: result: no" >&5
7969 echo "${ECHO_T}no" >&6
7982 # Use C for the default configuration in the libtool script
7986 ac_cpp
='$CPP $CPPFLAGS'
7987 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7988 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7989 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7992 # Source file extension for C test sources.
7995 # Object file extension for compiled C test sources.
7999 # Code to be used in simple compile tests
8000 lt_simple_compile_test_code
="int some_variable = 0;"
8002 # Code to be used in simple link tests
8003 lt_simple_link_test_code
='int main(){return(0);}'
8011 # If no C compiler was specified, use CC.
8014 # If no C compiler flags were specified, use CFLAGS.
8015 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8017 # Allow CC to be a program name with arguments.
8020 # Save the default compiler, since it gets overwritten when the other
8021 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8022 compiler_DEFAULT
=$CC
8024 # save warnings/boilerplate of simple test code
8025 ac_outfile
=conftest.
$ac_objext
8026 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8027 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8028 _lt_compiler_boilerplate
=`cat conftest.err`
8031 ac_outfile
=conftest.
$ac_objext
8032 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8033 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8034 _lt_linker_boilerplate
=`cat conftest.err`
8039 ## There is no encapsulation within the following macros, do not change
8040 ## the running order or otherwise move them around unless you know exactly
8041 ## what you are doing...
8042 if test -n "$compiler"; then
8044 lt_prog_compiler_no_builtin_flag
=
8046 if test "$GCC" = yes; then
8047 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8049 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8050 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8051 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8052 echo $ECHO_N "(cached) $ECHO_C" >&6
8054 lt_cv_prog_compiler_rtti_exceptions
=no
8055 ac_outfile
=conftest.
$ac_objext
8056 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8057 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8058 # Insert the option either (1) after the last *FLAGS variable, or
8059 # (2) before a word containing "conftest.", or (3) at the end.
8060 # Note that $ac_compile itself does not contain backslashes and begins
8061 # with a dollar sign (not a hyphen), so the echo should work correctly.
8062 # The option is referenced via a variable to avoid confusing sed.
8063 lt_compile
=`echo "$ac_compile" | $SED \
8064 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8065 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8066 -e 's:$: $lt_compiler_flag:'`
8067 (eval echo "\"\$as_me:8067: $lt_compile\"" >&5)
8068 (eval "$lt_compile" 2>conftest.err
)
8070 cat conftest.err
>&5
8071 echo "$as_me:8071: \$? = $ac_status" >&5
8072 if (exit $ac_status) && test -s "$ac_outfile"; then
8073 # The compiler can only warn and ignore the option if not recognized
8074 # So say no if there are warnings other than the usual output.
8075 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8076 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8077 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8078 lt_cv_prog_compiler_rtti_exceptions
=yes
8084 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8085 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8087 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8088 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8100 lt_prog_compiler_wl
=
8101 lt_prog_compiler_pic
=
8102 lt_prog_compiler_static
=
8104 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8105 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8107 if test "$GCC" = yes; then
8108 lt_prog_compiler_wl
='-Wl,'
8109 lt_prog_compiler_static
='-static'
8113 # All AIX code is PIC.
8114 if test "$host_cpu" = ia64
; then
8115 # AIX 5 now supports IA64 processor
8116 lt_prog_compiler_static
='-Bstatic'
8123 # see comment about AmigaOS4 .so support
8124 lt_prog_compiler_pic
='-fPIC'
8127 # FIXME: we need at least 68020 code to build shared libraries, but
8128 # adding the `-m68020' flag to GCC prevents building anything better,
8130 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8135 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8136 # PIC is the default for these OSes.
8139 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8140 # This hack is so that the source file can tell whether it is being
8141 # built for inclusion in a dll (and should export symbols for example).
8142 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8143 # (--disable-auto-import) libraries
8144 lt_prog_compiler_pic
='-DDLL_EXPORT'
8147 darwin
* | rhapsody
*)
8148 # PIC is the default on this platform
8149 # Common symbols not allowed in MH_DYLIB files
8150 lt_prog_compiler_pic
='-fno-common'
8154 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8155 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8156 # sets the default TLS model and affects inlining.
8162 lt_prog_compiler_pic
='-fPIC'
8168 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8169 # Instead, we relocate shared libraries at runtime.
8173 # Just because we use GCC doesn't mean we suddenly get shared libraries
8174 # on systems that don't support them.
8175 lt_prog_compiler_can_build_shared
=no
8180 # QNX uses GNU C++, but need to define -shared option too, otherwise
8182 lt_prog_compiler_pic
='-fPIC -shared'
8186 if test -d /usr
/nec
; then
8187 lt_prog_compiler_pic
=-Kconform_pic
8192 lt_prog_compiler_pic
='-fPIC'
8196 # PORTME Check for flag to pass linker flags through the system compiler.
8199 lt_prog_compiler_wl
='-Wl,'
8200 if test "$host_cpu" = ia64
; then
8201 # AIX 5 now supports IA64 processor
8202 lt_prog_compiler_static
='-Bstatic'
8204 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8208 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8209 # This hack is so that the source file can tell whether it is being
8210 # built for inclusion in a dll (and should export symbols for example).
8211 lt_prog_compiler_pic
='-DDLL_EXPORT'
8214 hpux9
* | hpux10
* | hpux11
*)
8215 lt_prog_compiler_wl
='-Wl,'
8216 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8223 lt_prog_compiler_pic
='+Z'
8226 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8227 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8230 irix5
* | irix6
* | nonstopux
*)
8231 lt_prog_compiler_wl
='-Wl,'
8232 # PIC (with -KPIC) is the default.
8233 lt_prog_compiler_static
='-non_shared'
8236 linux
* | k
*bsd
*-gnu)
8237 case $cc_basename in
8238 # old Intel for x86_64 which still supported -KPIC.
8240 lt_prog_compiler_wl
='-Wl,'
8241 lt_prog_compiler_pic
='-KPIC'
8242 lt_prog_compiler_static
='-static'
8244 # icc used to be incompatible with GCC.
8245 # ICC 10 doesn't accept -KPIC any more.
8247 lt_prog_compiler_wl
='-Wl,'
8248 lt_prog_compiler_pic
='-fPIC'
8249 lt_prog_compiler_static
='-static'
8251 # Lahey Fortran 8.1.
8253 lt_prog_compiler_wl
='-Wl,'
8254 lt_prog_compiler_pic
='--shared'
8255 lt_prog_compiler_static
='--static'
8257 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8258 # Portland Group compilers (*not* the Pentium gcc compiler,
8259 # which looks to be a dead project)
8260 lt_prog_compiler_wl
='-Wl,'
8261 lt_prog_compiler_pic
='-fpic'
8262 lt_prog_compiler_static
='-Bstatic'
8265 lt_prog_compiler_wl
='-Wl,'
8266 # All Alpha code is PIC.
8267 lt_prog_compiler_static
='-non_shared'
8270 # IBM XL C 8.0/Fortran 10.1 on PPC
8271 lt_prog_compiler_wl
='-Wl,'
8272 lt_prog_compiler_pic
='-qpic'
8273 lt_prog_compiler_static
='-qstaticlink'
8276 case `$CC -V 2>&1 | sed 5q` in
8279 lt_prog_compiler_pic
='-KPIC'
8280 lt_prog_compiler_static
='-Bstatic'
8281 lt_prog_compiler_wl
='-Wl,'
8284 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8285 lt_prog_compiler_pic
='-KPIC'
8286 lt_prog_compiler_static
='-Bstatic'
8287 lt_prog_compiler_wl
=''
8295 lt_prog_compiler_pic
='-KPIC'
8296 lt_prog_compiler_static
='-Bstatic'
8300 # QNX uses GNU C++, but need to define -shared option too, otherwise
8302 lt_prog_compiler_pic
='-fPIC -shared'
8305 osf3
* | osf4
* | osf5
*)
8306 lt_prog_compiler_wl
='-Wl,'
8307 # All OSF/1 code is PIC.
8308 lt_prog_compiler_static
='-non_shared'
8312 lt_prog_compiler_static
='-non_shared'
8316 lt_prog_compiler_pic
='-KPIC'
8317 lt_prog_compiler_static
='-Bstatic'
8318 case $cc_basename in
8320 lt_prog_compiler_wl
='-Qoption ld ';;
8322 lt_prog_compiler_wl
='-Wl,';;
8327 lt_prog_compiler_wl
='-Qoption ld '
8328 lt_prog_compiler_pic
='-PIC'
8329 lt_prog_compiler_static
='-Bstatic'
8332 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8333 lt_prog_compiler_wl
='-Wl,'
8334 lt_prog_compiler_pic
='-KPIC'
8335 lt_prog_compiler_static
='-Bstatic'
8339 if test -d /usr
/nec
;then
8340 lt_prog_compiler_pic
='-Kconform_pic'
8341 lt_prog_compiler_static
='-Bstatic'
8345 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8346 lt_prog_compiler_wl
='-Wl,'
8347 lt_prog_compiler_pic
='-KPIC'
8348 lt_prog_compiler_static
='-Bstatic'
8352 lt_prog_compiler_wl
='-Wl,'
8353 lt_prog_compiler_can_build_shared
=no
8357 lt_prog_compiler_pic
='-pic'
8358 lt_prog_compiler_static
='-Bstatic'
8362 lt_prog_compiler_can_build_shared
=no
8368 # For platforms which do not support PIC, -DPIC is meaningless:
8370 lt_prog_compiler_pic
=
8373 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8376 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8377 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8385 # Check to make sure the PIC flag actually works.
8387 if test -n "$lt_prog_compiler_pic"; then
8388 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8389 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8390 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8391 echo $ECHO_N "(cached) $ECHO_C" >&6
8393 lt_cv_prog_compiler_pic_works
=no
8394 ac_outfile
=conftest.
$ac_objext
8395 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8396 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8397 # Insert the option either (1) after the last *FLAGS variable, or
8398 # (2) before a word containing "conftest.", or (3) at the end.
8399 # Note that $ac_compile itself does not contain backslashes and begins
8400 # with a dollar sign (not a hyphen), so the echo should work correctly.
8401 # The option is referenced via a variable to avoid confusing sed.
8402 lt_compile
=`echo "$ac_compile" | $SED \
8403 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8404 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8405 -e 's:$: $lt_compiler_flag:'`
8406 (eval echo "\"\$as_me:8406: $lt_compile\"" >&5)
8407 (eval "$lt_compile" 2>conftest.err
)
8409 cat conftest.err
>&5
8410 echo "$as_me:8410: \$? = $ac_status" >&5
8411 if (exit $ac_status) && test -s "$ac_outfile"; then
8412 # The compiler can only warn and ignore the option if not recognized
8413 # So say no if there are warnings other than the usual output.
8414 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8415 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8416 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8417 lt_cv_prog_compiler_pic_works
=yes
8423 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8424 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
8426 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8427 case $lt_prog_compiler_pic in
8429 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8432 lt_prog_compiler_pic
=
8433 lt_prog_compiler_can_build_shared
=no
8444 # Check to make sure the static flag actually works.
8446 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8447 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8448 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8449 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8450 echo $ECHO_N "(cached) $ECHO_C" >&6
8452 lt_cv_prog_compiler_static_works
=no
8453 save_LDFLAGS
="$LDFLAGS"
8454 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8455 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8456 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8457 # The linker can only warn and ignore the option if not recognized
8458 # So say no if there are warnings
8459 if test -s conftest.err
; then
8460 # Append any errors to the config.log.
8461 cat conftest.err
1>&5
8462 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8463 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8464 if diff conftest.exp conftest.er2
>/dev
/null
; then
8465 lt_cv_prog_compiler_static_works
=yes
8468 lt_cv_prog_compiler_static_works
=yes
8472 LDFLAGS
="$save_LDFLAGS"
8475 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8476 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
8478 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8481 lt_prog_compiler_static
=
8490 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8491 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8492 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8493 echo $ECHO_N "(cached) $ECHO_C" >&6
8495 lt_cv_prog_compiler_c_o
=no
8496 $RM -r conftest
2>/dev
/null
8500 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8502 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8503 # Insert the option either (1) after the last *FLAGS variable, or
8504 # (2) before a word containing "conftest.", or (3) at the end.
8505 # Note that $ac_compile itself does not contain backslashes and begins
8506 # with a dollar sign (not a hyphen), so the echo should work correctly.
8507 lt_compile
=`echo "$ac_compile" | $SED \
8508 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8509 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8510 -e 's:$: $lt_compiler_flag:'`
8511 (eval echo "\"\$as_me:8511: $lt_compile\"" >&5)
8512 (eval "$lt_compile" 2>out
/conftest.err
)
8514 cat out
/conftest.err
>&5
8515 echo "$as_me:8515: \$? = $ac_status" >&5
8516 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8518 # The compiler can only warn and ignore the option if not recognized
8519 # So say no if there are warnings
8520 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8521 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8522 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8523 lt_cv_prog_compiler_c_o
=yes
8528 # SGI C++ compiler will create directory out/ii_files/ for
8529 # template instantiation
8530 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8531 $RM out
/* && rmdir out
8537 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8538 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8545 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8546 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8547 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8548 echo $ECHO_N "(cached) $ECHO_C" >&6
8550 lt_cv_prog_compiler_c_o
=no
8551 $RM -r conftest
2>/dev
/null
8555 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8557 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8558 # Insert the option either (1) after the last *FLAGS variable, or
8559 # (2) before a word containing "conftest.", or (3) at the end.
8560 # Note that $ac_compile itself does not contain backslashes and begins
8561 # with a dollar sign (not a hyphen), so the echo should work correctly.
8562 lt_compile
=`echo "$ac_compile" | $SED \
8563 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8564 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8565 -e 's:$: $lt_compiler_flag:'`
8566 (eval echo "\"\$as_me:8566: $lt_compile\"" >&5)
8567 (eval "$lt_compile" 2>out
/conftest.err
)
8569 cat out
/conftest.err
>&5
8570 echo "$as_me:8570: \$? = $ac_status" >&5
8571 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8573 # The compiler can only warn and ignore the option if not recognized
8574 # So say no if there are warnings
8575 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8576 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8577 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8578 lt_cv_prog_compiler_c_o
=yes
8583 # SGI C++ compiler will create directory out/ii_files/ for
8584 # template instantiation
8585 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8586 $RM out
/* && rmdir out
8592 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8593 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8598 hard_links
="nottested"
8599 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8600 # do not overwrite the value of need_locks provided by the user
8601 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8602 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8605 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8607 ln conftest.a conftest.b
2>&5 || hard_links
=no
8608 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8609 echo "$as_me:$LINENO: result: $hard_links" >&5
8610 echo "${ECHO_T}$hard_links" >&6
8611 if test "$hard_links" = no
; then
8612 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8613 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8625 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8626 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8629 allow_undefined_flag
=
8630 always_export_symbols
=no
8632 archive_expsym_cmds
=
8633 compiler_needs_object
=no
8634 enable_shared_with_static_runtimes
=no
8635 export_dynamic_flag_spec
=
8636 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8637 hardcode_automatic
=no
8639 hardcode_direct_absolute
=no
8640 hardcode_libdir_flag_spec
=
8641 hardcode_libdir_flag_spec_ld
=
8642 hardcode_libdir_separator
=
8644 hardcode_shlibpath_var
=unsupported
8646 link_all_deplibs
=unknown
8649 old_archive_from_new_cmds
=
8650 old_archive_from_expsyms_cmds
=
8651 thread_safe_flag_spec
=
8652 whole_archive_flag_spec
=
8653 # include_expsyms should be a list of space-separated symbols to be *always*
8654 # included in the symbol list
8656 # exclude_expsyms can be an extended regexp of symbols to exclude
8657 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8658 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8659 # as well as any symbol that contains `d'.
8660 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8661 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8662 # platforms (ab)use it in PIC code, but their linkers get confused if
8663 # the symbol is explicitly referenced. Since portable code cannot
8664 # rely on this symbol name, it's probably fine to never include it in
8665 # preloaded symbol tables.
8666 # Exclude shared library initialization/finalization symbols.
8667 extract_expsyms_cmds
=
8670 cygwin
* | mingw
* | pw32
* | cegcc
*)
8671 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8672 # When not using gcc, we currently assume that we are using
8673 # Microsoft Visual C++.
8674 if test "$GCC" != yes; then
8679 # we just hope/assume this is gcc and not c89 (= MSVC++)
8688 if test "$with_gnu_ld" = yes; then
8689 # If archive_cmds runs LD, not CC, wlarc should be empty
8692 # Set some defaults for GNU ld with shared library support. These
8693 # are reset later if shared libraries are not supported. Putting them
8694 # here allows them to be overridden if necessary.
8695 runpath_var
=LD_RUN_PATH
8696 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8697 export_dynamic_flag_spec
='${wl}--export-dynamic'
8698 # ancient GNU ld didn't support --whole-archive et. al.
8699 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8700 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8702 whole_archive_flag_spec
=
8704 supports_anon_versioning
=no
8705 case `$LD -v 2>&1` in
8706 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8707 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8708 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8709 *\
2.11.
*) ;; # other 2.11 versions
8710 *) supports_anon_versioning
=yes ;;
8713 # See if GNU ld supports shared libraries.
8716 # On AIX/PPC, the GNU linker is very broken
8717 if test "$host_cpu" != ia64
; then
8721 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8722 *** to be unable to reliably create shared libraries on AIX.
8723 *** Therefore, libtool is disabling shared libraries support. If you
8724 *** really care for shared libraries, you may want to modify your PATH
8725 *** so that a non-GNU linker is found, and then restart.
8734 # see comment about AmigaOS4 .so support
8735 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8736 archive_expsym_cmds
=''
8739 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)'
8740 hardcode_libdir_flag_spec
='-L$libdir'
8741 hardcode_minus_L
=yes
8747 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8748 allow_undefined_flag
=unsupported
8749 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8750 # support --undefined. This deserves some investigation. FIXME
8751 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8757 cygwin
* | mingw
* | pw32
* | cegcc
*)
8758 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8759 # as there is no search path for DLLs.
8760 hardcode_libdir_flag_spec
='-L$libdir'
8761 allow_undefined_flag
=unsupported
8762 always_export_symbols
=no
8763 enable_shared_with_static_runtimes
=yes
8764 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8766 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8767 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8768 # If the export-symbols file already is a .def file (1st line
8769 # is EXPORTS), use it as is; otherwise, prepend...
8770 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8771 cp $export_symbols $output_objdir/$soname.def;
8773 echo EXPORTS > $output_objdir/$soname.def;
8774 cat $export_symbols >> $output_objdir/$soname.def;
8776 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8784 hardcode_shlibpath_var
=no
8785 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8786 export_dynamic_flag_spec
='${wl}-E'
8787 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8788 # Instead, shared libraries are loaded at an image base (0x10000000 by
8789 # default) and relocated if they conflict, which is a slow very memory
8790 # consuming and fragmenting process. To avoid this, we pick a random,
8791 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8792 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8793 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8794 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'
8797 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8799 if test "$host_os" = linux-dietlibc
; then
8800 case $cc_basename in
8801 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8804 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8805 && test "$tmp_diet" = no
8808 tmp_sharedflag
='-shared'
8809 case $cc_basename,$host_cpu in
8810 pgcc
*) # Portland Group C compiler
8811 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'
8812 tmp_addflag
=' $pic_flag'
8814 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8815 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'
8816 tmp_addflag
=' $pic_flag -Mnomain' ;;
8817 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8818 tmp_addflag
=' -i_dynamic' ;;
8819 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8820 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8821 ifc
* | ifort
*) # Intel Fortran compiler
8822 tmp_addflag
=' -nofor_main' ;;
8823 lf95
*) # Lahey Fortran 8.1
8824 whole_archive_flag_spec
=
8825 tmp_sharedflag
='--shared' ;;
8826 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8827 tmp_sharedflag
='-qmkshrobj'
8830 case `$CC -V 2>&1 | sed 5q` in
8831 *Sun\ C
*) # Sun C 5.9
8832 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'
8833 compiler_needs_object
=yes
8834 tmp_sharedflag
='-G' ;;
8835 *Sun\ F
*) # Sun Fortran 8.3
8836 tmp_sharedflag
='-G' ;;
8838 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8840 if test "x$supports_anon_versioning" = xyes
; then
8841 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8842 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8843 echo "local: *; };" >> $output_objdir/$libname.ver~
8844 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8847 case $cc_basename in
8849 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8850 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8851 hardcode_libdir_flag_spec
=
8852 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8853 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8854 if test "x$supports_anon_versioning" = xyes
; then
8855 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8856 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8857 echo "local: *; };" >> $output_objdir/$libname.ver~
8858 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8868 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8869 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8872 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8873 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8878 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8882 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8883 *** create shared libraries on Solaris systems. Therefore, libtool
8884 *** is disabling shared libraries support. We urge you to upgrade GNU
8885 *** binutils to release 2.9.1 or newer. Another option is to modify
8886 *** your PATH or compiler configuration so that the native linker is
8887 *** used, and then restart.
8890 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8891 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8892 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8898 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8899 case `$LD -v 2>&1` in
8900 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8904 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8905 *** reliably create shared libraries on SCO systems. Therefore, libtool
8906 *** is disabling shared libraries support. We urge you to upgrade GNU
8907 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8908 *** your PATH or compiler configuration so that the native linker is
8909 *** used, and then restart.
8914 # For security reasons, it is highly recommended that you always
8915 # use absolute paths for naming shared libraries, and exclude the
8916 # DT_RUNPATH tag from executables and libraries. But doing so
8917 # requires that you compile everything twice, which is a pain.
8918 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8919 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8920 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8921 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8930 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8933 hardcode_shlibpath_var
=no
8937 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8938 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8939 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8946 if test "$ld_shlibs" = no
; then
8948 hardcode_libdir_flag_spec
=
8949 export_dynamic_flag_spec
=
8950 whole_archive_flag_spec
=
8953 # PORTME fill in a description of your system's linker (not GNU ld)
8956 allow_undefined_flag
=unsupported
8957 always_export_symbols
=yes
8958 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'
8959 # Note: this linker hardcodes the directories in LIBPATH if there
8960 # are no directories specified by -L.
8961 hardcode_minus_L
=yes
8962 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8963 # Neither direct hardcoding nor static linking is supported with a
8965 hardcode_direct
=unsupported
8970 if test "$host_cpu" = ia64
; then
8971 # On IA64, the linker does run time linking by default, so we don't
8972 # have to do anything special.
8973 aix_use_runtimelinking
=no
8974 exp_sym_flag
='-Bexport'
8977 # If we're using GNU nm, then we don't want the "-C" option.
8978 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8979 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8980 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'
8982 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'
8984 aix_use_runtimelinking
=no
8986 # Test if we are trying to use run time linking or normal
8987 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8988 # need to do runtime linking.
8989 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8990 for ld_flag
in $LDFLAGS; do
8991 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8992 aix_use_runtimelinking
=yes
8999 exp_sym_flag
='-bexport'
9000 no_entry_flag
='-bnoentry'
9003 # When large executables or shared objects are built, AIX ld can
9004 # have problems creating the table of contents. If linking a library
9005 # or program results in "error TOC overflow" add -mminimal-toc to
9006 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9007 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9011 hardcode_direct_absolute
=yes
9012 hardcode_libdir_separator
=':'
9013 link_all_deplibs
=yes
9014 file_list_spec
='${wl}-f,'
9016 if test "$GCC" = yes; then
9017 case $host_os in aix4.
[012]|aix4.
[012].
*)
9018 # We only want to do this on AIX 4.2 and lower, the check
9019 # below for broken collect2 doesn't work under 4.3+
9020 collect2name
=`${CC} -print-prog-name=collect2`
9021 if test -f "$collect2name" &&
9022 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9024 # We have reworked collect2
9027 # We have old collect2
9028 hardcode_direct
=unsupported
9029 # It fails to find uninstalled libraries when the uninstalled
9030 # path is not listed in the libpath. Setting hardcode_minus_L
9031 # to unsupported forces relinking
9032 hardcode_minus_L
=yes
9033 hardcode_libdir_flag_spec
='-L$libdir'
9034 hardcode_libdir_separator
=
9038 shared_flag
='-shared'
9039 if test "$aix_use_runtimelinking" = yes; then
9040 shared_flag
="$shared_flag "'${wl}-G'
9044 if test "$host_cpu" = ia64
; then
9045 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9046 # chokes on -Wl,-G. The following line is correct:
9049 if test "$aix_use_runtimelinking" = yes; then
9050 shared_flag
='${wl}-G'
9052 shared_flag
='${wl}-bM:SRE'
9057 export_dynamic_flag_spec
='${wl}-bexpall'
9058 # It seems that -bexpall does not export symbols beginning with
9059 # underscore (_), so it is better to generate a list of symbols to export.
9060 always_export_symbols
=yes
9061 if test "$aix_use_runtimelinking" = yes; then
9062 # Warning - without using the other runtime loading flags (-brtl),
9063 # -berok will link without error, but may produce a broken library.
9064 allow_undefined_flag
='-berok'
9065 # Determine the default libpath from the value encoded in an
9067 cat >conftest.
$ac_ext <<_ACEOF
9070 cat confdefs.h
>>conftest.
$ac_ext
9071 cat >>conftest.
$ac_ext <<_ACEOF
9072 /* end confdefs.h. */
9082 rm -f conftest.
$ac_objext conftest
$ac_exeext
9083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9084 (eval $ac_link) 2>conftest.er1
9086 grep -v '^ *+' conftest.er1
>conftest.err
9088 cat conftest.err
>&5
9089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9090 (exit $ac_status); } &&
9091 { ac_try
='test -z "$ac_c_werror_flag"
9092 || test ! -s conftest.err'
9093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9097 (exit $ac_status); }; } &&
9098 { ac_try
='test -s conftest$ac_exeext'
9099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 (exit $ac_status); }; }; then
9105 lt_aix_libpath_sed
='
9106 /Import File Strings/,/^$/ {
9112 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9113 # Check for a 64-bit object if we didn't find anything.
9114 if test -z "$aix_libpath"; then
9115 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9118 echo "$as_me: failed program was:" >&5
9119 sed 's/^/| /' conftest.
$ac_ext >&5
9122 rm -f conftest.err conftest.
$ac_objext \
9123 conftest
$ac_exeext conftest.
$ac_ext
9124 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9126 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9127 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"
9129 if test "$host_cpu" = ia64
; then
9130 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9131 allow_undefined_flag
="-z nodefs"
9132 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"
9134 # Determine the default libpath from the value encoded in an
9136 cat >conftest.
$ac_ext <<_ACEOF
9139 cat confdefs.h
>>conftest.
$ac_ext
9140 cat >>conftest.
$ac_ext <<_ACEOF
9141 /* end confdefs.h. */
9151 rm -f conftest.
$ac_objext conftest
$ac_exeext
9152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9153 (eval $ac_link) 2>conftest.er1
9155 grep -v '^ *+' conftest.er1
>conftest.err
9157 cat conftest.err
>&5
9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159 (exit $ac_status); } &&
9160 { ac_try
='test -z "$ac_c_werror_flag"
9161 || test ! -s conftest.err'
9162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166 (exit $ac_status); }; } &&
9167 { ac_try
='test -s conftest$ac_exeext'
9168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172 (exit $ac_status); }; }; then
9174 lt_aix_libpath_sed
='
9175 /Import File Strings/,/^$/ {
9181 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9182 # Check for a 64-bit object if we didn't find anything.
9183 if test -z "$aix_libpath"; then
9184 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9187 echo "$as_me: failed program was:" >&5
9188 sed 's/^/| /' conftest.
$ac_ext >&5
9191 rm -f conftest.err conftest.
$ac_objext \
9192 conftest
$ac_exeext conftest.
$ac_ext
9193 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9195 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9196 # Warning - without using the other run time loading flags,
9197 # -berok will link without error, but may produce a broken library.
9198 no_undefined_flag
=' ${wl}-bernotok'
9199 allow_undefined_flag
=' ${wl}-berok'
9200 # Exported symbols can be pulled into shared objects from archives
9201 whole_archive_flag_spec
='$convenience'
9202 archive_cmds_need_lc
=yes
9203 # This is similar to how AIX traditionally builds its shared libraries.
9204 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'
9212 # see comment about AmigaOS4 .so support
9213 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9214 archive_expsym_cmds
=''
9217 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)'
9218 hardcode_libdir_flag_spec
='-L$libdir'
9219 hardcode_minus_L
=yes
9225 export_dynamic_flag_spec
=-rdynamic
9228 cygwin
* | mingw
* | pw32
* | cegcc
*)
9229 # When not using gcc, we currently assume that we are using
9230 # Microsoft Visual C++.
9231 # hardcode_libdir_flag_spec is actually meaningless, as there is
9232 # no search path for DLLs.
9233 hardcode_libdir_flag_spec
=' '
9234 allow_undefined_flag
=unsupported
9235 # Tell ltmain to make .lib files, not .a files.
9237 # Tell ltmain to make .dll files, not .so files.
9239 # FIXME: Setting linknames here is a bad hack.
9240 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9241 # The linker will automatically build a .lib file if we build a DLL.
9242 old_archive_from_new_cmds
='true'
9243 # FIXME: Should let the user specify the lib program.
9244 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9245 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9246 enable_shared_with_static_runtimes
=yes
9249 darwin
* | rhapsody
*)
9252 archive_cmds_need_lc
=no
9254 hardcode_automatic
=yes
9255 hardcode_shlibpath_var
=unsupported
9256 whole_archive_flag_spec
=''
9257 link_all_deplibs
=yes
9258 allow_undefined_flag
="$_lt_dar_allow_undefined"
9259 case $cc_basename in
9260 ifort
*) _lt_dar_can_shared
=yes ;;
9261 *) _lt_dar_can_shared
=$GCC ;;
9263 if test "$_lt_dar_can_shared" = "yes"; then
9264 output_verbose_link_cmd
=echo
9265 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9266 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9267 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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9268 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9277 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9278 hardcode_libdir_flag_spec
='-L$libdir'
9279 hardcode_shlibpath_var
=no
9286 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9287 # support. Future versions do this automatically, but an explicit c++rt0.o
9288 # does not break anything, and helps significantly (at the cost of a little
9291 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9292 hardcode_libdir_flag_spec
='-R$libdir'
9294 hardcode_shlibpath_var
=no
9297 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9299 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9301 hardcode_minus_L
=yes
9302 hardcode_shlibpath_var
=no
9305 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9306 freebsd
* | dragonfly
*)
9307 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9308 hardcode_libdir_flag_spec
='-R$libdir'
9310 hardcode_shlibpath_var
=no
9314 if test "$GCC" = yes; then
9315 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'
9317 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'
9319 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9320 hardcode_libdir_separator
=:
9323 # hardcode_minus_L: Not really in the search PATH,
9324 # but as the default location of the library.
9325 hardcode_minus_L
=yes
9326 export_dynamic_flag_spec
='${wl}-E'
9330 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9331 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9333 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9335 if test "$with_gnu_ld" = no
; then
9336 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9337 hardcode_libdir_flag_spec_ld
='+b $libdir'
9338 hardcode_libdir_separator
=:
9340 hardcode_direct_absolute
=yes
9341 export_dynamic_flag_spec
='${wl}-E'
9342 # hardcode_minus_L: Not really in the search PATH,
9343 # but as the default location of the library.
9344 hardcode_minus_L
=yes
9349 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9352 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9355 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9358 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9364 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9367 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9370 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9374 if test "$with_gnu_ld" = no
; then
9375 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9376 hardcode_libdir_separator
=:
9381 hardcode_shlibpath_var
=no
9385 hardcode_direct_absolute
=yes
9386 export_dynamic_flag_spec
='${wl}-E'
9388 # hardcode_minus_L: Not really in the search PATH,
9389 # but as the default location of the library.
9390 hardcode_minus_L
=yes
9396 irix5
* | irix6
* | nonstopux
*)
9397 if test "$GCC" = yes; then
9398 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'
9399 # Try to use the -exported_symbol ld option, if it does not
9400 # work, assume that -exports_file does not work either and
9401 # implicitly export all symbols.
9402 save_LDFLAGS
="$LDFLAGS"
9403 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9404 cat >conftest.
$ac_ext <<_ACEOF
9407 rm -f conftest.
$ac_objext conftest
$ac_exeext
9408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9409 (eval $ac_link) 2>conftest.er1
9411 grep -v '^ *+' conftest.er1
>conftest.err
9413 cat conftest.err
>&5
9414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415 (exit $ac_status); } &&
9416 { ac_try
='test -z "$ac_c_werror_flag"
9417 || test ! -s conftest.err'
9418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9422 (exit $ac_status); }; } &&
9423 { ac_try
='test -s conftest$ac_exeext'
9424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9428 (exit $ac_status); }; }; then
9429 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'
9432 echo "$as_me: failed program was:" >&5
9433 sed 's/^/| /' conftest.
$ac_ext >&5
9436 rm -f conftest.err conftest.
$ac_objext \
9437 conftest
$ac_exeext conftest.
$ac_ext
9438 LDFLAGS
="$save_LDFLAGS"
9440 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'
9441 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'
9443 archive_cmds_need_lc
='no'
9444 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9445 hardcode_libdir_separator
=:
9447 link_all_deplibs
=yes
9451 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9452 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9454 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9456 hardcode_libdir_flag_spec
='-R$libdir'
9458 hardcode_shlibpath_var
=no
9462 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9464 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9465 hardcode_libdir_separator
=:
9466 hardcode_shlibpath_var
=no
9473 if test -f /usr
/libexec
/ld.so
; then
9475 hardcode_shlibpath_var
=no
9476 hardcode_direct_absolute
=yes
9477 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9478 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9479 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9480 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9481 export_dynamic_flag_spec
='${wl}-E'
9484 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9485 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9486 hardcode_libdir_flag_spec
='-R$libdir'
9489 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9490 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9500 hardcode_libdir_flag_spec
='-L$libdir'
9501 hardcode_minus_L
=yes
9502 allow_undefined_flag
=unsupported
9503 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'
9504 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9508 if test "$GCC" = yes; then
9509 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9510 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'
9512 allow_undefined_flag
=' -expect_unresolved \*'
9513 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'
9515 archive_cmds_need_lc
='no'
9516 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9517 hardcode_libdir_separator
=:
9520 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9521 if test "$GCC" = yes; then
9522 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9523 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'
9524 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9526 allow_undefined_flag
=' -expect_unresolved \*'
9527 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'
9528 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~
9529 $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'
9531 # Both c and cxx compiler support -rpath directly
9532 hardcode_libdir_flag_spec
='-rpath $libdir'
9534 archive_cmds_need_lc
='no'
9535 hardcode_libdir_separator
=:
9539 no_undefined_flag
=' -z defs'
9540 if test "$GCC" = yes; then
9542 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9543 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9544 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9546 case `$CC -V 2>&1` in
9549 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9550 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9551 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9555 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9556 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9557 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9561 hardcode_libdir_flag_spec
='-R$libdir'
9562 hardcode_shlibpath_var
=no
9564 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9566 # The compiler driver will combine and reorder linker options,
9567 # but understands `-z linker_flag'. GCC discards it without `$wl',
9568 # but is careful enough not to reorder.
9569 # Supported since Solaris 2.6 (maybe 2.5.1?)
9570 if test "$GCC" = yes; then
9571 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9573 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9577 link_all_deplibs
=yes
9581 if test "x$host_vendor" = xsequent
; then
9582 # Use $CC to link under sequent, because it throws in some extra .o
9583 # files that make .init and .fini sections work.
9584 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9586 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9588 hardcode_libdir_flag_spec
='-L$libdir'
9590 hardcode_minus_L
=yes
9591 hardcode_shlibpath_var
=no
9595 case $host_vendor in
9597 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9598 hardcode_direct
=yes # is this really true???
9601 ## LD is ld it makes a PLAMLIB
9602 ## CC just makes a GrossModule.
9603 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9604 reload_cmds
='$CC -r -o $output$reload_objs'
9608 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9609 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9612 runpath_var
='LD_RUN_PATH'
9613 hardcode_shlibpath_var
=no
9617 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9618 hardcode_shlibpath_var
=no
9619 export_dynamic_flag_spec
='-Bexport'
9623 if test -d /usr
/nec
; then
9624 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9625 hardcode_shlibpath_var
=no
9626 runpath_var
=LD_RUN_PATH
9627 hardcode_runpath_var
=yes
9632 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9633 no_undefined_flag
='${wl}-z,text'
9634 archive_cmds_need_lc
=no
9635 hardcode_shlibpath_var
=no
9636 runpath_var
='LD_RUN_PATH'
9638 if test "$GCC" = yes; then
9639 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9640 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9642 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9643 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9647 sysv5
* | sco3.2v5
* | sco5v6
*)
9648 # Note: We can NOT use -z defs as we might desire, because we do not
9649 # link with -lc, and that would cause any symbols used from libc to
9650 # always be unresolved, which means just about no library would
9651 # ever link correctly. If we're not using GNU ld we use -z text
9652 # though, which does catch some bad symbols but isn't as heavy-handed
9654 no_undefined_flag
='${wl}-z,text'
9655 allow_undefined_flag
='${wl}-z,nodefs'
9656 archive_cmds_need_lc
=no
9657 hardcode_shlibpath_var
=no
9658 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9659 hardcode_libdir_separator
=':'
9660 link_all_deplibs
=yes
9661 export_dynamic_flag_spec
='${wl}-Bexport'
9662 runpath_var
='LD_RUN_PATH'
9664 if test "$GCC" = yes; then
9665 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9666 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9668 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9669 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9674 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9675 hardcode_libdir_flag_spec
='-L$libdir'
9676 hardcode_shlibpath_var
=no
9684 if test x
$host_vendor = xsni
; then
9686 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9687 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9693 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9694 echo "${ECHO_T}$ld_shlibs" >&6
9695 test "$ld_shlibs" = no
&& can_build_shared
=no
9697 with_gnu_ld
=$with_gnu_ld
9714 # Do we need to explicitly link libc?
9716 case "x$archive_cmds_need_lc" in
9718 # Assume -lc should be added
9719 archive_cmds_need_lc
=yes
9721 if test "$enable_shared" = yes && test "$GCC" = yes; then
9722 case $archive_cmds in
9724 # FIXME: we may have to deal with multi-command sequences.
9727 # Test whether the compiler implicitly links with -lc since on some
9728 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9729 # to ld, don't add -lc before -lgcc.
9730 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9731 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9733 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9736 (eval $ac_compile) 2>&5
9738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9739 (exit $ac_status); } 2>conftest.err
; then
9742 libobjs
=conftest.
$ac_objext
9744 wl
=$lt_prog_compiler_wl
9745 pic_flag
=$lt_prog_compiler_pic
9751 lt_save_allow_undefined_flag
=$allow_undefined_flag
9752 allow_undefined_flag
=
9753 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9754 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9757 (exit $ac_status); }
9759 archive_cmds_need_lc
=no
9761 archive_cmds_need_lc
=yes
9763 allow_undefined_flag
=$lt_save_allow_undefined_flag
9765 cat conftest.err
1>&5
9768 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9769 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9932 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9933 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9935 if test "$GCC" = yes; then
9937 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9938 *) lt_awk_arg
="/^libraries:/" ;;
9940 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9941 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9942 # if the path contains ";" then we assume it to be the separator
9943 # otherwise default to the standard path separator (i.e. ":") - it is
9944 # assumed that no part of a normal pathname contains ";" but that should
9945 # okay in the real world where ";" in dirpaths is itself problematic.
9946 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9948 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9950 # Ok, now we have the path, separated by spaces, we can step through it
9951 # and add multilib dir if necessary.
9952 lt_tmp_lt_search_path_spec
=
9953 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9954 for lt_sys_path
in $lt_search_path_spec; do
9955 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9956 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9958 test -d "$lt_sys_path" && \
9959 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9962 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9963 BEGIN {RS=" "; FS="/|\n";} {
9966 for (lt_i = NF; lt_i > 0; lt_i--) {
9967 if ($lt_i != "" && $lt_i != ".") {
9968 if ($lt_i == "..") {
9971 if (lt_count == 0) {
9972 lt_foo="/" $lt_i lt_foo;
9979 if (lt_foo != "") { lt_freq[lt_foo]++; }
9980 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9982 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9984 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9987 libname_spec
='lib$name'
9995 shlibpath_overrides_runpath
=unknown
9997 dynamic_linker
="$host_os ld.so"
9998 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9999 need_lib_prefix
=unknown
10000 hardcode_into_libs
=no
10002 # when you set need_version to no, make sure it does not cause -set_version
10003 # flags to be left without arguments
10004 need_version
=unknown
10009 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10010 shlibpath_var
=LIBPATH
10012 # AIX 3 has no versioning support, so we append a major version to the name.
10013 soname_spec
='${libname}${release}${shared_ext}$major'
10020 hardcode_into_libs
=yes
10021 if test "$host_cpu" = ia64
; then
10022 # AIX 5 supports IA64
10023 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10024 shlibpath_var
=LD_LIBRARY_PATH
10026 # With GCC up to 2.95.x, collect2 would create an import file
10027 # for dependence libraries. The import file would start with
10028 # the line `#! .'. This would cause the generated library to
10029 # depend on `.', always an invalid library. This was fixed in
10030 # development snapshots of GCC prior to 3.0.
10032 aix4 | aix4.
[01] | aix4.
[01].
*)
10033 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10035 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10038 can_build_shared
=no
10042 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10043 # soname into executable. Probably we can add versioning support to
10044 # collect2, so additional links can be useful in future.
10045 if test "$aix_use_runtimelinking" = yes; then
10046 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10047 # instead of lib<name>.a to let people know that these are not
10048 # typical AIX shared libraries.
10049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10051 # We preserve .a as extension for shared libraries through AIX4.2
10052 # and later when we are not doing run time linking.
10053 library_names_spec
='${libname}${release}.a $libname.a'
10054 soname_spec
='${libname}${release}${shared_ext}$major'
10056 shlibpath_var
=LIBPATH
10063 # Since July 2007 AmigaOS4 officially supports .so libraries.
10064 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10068 library_names_spec
='$libname.ixlibrary $libname.a'
10069 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10070 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'
10076 library_names_spec
='${libname}${shared_ext}'
10077 dynamic_linker
="$host_os ld.so"
10078 shlibpath_var
=LIBRARY_PATH
10084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10085 soname_spec
='${libname}${release}${shared_ext}$major'
10086 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10087 shlibpath_var
=LD_LIBRARY_PATH
10088 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10089 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10090 # the default ld.so.conf also contains /usr/contrib/lib and
10091 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10092 # libtool to hard-code these into programs
10095 cygwin
* | mingw
* | pw32
* | cegcc
*)
10096 version_type
=windows
10101 case $GCC,$host_os in
10102 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10103 library_names_spec
='$libname.dll.a'
10104 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10105 postinstall_cmds
='base_file=`basename \${file}`~
10106 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10107 dldir=$destdir/`dirname \$dlpath`~
10108 test -d \$dldir || mkdir -p \$dldir~
10109 $install_prog $dir/$dlname \$dldir/$dlname~
10110 chmod a+x \$dldir/$dlname~
10111 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10112 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10114 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10115 dlpath=$dir/\$dldll~
10117 shlibpath_overrides_runpath
=yes
10121 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10122 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10123 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10126 # MinGW DLLs use traditional 'lib' prefix
10127 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10128 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10129 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10130 # It is most probably a Windows format PATH printed by
10131 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10132 # path with ; separators, and with drive letters. We can handle the
10133 # drive letters (cygwin fileutils understands them), so leave them,
10134 # especially as we might pass files found there to a mingw objdump,
10135 # which wouldn't understand a cygwinified path. Ahh.
10136 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10138 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10142 # pw32 DLLs use 'pw' prefix rather than 'lib'
10143 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10149 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10152 dynamic_linker
='Win32 ld.exe'
10153 # FIXME: first we should search . and the directory the executable is in
10157 darwin
* | rhapsody
*)
10158 dynamic_linker
="$host_os dyld"
10159 version_type
=darwin
10162 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10163 soname_spec
='${libname}${release}${major}$shared_ext'
10164 shlibpath_overrides_runpath
=yes
10165 shlibpath_var
=DYLD_LIBRARY_PATH
10166 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10168 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10169 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10177 soname_spec
='${libname}${release}${shared_ext}$major'
10178 shlibpath_var
=LD_LIBRARY_PATH
10185 freebsd
* | dragonfly
*)
10186 # DragonFly does not have aout. When/if they implement a new
10187 # versioning mechanism, adjust this.
10188 if test -x /usr
/bin
/objformat
; then
10189 objformat
=`/usr/bin/objformat`
10192 freebsd
[123]*) objformat
=aout
;;
10193 *) objformat
=elf
;;
10196 version_type
=freebsd-
$objformat
10197 case $version_type in
10199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10204 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10208 shlibpath_var
=LD_LIBRARY_PATH
10211 shlibpath_overrides_runpath
=yes
10213 freebsd3.
[01]* | freebsdelf3.
[01]*)
10214 shlibpath_overrides_runpath
=yes
10215 hardcode_into_libs
=yes
10217 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10218 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10219 shlibpath_overrides_runpath
=no
10220 hardcode_into_libs
=yes
10222 *) # from 4.6 on, and DragonFly
10223 shlibpath_overrides_runpath
=yes
10224 hardcode_into_libs
=yes
10233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10234 soname_spec
='${libname}${release}${shared_ext}$major'
10235 shlibpath_var
=LD_LIBRARY_PATH
10236 hardcode_into_libs
=yes
10239 hpux9
* | hpux10
* | hpux11
*)
10240 # Give a soname corresponding to the major version so that dld.sl refuses to
10241 # link against other versions.
10248 hardcode_into_libs
=yes
10249 dynamic_linker
="$host_os dld.so"
10250 shlibpath_var
=LD_LIBRARY_PATH
10251 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10253 soname_spec
='${libname}${release}${shared_ext}$major'
10254 if test "X$HPUX_IA64_MODE" = X32
; then
10255 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10257 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10259 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10263 hardcode_into_libs
=yes
10264 dynamic_linker
="$host_os dld.sl"
10265 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10266 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10268 soname_spec
='${libname}${release}${shared_ext}$major'
10269 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10270 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10274 dynamic_linker
="$host_os dld.sl"
10275 shlibpath_var
=SHLIB_PATH
10276 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10278 soname_spec
='${libname}${release}${shared_ext}$major'
10281 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10282 postinstall_cmds
='chmod 555 $lib'
10289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10290 soname_spec
='${libname}${release}${shared_ext}$major'
10291 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10292 shlibpath_var
=LD_LIBRARY_PATH
10293 shlibpath_overrides_runpath
=no
10294 hardcode_into_libs
=yes
10297 irix5
* | irix6
* | nonstopux
*)
10299 nonstopux
*) version_type
=nonstopux
;;
10301 if test "$lt_cv_prog_gnu_ld" = yes; then
10309 soname_spec
='${libname}${release}${shared_ext}$major'
10310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10312 irix5
* | nonstopux
*)
10313 libsuff
= shlibsuff
=
10316 case $LD in # libtool.m4 will add one of these switches to LD
10317 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10318 libsuff
= shlibsuff
= libmagic
=32-bit;;
10319 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10320 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10321 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10322 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10323 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10327 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10328 shlibpath_overrides_runpath
=no
10329 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10330 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10331 hardcode_into_libs
=yes
10334 # No shared lib support for Linux oldld, aout, or coff.
10335 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10339 # This must be Linux ELF.
10340 linux
* | k
*bsd
*-gnu)
10344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10345 soname_spec
='${libname}${release}${shared_ext}$major'
10346 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10347 shlibpath_var
=LD_LIBRARY_PATH
10348 shlibpath_overrides_runpath
=no
10349 # Some binutils ld are patched to set DT_RUNPATH
10350 save_LDFLAGS
=$LDFLAGS
10351 save_libdir
=$libdir
10352 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10353 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10354 cat >conftest.
$ac_ext <<_ACEOF
10357 cat confdefs.h
>>conftest.
$ac_ext
10358 cat >>conftest.
$ac_ext <<_ACEOF
10359 /* end confdefs.h. */
10369 rm -f conftest.
$ac_objext conftest
$ac_exeext
10370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10371 (eval $ac_link) 2>conftest.er1
10373 grep -v '^ *+' conftest.er1
>conftest.err
10375 cat conftest.err
>&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); } &&
10378 { ac_try
='test -z "$ac_c_werror_flag"
10379 || test ! -s conftest.err'
10380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10381 (eval $ac_try) 2>&5
10383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10384 (exit $ac_status); }; } &&
10385 { ac_try
='test -s conftest$ac_exeext'
10386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10387 (eval $ac_try) 2>&5
10389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390 (exit $ac_status); }; }; then
10391 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
10392 shlibpath_overrides_runpath
=yes
10396 echo "$as_me: failed program was:" >&5
10397 sed 's/^/| /' conftest.
$ac_ext >&5
10400 rm -f conftest.err conftest.
$ac_objext \
10401 conftest
$ac_exeext conftest.
$ac_ext
10402 LDFLAGS
=$save_LDFLAGS
10403 libdir
=$save_libdir
10405 # This implies no fast_install, which is unacceptable.
10406 # Some rework will be needed to allow for fast_install
10407 # before this can be enabled.
10408 hardcode_into_libs
=yes
10410 # Append ld.so.conf contents to the search path
10411 if test -f /etc
/ld.so.conf
; then
10412 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/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10413 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10416 # We used to test for /lib/ld.so.1 and disable shared libraries on
10417 # powerpc, because MkLinux only supported shared libraries with the
10418 # GNU dynamic linker. Since this was broken with cross compilers,
10419 # most powerpc-linux boxes support dynamic linking these days and
10420 # people can always --disable-shared, the test was removed, and we
10421 # assume the GNU/Linux dynamic linker is in use.
10422 dynamic_linker
='GNU/Linux ld.so'
10429 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10431 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10432 dynamic_linker
='NetBSD (a.out) ld.so'
10434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10435 soname_spec
='${libname}${release}${shared_ext}$major'
10436 dynamic_linker
='NetBSD ld.elf_so'
10438 shlibpath_var
=LD_LIBRARY_PATH
10439 shlibpath_overrides_runpath
=yes
10440 hardcode_into_libs
=yes
10445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10446 shlibpath_var
=LD_LIBRARY_PATH
10447 shlibpath_overrides_runpath
=yes
10454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10455 soname_spec
='${libname}${release}${shared_ext}$major'
10456 shlibpath_var
=LD_LIBRARY_PATH
10457 shlibpath_overrides_runpath
=no
10458 hardcode_into_libs
=yes
10459 dynamic_linker
='ldqnx.so'
10464 sys_lib_dlsearch_path_spec
="/usr/lib"
10466 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10468 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10469 *) need_version
=no
;;
10471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10472 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10473 shlibpath_var
=LD_LIBRARY_PATH
10474 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10476 openbsd2.
[89] | openbsd2.
[89].
*)
10477 shlibpath_overrides_runpath
=no
10480 shlibpath_overrides_runpath
=yes
10484 shlibpath_overrides_runpath
=yes
10489 libname_spec
='$name'
10492 library_names_spec
='$libname${shared_ext} $libname.a'
10493 dynamic_linker
='OS/2 ld.exe'
10494 shlibpath_var
=LIBPATH
10497 osf3
* | osf4
* | osf5
*)
10501 soname_spec
='${libname}${release}${shared_ext}$major'
10502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10503 shlibpath_var
=LD_LIBRARY_PATH
10504 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10505 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10517 soname_spec
='${libname}${release}${shared_ext}$major'
10518 shlibpath_var
=LD_LIBRARY_PATH
10519 shlibpath_overrides_runpath
=yes
10520 hardcode_into_libs
=yes
10521 # ldd complains unless libraries are executable
10522 postinstall_cmds
='chmod +x $lib'
10527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10528 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10529 shlibpath_var
=LD_LIBRARY_PATH
10530 shlibpath_overrides_runpath
=yes
10531 if test "$with_gnu_ld" = yes; then
10539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10540 soname_spec
='${libname}${release}${shared_ext}$major'
10541 shlibpath_var
=LD_LIBRARY_PATH
10542 case $host_vendor in
10544 shlibpath_overrides_runpath
=no
10546 runpath_var
=LD_RUN_PATH
10554 shlibpath_overrides_runpath
=no
10555 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10561 if test -d /usr
/nec
;then
10563 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10564 soname_spec
='$libname${shared_ext}.$major'
10565 shlibpath_var
=LD_LIBRARY_PATH
10569 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10570 version_type
=freebsd-elf
10573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10574 soname_spec
='${libname}${release}${shared_ext}$major'
10575 shlibpath_var
=LD_LIBRARY_PATH
10576 shlibpath_overrides_runpath
=yes
10577 hardcode_into_libs
=yes
10578 if test "$with_gnu_ld" = yes; then
10579 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10581 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10584 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10588 sys_lib_dlsearch_path_spec
='/usr/lib'
10592 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10597 shlibpath_var
=LD_LIBRARY_PATH
10598 shlibpath_overrides_runpath
=no
10599 hardcode_into_libs
=yes
10604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10605 soname_spec
='${libname}${release}${shared_ext}$major'
10606 shlibpath_var
=LD_LIBRARY_PATH
10613 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10614 echo "${ECHO_T}$dynamic_linker" >&6
10615 test "$dynamic_linker" = no
&& can_build_shared
=no
10617 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10618 if test "$GCC" = yes; then
10619 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10622 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10623 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10625 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10626 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10715 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10716 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10718 if test -n "$hardcode_libdir_flag_spec" ||
10719 test -n "$runpath_var" ||
10720 test "X$hardcode_automatic" = "Xyes" ; then
10722 # We can hardcode non-existent directories.
10723 if test "$hardcode_direct" != no
&&
10724 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10725 # have to relink, otherwise we might link with an installed library
10726 # when we should be linking with a yet-to-be-installed one
10727 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10728 test "$hardcode_minus_L" != no
; then
10729 # Linking always hardcodes the temporary library directory.
10730 hardcode_action
=relink
10732 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10733 hardcode_action
=immediate
10736 # We cannot hardcode anything, or else we can only hardcode existing
10738 hardcode_action
=unsupported
10740 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10741 echo "${ECHO_T}$hardcode_action" >&6
10743 if test "$hardcode_action" = relink ||
10744 test "$inherit_rpath" = yes; then
10745 # Fast installation is not supported
10746 enable_fast_install
=no
10747 elif test "$shlibpath_overrides_runpath" = yes ||
10748 test "$enable_shared" = no
; then
10749 # Fast installation is not necessary
10750 enable_fast_install
=needless
10758 if test "x$enable_dlopen" != xyes
; then
10759 enable_dlopen
=unknown
10760 enable_dlopen_self
=unknown
10761 enable_dlopen_self_static
=unknown
10768 lt_cv_dlopen
="load_add_on"
10770 lt_cv_dlopen_self
=yes
10773 mingw
* | pw32
* | cegcc
*)
10774 lt_cv_dlopen
="LoadLibrary"
10779 lt_cv_dlopen
="dlopen"
10784 # if libdl is installed we need to link against it
10785 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10786 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10787 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10788 echo $ECHO_N "(cached) $ECHO_C" >&6
10790 ac_check_lib_save_LIBS
=$LIBS
10792 cat >conftest.
$ac_ext <<_ACEOF
10795 cat confdefs.h
>>conftest.
$ac_ext
10796 cat >>conftest.
$ac_ext <<_ACEOF
10797 /* end confdefs.h. */
10799 /* Override any gcc2 internal prototype to avoid an error. */
10803 /* We use char because int might match the return type of a gcc2
10804 builtin and then its argument prototype would still apply. */
10814 rm -f conftest.
$ac_objext conftest
$ac_exeext
10815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10816 (eval $ac_link) 2>conftest.er1
10818 grep -v '^ *+' conftest.er1
>conftest.err
10820 cat conftest.err
>&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); } &&
10823 { ac_try
='test -z "$ac_c_werror_flag"
10824 || test ! -s conftest.err'
10825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10826 (eval $ac_try) 2>&5
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); }; } &&
10830 { ac_try
='test -s conftest$ac_exeext'
10831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10832 (eval $ac_try) 2>&5
10834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10835 (exit $ac_status); }; }; then
10836 ac_cv_lib_dl_dlopen
=yes
10838 echo "$as_me: failed program was:" >&5
10839 sed 's/^/| /' conftest.
$ac_ext >&5
10841 ac_cv_lib_dl_dlopen
=no
10843 rm -f conftest.err conftest.
$ac_objext \
10844 conftest
$ac_exeext conftest.
$ac_ext
10845 LIBS
=$ac_check_lib_save_LIBS
10847 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10848 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10849 if test $ac_cv_lib_dl_dlopen = yes; then
10850 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10853 lt_cv_dlopen
="dyld"
10855 lt_cv_dlopen_self
=yes
10862 echo "$as_me:$LINENO: checking for shl_load" >&5
10863 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10864 if test "${ac_cv_func_shl_load+set}" = set; then
10865 echo $ECHO_N "(cached) $ECHO_C" >&6
10867 cat >conftest.
$ac_ext <<_ACEOF
10870 cat confdefs.h
>>conftest.
$ac_ext
10871 cat >>conftest.
$ac_ext <<_ACEOF
10872 /* end confdefs.h. */
10873 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10875 #define shl_load innocuous_shl_load
10877 /* System header to define __stub macros and hopefully few prototypes,
10878 which can conflict with char shl_load (); below.
10879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10880 <limits.h> exists even on freestanding compilers. */
10883 # include <limits.h>
10885 # include <assert.h>
10890 /* Override any gcc2 internal prototype to avoid an error. */
10895 /* We use char because int might match the return type of a gcc2
10896 builtin and then its argument prototype would still apply. */
10898 /* The GNU C library defines this for functions which it implements
10899 to always fail with ENOSYS. Some functions are actually named
10900 something starting with __ and the normal name is an alias. */
10901 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10904 char (*f) () = shl_load;
10913 return f != shl_load;
10918 rm -f conftest.
$ac_objext conftest
$ac_exeext
10919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10920 (eval $ac_link) 2>conftest.er1
10922 grep -v '^ *+' conftest.er1
>conftest.err
10924 cat conftest.err
>&5
10925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10926 (exit $ac_status); } &&
10927 { ac_try
='test -z "$ac_c_werror_flag"
10928 || test ! -s conftest.err'
10929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10930 (eval $ac_try) 2>&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); }; } &&
10934 { ac_try
='test -s conftest$ac_exeext'
10935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10936 (eval $ac_try) 2>&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); }; }; then
10940 ac_cv_func_shl_load
=yes
10942 echo "$as_me: failed program was:" >&5
10943 sed 's/^/| /' conftest.
$ac_ext >&5
10945 ac_cv_func_shl_load
=no
10947 rm -f conftest.err conftest.
$ac_objext \
10948 conftest
$ac_exeext conftest.
$ac_ext
10950 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10951 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10952 if test $ac_cv_func_shl_load = yes; then
10953 lt_cv_dlopen
="shl_load"
10955 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10956 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10957 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10958 echo $ECHO_N "(cached) $ECHO_C" >&6
10960 ac_check_lib_save_LIBS
=$LIBS
10962 cat >conftest.
$ac_ext <<_ACEOF
10965 cat confdefs.h
>>conftest.
$ac_ext
10966 cat >>conftest.
$ac_ext <<_ACEOF
10967 /* end confdefs.h. */
10969 /* Override any gcc2 internal prototype to avoid an error. */
10973 /* We use char because int might match the return type of a gcc2
10974 builtin and then its argument prototype would still apply. */
10984 rm -f conftest.
$ac_objext conftest
$ac_exeext
10985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10986 (eval $ac_link) 2>conftest.er1
10988 grep -v '^ *+' conftest.er1
>conftest.err
10990 cat conftest.err
>&5
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 (exit $ac_status); } &&
10993 { ac_try
='test -z "$ac_c_werror_flag"
10994 || test ! -s conftest.err'
10995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10996 (eval $ac_try) 2>&5
10998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10999 (exit $ac_status); }; } &&
11000 { ac_try
='test -s conftest$ac_exeext'
11001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11002 (eval $ac_try) 2>&5
11004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11005 (exit $ac_status); }; }; then
11006 ac_cv_lib_dld_shl_load
=yes
11008 echo "$as_me: failed program was:" >&5
11009 sed 's/^/| /' conftest.
$ac_ext >&5
11011 ac_cv_lib_dld_shl_load
=no
11013 rm -f conftest.err conftest.
$ac_objext \
11014 conftest
$ac_exeext conftest.
$ac_ext
11015 LIBS
=$ac_check_lib_save_LIBS
11017 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11018 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11019 if test $ac_cv_lib_dld_shl_load = yes; then
11020 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11022 echo "$as_me:$LINENO: checking for dlopen" >&5
11023 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11024 if test "${ac_cv_func_dlopen+set}" = set; then
11025 echo $ECHO_N "(cached) $ECHO_C" >&6
11027 cat >conftest.
$ac_ext <<_ACEOF
11030 cat confdefs.h
>>conftest.
$ac_ext
11031 cat >>conftest.
$ac_ext <<_ACEOF
11032 /* end confdefs.h. */
11033 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11035 #define dlopen innocuous_dlopen
11037 /* System header to define __stub macros and hopefully few prototypes,
11038 which can conflict with char dlopen (); below.
11039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11040 <limits.h> exists even on freestanding compilers. */
11043 # include <limits.h>
11045 # include <assert.h>
11050 /* Override any gcc2 internal prototype to avoid an error. */
11055 /* We use char because int might match the return type of a gcc2
11056 builtin and then its argument prototype would still apply. */
11058 /* The GNU C library defines this for functions which it implements
11059 to always fail with ENOSYS. Some functions are actually named
11060 something starting with __ and the normal name is an alias. */
11061 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11064 char (*f) () = dlopen;
11073 return f != dlopen;
11078 rm -f conftest.
$ac_objext conftest
$ac_exeext
11079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11080 (eval $ac_link) 2>conftest.er1
11082 grep -v '^ *+' conftest.er1
>conftest.err
11084 cat conftest.err
>&5
11085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11086 (exit $ac_status); } &&
11087 { ac_try
='test -z "$ac_c_werror_flag"
11088 || test ! -s conftest.err'
11089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11090 (eval $ac_try) 2>&5
11092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11093 (exit $ac_status); }; } &&
11094 { ac_try
='test -s conftest$ac_exeext'
11095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11096 (eval $ac_try) 2>&5
11098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11099 (exit $ac_status); }; }; then
11100 ac_cv_func_dlopen
=yes
11102 echo "$as_me: failed program was:" >&5
11103 sed 's/^/| /' conftest.
$ac_ext >&5
11105 ac_cv_func_dlopen
=no
11107 rm -f conftest.err conftest.
$ac_objext \
11108 conftest
$ac_exeext conftest.
$ac_ext
11110 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11111 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11112 if test $ac_cv_func_dlopen = yes; then
11113 lt_cv_dlopen
="dlopen"
11115 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11116 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11117 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11118 echo $ECHO_N "(cached) $ECHO_C" >&6
11120 ac_check_lib_save_LIBS
=$LIBS
11122 cat >conftest.
$ac_ext <<_ACEOF
11125 cat confdefs.h
>>conftest.
$ac_ext
11126 cat >>conftest.
$ac_ext <<_ACEOF
11127 /* end confdefs.h. */
11129 /* Override any gcc2 internal prototype to avoid an error. */
11133 /* We use char because int might match the return type of a gcc2
11134 builtin and then its argument prototype would still apply. */
11144 rm -f conftest.
$ac_objext conftest
$ac_exeext
11145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11146 (eval $ac_link) 2>conftest.er1
11148 grep -v '^ *+' conftest.er1
>conftest.err
11150 cat conftest.err
>&5
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); } &&
11153 { ac_try
='test -z "$ac_c_werror_flag"
11154 || test ! -s conftest.err'
11155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11156 (eval $ac_try) 2>&5
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); }; } &&
11160 { ac_try
='test -s conftest$ac_exeext'
11161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11162 (eval $ac_try) 2>&5
11164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11165 (exit $ac_status); }; }; then
11166 ac_cv_lib_dl_dlopen
=yes
11168 echo "$as_me: failed program was:" >&5
11169 sed 's/^/| /' conftest.
$ac_ext >&5
11171 ac_cv_lib_dl_dlopen
=no
11173 rm -f conftest.err conftest.
$ac_objext \
11174 conftest
$ac_exeext conftest.
$ac_ext
11175 LIBS
=$ac_check_lib_save_LIBS
11177 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11178 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11179 if test $ac_cv_lib_dl_dlopen = yes; then
11180 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11182 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11183 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11184 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11185 echo $ECHO_N "(cached) $ECHO_C" >&6
11187 ac_check_lib_save_LIBS
=$LIBS
11188 LIBS
="-lsvld $LIBS"
11189 cat >conftest.
$ac_ext <<_ACEOF
11192 cat confdefs.h
>>conftest.
$ac_ext
11193 cat >>conftest.
$ac_ext <<_ACEOF
11194 /* end confdefs.h. */
11196 /* Override any gcc2 internal prototype to avoid an error. */
11200 /* We use char because int might match the return type of a gcc2
11201 builtin and then its argument prototype would still apply. */
11211 rm -f conftest.
$ac_objext conftest
$ac_exeext
11212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11213 (eval $ac_link) 2>conftest.er1
11215 grep -v '^ *+' conftest.er1
>conftest.err
11217 cat conftest.err
>&5
11218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 (exit $ac_status); } &&
11220 { ac_try
='test -z "$ac_c_werror_flag"
11221 || test ! -s conftest.err'
11222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11223 (eval $ac_try) 2>&5
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); }; } &&
11227 { ac_try
='test -s conftest$ac_exeext'
11228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11229 (eval $ac_try) 2>&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); }; }; then
11233 ac_cv_lib_svld_dlopen
=yes
11235 echo "$as_me: failed program was:" >&5
11236 sed 's/^/| /' conftest.
$ac_ext >&5
11238 ac_cv_lib_svld_dlopen
=no
11240 rm -f conftest.err conftest.
$ac_objext \
11241 conftest
$ac_exeext conftest.
$ac_ext
11242 LIBS
=$ac_check_lib_save_LIBS
11244 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11245 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11246 if test $ac_cv_lib_svld_dlopen = yes; then
11247 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11249 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11250 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11251 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11252 echo $ECHO_N "(cached) $ECHO_C" >&6
11254 ac_check_lib_save_LIBS
=$LIBS
11256 cat >conftest.
$ac_ext <<_ACEOF
11259 cat confdefs.h
>>conftest.
$ac_ext
11260 cat >>conftest.
$ac_ext <<_ACEOF
11261 /* end confdefs.h. */
11263 /* Override any gcc2 internal prototype to avoid an error. */
11267 /* We use char because int might match the return type of a gcc2
11268 builtin and then its argument prototype would still apply. */
11278 rm -f conftest.
$ac_objext conftest
$ac_exeext
11279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11280 (eval $ac_link) 2>conftest.er1
11282 grep -v '^ *+' conftest.er1
>conftest.err
11284 cat conftest.err
>&5
11285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11286 (exit $ac_status); } &&
11287 { ac_try
='test -z "$ac_c_werror_flag"
11288 || test ! -s conftest.err'
11289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11290 (eval $ac_try) 2>&5
11292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 (exit $ac_status); }; } &&
11294 { ac_try
='test -s conftest$ac_exeext'
11295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11296 (eval $ac_try) 2>&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); }; }; then
11300 ac_cv_lib_dld_dld_link
=yes
11302 echo "$as_me: failed program was:" >&5
11303 sed 's/^/| /' conftest.
$ac_ext >&5
11305 ac_cv_lib_dld_dld_link
=no
11307 rm -f conftest.err conftest.
$ac_objext \
11308 conftest
$ac_exeext conftest.
$ac_ext
11309 LIBS
=$ac_check_lib_save_LIBS
11311 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11312 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11313 if test $ac_cv_lib_dld_dld_link = yes; then
11314 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11335 if test "x$lt_cv_dlopen" != xno
; then
11341 case $lt_cv_dlopen in
11343 save_CPPFLAGS
="$CPPFLAGS"
11344 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11346 save_LDFLAGS
="$LDFLAGS"
11347 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11350 LIBS
="$lt_cv_dlopen_libs $LIBS"
11352 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11353 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11354 if test "${lt_cv_dlopen_self+set}" = set; then
11355 echo $ECHO_N "(cached) $ECHO_C" >&6
11357 if test "$cross_compiling" = yes; then :
11358 lt_cv_dlopen_self
=cross
11360 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11361 lt_status
=$lt_dlunknown
11362 cat > conftest.
$ac_ext <<_LT_EOF
11363 #line 11363 "configure"
11364 #include "confdefs.h"
11373 # define LT_DLGLOBAL RTLD_GLOBAL
11376 # define LT_DLGLOBAL DL_GLOBAL
11378 # define LT_DLGLOBAL 0
11382 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11383 find out it does not work in some platform. */
11384 #ifndef LT_DLLAZY_OR_NOW
11386 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11389 # define LT_DLLAZY_OR_NOW DL_LAZY
11392 # define LT_DLLAZY_OR_NOW RTLD_NOW
11395 # define LT_DLLAZY_OR_NOW DL_NOW
11397 # define LT_DLLAZY_OR_NOW 0
11404 void fnord() { int i=42;}
11407 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11408 int status = $lt_dlunknown;
11412 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11413 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11414 /* dlclose (self); */
11422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11423 (eval $ac_link) 2>&5
11425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11426 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11427 (.
/conftest
; exit; ) >&5 2>/dev
/null
11429 case x
$lt_status in
11430 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11431 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11432 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11435 # compilation failed
11436 lt_cv_dlopen_self
=no
11443 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11444 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11446 if test "x$lt_cv_dlopen_self" = xyes
; then
11447 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11448 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11449 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11450 if test "${lt_cv_dlopen_self_static+set}" = set; then
11451 echo $ECHO_N "(cached) $ECHO_C" >&6
11453 if test "$cross_compiling" = yes; then :
11454 lt_cv_dlopen_self_static
=cross
11456 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11457 lt_status
=$lt_dlunknown
11458 cat > conftest.
$ac_ext <<_LT_EOF
11459 #line 11459 "configure"
11460 #include "confdefs.h"
11469 # define LT_DLGLOBAL RTLD_GLOBAL
11472 # define LT_DLGLOBAL DL_GLOBAL
11474 # define LT_DLGLOBAL 0
11478 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11479 find out it does not work in some platform. */
11480 #ifndef LT_DLLAZY_OR_NOW
11482 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11485 # define LT_DLLAZY_OR_NOW DL_LAZY
11488 # define LT_DLLAZY_OR_NOW RTLD_NOW
11491 # define LT_DLLAZY_OR_NOW DL_NOW
11493 # define LT_DLLAZY_OR_NOW 0
11500 void fnord() { int i=42;}
11503 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11504 int status = $lt_dlunknown;
11508 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11509 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11510 /* dlclose (self); */
11518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11519 (eval $ac_link) 2>&5
11521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11522 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11523 (.
/conftest
; exit; ) >&5 2>/dev
/null
11525 case x
$lt_status in
11526 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11527 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11528 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11531 # compilation failed
11532 lt_cv_dlopen_self_static
=no
11539 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11540 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11543 CPPFLAGS
="$save_CPPFLAGS"
11544 LDFLAGS
="$save_LDFLAGS"
11549 case $lt_cv_dlopen_self in
11550 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11551 *) enable_dlopen_self
=unknown
;;
11554 case $lt_cv_dlopen_self_static in
11555 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11556 *) enable_dlopen_self_static
=unknown
;;
11578 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11579 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11580 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11581 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11582 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11583 echo "$as_me:$LINENO: result: yes" >&5
11584 echo "${ECHO_T}yes" >&6
11586 # FIXME - insert some real tests, host_os isn't really good enough
11589 if test -n "$STRIP" ; then
11590 striplib
="$STRIP -x"
11591 old_striplib
="$STRIP -S"
11592 echo "$as_me:$LINENO: result: yes" >&5
11593 echo "${ECHO_T}yes" >&6
11595 echo "$as_me:$LINENO: result: no" >&5
11596 echo "${ECHO_T}no" >&6
11600 echo "$as_me:$LINENO: result: no" >&5
11601 echo "${ECHO_T}no" >&6
11617 # Report which library types will actually be built
11618 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11619 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11620 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11621 echo "${ECHO_T}$can_build_shared" >&6
11623 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11624 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11625 test "$can_build_shared" = "no" && enable_shared
=no
11627 # On AIX, shared libraries and static libraries use the same namespace, and
11628 # are all built from PIC.
11631 test "$enable_shared" = yes && enable_static
=no
11632 if test -n "$RANLIB"; then
11633 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11634 postinstall_cmds
='$RANLIB $lib'
11639 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11640 test "$enable_shared" = yes && enable_static
=no
11644 echo "$as_me:$LINENO: result: $enable_shared" >&5
11645 echo "${ECHO_T}$enable_shared" >&6
11647 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11648 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11649 # Make sure either enable_shared or enable_static is yes.
11650 test "$enable_shared" = yes || enable_static
=yes
11651 echo "$as_me:$LINENO: result: $enable_static" >&5
11652 echo "${ECHO_T}$enable_static" >&6
11659 ac_cpp
='$CPP $CPPFLAGS'
11660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11678 ac_config_commands
="$ac_config_commands libtool"
11683 # Only expand once:
11688 for ac_func
in setmode
11690 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11691 echo "$as_me:$LINENO: checking for $ac_func" >&5
11692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11693 if eval "test \"\${$as_ac_var+set}\" = set"; then
11694 echo $ECHO_N "(cached) $ECHO_C" >&6
11696 cat >conftest.
$ac_ext <<_ACEOF
11699 cat confdefs.h
>>conftest.
$ac_ext
11700 cat >>conftest.
$ac_ext <<_ACEOF
11701 /* end confdefs.h. */
11702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11704 #define $ac_func innocuous_$ac_func
11706 /* System header to define __stub macros and hopefully few prototypes,
11707 which can conflict with char $ac_func (); below.
11708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11709 <limits.h> exists even on freestanding compilers. */
11712 # include <limits.h>
11714 # include <assert.h>
11719 /* Override any gcc2 internal prototype to avoid an error. */
11724 /* We use char because int might match the return type of a gcc2
11725 builtin and then its argument prototype would still apply. */
11727 /* The GNU C library defines this for functions which it implements
11728 to always fail with ENOSYS. Some functions are actually named
11729 something starting with __ and the normal name is an alias. */
11730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11733 char (*f) () = $ac_func;
11742 return f != $ac_func;
11747 rm -f conftest.
$ac_objext conftest
$ac_exeext
11748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11749 (eval $ac_link) 2>conftest.er1
11751 grep -v '^ *+' conftest.er1
>conftest.err
11753 cat conftest.err
>&5
11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 (exit $ac_status); } &&
11756 { ac_try
='test -z "$ac_c_werror_flag"
11757 || test ! -s conftest.err'
11758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11759 (eval $ac_try) 2>&5
11761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11762 (exit $ac_status); }; } &&
11763 { ac_try
='test -s conftest$ac_exeext'
11764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11765 (eval $ac_try) 2>&5
11767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11768 (exit $ac_status); }; }; then
11769 eval "$as_ac_var=yes"
11771 echo "$as_me: failed program was:" >&5
11772 sed 's/^/| /' conftest.
$ac_ext >&5
11774 eval "$as_ac_var=no"
11776 rm -f conftest.err conftest.
$ac_objext \
11777 conftest
$ac_exeext conftest.
$ac_ext
11779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11781 if test `eval echo '${'$as_ac_var'}'` = yes; then
11782 cat >>confdefs.h
<<_ACEOF
11783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11790 ALL_LINGUAS
="fr tr sv es id da pt_BR de vi rw ga ms fi nl"
11791 # If we haven't got the data from the intl directory,
11792 # assume NLS is disabled.
11801 if test -f ..
/intl
/config.intl
; then
11802 . ..
/intl
/config.intl
11804 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
11805 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
11806 if test x
"$USE_NLS" != xyes
; then
11807 echo "$as_me:$LINENO: result: no" >&5
11808 echo "${ECHO_T}no" >&6
11810 echo "$as_me:$LINENO: result: yes" >&5
11811 echo "${ECHO_T}yes" >&6
11813 cat >>confdefs.h
<<\_ACEOF
11814 #define ENABLE_NLS 1
11818 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
11819 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
11820 # Look for .po and .gmo files in the source directory.
11823 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
11824 # If there aren't any .gmo files the shell will give us the
11825 # literal string "../path/to/srcdir/po/*.gmo" which has to be
11827 case "$cat" in *\
**)
11830 # The quadruple backslash is collapsed to a double backslash
11831 # by the backticks, then collapsed again by the double quotes,
11832 # leaving us with one backslash in the sed expression (right
11833 # before the dot that mustn't act as a wildcard).
11834 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11835 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
11836 # The user is allowed to set LINGUAS to a list of languages to
11837 # install catalogs for. If it's empty that means "all of them."
11838 if test "x$LINGUAS" = x
; then
11839 CATALOGS
="$CATALOGS $cat"
11840 XLINGUAS
="$XLINGUAS $lang"
11842 case "$LINGUAS" in *$lang*)
11843 CATALOGS
="$CATALOGS $cat"
11844 XLINGUAS
="$XLINGUAS $lang"
11849 LINGUAS
="$XLINGUAS"
11850 echo "$as_me:$LINENO: result: $LINGUAS" >&5
11851 echo "${ECHO_T}$LINGUAS" >&6
11865 if test -n "$ac_aux_dir"; then
11866 case "$ac_aux_dir" in
11867 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
11868 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11871 if test -z "$MKINSTALLDIRS"; then
11872 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11877 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
11878 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
11879 # Check whether --enable-nls or --disable-nls was given.
11880 if test "${enable_nls+set}" = set; then
11881 enableval
="$enable_nls"
11886 echo "$as_me:$LINENO: result: $USE_NLS" >&5
11887 echo "${ECHO_T}$USE_NLS" >&6
11894 # Prepare PATH_SEPARATOR.
11895 # The user is always right.
11896 if test "${PATH_SEPARATOR+set}" != set; then
11897 echo "#! /bin/sh" >conf$$.sh
11898 echo "exit 0" >>conf$$.sh
11900 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11908 # Find out how to test for executable files. Don't use a zero-byte file,
11909 # as systems may use methods other than mode bits to determine executability.
11910 cat >conf$$.
file <<_ASEOF
11914 chmod +x conf$$.
file
11915 if test -x conf$$.
file >/dev
/null
2>&1; then
11916 ac_executable_p
="test -x"
11918 ac_executable_p
="test -f"
11922 # Extract the first word of "msgfmt", so it can be a program name with args.
11923 set dummy msgfmt
; ac_word
=$2
11924 echo "$as_me:$LINENO: checking for $ac_word" >&5
11925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11926 if test "${ac_cv_path_MSGFMT+set}" = set; then
11927 echo $ECHO_N "(cached) $ECHO_C" >&6
11931 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11934 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11935 for ac_dir
in $PATH; do
11937 test -z "$ac_dir" && ac_dir
=.
11938 for ac_exec_ext
in '' $ac_executable_extensions; do
11939 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11940 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11941 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11942 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
11949 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11953 MSGFMT
="$ac_cv_path_MSGFMT"
11954 if test "$MSGFMT" != ":"; then
11955 echo "$as_me:$LINENO: result: $MSGFMT" >&5
11956 echo "${ECHO_T}$MSGFMT" >&6
11958 echo "$as_me:$LINENO: result: no" >&5
11959 echo "${ECHO_T}no" >&6
11962 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11963 set dummy gmsgfmt
; ac_word
=$2
11964 echo "$as_me:$LINENO: checking for $ac_word" >&5
11965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11966 if test "${ac_cv_path_GMSGFMT+set}" = set; then
11967 echo $ECHO_N "(cached) $ECHO_C" >&6
11971 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11975 for as_dir
in $PATH
11978 test -z "$as_dir" && as_dir
=.
11979 for ac_exec_ext
in '' $ac_executable_extensions; do
11980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11981 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11988 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11992 GMSGFMT
=$ac_cv_path_GMSGFMT
11994 if test -n "$GMSGFMT"; then
11995 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
11996 echo "${ECHO_T}$GMSGFMT" >&6
11998 echo "$as_me:$LINENO: result: no" >&5
11999 echo "${ECHO_T}no" >&6
12004 # Prepare PATH_SEPARATOR.
12005 # The user is always right.
12006 if test "${PATH_SEPARATOR+set}" != set; then
12007 echo "#! /bin/sh" >conf$$.sh
12008 echo "exit 0" >>conf$$.sh
12010 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12018 # Find out how to test for executable files. Don't use a zero-byte file,
12019 # as systems may use methods other than mode bits to determine executability.
12020 cat >conf$$.
file <<_ASEOF
12024 chmod +x conf$$.
file
12025 if test -x conf$$.
file >/dev
/null
2>&1; then
12026 ac_executable_p
="test -x"
12028 ac_executable_p
="test -f"
12032 # Extract the first word of "xgettext", so it can be a program name with args.
12033 set dummy xgettext
; ac_word
=$2
12034 echo "$as_me:$LINENO: checking for $ac_word" >&5
12035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12036 if test "${ac_cv_path_XGETTEXT+set}" = set; then
12037 echo $ECHO_N "(cached) $ECHO_C" >&6
12039 case "$XGETTEXT" in
12041 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
12044 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12045 for ac_dir
in $PATH; do
12047 test -z "$ac_dir" && ac_dir
=.
12048 for ac_exec_ext
in '' $ac_executable_extensions; do
12049 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12050 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
12051 (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
12052 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
12059 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
12063 XGETTEXT
="$ac_cv_path_XGETTEXT"
12064 if test "$XGETTEXT" != ":"; then
12065 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
12066 echo "${ECHO_T}$XGETTEXT" >&6
12068 echo "$as_me:$LINENO: result: no" >&5
12069 echo "${ECHO_T}no" >&6
12075 # Prepare PATH_SEPARATOR.
12076 # The user is always right.
12077 if test "${PATH_SEPARATOR+set}" != set; then
12078 echo "#! /bin/sh" >conf$$.sh
12079 echo "exit 0" >>conf$$.sh
12081 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12089 # Find out how to test for executable files. Don't use a zero-byte file,
12090 # as systems may use methods other than mode bits to determine executability.
12091 cat >conf$$.
file <<_ASEOF
12095 chmod +x conf$$.
file
12096 if test -x conf$$.
file >/dev
/null
2>&1; then
12097 ac_executable_p
="test -x"
12099 ac_executable_p
="test -f"
12103 # Extract the first word of "msgmerge", so it can be a program name with args.
12104 set dummy msgmerge
; ac_word
=$2
12105 echo "$as_me:$LINENO: checking for $ac_word" >&5
12106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12107 if test "${ac_cv_path_MSGMERGE+set}" = set; then
12108 echo $ECHO_N "(cached) $ECHO_C" >&6
12110 case "$MSGMERGE" in
12112 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
12115 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12116 for ac_dir
in $PATH; do
12118 test -z "$ac_dir" && ac_dir
=.
12119 for ac_exec_ext
in '' $ac_executable_extensions; do
12120 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12121 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
12122 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
12129 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
12133 MSGMERGE
="$ac_cv_path_MSGMERGE"
12134 if test "$MSGMERGE" != ":"; then
12135 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
12136 echo "${ECHO_T}$MSGMERGE" >&6
12138 echo "$as_me:$LINENO: result: no" >&5
12139 echo "${ECHO_T}no" >&6
12143 if test "$GMSGFMT" != ":"; then
12144 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
12145 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12148 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
12149 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12150 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
12155 if test "$XGETTEXT" != ":"; then
12156 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
12157 (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
12160 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
12161 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
12167 ac_config_commands
="$ac_config_commands default-1"
12171 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
12172 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
12173 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12174 if test "${enable_maintainer_mode+set}" = set; then
12175 enableval
="$enable_maintainer_mode"
12176 USE_MAINTAINER_MODE
=$enableval
12178 USE_MAINTAINER_MODE
=no
12180 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
12181 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12184 if test $USE_MAINTAINER_MODE = yes; then
12185 MAINTAINER_MODE_TRUE
=
12186 MAINTAINER_MODE_FALSE
='#'
12188 MAINTAINER_MODE_TRUE
='#'
12189 MAINTAINER_MODE_FALSE
=
12192 MAINT
=$MAINTAINER_MODE_TRUE
12198 GENINSRC_NEVER_TRUE
=
12199 GENINSRC_NEVER_FALSE
='#'
12201 GENINSRC_NEVER_TRUE
='#'
12202 GENINSRC_NEVER_FALSE
=
12208 for ac_header
in sys
/gmon_out.h
12210 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12212 echo "$as_me:$LINENO: checking for $ac_header" >&5
12213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12215 echo $ECHO_N "(cached) $ECHO_C" >&6
12217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12220 # Is the header compilable?
12221 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12222 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12223 cat >conftest.
$ac_ext <<_ACEOF
12226 cat confdefs.h
>>conftest.
$ac_ext
12227 cat >>conftest.
$ac_ext <<_ACEOF
12228 /* end confdefs.h. */
12229 $ac_includes_default
12230 #include <$ac_header>
12232 rm -f conftest.
$ac_objext
12233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12234 (eval $ac_compile) 2>conftest.er1
12236 grep -v '^ *+' conftest.er1
>conftest.err
12238 cat conftest.err
>&5
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); } &&
12241 { ac_try
='test -z "$ac_c_werror_flag"
12242 || test ! -s conftest.err'
12243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12244 (eval $ac_try) 2>&5
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); }; } &&
12248 { ac_try
='test -s conftest.$ac_objext'
12249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12250 (eval $ac_try) 2>&5
12252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12253 (exit $ac_status); }; }; then
12254 ac_header_compiler
=yes
12256 echo "$as_me: failed program was:" >&5
12257 sed 's/^/| /' conftest.
$ac_ext >&5
12259 ac_header_compiler
=no
12261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12262 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12263 echo "${ECHO_T}$ac_header_compiler" >&6
12265 # Is the header present?
12266 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12267 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12268 cat >conftest.
$ac_ext <<_ACEOF
12271 cat confdefs.h
>>conftest.
$ac_ext
12272 cat >>conftest.
$ac_ext <<_ACEOF
12273 /* end confdefs.h. */
12274 #include <$ac_header>
12276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12277 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12279 grep -v '^ *+' conftest.er1
>conftest.err
12281 cat conftest.err
>&5
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); } >/dev
/null
; then
12284 if test -s conftest.err
; then
12285 ac_cpp_err
=$ac_c_preproc_warn_flag
12286 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12293 if test -z "$ac_cpp_err"; then
12294 ac_header_preproc
=yes
12296 echo "$as_me: failed program was:" >&5
12297 sed 's/^/| /' conftest.
$ac_ext >&5
12299 ac_header_preproc
=no
12301 rm -f conftest.err conftest.
$ac_ext
12302 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12303 echo "${ECHO_T}$ac_header_preproc" >&6
12305 # So? What about this header?
12306 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12308 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12309 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12311 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12312 ac_header_preproc
=yes
12315 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12316 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12317 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12318 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12319 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12320 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12321 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12322 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12324 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12325 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12326 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12329 ## ------------------------------------------ ##
12330 ## Report this to the AC_PACKAGE_NAME lists. ##
12331 ## ------------------------------------------ ##
12334 sed "s/^/$as_me: WARNING: /" >&2
12337 echo "$as_me:$LINENO: checking for $ac_header" >&5
12338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12340 echo $ECHO_N "(cached) $ECHO_C" >&6
12342 eval "$as_ac_Header=\$ac_header_preproc"
12344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12349 cat >>confdefs.h
<<_ACEOF
12350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12358 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
12359 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
12360 if test "${gprof_cv_decl_getopt_unistd_h+set}" = set; then
12361 echo $ECHO_N "(cached) $ECHO_C" >&6
12363 cat >conftest.
$ac_ext <<_ACEOF
12366 cat confdefs.h
>>conftest.
$ac_ext
12367 cat >>conftest.
$ac_ext <<_ACEOF
12368 /* end confdefs.h. */
12369 #include <unistd.h>
12373 extern int getopt (int, char *const*, const char *);
12378 rm -f conftest.
$ac_objext
12379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12380 (eval $ac_compile) 2>conftest.er1
12382 grep -v '^ *+' conftest.er1
>conftest.err
12384 cat conftest.err
>&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); } &&
12387 { ac_try
='test -z "$ac_c_werror_flag"
12388 || test ! -s conftest.err'
12389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12390 (eval $ac_try) 2>&5
12392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12393 (exit $ac_status); }; } &&
12394 { ac_try
='test -s conftest.$ac_objext'
12395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12396 (eval $ac_try) 2>&5
12398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12399 (exit $ac_status); }; }; then
12400 gprof_cv_decl_getopt_unistd_h
=yes
12402 echo "$as_me: failed program was:" >&5
12403 sed 's/^/| /' conftest.
$ac_ext >&5
12405 gprof_cv_decl_getopt_unistd_h
=no
12407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12410 echo "$as_me:$LINENO: result: $gprof_cv_decl_getopt_unistd_h" >&5
12411 echo "${ECHO_T}$gprof_cv_decl_getopt_unistd_h" >&6
12412 if test $gprof_cv_decl_getopt_unistd_h = yes; then
12414 cat >>confdefs.h
<<\_ACEOF
12415 #define HAVE_DECL_GETOPT 1
12420 # Some systems have fabs only in -lm, not in -lc.
12421 echo "$as_me:$LINENO: checking for library containing fabs" >&5
12422 echo $ECHO_N "checking for library containing fabs... $ECHO_C" >&6
12423 if test "${ac_cv_search_fabs+set}" = set; then
12424 echo $ECHO_N "(cached) $ECHO_C" >&6
12426 ac_func_search_save_LIBS
=$LIBS
12427 ac_cv_search_fabs
=no
12428 cat >conftest.
$ac_ext <<_ACEOF
12431 cat confdefs.h
>>conftest.
$ac_ext
12432 cat >>conftest.
$ac_ext <<_ACEOF
12433 /* end confdefs.h. */
12435 /* Override any gcc2 internal prototype to avoid an error. */
12439 /* We use char because int might match the return type of a gcc2
12440 builtin and then its argument prototype would still apply. */
12450 rm -f conftest.
$ac_objext conftest
$ac_exeext
12451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12452 (eval $ac_link) 2>conftest.er1
12454 grep -v '^ *+' conftest.er1
>conftest.err
12456 cat conftest.err
>&5
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); } &&
12459 { ac_try
='test -z "$ac_c_werror_flag"
12460 || test ! -s conftest.err'
12461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12462 (eval $ac_try) 2>&5
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); }; } &&
12466 { ac_try
='test -s conftest$ac_exeext'
12467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12468 (eval $ac_try) 2>&5
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); }; }; then
12472 ac_cv_search_fabs
="none required"
12474 echo "$as_me: failed program was:" >&5
12475 sed 's/^/| /' conftest.
$ac_ext >&5
12478 rm -f conftest.err conftest.
$ac_objext \
12479 conftest
$ac_exeext conftest.
$ac_ext
12480 if test "$ac_cv_search_fabs" = no
; then
12481 for ac_lib
in m
; do
12482 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12483 cat >conftest.
$ac_ext <<_ACEOF
12486 cat confdefs.h
>>conftest.
$ac_ext
12487 cat >>conftest.
$ac_ext <<_ACEOF
12488 /* end confdefs.h. */
12490 /* Override any gcc2 internal prototype to avoid an error. */
12494 /* We use char because int might match the return type of a gcc2
12495 builtin and then its argument prototype would still apply. */
12505 rm -f conftest.
$ac_objext conftest
$ac_exeext
12506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12507 (eval $ac_link) 2>conftest.er1
12509 grep -v '^ *+' conftest.er1
>conftest.err
12511 cat conftest.err
>&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); } &&
12514 { ac_try
='test -z "$ac_c_werror_flag"
12515 || test ! -s conftest.err'
12516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12517 (eval $ac_try) 2>&5
12519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12520 (exit $ac_status); }; } &&
12521 { ac_try
='test -s conftest$ac_exeext'
12522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12523 (eval $ac_try) 2>&5
12525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12526 (exit $ac_status); }; }; then
12527 ac_cv_search_fabs
="-l$ac_lib"
12530 echo "$as_me: failed program was:" >&5
12531 sed 's/^/| /' conftest.
$ac_ext >&5
12534 rm -f conftest.err conftest.
$ac_objext \
12535 conftest
$ac_exeext conftest.
$ac_ext
12538 LIBS
=$ac_func_search_save_LIBS
12540 echo "$as_me:$LINENO: result: $ac_cv_search_fabs" >&5
12541 echo "${ECHO_T}$ac_cv_search_fabs" >&6
12542 if test "$ac_cv_search_fabs" != no
; then
12543 test "$ac_cv_search_fabs" = "none required" || LIBS
="$ac_cv_search_fabs $LIBS"
12549 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
12551 # Check whether --enable-werror or --disable-werror was given.
12552 if test "${enable_werror+set}" = set; then
12553 enableval
="$enable_werror"
12554 case "${enableval}" in
12555 yes | y
) ERROR_ON_WARNING
="yes" ;;
12556 no | n
) ERROR_ON_WARNING
="no" ;;
12557 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
12558 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
12559 { (exit 1); exit 1; }; } ;;
12563 # Enable -Wno-format by default when using gcc on mingw
12566 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
12567 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
12573 # Enable -Werror by default when using gcc
12574 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
12575 ERROR_ON_WARNING
=yes
12579 if test "${ERROR_ON_WARNING}" = yes ; then
12580 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
12581 NO_WERROR
="-Wno-error"
12584 if test "${GCC}" = yes ; then
12585 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
12588 # Check whether --enable-build-warnings or --disable-build-warnings was given.
12589 if test "${enable_build_warnings+set}" = set; then
12590 enableval
="$enable_build_warnings"
12591 case "${enableval}" in
12592 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
12593 no
) if test "${GCC}" = yes ; then
12596 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
12597 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
12598 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
12599 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
12600 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
12604 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
12605 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
12616 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
12618 cat >confcache
<<\_ACEOF
12619 # This file is a shell script that caches the results of configure
12620 # tests run on this system so they can be shared between configure
12621 # scripts and configure runs, see configure's option --config-cache.
12622 # It is not useful on other systems. If it contains results you don't
12623 # want to keep, you may remove or edit it.
12625 # config.status only pays attention to the cache file if you give it
12626 # the --recheck option to rerun configure.
12628 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12629 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12630 # following values.
12634 # The following way of writing the cache mishandles newlines in values,
12635 # but we know of no workaround that is simple, portable, and efficient.
12636 # So, don't put newlines in cache variables' values.
12637 # Ultrix sh set writes to stderr and can't be redirected directly,
12638 # and sets the high bit in the cache file unless we assign to the vars.
12641 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12643 # `set' does not quote correctly, so add quotes (double-quote
12644 # substitution turns \\\\ into \\, and sed turns \\ into \).
12647 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12650 # `set' quotes correctly as required by POSIX, so do not add quotes.
12652 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12659 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12661 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12663 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12664 if test -w $cache_file; then
12665 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12666 cat confcache
>$cache_file
12668 echo "not updating unwritable cache $cache_file"
12673 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12674 # Let make expand exec_prefix.
12675 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12677 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12678 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12679 # trailing colons and then remove the whole line if VPATH becomes empty
12680 # (actually we leave an empty line to preserve line numbers).
12681 if test "x$srcdir" = x.
; then
12682 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12683 s/:*\$(srcdir):*/:/;
12684 s/:*\${srcdir}:*/:/;
12686 s/^\([^=]*=[ ]*\):*/\1/;
12692 DEFS
=-DHAVE_CONFIG_H
12696 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12697 # 1. Remove the extension, and $U if already installed.
12698 ac_i
=`echo "$ac_i" |
12699 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12701 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12702 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12704 LIBOBJS
=$ac_libobjs
12706 LTLIBOBJS
=$ac_ltlibobjs
12709 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12710 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12711 Usually this means the macro was only invoked conditionally." >&5
12712 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12713 Usually this means the macro was only invoked conditionally." >&2;}
12714 { (exit 1); exit 1; }; }
12716 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12717 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12718 Usually this means the macro was only invoked conditionally." >&5
12719 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12720 Usually this means the macro was only invoked conditionally." >&2;}
12721 { (exit 1); exit 1; }; }
12723 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12724 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12725 Usually this means the macro was only invoked conditionally." >&5
12726 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12727 Usually this means the macro was only invoked conditionally." >&2;}
12728 { (exit 1); exit 1; }; }
12730 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
12731 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
12732 Usually this means the macro was only invoked conditionally." >&5
12733 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
12734 Usually this means the macro was only invoked conditionally." >&2;}
12735 { (exit 1); exit 1; }; }
12738 : ${CONFIG_STATUS=./config.status}
12739 ac_clean_files_save
=$ac_clean_files
12740 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12741 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12742 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12743 cat >$CONFIG_STATUS <<_ACEOF
12745 # Generated by $as_me.
12746 # Run this file to recreate the current configuration.
12747 # Compiler output produced by configure, useful for debugging
12748 # configure, is in config.log if it exists.
12751 ac_cs_recheck=false
12753 SHELL=\${CONFIG_SHELL-$SHELL}
12756 cat >>$CONFIG_STATUS <<\_ACEOF
12757 ## --------------------- ##
12758 ## M4sh Initialization. ##
12759 ## --------------------- ##
12761 # Be Bourne compatible
12762 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12765 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12766 # is contrary to our usage. Disable this feature.
12767 alias -g '${1+"$@"}'='"$@"'
12768 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12771 DUALCASE
=1; export DUALCASE
# for MKS sh
12773 # Support unset when possible.
12774 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12781 # Work around bugs in pre-3.0 UWIN ksh.
12782 $as_unset ENV MAIL MAILPATH
12789 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12790 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12791 LC_TELEPHONE LC_TIME
12793 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12794 eval $as_var=C
; export $as_var
12800 # Required to use basename.
12801 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12807 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12808 as_basename
=basename
12814 # Name of the executable.
12815 as_me
=`$as_basename "$0" ||
12816 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12817 X"$0" : 'X\(//\)$' \| \
12818 X"$0" : 'X\(/\)$' \| \
12819 . : '\(.\)' 2>/dev/null ||
12821 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12822 /^X\/\(\/\/\)$/{ s//\1/; q; }
12823 /^X\/\(\/\).*/{ s//\1/; q; }
12827 # PATH needs CR, and LINENO needs CR and PATH.
12828 # Avoid depending upon Character Ranges.
12829 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12830 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12831 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12832 as_cr_digits
='0123456789'
12833 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12835 # The user is always right.
12836 if test "${PATH_SEPARATOR+set}" != set; then
12837 echo "#! /bin/sh" >conf$$.sh
12838 echo "exit 0" >>conf$$.sh
12840 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12849 as_lineno_1
=$LINENO
12850 as_lineno_2
=$LINENO
12851 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12852 test "x$as_lineno_1" != "x$as_lineno_2" &&
12853 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12854 # Find who we are. Look in the path if we contain no path at all
12857 *[\\/]* ) as_myself
=$0 ;;
12858 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12859 for as_dir
in $PATH
12862 test -z "$as_dir" && as_dir
=.
12863 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12868 # We did not find ourselves, most probably we were run as `sh COMMAND'
12869 # in which case we are not to be found in the path.
12870 if test "x$as_myself" = x
; then
12873 if test ! -f "$as_myself"; then
12874 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12875 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12876 { (exit 1); exit 1; }; }
12878 case $CONFIG_SHELL in
12880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12881 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12884 test -z "$as_dir" && as_dir
=.
12885 for as_base
in sh bash ksh sh5
; do
12888 if ("$as_dir/$as_base" -c '
12889 as_lineno_1=$LINENO
12890 as_lineno_2=$LINENO
12891 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12892 test "x$as_lineno_1" != "x$as_lineno_2" &&
12893 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12894 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12895 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12896 CONFIG_SHELL
=$as_dir/$as_base
12897 export CONFIG_SHELL
12898 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12906 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12907 # uniformly replaced by the line number. The first 'sed' inserts a
12908 # line-number line before each line; the second 'sed' does the real
12909 # work. The second script uses 'N' to pair each line-number line
12910 # with the numbered line, and appends trailing '-' during
12911 # substitution so that $LINENO is not a special case at line end.
12912 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12913 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12914 sed '=' <$as_myself |
12919 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12922 s,^['$as_cr_digits']*\n,,
12923 ' >$as_me.lineno
&&
12924 chmod +x
$as_me.lineno ||
12925 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12926 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12927 { (exit 1); exit 1; }; }
12929 # Don't try to exec as it changes $[0], causing all sort of problems
12930 # (the dirname of $[0] is not the place where we might find the
12931 # original and so on. Autoconf is especially sensible to this).
12933 # Exit status is that of the last command.
12938 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12939 *c
*,-n*) ECHO_N
= ECHO_C
='
12941 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12942 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12945 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12951 rm -f conf$$ conf$$.exe conf$$.
file
12953 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12954 # We could just check for DJGPP; but this test a) works b) is more generic
12955 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12956 if test -f conf$$.exe
; then
12957 # Don't use ln at all; we don't have any links
12962 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12967 rm -f conf$$ conf$$.exe conf$$.
file
12969 if mkdir
-p .
2>/dev
/null
; then
12972 test -d .
/-p && rmdir .
/-p
12976 as_executable_p
="test -f"
12978 # Sed expression to map a string onto a valid CPP name.
12979 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12981 # Sed expression to map a string onto a valid variable name.
12982 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12986 # We need space, tab and new line, in precisely that order.
12996 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12997 # report actual input values of CONFIG_FILES etc. instead of their
12998 # values after options handling. Logging --version etc. is OK.
13002 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13003 ## Running $as_me. ##
13008 This file was extended by $as_me, which was
13009 generated by GNU Autoconf 2.59. Invocation command line was
13011 CONFIG_FILES = $CONFIG_FILES
13012 CONFIG_HEADERS = $CONFIG_HEADERS
13013 CONFIG_LINKS = $CONFIG_LINKS
13014 CONFIG_COMMANDS = $CONFIG_COMMANDS
13018 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
13022 # Files that config.status was made for.
13023 if test -n "$ac_config_files"; then
13024 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
13027 if test -n "$ac_config_headers"; then
13028 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13031 if test -n "$ac_config_links"; then
13032 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13035 if test -n "$ac_config_commands"; then
13036 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13039 cat >>$CONFIG_STATUS <<\_ACEOF
13042 \`$as_me' instantiates files from templates according to the
13043 current configuration.
13045 Usage: $0 [OPTIONS] [FILE]...
13047 -h, --help print this help, then exit
13048 -V, --version print version number, then exit
13049 -q, --quiet do not print progress messages
13050 -d, --debug don't remove temporary files
13051 --recheck update $as_me by reconfiguring in the same conditions
13052 --file=FILE[:TEMPLATE]
13053 instantiate the configuration file FILE
13054 --header=FILE[:TEMPLATE]
13055 instantiate the configuration header FILE
13057 Configuration files:
13060 Configuration headers:
13063 Configuration commands:
13066 Report bugs to <bug-autoconf@gnu.org>."
13069 cat >>$CONFIG_STATUS <<_ACEOF
13072 configured by $0, generated by GNU Autoconf 2.59,
13073 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13075 Copyright (C) 2003 Free Software Foundation, Inc.
13076 This config.status script is free software; the Free Software Foundation
13077 gives unlimited permission to copy, distribute and modify it."
13082 cat >>$CONFIG_STATUS <<\_ACEOF
13083 # If no file are specified by the user, then we need to provide default
13084 # value. By we need to know if files were specified by the user.
13090 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
13091 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
13099 *) # This is not an option, so the user has probably given explicit
13102 ac_need_defaults
=false
;;
13106 # Handling of the options.
13108 cat >>$CONFIG_STATUS <<\_ACEOF
13109 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13111 --version |
--vers* |
-V )
13112 echo "$ac_cs_version"; exit 0 ;;
13114 # Conflict between --help and --header
13115 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13116 Try \`$0 --help' for more information." >&5
13117 echo "$as_me: error: ambiguous option: $1
13118 Try \`$0 --help' for more information." >&2;}
13119 { (exit 1); exit 1; }; };;
13120 --help |
--hel |
-h )
13121 echo "$ac_cs_usage"; exit 0 ;;
13122 --debug |
--d* |
-d )
13124 --file |
--fil |
--fi |
--f )
13126 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13127 ac_need_defaults
=false
;;
13128 --header |
--heade |
--head |
--hea )
13130 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13131 ac_need_defaults
=false
;;
13132 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13133 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13136 # This is an error.
13137 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13138 Try \`$0 --help' for more information." >&5
13139 echo "$as_me: error: unrecognized option: $1
13140 Try \`$0 --help' for more information." >&2;}
13141 { (exit 1); exit 1; }; } ;;
13143 *) ac_config_targets
="$ac_config_targets $1" ;;
13149 ac_configure_extra_args
=
13151 if $ac_cs_silent; then
13153 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13157 cat >>$CONFIG_STATUS <<_ACEOF
13158 if \$ac_cs_recheck; then
13159 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13160 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13165 cat >>$CONFIG_STATUS <<_ACEOF
13167 # INIT-COMMANDS section.
13170 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13173 # The HP-UX ksh and POSIX shell print the target directory to stdout
13174 # if CDPATH is set.
13175 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13177 sed_quote_subst='$sed_quote_subst'
13178 double_quote_subst='$double_quote_subst'
13179 delay_variable_subst='$delay_variable_subst'
13180 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13181 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13182 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13183 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13184 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13185 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13186 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13187 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13188 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13189 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13190 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13191 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13192 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13193 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13194 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13195 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13196 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13197 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13198 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13199 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13200 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13201 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13202 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13203 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13204 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13205 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13206 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13207 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13208 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13209 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13210 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13211 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13212 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13213 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13214 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13215 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13216 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13217 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13218 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13219 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13220 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13221 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13222 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13223 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13224 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"`'
13225 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13226 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13227 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13228 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13229 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13230 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13231 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13232 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13233 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13234 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13235 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13236 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13237 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13238 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13239 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13240 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13241 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13242 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13243 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13244 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13245 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13246 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13247 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13248 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13249 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13250 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13251 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13252 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13253 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13254 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13255 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13256 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13257 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13258 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13259 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13260 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13261 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13262 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13263 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13264 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13265 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13266 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13267 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13268 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13269 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13270 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13271 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13272 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13273 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13274 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13275 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13276 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13277 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13278 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13279 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13280 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13281 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13282 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13283 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13284 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13285 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13286 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13287 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13288 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13289 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13290 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13291 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13292 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13293 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13294 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13295 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13296 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13297 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13300 LTCFLAGS='$LTCFLAGS'
13301 compiler='$compiler_DEFAULT'
13303 # Quote evaled strings.
13315 deplibs_check_method \
13324 lt_cv_sys_global_symbol_pipe \
13325 lt_cv_sys_global_symbol_to_cdecl \
13326 lt_cv_sys_global_symbol_to_c_name_address \
13327 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13330 lt_prog_compiler_no_builtin_flag \
13331 lt_prog_compiler_wl \
13332 lt_prog_compiler_pic \
13333 lt_prog_compiler_static \
13334 lt_cv_prog_compiler_c_o \
13342 export_dynamic_flag_spec \
13343 whole_archive_flag_spec \
13344 compiler_needs_object \
13346 allow_undefined_flag \
13347 no_undefined_flag \
13348 hardcode_libdir_flag_spec \
13349 hardcode_libdir_flag_spec_ld \
13350 hardcode_libdir_separator \
13355 variables_saved_for_relink \
13357 library_names_spec \
13362 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13363 *[\\\\\\\`\\"\\\$]*)
13364 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13367 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13372 # Double-quote double-evaled strings.
13373 for var in reload_cmds \
13374 old_postinstall_cmds \
13375 old_postuninstall_cmds \
13377 extract_expsyms_cmds \
13378 old_archive_from_new_cmds \
13379 old_archive_from_expsyms_cmds \
13381 archive_expsym_cmds \
13383 module_expsym_cmds \
13384 export_symbols_cmds \
13387 postuninstall_cmds \
13389 sys_lib_search_path_spec \
13390 sys_lib_dlsearch_path_spec; do
13391 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13392 *[\\\\\\\`\\"\\\$]*)
13393 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13396 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13401 # Fix-up fallback echo if it was mangled by the above quoting rules.
13403 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13407 ac_aux_dir='$ac_aux_dir'
13408 xsi_shell='$xsi_shell'
13409 lt_shell_append='$lt_shell_append'
13411 # See if we are running on zsh, and set the options which allow our
13412 # commands through without removal of \ escapes INIT.
13413 if test -n "\${ZSH_VERSION+set}" ; then
13414 setopt NO_GLOB_SUBST
13420 TIMESTAMP='$TIMESTAMP'
13426 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
13427 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
13429 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13430 # Capture the value of LINGUAS because we need it to compute CATALOGS.
13431 LINGUAS="${LINGUAS-%UNSET%}"
13438 cat >>$CONFIG_STATUS <<\_ACEOF
13439 for ac_config_target
in $ac_config_targets
13441 case "$ac_config_target" in
13442 # Handling of arguments.
13443 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13444 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
13445 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13446 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13447 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13448 "gconfig.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gconfig.h:gconfig.in" ;;
13449 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13450 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13451 { (exit 1); exit 1; }; };;
13455 # If the user did not use the arguments to specify the items to instantiate,
13456 # then the envvar interface is used. Set only those that are not.
13457 # We use the long form for the default assignment because of an extremely
13458 # bizarre bug on SunOS 4.1.3.
13459 if $ac_need_defaults; then
13460 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13461 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13462 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13465 # Have a temporary directory for convenience. Make it in the build tree
13466 # simply because there is no reason to put it here, and in addition,
13467 # creating and moving files from /tmp can sometimes cause problems.
13468 # Create a temporary directory, and hook for its removal unless debugging.
13471 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13472 trap '{ (exit 1); exit 1; }' 1 2 13 15
13475 # Create a (secure) tmp directory for tmp files.
13478 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13479 test -n "$tmp" && test -d "$tmp"
13482 tmp
=.
/confstat$$
-$RANDOM
13483 (umask 077 && mkdir
$tmp)
13486 echo "$me: cannot create a temporary directory in ." >&2
13487 { (exit 1); exit 1; }
13492 cat >>$CONFIG_STATUS <<_ACEOF
13495 # CONFIG_FILES section.
13498 # No need to generate the scripts if there are no CONFIG_FILES.
13499 # This happens for instance when ./config.status config.h
13500 if test -n "\$CONFIG_FILES"; then
13501 # Protect against being on the right side of a sed subst in config.status.
13502 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13503 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13504 s,@SHELL@,$SHELL,;t t
13505 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13506 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13507 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13508 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13509 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13510 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13511 s,@exec_prefix@,$exec_prefix,;t t
13512 s,@prefix@,$prefix,;t t
13513 s,@program_transform_name@,$program_transform_name,;t t
13514 s,@bindir@,$bindir,;t t
13515 s,@sbindir@,$sbindir,;t t
13516 s,@libexecdir@,$libexecdir,;t t
13517 s,@datadir@,$datadir,;t t
13518 s,@sysconfdir@,$sysconfdir,;t t
13519 s,@sharedstatedir@,$sharedstatedir,;t t
13520 s,@localstatedir@,$localstatedir,;t t
13521 s,@libdir@,$libdir,;t t
13522 s,@includedir@,$includedir,;t t
13523 s,@oldincludedir@,$oldincludedir,;t t
13524 s,@infodir@,$infodir,;t t
13525 s,@mandir@,$mandir,;t t
13526 s,@build_alias@,$build_alias,;t t
13527 s,@host_alias@,$host_alias,;t t
13528 s,@target_alias@,$target_alias,;t t
13529 s,@DEFS@,$DEFS,;t t
13530 s,@ECHO_C@,$ECHO_C,;t t
13531 s,@ECHO_N@,$ECHO_N,;t t
13532 s,@ECHO_T@,$ECHO_T,;t t
13533 s,@LIBS@,$LIBS,;t t
13534 s,@build@,$build,;t t
13535 s,@build_cpu@,$build_cpu,;t t
13536 s,@build_vendor@,$build_vendor,;t t
13537 s,@build_os@,$build_os,;t t
13538 s,@host@,$host,;t t
13539 s,@host_cpu@,$host_cpu,;t t
13540 s,@host_vendor@,$host_vendor,;t t
13541 s,@host_os@,$host_os,;t t
13542 s,@target@,$target,;t t
13543 s,@target_cpu@,$target_cpu,;t t
13544 s,@target_vendor@,$target_vendor,;t t
13545 s,@target_os@,$target_os,;t t
13547 s,@CFLAGS@,$CFLAGS,;t t
13548 s,@LDFLAGS@,$LDFLAGS,;t t
13549 s,@CPPFLAGS@,$CPPFLAGS,;t t
13550 s,@ac_ct_CC@,$ac_ct_CC,;t t
13551 s,@EXEEXT@,$EXEEXT,;t t
13552 s,@OBJEXT@,$OBJEXT,;t t
13553 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13554 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13555 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13556 s,@CYGPATH_W@,$CYGPATH_W,;t t
13557 s,@PACKAGE@,$PACKAGE,;t t
13558 s,@VERSION@,$VERSION,;t t
13559 s,@ACLOCAL@,$ACLOCAL,;t t
13560 s,@AUTOCONF@,$AUTOCONF,;t t
13561 s,@AUTOMAKE@,$AUTOMAKE,;t t
13562 s,@AUTOHEADER@,$AUTOHEADER,;t t
13563 s,@MAKEINFO@,$MAKEINFO,;t t
13564 s,@install_sh@,$install_sh,;t t
13565 s,@STRIP@,$STRIP,;t t
13566 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13567 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13568 s,@mkdir_p@,$mkdir_p,;t t
13570 s,@SET_MAKE@,$SET_MAKE,;t t
13571 s,@am__leading_dot@,$am__leading_dot,;t t
13572 s,@AMTAR@,$AMTAR,;t t
13573 s,@am__tar@,$am__tar,;t t
13574 s,@am__untar@,$am__untar,;t t
13575 s,@DEPDIR@,$DEPDIR,;t t
13576 s,@am__include@,$am__include,;t t
13577 s,@am__quote@,$am__quote,;t t
13578 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13579 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13580 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13581 s,@CCDEPMODE@,$CCDEPMODE,;t t
13582 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
13583 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
13585 s,@EGREP@,$EGREP,;t t
13586 s,@LIBTOOL@,$LIBTOOL,;t t
13588 s,@FGREP@,$FGREP,;t t
13589 s,@GREP@,$GREP,;t t
13591 s,@DUMPBIN@,$DUMPBIN,;t t
13592 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
13594 s,@LN_S@,$LN_S,;t t
13595 s,@OBJDUMP@,$OBJDUMP,;t t
13596 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
13598 s,@ac_ct_AR@,$ac_ct_AR,;t t
13599 s,@RANLIB@,$RANLIB,;t t
13600 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13601 s,@lt_ECHO@,$lt_ECHO,;t t
13602 s,@DSYMUTIL@,$DSYMUTIL,;t t
13603 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
13604 s,@NMEDIT@,$NMEDIT,;t t
13605 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
13606 s,@LIPO@,$LIPO,;t t
13607 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
13608 s,@OTOOL@,$OTOOL,;t t
13609 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
13610 s,@OTOOL64@,$OTOOL64,;t t
13611 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
13612 s,@USE_NLS@,$USE_NLS,;t t
13613 s,@LIBINTL@,$LIBINTL,;t t
13614 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
13615 s,@INCINTL@,$INCINTL,;t t
13616 s,@XGETTEXT@,$XGETTEXT,;t t
13617 s,@GMSGFMT@,$GMSGFMT,;t t
13618 s,@POSUB@,$POSUB,;t t
13619 s,@CATALOGS@,$CATALOGS,;t t
13620 s,@DATADIRNAME@,$DATADIRNAME,;t t
13621 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
13622 s,@GENCAT@,$GENCAT,;t t
13623 s,@CATOBJEXT@,$CATOBJEXT,;t t
13624 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
13625 s,@MSGFMT@,$MSGFMT,;t t
13626 s,@MSGMERGE@,$MSGMERGE,;t t
13627 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13628 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13629 s,@MAINT@,$MAINT,;t t
13630 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
13631 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
13632 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
13633 s,@NO_WERROR@,$NO_WERROR,;t t
13634 s,@datarootdir@,$datarootdir,;t t
13635 s,@docdir@,$docdir,;t t
13636 s,@htmldir@,$htmldir,;t t
13637 s,@LIBOBJS@,$LIBOBJS,;t t
13638 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13643 cat >>$CONFIG_STATUS <<\_ACEOF
13644 # Split the substitutions into bite-sized pieces for seds with
13645 # small command number limits, like on Digital OSF/1 and HP-UX.
13646 ac_max_sed_lines
=48
13647 ac_sed_frag
=1 # Number of current file.
13648 ac_beg
=1 # First line for current file.
13649 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13652 while $ac_more_lines; do
13653 if test $ac_beg -gt 1; then
13654 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13656 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13658 if test ! -s $tmp/subs.frag
; then
13659 ac_more_lines
=false
13661 # The purpose of the label and of the branching condition is to
13662 # speed up the sed processing (if there are no `@' at all, there
13663 # is no need to browse any of the substitutions).
13664 # These are the two extra sed commands mentioned above.
13666 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13667 if test -z "$ac_sed_cmds"; then
13668 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13670 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13672 ac_sed_frag
=`expr $ac_sed_frag + 1`
13674 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13677 if test -z "$ac_sed_cmds"; then
13680 fi # test -n "$CONFIG_FILES"
13683 cat >>$CONFIG_STATUS <<\_ACEOF
13684 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13685 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13687 - |
*:- |
*:-:* ) # input from stdin
13689 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13690 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13691 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13692 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13693 * ) ac_file_in
=$ac_file.
in ;;
13696 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13697 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13698 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13699 X"$ac_file" : 'X\(//\)[^/]' \| \
13700 X"$ac_file" : 'X\(//\)$' \| \
13701 X"$ac_file" : 'X\(/\)' \| \
13702 . : '\(.\)' 2>/dev/null ||
13704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13705 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13706 /^X\(\/\/\)$/{ s//\1/; q; }
13707 /^X\(\/\).*/{ s//\1/; q; }
13709 { if $as_mkdir_p; then
13714 while test ! -d "$as_dir"; do
13715 as_dirs
="$as_dir $as_dirs"
13716 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13717 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13718 X"$as_dir" : 'X\(//\)[^/]' \| \
13719 X"$as_dir" : 'X\(//\)$' \| \
13720 X"$as_dir" : 'X\(/\)' \| \
13721 . : '\(.\)' 2>/dev/null ||
13723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13724 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13725 /^X\(\/\/\)$/{ s//\1/; q; }
13726 /^X\(\/\).*/{ s//\1/; q; }
13729 test ! -n "$as_dirs" || mkdir
$as_dirs
13730 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13731 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13732 { (exit 1); exit 1; }; }; }
13736 if test "$ac_dir" != .
; then
13737 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13738 # A "../" for each directory in $ac_dir_suffix.
13739 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13741 ac_dir_suffix
= ac_top_builddir
=
13745 .
) # No --srcdir option. We are building in place.
13747 if test -z "$ac_top_builddir"; then
13750 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13752 [\\/]* | ?
:[\\/]* ) # Absolute path.
13753 ac_srcdir
=$srcdir$ac_dir_suffix;
13754 ac_top_srcdir
=$srcdir ;;
13755 *) # Relative path.
13756 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13757 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13760 # Do not use `cd foo && pwd` to compute absolute paths, because
13761 # the directories may not exist.
13763 .
) ac_abs_builddir
="$ac_dir";;
13766 .
) ac_abs_builddir
=`pwd`;;
13767 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13768 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13771 case $ac_abs_builddir in
13772 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13774 case ${ac_top_builddir}.
in
13775 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13776 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13777 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13780 case $ac_abs_builddir in
13781 .
) ac_abs_srcdir
=$ac_srcdir;;
13784 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13785 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13786 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13789 case $ac_abs_builddir in
13790 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13792 case $ac_top_srcdir in
13793 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13794 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13795 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13801 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13802 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13805 if test x
"$ac_file" != x-
; then
13806 { echo "$as_me:$LINENO: creating $ac_file" >&5
13807 echo "$as_me: creating $ac_file" >&6;}
13810 # Let's still pretend it is `configure' which instantiates (i.e., don't
13811 # use $as_me), people would be surprised to read:
13812 # /* config.h. Generated by config.status. */
13813 if test x
"$ac_file" = x-
; then
13816 configure_input
="$ac_file. "
13818 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13819 sed 's,.*/,,'` by configure."
13821 # First look for the input files in the build tree, otherwise in the
13823 ac_file_inputs
=`IFS=:
13824 for f in $ac_file_in; do
13826 -) echo $tmp/stdin ;;
13828 # Absolute (can't be DOS-style, as IFS=:)
13829 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13830 echo "$as_me: error: cannot find input file: $f" >&2;}
13831 { (exit 1); exit 1; }; }
13834 if test -f "$f"; then
13837 elif test -f "$srcdir/$f"; then
13842 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13843 echo "$as_me: error: cannot find input file: $f" >&2;}
13844 { (exit 1); exit 1; }; }
13847 done` ||
{ (exit 1); exit 1; }
13849 cat >>$CONFIG_STATUS <<_ACEOF
13853 cat >>$CONFIG_STATUS <<\_ACEOF
13855 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13856 s
,@configure_input@
,$configure_input,;t t
13857 s
,@srcdir@
,$ac_srcdir,;t t
13858 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13859 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13860 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13861 s
,@builddir@
,$ac_builddir,;t t
13862 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13863 s
,@top_builddir@
,$ac_top_builddir,;t t
13864 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13865 s
,@INSTALL@
,$ac_INSTALL,;t t
13866 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13868 if test x"$ac_file" != x-; then
13869 mv $tmp/out $ac_file
13877 cat >>$CONFIG_STATUS <<\_ACEOF
13880 # CONFIG_HEADER section.
13883 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
13884 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13886 # ac_d sets the value in "#define NAME VALUE" lines.
13887 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13888 ac_dB
='[ ].*$,\1#\2'
13891 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13892 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13893 ac_uB
='$,\1#\2define\3'
13897 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
13898 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13900 - |
*:- |
*:-:* ) # input from stdin
13902 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13903 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13904 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13905 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13906 * ) ac_file_in
=$ac_file.
in ;;
13909 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
13910 echo "$as_me: creating $ac_file" >&6;}
13912 # First look for the input files in the build tree, otherwise in the
13914 ac_file_inputs
=`IFS=:
13915 for f in $ac_file_in; do
13917 -) echo $tmp/stdin ;;
13919 # Absolute (can't be DOS-style, as IFS=:)
13920 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13921 echo "$as_me: error: cannot find input file: $f" >&2;}
13922 { (exit 1); exit 1; }; }
13923 # Do quote $f, to prevent DOS paths from being IFS'd.
13926 if test -f "$f"; then
13929 elif test -f "$srcdir/$f"; then
13934 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13935 echo "$as_me: error: cannot find input file: $f" >&2;}
13936 { (exit 1); exit 1; }; }
13939 done` ||
{ (exit 1); exit 1; }
13940 # Remove the trailing spaces.
13941 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13945 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13946 # `conftest.undefs', that substitutes the proper values into
13947 # config.h.in to produce config.h. The first handles `#define'
13948 # templates, and the second `#undef' templates.
13949 # And first: Protect against being on the right side of a sed subst in
13950 # config.status. Protect against being in an unquoted here document
13951 # in config.status.
13952 rm -f conftest.defines conftest.undefs
13953 # Using a here document instead of a string reduces the quoting nightmare.
13954 # Putting comments in sed scripts is not portable.
13956 # `end' is used to avoid that the second main sed command (meant for
13957 # 0-ary CPP macros) applies to n-ary macro definitions.
13958 # See the Autoconf documentation for `clear'.
13959 cat >confdef2sed.
sed <<\_ACEOF
13964 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13966 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13969 # If some macros were called several times there might be several times
13970 # the same #defines, which is useless. Nevertheless, we may not want to
13971 # sort them, since we want the *last* AC-DEFINE to be honored.
13972 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13973 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13974 rm -f confdef2sed.sed
13976 # This sed command replaces #undef with comments. This is necessary, for
13977 # example, in the case of _POSIX_SOURCE, which is predefined and required
13978 # on some systems where configure will not decide to define it.
13979 cat >>conftest.undefs <<\_ACEOF
13980 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13983 # Break up conftest.defines because some shells have a limit on the size
13984 # of here documents, and old seds have small limits too (100 cmds).
13985 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13986 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13987 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13988 echo ' :' >>$CONFIG_STATUS
13989 rm -f conftest.tail
13990 while grep . conftest.defines >/dev/null
13992 # Write a limited-size here document to $tmp/defines.sed.
13993 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13994 # Speed up: don't consider the non `#define' lines.
13995 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13996 # Work around the forget-to-reset-the-flag bug.
13997 echo 't clr' >>$CONFIG_STATUS
13998 echo ': clr' >>$CONFIG_STATUS
13999 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
14001 sed -f $tmp/defines.sed $tmp/in >$tmp/out
14003 mv $tmp/out $tmp/in
14005 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
14006 rm -f conftest.defines
14007 mv conftest.
tail conftest.defines
14009 rm -f conftest.defines
14010 echo ' fi # grep' >>$CONFIG_STATUS
14011 echo >>$CONFIG_STATUS
14013 # Break up conftest.undefs because some shells have a limit on the size
14014 # of here documents, and old seds have small limits too (100 cmds).
14015 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
14016 rm -f conftest.
tail
14017 while grep . conftest.undefs
>/dev
/null
14019 # Write a limited-size here document to $tmp/undefs.sed.
14020 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
14021 # Speed up: don't consider the non
`#undef'
14022 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
14023 # Work around the forget-to-reset-the-flag bug.
14024 echo 't clr' >>$CONFIG_STATUS
14025 echo ': clr' >>$CONFIG_STATUS
14026 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
14028 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
14030 mv $tmp/out $tmp/in
14032 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
14033 rm -f conftest.undefs
14034 mv conftest.tail conftest.undefs
14036 rm -f conftest.undefs
14038 cat >>$CONFIG_STATUS <<\_ACEOF
14039 # Let's still pretend it is `configure
' which instantiates (i.e., don't
14040 # use $as_me), people would be surprised to read:
14041 # /* config.h. Generated by config.status. */
14042 if test x
"$ac_file" = x-
; then
14043 echo "/* Generated by configure. */" >$tmp/config.h
14045 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
14047 cat $tmp/in >>$tmp/config.h
14049 if test x
"$ac_file" != x-
; then
14050 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
14051 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14052 echo "$as_me: $ac_file is unchanged" >&6;}
14054 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
14055 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14056 X"$ac_file" : 'X\(//\)[^/]' \| \
14057 X"$ac_file" : 'X\(//\)$' \| \
14058 X"$ac_file" : 'X\(/\)' \| \
14059 . : '\(.\)' 2>/dev/null ||
14061 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14062 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14063 /^X\(\/\/\)$/{ s//\1/; q; }
14064 /^X\(\/\).*/{ s//\1/; q; }
14066 { if $as_mkdir_p; then
14071 while test ! -d "$as_dir"; do
14072 as_dirs
="$as_dir $as_dirs"
14073 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14074 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14075 X"$as_dir" : 'X\(//\)[^/]' \| \
14076 X"$as_dir" : 'X\(//\)$' \| \
14077 X"$as_dir" : 'X\(/\)' \| \
14078 . : '\(.\)' 2>/dev/null ||
14080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14081 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14082 /^X\(\/\/\)$/{ s//\1/; q; }
14083 /^X\(\/\).*/{ s//\1/; q; }
14086 test ! -n "$as_dirs" || mkdir
$as_dirs
14087 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14088 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14089 { (exit 1); exit 1; }; }; }
14092 mv $tmp/config.h
$ac_file
14096 rm -f $tmp/config.h
14098 # Compute $ac_file's index in $config_headers.
14100 for _am_header
in $config_headers :; do
14101 case $_am_header in
14102 $ac_file |
$ac_file:* )
14105 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14108 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
14109 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14110 X$ac_file : 'X\(//\)[^/]' \| \
14111 X$ac_file : 'X\(//\)$' \| \
14112 X$ac_file : 'X\(/\)' \| \
14113 . : '\(.\)' 2>/dev/null ||
14115 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14116 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14117 /^X\(\/\/\)$/{ s//\1/; q; }
14118 /^X\(\/\).*/{ s//\1/; q; }
14119 s/.*/./; q'`/stamp-h
$_am_stamp_count
14122 cat >>$CONFIG_STATUS <<\_ACEOF
14125 # CONFIG_COMMANDS section.
14127 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
14128 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
14129 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14130 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
14131 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14132 X"$ac_dest" : 'X\(//\)[^/]' \| \
14133 X"$ac_dest" : 'X\(//\)$' \| \
14134 X"$ac_dest" : 'X\(/\)' \| \
14135 . : '\(.\)' 2>/dev/null ||
14137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14138 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14139 /^X\(\/\/\)$/{ s//\1/; q; }
14140 /^X\(\/\).*/{ s//\1/; q; }
14142 { if $as_mkdir_p; then
14147 while test ! -d "$as_dir"; do
14148 as_dirs
="$as_dir $as_dirs"
14149 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14150 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14151 X"$as_dir" : 'X\(//\)[^/]' \| \
14152 X"$as_dir" : 'X\(//\)$' \| \
14153 X"$as_dir" : 'X\(/\)' \| \
14154 . : '\(.\)' 2>/dev/null ||
14156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14157 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14158 /^X\(\/\/\)$/{ s//\1/; q; }
14159 /^X\(\/\).*/{ s//\1/; q; }
14162 test ! -n "$as_dirs" || mkdir
$as_dirs
14163 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14164 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14165 { (exit 1); exit 1; }; }; }
14169 if test "$ac_dir" != .
; then
14170 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14171 # A "../" for each directory in $ac_dir_suffix.
14172 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14174 ac_dir_suffix
= ac_top_builddir
=
14178 .
) # No --srcdir option. We are building in place.
14180 if test -z "$ac_top_builddir"; then
14183 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14185 [\\/]* | ?
:[\\/]* ) # Absolute path.
14186 ac_srcdir
=$srcdir$ac_dir_suffix;
14187 ac_top_srcdir
=$srcdir ;;
14188 *) # Relative path.
14189 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14190 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14193 # Do not use `cd foo && pwd` to compute absolute paths, because
14194 # the directories may not exist.
14196 .
) ac_abs_builddir
="$ac_dir";;
14199 .
) ac_abs_builddir
=`pwd`;;
14200 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
14201 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
14204 case $ac_abs_builddir in
14205 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14207 case ${ac_top_builddir}.
in
14208 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
14209 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14210 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
14213 case $ac_abs_builddir in
14214 .
) ac_abs_srcdir
=$ac_srcdir;;
14217 .
) ac_abs_srcdir
=$ac_abs_builddir;;
14218 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
14219 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
14222 case $ac_abs_builddir in
14223 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
14225 case $ac_top_srcdir in
14226 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
14227 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
14228 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
14233 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
14234 echo "$as_me: executing $ac_dest commands" >&6;}
14236 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
14237 # Strip MF so we end up with the name of the file.
14238 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14239 # Check whether this is an Automake generated Makefile or not.
14240 # We used to match only the files named `Makefile.in', but
14241 # some people rename them; so instead we look at the file content.
14242 # Grep'ing the first line is not enough: some people post-process
14243 # each Makefile.in and add a new line on top of each file to say so.
14244 # So let's grep whole file.
14245 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
14246 dirpart
=`(dirname "$mf") 2>/dev/null ||
14247 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14248 X"$mf" : 'X\(//\)[^/]' \| \
14249 X"$mf" : 'X\(//\)$' \| \
14250 X"$mf" : 'X\(/\)' \| \
14251 . : '\(.\)' 2>/dev/null ||
14253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14254 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14255 /^X\(\/\/\)$/{ s//\1/; q; }
14256 /^X\(\/\).*/{ s//\1/; q; }
14261 # Extract the definition of DEPDIR, am__include, and am__quote
14262 # from the Makefile without running `make'.
14263 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14264 test -z "$DEPDIR" && continue
14265 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14266 test -z "am__include" && continue
14267 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14268 # When using ansi2knr, U may be empty or an underscore; expand it
14269 U
=`sed -n 's/^U = //p' < "$mf"`
14270 # Find all dependency output files, they are included files with
14271 # $(DEPDIR) in their names. We invoke sed twice because it is the
14272 # simplest approach to changing $(DEPDIR) to its actual value in the
14274 for file in `sed -n "
14275 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14276 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14277 # Make sure the directory exists.
14278 test -f "$dirpart/$file" && continue
14279 fdir
=`(dirname "$file") 2>/dev/null ||
14280 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14281 X"$file" : 'X\(//\)[^/]' \| \
14282 X"$file" : 'X\(//\)$' \| \
14283 X"$file" : 'X\(/\)' \| \
14284 . : '\(.\)' 2>/dev/null ||
14286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14287 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14288 /^X\(\/\/\)$/{ s//\1/; q; }
14289 /^X\(\/\).*/{ s//\1/; q; }
14291 { if $as_mkdir_p; then
14292 mkdir
-p $dirpart/$fdir
14294 as_dir
=$dirpart/$fdir
14296 while test ! -d "$as_dir"; do
14297 as_dirs
="$as_dir $as_dirs"
14298 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14299 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14300 X"$as_dir" : 'X\(//\)[^/]' \| \
14301 X"$as_dir" : 'X\(//\)$' \| \
14302 X"$as_dir" : 'X\(/\)' \| \
14303 . : '\(.\)' 2>/dev/null ||
14305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14306 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14307 /^X\(\/\/\)$/{ s//\1/; q; }
14308 /^X\(\/\).*/{ s//\1/; q; }
14311 test ! -n "$as_dirs" || mkdir
$as_dirs
14312 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
14313 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
14314 { (exit 1); exit 1; }; }; }
14316 # echo "creating $dirpart/$file"
14317 echo '# dummy' > "$dirpart/$file"
14323 # See if we are running on zsh, and set the options which allow our
14324 # commands through without removal of \ escapes.
14325 if test -n "${ZSH_VERSION+set}" ; then
14326 setopt NO_GLOB_SUBST
14329 cfgfile
="${ofile}T"
14330 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14333 cat <<_LT_EOF >> "$cfgfile"
14336 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14337 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14338 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14339 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14341 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14342 # 2006, 2007, 2008 Free Software Foundation, Inc.
14343 # Written by Gordon Matzigkeit, 1996
14345 # This file is part of GNU Libtool.
14347 # GNU Libtool is free software; you can redistribute it and/or
14348 # modify it under the terms of the GNU General Public License as
14349 # published by the Free Software Foundation; either version 2 of
14350 # the License, or (at your option) any later version.
14352 # As a special exception to the GNU General Public License,
14353 # if you distribute this file as part of a program or library that
14354 # is built using GNU Libtool, you may include this file under the
14355 # same distribution terms that you use for the rest of that program.
14357 # GNU Libtool is distributed in the hope that it will be useful,
14358 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14359 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14360 # GNU General Public License for more details.
14362 # You should have received a copy of the GNU General Public License
14363 # along with GNU Libtool; see the file COPYING. If not, a copy
14364 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14365 # obtained by writing to the Free Software Foundation, Inc.,
14366 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14369 # The names of the tagged configurations supported by this script.
14372 # ### BEGIN LIBTOOL CONFIG
14374 # Which release of libtool.m4 was used?
14375 macro_version=$macro_version
14376 macro_revision=$macro_revision
14378 # Whether or not to build shared libraries.
14379 build_libtool_libs=$enable_shared
14381 # Whether or not to build static libraries.
14382 build_old_libs=$enable_static
14384 # What type of objects to build.
14387 # Whether or not to optimize for fast installation.
14388 fast_install=$enable_fast_install
14391 host_alias=$host_alias
14395 # The build system.
14396 build_alias=$build_alias
14400 # A sed program that does not truncate output.
14403 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14404 Xsed="\$SED -e 1s/^X//"
14406 # A grep program that handles long lines.
14412 # A literal string matcher.
14415 # A BSD- or MS-compatible name lister.
14418 # Whether we need soft or hard links.
14421 # What is the maximum length of a command?
14422 max_cmd_len=$max_cmd_len
14424 # Object file suffix (normally "o").
14427 # Executable file suffix (normally "").
14430 # whether the shell understands "unset".
14433 # turn spaces into newlines.
14436 # turn newlines into spaces.
14439 # How to create reloadable object files.
14440 reload_flag=$lt_reload_flag
14441 reload_cmds=$lt_reload_cmds
14443 # An object symbol dumper.
14444 OBJDUMP=$lt_OBJDUMP
14446 # Method to check whether dependent libraries are shared objects.
14447 deplibs_check_method=$lt_deplibs_check_method
14449 # Command to use when deplibs_check_method == "file_magic".
14450 file_magic_cmd=$lt_file_magic_cmd
14454 AR_FLAGS=$lt_AR_FLAGS
14456 # A symbol stripping program.
14459 # Commands used to install an old-style archive.
14461 old_postinstall_cmds=$lt_old_postinstall_cmds
14462 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14467 # LTCC compiler flags.
14468 LTCFLAGS=$lt_CFLAGS
14470 # Take the output of nm and produce a listing of raw symbols and C names.
14471 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14473 # Transform the output of nm in a proper C declaration.
14474 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14476 # Transform the output of nm in a C name address pair.
14477 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14479 # Transform the output of nm in a C name address pair when lib prefix is needed.
14480 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14482 # The name of the directory that contains temporary libtool files.
14485 # Shell to use when invoking shell scripts.
14488 # An echo program that does not interpret backslashes.
14491 # Used to examine libraries when file_magic_cmd begins with "file".
14492 MAGIC_CMD=$MAGIC_CMD
14494 # Must we lock files when doing compilation?
14495 need_locks=$lt_need_locks
14497 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14498 DSYMUTIL=$lt_DSYMUTIL
14500 # Tool to change global to local symbols on Mac OS X.
14503 # Tool to manipulate fat objects and archives on Mac OS X.
14506 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14509 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14510 OTOOL64=$lt_OTOOL64
14512 # Old archive suffix (normally "a").
14515 # Shared library suffix (normally ".so").
14516 shrext_cmds=$lt_shrext_cmds
14518 # The commands to extract the exported symbol list from a shared archive.
14519 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14521 # Variables whose values should be saved in libtool wrapper scripts and
14522 # restored at link time.
14523 variables_saved_for_relink=$lt_variables_saved_for_relink
14525 # Do we need the "lib" prefix for modules?
14526 need_lib_prefix=$need_lib_prefix
14528 # Do we need a version for libraries?
14529 need_version=$need_version
14531 # Library versioning type.
14532 version_type=$version_type
14534 # Shared library runtime path variable.
14535 runpath_var=$runpath_var
14537 # Shared library path variable.
14538 shlibpath_var=$shlibpath_var
14540 # Is shlibpath searched before the hard-coded library search path?
14541 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14543 # Format of library name prefix.
14544 libname_spec=$lt_libname_spec
14546 # List of archive names. First name is the real one, the rest are links.
14547 # The last name is the one that the linker finds with -lNAME
14548 library_names_spec=$lt_library_names_spec
14550 # The coded name of the library, if different from the real name.
14551 soname_spec=$lt_soname_spec
14553 # Command to use after installation of a shared archive.
14554 postinstall_cmds=$lt_postinstall_cmds
14556 # Command to use after uninstallation of a shared archive.
14557 postuninstall_cmds=$lt_postuninstall_cmds
14559 # Commands used to finish a libtool library installation in a directory.
14560 finish_cmds=$lt_finish_cmds
14562 # As "finish_cmds", except a single script fragment to be evaled but
14564 finish_eval=$lt_finish_eval
14566 # Whether we should hardcode library paths into libraries.
14567 hardcode_into_libs=$hardcode_into_libs
14569 # Compile-time system search path for libraries.
14570 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14572 # Run-time system search path for libraries.
14573 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14575 # Whether dlopen is supported.
14576 dlopen_support=$enable_dlopen
14578 # Whether dlopen of programs is supported.
14579 dlopen_self=$enable_dlopen_self
14581 # Whether dlopen of statically linked programs is supported.
14582 dlopen_self_static=$enable_dlopen_self_static
14584 # Commands to strip libraries.
14585 old_striplib=$lt_old_striplib
14586 striplib=$lt_striplib
14589 # The linker used to build libraries.
14592 # Commands used to build an old-style archive.
14593 old_archive_cmds=$lt_old_archive_cmds
14595 # A language specific compiler.
14598 # Is the compiler the GNU compiler?
14601 # Compiler flag to turn off builtin functions.
14602 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14604 # How to pass a linker flag through the compiler.
14605 wl=$lt_lt_prog_compiler_wl
14607 # Additional compiler flags for building library objects.
14608 pic_flag=$lt_lt_prog_compiler_pic
14610 # Compiler flag to prevent dynamic linking.
14611 link_static_flag=$lt_lt_prog_compiler_static
14613 # Does compiler simultaneously support -c and -o options?
14614 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14616 # Whether or not to add -lc for building shared libraries.
14617 build_libtool_need_lc=$archive_cmds_need_lc
14619 # Whether or not to disallow shared libs when runtime libs are static.
14620 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14622 # Compiler flag to allow reflexive dlopens.
14623 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14625 # Compiler flag to generate shared objects directly from archives.
14626 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14628 # Whether the compiler copes with passing no objects directly.
14629 compiler_needs_object=$lt_compiler_needs_object
14631 # Create an old-style archive from a shared archive.
14632 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14634 # Create a temporary old-style archive to link instead of a shared archive.
14635 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14637 # Commands used to build a shared archive.
14638 archive_cmds=$lt_archive_cmds
14639 archive_expsym_cmds=$lt_archive_expsym_cmds
14641 # Commands used to build a loadable module if different from building
14642 # a shared archive.
14643 module_cmds=$lt_module_cmds
14644 module_expsym_cmds=$lt_module_expsym_cmds
14646 # Whether we are building with GNU ld or not.
14647 with_gnu_ld=$lt_with_gnu_ld
14649 # Flag that allows shared libraries with undefined symbols to be built.
14650 allow_undefined_flag=$lt_allow_undefined_flag
14652 # Flag that enforces no undefined symbols.
14653 no_undefined_flag=$lt_no_undefined_flag
14655 # Flag to hardcode \$libdir into a binary during linking.
14656 # This must work even if \$libdir does not exist
14657 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14659 # If ld is used when linking, flag to hardcode \$libdir into a binary
14660 # during linking. This must work even if \$libdir does not exist.
14661 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14663 # Whether we need a single "-rpath" flag with a separated argument.
14664 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14666 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14667 # DIR into the resulting binary.
14668 hardcode_direct=$hardcode_direct
14670 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14671 # DIR into the resulting binary and the resulting library dependency is
14672 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14673 # library is relocated.
14674 hardcode_direct_absolute=$hardcode_direct_absolute
14676 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14677 # into the resulting binary.
14678 hardcode_minus_L=$hardcode_minus_L
14680 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14681 # into the resulting binary.
14682 hardcode_shlibpath_var=$hardcode_shlibpath_var
14684 # Set to "yes" if building a shared library automatically hardcodes DIR
14685 # into the library and all subsequent libraries and executables linked
14687 hardcode_automatic=$hardcode_automatic
14689 # Set to yes if linker adds runtime paths of dependent libraries
14690 # to runtime path list.
14691 inherit_rpath=$inherit_rpath
14693 # Whether libtool must link a program against all its dependency libraries.
14694 link_all_deplibs=$link_all_deplibs
14696 # Fix the shell variable \$srcfile for the compiler.
14697 fix_srcfile_path=$lt_fix_srcfile_path
14699 # Set to "yes" if exported symbols are required.
14700 always_export_symbols=$always_export_symbols
14702 # The commands to list exported symbols.
14703 export_symbols_cmds=$lt_export_symbols_cmds
14705 # Symbols that should not be listed in the preloaded symbols.
14706 exclude_expsyms=$lt_exclude_expsyms
14708 # Symbols that must always be exported.
14709 include_expsyms=$lt_include_expsyms
14711 # Commands necessary for linking programs (against libraries) with templates.
14712 prelink_cmds=$lt_prelink_cmds
14714 # Specify filename containing input files.
14715 file_list_spec=$lt_file_list_spec
14717 # How to hardcode a shared library path into an executable.
14718 hardcode_action=$hardcode_action
14720 # ### END LIBTOOL CONFIG
14726 cat <<\_LT_EOF
>> "$cfgfile"
14727 # AIX sometimes has problems with the GCC collect2 program. For some
14728 # reason, if we set the COLLECT_NAMES environment variable, the problems
14729 # vanish in a puff of smoke.
14730 if test "X${COLLECT_NAMES+set}" != Xset
; then
14732 export COLLECT_NAMES
14739 ltmain
="$ac_aux_dir/ltmain.sh"
14742 # We use sed instead of cat because bash on DJGPP gets confused if
14743 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14744 # text mode, it properly converts lines to CR/LF. This bash problem
14745 # is reportedly fixed, but why not run on old versions too?
14746 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14747 ||
(rm -f "$cfgfile"; exit 1)
14751 cat << \_LT_EOF
>> "$cfgfile"
14753 # func_dirname file append nondir_replacement
14754 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14755 # otherwise set result to NONDIR_REPLACEMENT.
14759 */*) func_dirname_result
="${1%/*}${2}" ;;
14760 * ) func_dirname_result
="${3}" ;;
14764 # func_basename file
14767 func_basename_result
="${1##*/}"
14770 # func_dirname_and_basename file append nondir_replacement
14771 # perform func_basename and func_dirname in a single function
14773 # dirname: Compute the dirname of FILE. If nonempty,
14774 # add APPEND to the result, otherwise set result
14775 # to NONDIR_REPLACEMENT.
14776 # value returned in "$func_dirname_result"
14777 # basename: Compute filename of FILE.
14778 # value retuned in "$func_basename_result"
14779 # Implementation must be kept synchronized with func_dirname
14780 # and func_basename. For efficiency, we do not delegate to
14781 # those functions but instead duplicate the functionality here.
14782 func_dirname_and_basename
()
14785 */*) func_dirname_result
="${1%/*}${2}" ;;
14786 * ) func_dirname_result
="${3}" ;;
14788 func_basename_result
="${1##*/}"
14791 # func_stripname prefix suffix name
14792 # strip PREFIX and SUFFIX off of NAME.
14793 # PREFIX and SUFFIX must not contain globbing or regex special
14794 # characters, hashes, percent signs, but SUFFIX may contain a leading
14795 # dot (in which case that matches only a dot).
14798 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14799 # positional parameters, so assign one to ordinary parameter first.
14800 func_stripname_result
=${3}
14801 func_stripname_result
=${func_stripname_result#"${1}"}
14802 func_stripname_result
=${func_stripname_result%"${2}"}
14808 func_opt_split_opt
=${1%%=*}
14809 func_opt_split_arg
=${1#*=}
14816 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
14817 *) func_lo2o_result
=${1} ;;
14821 # func_xform libobj-or-source
14824 func_xform_result
=${1%.*}.lo
14827 # func_arith arithmetic-term...
14830 func_arith_result
=$
(( $
* ))
14834 # STRING may not start with a hyphen.
14837 func_len_result
=${#1}
14842 *) # Bourne compatible functions.
14843 cat << \_LT_EOF
>> "$cfgfile"
14845 # func_dirname file append nondir_replacement
14846 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14847 # otherwise set result to NONDIR_REPLACEMENT.
14850 # Extract subdirectory from the argument.
14851 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14852 if test "X$func_dirname_result" = "X${1}"; then
14853 func_dirname_result
="${3}"
14855 func_dirname_result
="$func_dirname_result${2}"
14859 # func_basename file
14862 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
14866 # func_stripname prefix suffix name
14867 # strip PREFIX and SUFFIX off of NAME.
14868 # PREFIX and SUFFIX must not contain globbing or regex special
14869 # characters, hashes, percent signs, but SUFFIX may contain a leading
14870 # dot (in which case that matches only a dot).
14871 # func_strip_suffix prefix name
14875 .
*) func_stripname_result
=`$ECHO "X${3}" \
14876 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14877 *) func_stripname_result
=`$ECHO "X${3}" \
14878 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14883 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14884 my_sed_long_arg
='1s/^-[^=]*=//'
14889 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14890 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14896 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14899 # func_xform libobj-or-source
14902 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14905 # func_arith arithmetic-term...
14908 func_arith_result
=`expr "$@"`
14912 # STRING may not start with a hyphen.
14915 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14921 case $lt_shell_append in
14923 cat << \_LT_EOF
>> "$cfgfile"
14925 # func_append var value
14926 # Append VALUE to the end of shell variable VAR.
14934 cat << \_LT_EOF
>> "$cfgfile"
14936 # func_append var value
14937 # Append VALUE to the end of shell variable VAR.
14948 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14949 ||
(rm -f "$cfgfile"; exit 1)
14951 mv -f "$cfgfile" "$ofile" ||
14952 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14957 for ac_file
in $CONFIG_FILES; do
14958 # Support "outfile[:infile[:infile...]]"
14960 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14962 # PO directories have a Makefile.in generated from Makefile.in.in.
14963 case "$ac_file" in */Makefile.
in)
14964 # Adjust a relative srcdir.
14965 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
14966 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
14967 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
14968 # In autoconf-2.13 it is called $ac_given_srcdir.
14969 # In autoconf-2.50 it is called $srcdir.
14970 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
14971 case "$ac_given_srcdir" in
14972 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
14973 /*) top_srcdir
="$ac_given_srcdir" ;;
14974 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
14976 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14977 rm -f "$ac_dir/POTFILES"
14978 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
14979 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
14980 POMAKEFILEDEPS
="POTFILES.in"
14981 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
14982 # on $ac_dir but don't depend on user-specified configuration
14984 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
14985 # The LINGUAS file contains the set of available languages.
14986 if test -n "$OBSOLETE_ALL_LINGUAS"; then
14987 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
14989 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
14990 # Hide the ALL_LINGUAS assigment from automake.
14991 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
14992 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
14994 # The set of available languages was given in configure.in.
14995 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
14997 case "$ac_given_srcdir" in
14999 *) srcdirpre
='$(srcdir)/' ;;
15005 for lang
in $ALL_LINGUAS; do
15006 POFILES
="$POFILES $srcdirpre$lang.po"
15007 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
15008 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
15009 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
15011 # CATALOGS depends on both $ac_dir and the user's LINGUAS
15012 # environment variable.
15014 if test -n "$ALL_LINGUAS"; then
15015 for presentlang
in $ALL_LINGUAS; do
15017 if test "%UNSET%" != "$LINGUAS"; then
15018 desiredlanguages
="$LINGUAS"
15020 desiredlanguages
="$ALL_LINGUAS"
15022 for desiredlang
in $desiredlanguages; do
15023 # Use the presentlang catalog if desiredlang is
15024 # a. equal to presentlang, or
15025 # b. a variant of presentlang (because in this case,
15026 # presentlang can be used as a fallback for messages
15027 # which are not translated in the desiredlang catalog).
15028 case "$desiredlang" in
15029 "$presentlang"*) useit
=yes;;
15032 if test $useit = yes; then
15033 INST_LINGUAS
="$INST_LINGUAS $presentlang"
15038 if test -n "$INST_LINGUAS"; then
15039 for lang
in $INST_LINGUAS; do
15040 CATALOGS
="$CATALOGS $lang.gmo"
15043 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
15044 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"
15045 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
15046 if test -f "$f"; then
15048 *.orig |
*.bak |
*~
) ;;
15049 *) cat "$f" >> "$ac_dir/Makefile" ;;
15061 cat >>$CONFIG_STATUS <<\_ACEOF
15063 { (exit 0); exit 0; }
15065 chmod +x
$CONFIG_STATUS
15066 ac_clean_files
=$ac_clean_files_save
15069 # configure is writing to config.log, and then calls config.status.
15070 # config.status does its own redirection, appending to config.log.
15071 # Unfortunately, on DOS this fails, as config.log is still kept open
15072 # by configure, so config.status won't be able to write to it; its
15073 # output is simply discarded. So we exec the FD to /dev/null,
15074 # effectively closing config.log, so it can be properly (re)opened and
15075 # appended to by config.status. When coming back to configure, we
15076 # need to make the FD available again.
15077 if test "$no_create" != yes; then
15079 ac_config_status_args
=
15080 test "$silent" = yes &&
15081 ac_config_status_args
="$ac_config_status_args --quiet"
15083 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15085 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15086 # would make configure fail if this is the last instruction.
15087 $ac_cs_success ||
{ (exit 1); exit 1; }