2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libmudflap 1.0.
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.
417 PACKAGE_NAME='libmudflap'
418 PACKAGE_TARNAME='libmudflap'
419 PACKAGE_VERSION='1.0'
420 PACKAGE_STRING='libmudflap 1.0'
423 ac_unique_file="mf-runtime.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 target_noncanonical INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CFLAGS CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO enable_shared enable_static MF_HAVE_STDINT_H MF_HAVE_UINTPTR_T LIBMUDFLAPTH_TRUE LIBMUDFLAPTH_FALSE build_libmudflapth toolexecdir toolexeclibdir ac_ct_NM SECTION_FLAGS LIBOBJS LTLIBOBJS'
464 # Initialize some variables set by options.
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
476 program_transform_name=s,x,x,
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
512 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
518 -bindir | --bindir | --bindi | --bind | --bin | --bi)
520 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
523 -build | --build | --buil | --bui | --bu)
524 ac_prev=build_alias ;;
525 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526 build_alias=$ac_optarg ;;
528 -cache-file | --cache-file | --cache-fil | --cache-fi \
529 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530 ac_prev=cache_file ;;
531 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533 cache_file=$ac_optarg ;;
536 cache_file=config.cache ;;
538 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
540 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
542 datadir=$ac_optarg ;;
544 -disable-* | --disable-*)
545 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* | --enable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
561 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568 | --exec | --exe | --ex)
569 ac_prev=exec_prefix ;;
570 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572 | --exec=* | --exe=* | --ex=*)
573 exec_prefix=$ac_optarg ;;
575 -gas | --gas | --ga | --g)
576 # Obsolete; use --with-gas.
579 -help | --help | --hel | --he | -h)
581 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582 ac_init_help=recursive ;;
583 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584 ac_init_help=short ;;
586 -host | --host | --hos | --ho)
587 ac_prev=host_alias ;;
588 -host=* | --host=* | --hos=* | --ho=*)
589 host_alias=$ac_optarg ;;
591 -includedir | --includedir | --includedi | --included | --include \
592 | --includ | --inclu | --incl | --inc)
593 ac_prev=includedir ;;
594 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595 | --includ=* | --inclu=* | --incl=* | --inc=*)
596 includedir=$ac_optarg ;;
598 -infodir | --infodir | --infodi | --infod | --info | --inf)
600 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601 infodir=$ac_optarg ;;
603 -libdir | --libdir | --libdi | --libd)
605 -libdir=* | --libdir=* | --libdi=* | --libd=*)
608 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609 | --libexe | --libex | --libe)
610 ac_prev=libexecdir ;;
611 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612 | --libexe=* | --libex=* | --libe=*)
613 libexecdir=$ac_optarg ;;
615 -localstatedir | --localstatedir | --localstatedi | --localstated \
616 | --localstate | --localstat | --localsta | --localst \
617 | --locals | --local | --loca | --loc | --lo)
618 ac_prev=localstatedir ;;
619 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622 localstatedir=$ac_optarg ;;
624 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
626 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
630 # Obsolete; use --without-fp.
633 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634 | --no-cr | --no-c | -n)
637 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
641 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643 | --oldin | --oldi | --old | --ol | --o)
644 ac_prev=oldincludedir ;;
645 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648 oldincludedir=$ac_optarg ;;
650 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
652 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
655 -program-prefix | --program-prefix | --program-prefi | --program-pref \
656 | --program-pre | --program-pr | --program-p)
657 ac_prev=program_prefix ;;
658 -program-prefix=* | --program-prefix=* | --program-prefi=* \
659 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660 program_prefix=$ac_optarg ;;
662 -program-suffix | --program-suffix | --program-suffi | --program-suff \
663 | --program-suf | --program-su | --program-s)
664 ac_prev=program_suffix ;;
665 -program-suffix=* | --program-suffix=* | --program-suffi=* \
666 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667 program_suffix=$ac_optarg ;;
669 -program-transform-name | --program-transform-name \
670 | --program-transform-nam | --program-transform-na \
671 | --program-transform-n | --program-transform- \
672 | --program-transform | --program-transfor \
673 | --program-transfo | --program-transf \
674 | --program-trans | --program-tran \
675 | --progr-tra | --program-tr | --program-t)
676 ac_prev=program_transform_name ;;
677 -program-transform-name=* | --program-transform-name=* \
678 | --program-transform-nam=* | --program-transform-na=* \
679 | --program-transform-n=* | --program-transform-=* \
680 | --program-transform=* | --program-transfor=* \
681 | --program-transfo=* | --program-transf=* \
682 | --program-trans=* | --program-tran=* \
683 | --progr-tra=* | --program-tr=* | --program-t=*)
684 program_transform_name=$ac_optarg ;;
686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687 | -silent | --silent | --silen | --sile | --sil)
690 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
692 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
694 sbindir=$ac_optarg ;;
696 -sharedstatedir | --sharedstatedir | --sharedstatedi \
697 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698 | --sharedst | --shareds | --shared | --share | --shar \
700 ac_prev=sharedstatedir ;;
701 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
705 sharedstatedir=$ac_optarg ;;
707 -site | --site | --sit)
709 -site=* | --site=* | --sit=*)
712 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
714 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
717 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718 | --syscon | --sysco | --sysc | --sys | --sy)
719 ac_prev=sysconfdir ;;
720 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722 sysconfdir=$ac_optarg ;;
724 -target | --target | --targe | --targ | --tar | --ta | --t)
725 ac_prev=target_alias ;;
726 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727 target_alias=$ac_optarg ;;
729 -v | -verbose | --verbose | --verbos | --verbo | --verb)
732 -version | --version | --versio | --versi | --vers | -V)
736 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package=`echo $ac_package| sed 's/-/_/g'`
743 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* | --without-*)
749 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
758 # Obsolete; use --with-x.
761 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762 | --x-incl | --x-inc | --x-in | --x-i)
763 ac_prev=x_includes ;;
764 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766 x_includes=$ac_optarg ;;
768 -x-libraries | --x-libraries | --x-librarie | --x-librari \
769 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770 ac_prev=x_libraries ;;
771 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773 x_libraries=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
781 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
801 if test -n "$ac_prev"; then
802 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
810 eval ac_val=$`echo $ac_var`
812 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val=$`echo $ac_var`
824 [\\/$]* | ?:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839 if test "x$build_alias" = x; then
840 cross_compiling=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
851 test "$silent" = yes && exec 6>/dev/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
871 if test ! -r $srcdir/$ac_unique_file; then
875 ac_srcdir_defaulted=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CPP_set=${CPP+set}
903 ac_env_CPP_value=$CPP
904 ac_cv_env_CPP_set=${CPP+set}
905 ac_cv_env_CPP_value=$CPP
906 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
912 # Report the --help message.
914 if test "$ac_init_help" = "long"; then
915 # Omit some internal or obsolete options to make the list less imposing.
916 # This message is too long to be a string in the A/UX 3.1 sh.
918 \`configure' configures libmudflap 1.0 to adapt to many kinds of systems.
920 Usage: $0 [OPTION]... [VAR=VALUE]...
922 To assign environment variables (e.g., CC, CFLAGS...), specify them as
923 VAR=VALUE. See below for descriptions of some of the useful variables.
925 Defaults for the options are specified in brackets.
928 -h, --help display this help and exit
929 --help=short display options specific to this package
930 --help=recursive display the short help of all the included packages
931 -V, --version display version information and exit
932 -q, --quiet, --silent do not print \`checking...' messages
933 --cache-file=FILE cache test results in FILE [disabled]
934 -C, --config-cache alias for \`--cache-file=config.cache'
935 -n, --no-create do not create output files
936 --srcdir=DIR find the sources in DIR [configure dir or \`..']
941 Installation directories:
942 --prefix=PREFIX install architecture-independent files in PREFIX
944 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
947 By default, \`make install' will install all the files in
948 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
949 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
950 for instance \`--prefix=\$HOME'.
952 For better control, use the options below.
954 Fine tuning of the installation directories:
955 --bindir=DIR user executables [EPREFIX/bin]
956 --sbindir=DIR system admin executables [EPREFIX/sbin]
957 --libexecdir=DIR program executables [EPREFIX/libexec]
958 --datadir=DIR read-only architecture-independent data [PREFIX/share]
959 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
960 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
961 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
962 --libdir=DIR object code libraries [EPREFIX/lib]
963 --includedir=DIR C header files [PREFIX/include]
964 --oldincludedir=DIR C header files for non-gcc [/usr/include]
965 --infodir=DIR info documentation [PREFIX/info]
966 --mandir=DIR man documentation [PREFIX/man]
972 --program-prefix=PREFIX prepend PREFIX to installed program names
973 --program-suffix=SUFFIX append SUFFIX to installed program names
974 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
977 --build=BUILD configure for building on BUILD [guessed]
978 --host=HOST cross-compile to build programs to run on HOST [BUILD]
979 --target=TARGET configure for building compilers for TARGET [HOST]
983 if test -n "$ac_init_help"; then
984 case $ac_init_help in
985 short | recursive ) echo "Configuration of libmudflap 1.0:";;
990 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
991 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
992 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
993 --enable-maintainer-mode enable make rules and dependencies not useful
994 (and sometimes confusing) to the casual installer
995 --enable-multilib build many library versions (default)
996 --disable-dependency-tracking speeds up one-time build
997 --enable-dependency-tracking do not reject slow dependency extractors
998 --enable-shared[=PKGS]
999 build shared libraries [default=yes]
1000 --enable-static[=PKGS]
1001 build static libraries [default=yes]
1002 --enable-fast-install[=PKGS]
1003 optimize for fast installation [default=yes]
1004 --disable-libtool-lock avoid locking (might break parallel builds)
1005 --enable-tls Use thread-local storage [default=yes]
1008 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1009 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1010 --with-pic try to use only PIC/non-PIC objects [default=use
1012 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1014 Some influential environment variables:
1015 CC C compiler command
1016 CFLAGS C compiler flags
1017 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1018 nonstandard directory <lib dir>
1019 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1020 headers in a nonstandard directory <include dir>
1023 Use these variables to override the choices made by `configure' or to help
1024 it to find libraries and programs with nonstandard names/locations.
1029 if test "$ac_init_help" = "recursive"; then
1030 # If there are subdirs, report their specific --help.
1032 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1033 test -d $ac_dir || continue
1036 if test "$ac_dir" != .; then
1037 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1038 # A "../" for each directory in $ac_dir_suffix.
1039 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1041 ac_dir_suffix= ac_top_builddir=
1045 .) # No --srcdir option. We are building in place.
1047 if test -z "$ac_top_builddir"; then
1050 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1052 [\\/]* | ?:[\\/]* ) # Absolute path.
1053 ac_srcdir=$srcdir$ac_dir_suffix;
1054 ac_top_srcdir=$srcdir ;;
1056 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1057 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1060 # Do not use `cd foo && pwd` to compute absolute paths, because
1061 # the directories may not exist.
1063 .) ac_abs_builddir="$ac_dir";;
1066 .) ac_abs_builddir=`pwd`;;
1067 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1068 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1071 case $ac_abs_builddir in
1072 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1074 case ${ac_top_builddir}. in
1075 .) ac_abs_top_builddir=$ac_abs_builddir;;
1076 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1077 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1080 case $ac_abs_builddir in
1081 .) ac_abs_srcdir=$ac_srcdir;;
1084 .) ac_abs_srcdir=$ac_abs_builddir;;
1085 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1086 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1089 case $ac_abs_builddir in
1090 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1092 case $ac_top_srcdir in
1093 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1094 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1095 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1100 # Check for guested configure; otherwise get Cygnus style configure.
1101 if test -f $ac_srcdir/configure.gnu; then
1103 $SHELL $ac_srcdir/configure.gnu --help=recursive
1104 elif test -f $ac_srcdir/configure; then
1106 $SHELL $ac_srcdir/configure --help=recursive
1107 elif test -f $ac_srcdir/configure.ac ||
1108 test -f $ac_srcdir/configure.in; then
1110 $ac_configure --help
1112 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1118 test -n "$ac_init_help" && exit 0
1119 if $ac_init_version; then
1121 libmudflap configure 1.0
1122 generated by GNU Autoconf 2.59
1124 Copyright (C) 2003 Free Software Foundation, Inc.
1125 This configure script is free software; the Free Software Foundation
1126 gives unlimited permission to copy, distribute and modify it.
1132 This file contains any messages produced by compilers while
1133 running configure, to aid debugging if configure makes a mistake.
1135 It was created by libmudflap $as_me 1.0, which was
1136 generated by GNU Autoconf 2.59. Invocation command line was
1147 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1148 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1149 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1150 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1151 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1153 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1154 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1156 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1157 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1158 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1159 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1160 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1161 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1162 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1170 test -z "$as_dir" && as_dir=.
1171 echo "PATH: $as_dir"
1186 # Keep a trace of the command line.
1187 # Strip out --no-create and --no-recursion so they do not pile up.
1188 # Strip out --silent because we don't want to record it for future runs.
1189 # Also quote any args containing shell meta-characters.
1190 # Make two passes to allow for proper duplicate-argument suppression.
1195 ac_must_keep_next=false
1201 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1202 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1203 | -silent | --silent | --silen | --sile | --sil)
1205 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1206 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1209 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1211 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1212 if test $ac_must_keep_next = true; then
1213 ac_must_keep_next=false # Got value, back to normal.
1216 *=* | --config-cache | -C | -disable-* | --disable-* \
1217 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1218 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1219 | -with-* | --with-* | -without-* | --without-* | --x)
1220 case "$ac_configure_args0 " in
1221 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1224 -* ) ac_must_keep_next=true ;;
1227 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1228 # Get rid of the leading space.
1234 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1235 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1237 # When interrupted or exit'd, cleanup temporary files, and complete
1238 # config.log. We remove comments because anyway the quotes in there
1239 # would cause problems or look ugly.
1240 # WARNING: Be sure not to use single quotes in there, as some shells,
1241 # such as our DU 5.0 friend, will then `close' the trap.
1242 trap 'exit_status=$?
1243 # Save into config.log some information that might help in debugging.
1248 ## ---------------- ##
1249 ## Cache variables. ##
1250 ## ---------------- ##
1253 # The following way of writing the cache mishandles newlines in values,
1256 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1259 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1260 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1264 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1271 ## ----------------- ##
1272 ## Output variables. ##
1273 ## ----------------- ##
1276 for ac_var in $ac_subst_vars
1278 eval ac_val=$`echo $ac_var`
1279 echo "$ac_var='"'"'$ac_val'"'"'"
1283 if test -n "$ac_subst_files"; then
1290 for ac_var in $ac_subst_files
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1298 if test -s confdefs.h; then
1305 sed "/^$/d" confdefs.h | sort
1308 test "$ac_signal" != 0 &&
1309 echo "$as_me: caught signal $ac_signal"
1310 echo "$as_me: exit $exit_status"
1312 rm -f core *.core &&
1313 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1316 for ac_signal in 1 2 13 15; do
1317 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1321 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1322 rm -rf conftest* confdefs.h
1323 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1326 # Predefined preprocessor variables.
1328 cat >>confdefs.h <<_ACEOF
1329 #define PACKAGE_NAME "$PACKAGE_NAME"
1333 cat >>confdefs.h <<_ACEOF
1334 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1338 cat >>confdefs.h <<_ACEOF
1339 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1343 cat >>confdefs.h <<_ACEOF
1344 #define PACKAGE_STRING "$PACKAGE_STRING"
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1353 # Let the site file select an alternate cache file if it wants to.
1354 # Prefer explicitly selected file to automatically selected ones.
1355 if test -z "$CONFIG_SITE"; then
1356 if test "x$prefix" != xNONE; then
1357 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1359 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1362 for ac_site_file in $CONFIG_SITE; do
1363 if test -r "$ac_site_file"; then
1364 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1365 echo "$as_me: loading site script $ac_site_file" >&6;}
1366 sed 's/^/| /' "$ac_site_file" >&5
1371 if test -r "$cache_file"; then
1372 # Some versions of bash will fail to source /dev/null (special
1373 # files actually), so we avoid doing that.
1374 if test -f "$cache_file"; then
1375 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1376 echo "$as_me: loading cache $cache_file" >&6;}
1378 [\\/]* | ?:[\\/]* ) . $cache_file;;
1379 *) . ./$cache_file;;
1383 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1384 echo "$as_me: creating cache $cache_file" >&6;}
1388 # Check that the precious variables saved in the cache have kept the same
1390 ac_cache_corrupted=false
1391 for ac_var in `(set) 2>&1 |
1392 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1393 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1394 eval ac_new_set=\$ac_env_${ac_var}_set
1395 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1396 eval ac_new_val="\$ac_env_${ac_var}_value"
1397 case $ac_old_set,$ac_new_set in
1399 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1400 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1401 ac_cache_corrupted=: ;;
1403 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1404 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1405 ac_cache_corrupted=: ;;
1408 if test "x$ac_old_val" != "x$ac_new_val"; then
1409 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1410 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1411 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1412 echo "$as_me: former value: $ac_old_val" >&2;}
1413 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1414 echo "$as_me: current value: $ac_new_val" >&2;}
1415 ac_cache_corrupted=:
1418 # Pass precious variables to config.status.
1419 if test "$ac_new_set" = set; then
1421 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1422 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1423 *) ac_arg=$ac_var=$ac_new_val ;;
1425 case " $ac_configure_args " in
1426 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1427 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1431 if $ac_cache_corrupted; then
1432 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1433 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1434 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1435 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1436 { (exit 1); exit 1; }; }
1440 ac_cpp='$CPP $CPPFLAGS'
1441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1473 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1474 if test -f $ac_dir/install-sh; then
1476 ac_install_sh="$ac_aux_dir/install-sh -c"
1478 elif test -f $ac_dir/install.sh; then
1480 ac_install_sh="$ac_aux_dir/install.sh -c"
1482 elif test -f $ac_dir/shtool; then
1484 ac_install_sh="$ac_aux_dir/shtool install -c"
1488 if test -z "$ac_aux_dir"; then
1489 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1490 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1491 { (exit 1); exit 1; }; }
1493 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1494 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1495 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1497 # Make sure we can run config.sub.
1498 $ac_config_sub sun4 >/dev/null 2>&1 ||
1499 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1500 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1501 { (exit 1); exit 1; }; }
1503 echo "$as_me:$LINENO: checking build system type" >&5
1504 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1505 if test "${ac_cv_build+set}" = set; then
1506 echo $ECHO_N "(cached) $ECHO_C" >&6
1508 ac_cv_build_alias=$build_alias
1509 test -z "$ac_cv_build_alias" &&
1510 ac_cv_build_alias=`$ac_config_guess`
1511 test -z "$ac_cv_build_alias" &&
1512 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1513 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1514 { (exit 1); exit 1; }; }
1515 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1516 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1517 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1518 { (exit 1); exit 1; }; }
1521 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1522 echo "${ECHO_T}$ac_cv_build" >&6
1524 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1525 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1526 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1529 echo "$as_me:$LINENO: checking host system type" >&5
1530 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1531 if test "${ac_cv_host+set}" = set; then
1532 echo $ECHO_N "(cached) $ECHO_C" >&6
1534 ac_cv_host_alias=$host_alias
1535 test -z "$ac_cv_host_alias" &&
1536 ac_cv_host_alias=$ac_cv_build_alias
1537 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1538 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1539 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1540 { (exit 1); exit 1; }; }
1543 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1544 echo "${ECHO_T}$ac_cv_host" >&6
1546 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1547 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1548 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1551 echo "$as_me:$LINENO: checking target system type" >&5
1552 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1553 if test "${ac_cv_target+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 ac_cv_target_alias=$target_alias
1557 test "x$ac_cv_target_alias" = "x" &&
1558 ac_cv_target_alias=$ac_cv_host_alias
1559 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1560 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1561 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1562 { (exit 1); exit 1; }; }
1565 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1566 echo "${ECHO_T}$ac_cv_target" >&6
1567 target=$ac_cv_target
1568 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1569 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1570 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1573 # The aliases save the names the user supplied, while $host etc.
1574 # will get canonicalized.
1575 test -n "$target_alias" &&
1576 test "$program_prefix$program_suffix$program_transform_name" = \
1578 program_prefix=${target_alias}-
1579 case ${build_alias} in
1580 "") build_noncanonical=${build} ;;
1581 *) build_noncanonical=${build_alias} ;;
1584 case ${host_alias} in
1585 "") host_noncanonical=${build_noncanonical} ;;
1586 *) host_noncanonical=${host_alias} ;;
1589 case ${target_alias} in
1590 "") target_noncanonical=${host_noncanonical} ;;
1591 *) target_noncanonical=${target_alias} ;;
1597 am__api_version="1.9"
1598 # Find a good install program. We prefer a C program (faster),
1599 # so one script is as good as another. But avoid the broken or
1600 # incompatible versions:
1601 # SysV /etc/install, /usr/sbin/install
1602 # SunOS /usr/etc/install
1603 # IRIX /sbin/install
1605 # AmigaOS /C/install, which installs bootblocks on floppy discs
1606 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1607 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1608 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1609 # OS/2's system install, which has a completely different semantic
1610 # ./install, which can be erroneously created by make from ./install.sh.
1611 # Reject install programs that cannot install multiple files.
1612 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1613 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1614 if test -z "$INSTALL"; then
1615 if test "${ac_cv_path_install+set}" = set; then
1616 echo $ECHO_N "(cached) $ECHO_C" >&6
1618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1622 test -z "$as_dir" && as_dir=.
1623 # Account for people who put trailing slashes in PATH elements.
1625 ./ | .// | /cC/* | \
1626 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1627 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1630 # OSF1 and SCO ODT 3.0 have their own names for install.
1631 # Don't use installbsd from OSF since it installs stuff as root
1633 for ac_prog in ginstall scoinst install; do
1634 for ac_exec_ext in '' $ac_executable_extensions; do
1635 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1636 if test $ac_prog = install &&
1637 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1638 # AIX install. It has an incompatible calling convention.
1640 elif test $ac_prog = install &&
1641 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1642 # program-specific install script used by HP pwplus--don't use.
1645 rm -rf conftest.one conftest.two conftest.dir
1646 echo one > conftest.one
1647 echo two > conftest.two
1649 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1650 test -s conftest.one && test -s conftest.two &&
1651 test -s conftest.dir/conftest.one &&
1652 test -s conftest.dir/conftest.two
1654 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1665 rm -rf conftest.one conftest.two conftest.dir
1668 if test "${ac_cv_path_install+set}" = set; then
1669 INSTALL=$ac_cv_path_install
1671 # As a last resort, use the slow shell script. Don't cache a
1672 # value for INSTALL within a source directory, because that will
1673 # break other packages using the cache if that directory is
1674 # removed, or if the value is a relative name.
1675 INSTALL=$ac_install_sh
1678 echo "$as_me:$LINENO: result: $INSTALL" >&5
1679 echo "${ECHO_T}$INSTALL" >&6
1681 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1682 # It thinks the first close brace ends the variable substitution.
1683 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1685 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1687 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1689 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1690 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1693 echo timestamp > conftest.file
1694 # Do `set' in a subshell so we don't clobber the current shell's
1695 # arguments. Must try -L first in case configure is actually a
1696 # symlink; some systems play weird games with the mod time of symlinks
1697 # (eg FreeBSD returns the mod time of the symlink's containing
1700 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1701 if test "$*" = "X"; then
1703 set X `ls -t $srcdir/configure conftest.file`
1706 if test "$*" != "X $srcdir/configure conftest.file" \
1707 && test "$*" != "X conftest.file $srcdir/configure"; then
1709 # If neither matched, then we have a broken ls. This can happen
1710 # if, for instance, CONFIG_SHELL is bash and it inherits a
1711 # broken ls alias from the environment. This has actually
1712 # happened. Such a system could not be considered "sane".
1713 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1714 alias in your environment" >&5
1715 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1716 alias in your environment" >&2;}
1717 { (exit 1); exit 1; }; }
1720 test "$2" = conftest.file
1726 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1727 Check your system clock" >&5
1728 echo "$as_me: error: newly created file is older than distributed files!
1729 Check your system clock" >&2;}
1730 { (exit 1); exit 1; }; }
1732 echo "$as_me:$LINENO: result: yes" >&5
1733 echo "${ECHO_T}yes" >&6
1734 test "$program_prefix" != NONE &&
1735 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1736 # Use a double $ so make ignores it.
1737 test "$program_suffix" != NONE &&
1738 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1739 # Double any \ or $. echo might interpret backslashes.
1740 # By default was `s,x,x', remove it if useless.
1741 cat <<\_ACEOF >conftest.sed
1742 s/[\\$]/&&/g;s/;s,x,x,$//
1744 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1747 # expand $ac_aux_dir to an absolute path
1748 am_aux_dir=`cd $ac_aux_dir && pwd`
1750 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1751 # Use eval to expand $SHELL
1752 if eval "$MISSING --run true"; then
1753 am_missing_run="$MISSING --run "
1756 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1757 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1760 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1761 # We used to keeping the `.' as first argument, in order to
1762 # allow $(mkdir_p) to be used without argument. As in
1763 # $(mkdir_p) $(somedir)
1764 # where $(somedir) is conditionally defined. However this is wrong
1766 # 1. if the package is installed by a user who cannot write `.'
1767 # make install will fail,
1768 # 2. the above comment should most certainly read
1769 # $(mkdir_p) $(DESTDIR)$(somedir)
1770 # so it does not work when $(somedir) is undefined and
1771 # $(DESTDIR) is not.
1772 # To support the latter case, we have to write
1773 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1774 # so the `.' trick is pointless.
1775 mkdir_p='mkdir -p --'
1777 # On NextStep and OpenStep, the `mkdir' command does not
1778 # recognize any option. It will interpret all options as
1779 # directories to create, and then abort because `.' already
1781 for d in ./-p ./--version;
1783 test -d $d && rmdir $d
1785 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1786 if test -f "$ac_aux_dir/mkinstalldirs"; then
1787 mkdir_p='$(mkinstalldirs)'
1789 mkdir_p='$(install_sh) -d'
1793 for ac_prog in gawk mawk nawk awk
1795 # Extract the first word of "$ac_prog", so it can be a program name with args.
1796 set dummy $ac_prog; ac_word=$2
1797 echo "$as_me:$LINENO: checking for $ac_word" >&5
1798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1799 if test "${ac_cv_prog_AWK+set}" = set; then
1800 echo $ECHO_N "(cached) $ECHO_C" >&6
1802 if test -n "$AWK"; then
1803 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1809 test -z "$as_dir" && as_dir=.
1810 for ac_exec_ext in '' $ac_executable_extensions; do
1811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1812 ac_cv_prog_AWK="$ac_prog"
1813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1822 if test -n "$AWK"; then
1823 echo "$as_me:$LINENO: result: $AWK" >&5
1824 echo "${ECHO_T}$AWK" >&6
1826 echo "$as_me:$LINENO: result: no" >&5
1827 echo "${ECHO_T}no" >&6
1830 test -n "$AWK" && break
1833 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1834 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1835 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1836 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1837 echo $ECHO_N "(cached) $ECHO_C" >&6
1839 cat >conftest.make <<\_ACEOF
1841 @echo 'ac_maketemp="$(MAKE)"'
1843 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1844 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1845 if test -n "$ac_maketemp"; then
1846 eval ac_cv_prog_make_${ac_make}_set=yes
1848 eval ac_cv_prog_make_${ac_make}_set=no
1852 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1853 echo "$as_me:$LINENO: result: yes" >&5
1854 echo "${ECHO_T}yes" >&6
1857 echo "$as_me:$LINENO: result: no" >&5
1858 echo "${ECHO_T}no" >&6
1859 SET_MAKE="MAKE=${MAKE-make}"
1862 rm -rf .tst 2>/dev/null
1863 mkdir .tst 2>/dev/null
1864 if test -d .tst; then
1869 rmdir .tst 2>/dev/null
1871 # test to see if srcdir already configured
1872 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1873 test -f $srcdir/config.status; then
1874 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1875 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1876 { (exit 1); exit 1; }; }
1879 # test whether we have cygpath
1880 if test -z "$CYGPATH_W"; then
1881 if (cygpath --version) >/dev/null 2>/dev/null; then
1882 CYGPATH_W='cygpath -w'
1889 # Define the identity of the package.
1890 PACKAGE='libmudflap'
1894 cat >>confdefs.h <<_ACEOF
1895 #define PACKAGE "$PACKAGE"
1899 cat >>confdefs.h <<_ACEOF
1900 #define VERSION "$VERSION"
1903 # Some tools Automake needs.
1905 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1908 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1911 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1914 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1917 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1919 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1921 # Installed binaries are usually stripped using `strip' when the user
1922 # run `make install-strip'. However `strip' might not be the right
1923 # tool to use in cross-compilation environments, therefore Automake
1924 # will honor the `STRIP' environment variable to overrule this program.
1925 if test "$cross_compiling" != no; then
1926 if test -n "$ac_tool_prefix"; then
1927 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1928 set dummy ${ac_tool_prefix}strip; ac_word=$2
1929 echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931 if test "${ac_cv_prog_STRIP+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 if test -n "$STRIP"; then
1935 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941 test -z "$as_dir" && as_dir=.
1942 for ac_exec_ext in '' $ac_executable_extensions; do
1943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1953 STRIP=$ac_cv_prog_STRIP
1954 if test -n "$STRIP"; then
1955 echo "$as_me:$LINENO: result: $STRIP" >&5
1956 echo "${ECHO_T}$STRIP" >&6
1958 echo "$as_me:$LINENO: result: no" >&5
1959 echo "${ECHO_T}no" >&6
1963 if test -z "$ac_cv_prog_STRIP"; then
1965 # Extract the first word of "strip", so it can be a program name with args.
1966 set dummy strip; ac_word=$2
1967 echo "$as_me:$LINENO: checking for $ac_word" >&5
1968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1969 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1972 if test -n "$ac_ct_STRIP"; then
1973 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1979 test -z "$as_dir" && as_dir=.
1980 for ac_exec_ext in '' $ac_executable_extensions; do
1981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1982 ac_cv_prog_ac_ct_STRIP="strip"
1983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1989 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1992 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1993 if test -n "$ac_ct_STRIP"; then
1994 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1995 echo "${ECHO_T}$ac_ct_STRIP" >&6
1997 echo "$as_me:$LINENO: result: no" >&5
1998 echo "${ECHO_T}no" >&6
2003 STRIP="$ac_cv_prog_STRIP"
2007 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2009 # We need awk for the "check" target. The system "awk" is bad on
2011 # Always define AMTAR for backward compatibility.
2013 AMTAR=${AMTAR-"${am_missing_run}tar"}
2015 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2022 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
2023 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
2024 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
2025 if test "${enable_version_specific_runtime_libs+set}" = set; then
2026 enableval="$enable_version_specific_runtime_libs"
2027 case "$enableval" in
2028 yes) version_specific_libs=yes ;;
2029 no) version_specific_libs=no ;;
2030 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
2031 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
2032 { (exit 1); exit 1; }; };;
2035 version_specific_libs=no
2037 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
2038 echo "${ECHO_T}$version_specific_libs" >&6
2040 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2041 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2042 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2043 if test "${enable_maintainer_mode+set}" = set; then
2044 enableval="$enable_maintainer_mode"
2045 USE_MAINTAINER_MODE=$enableval
2047 USE_MAINTAINER_MODE=no
2049 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2050 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2053 if test $USE_MAINTAINER_MODE = yes; then
2054 MAINTAINER_MODE_TRUE=
2055 MAINTAINER_MODE_FALSE='#'
2057 MAINTAINER_MODE_TRUE='#'
2058 MAINTAINER_MODE_FALSE=
2061 MAINT=$MAINTAINER_MODE_TRUE
2066 # Default to --enable-multilib
2067 # Check whether --enable-multilib or --disable-multilib was given.
2068 if test "${enable_multilib+set}" = set; then
2069 enableval="$enable_multilib"
2070 case "$enableval" in
2071 yes) multilib=yes ;;
2073 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2074 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2075 { (exit 1); exit 1; }; } ;;
2081 # We may get other options which we leave undocumented:
2082 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2083 # See config-ml.in if you want the gory details.
2085 if test "$srcdir" = "."; then
2086 if test "$with_target_subdir" != "."; then
2087 multi_basedir="$srcdir/$with_multisrctop../.."
2089 multi_basedir="$srcdir/$with_multisrctop.."
2092 multi_basedir="$srcdir/.."
2096 # Even if the default multilib is not a cross compilation,
2097 # it may be that some of the other multilibs are.
2098 if test $cross_compiling = no && test $multilib = yes \
2099 && test "x${with_multisubdir}" != x ; then
2100 cross_compiling=maybe
2103 ac_config_commands="$ac_config_commands default-1"
2106 target_alias=${target_alias-$host_alias}
2109 ac_config_headers="$ac_config_headers config.h"
2113 ac_cpp='$CPP $CPPFLAGS'
2114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2118 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2119 # We must force CC to /not/ be precious variables; otherwise
2120 # the wrong, non-multilib-adjusted value will be used in multilibs.
2121 # As a side effect, we have to subst CFLAGS ourselves.
2126 ac_cpp='$CPP $CPPFLAGS'
2127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2130 if test -n "$ac_tool_prefix"; then
2131 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2132 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2133 echo "$as_me:$LINENO: checking for $ac_word" >&5
2134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2135 if test "${ac_cv_prog_CC+set}" = set; then
2136 echo $ECHO_N "(cached) $ECHO_C" >&6
2138 if test -n "$CC"; then
2139 ac_cv_prog_CC="$CC" # Let the user override the test.
2141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 test -z "$as_dir" && as_dir=.
2146 for ac_exec_ext in '' $ac_executable_extensions; do
2147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2148 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2158 if test -n "$CC"; then
2159 echo "$as_me:$LINENO: result: $CC" >&5
2160 echo "${ECHO_T}$CC" >&6
2162 echo "$as_me:$LINENO: result: no" >&5
2163 echo "${ECHO_T}no" >&6
2167 if test -z "$ac_cv_prog_CC"; then
2169 # Extract the first word of "gcc", so it can be a program name with args.
2170 set dummy gcc; ac_word=$2
2171 echo "$as_me:$LINENO: checking for $ac_word" >&5
2172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2173 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2176 if test -n "$ac_ct_CC"; then
2177 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2183 test -z "$as_dir" && as_dir=.
2184 for ac_exec_ext in '' $ac_executable_extensions; do
2185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2186 ac_cv_prog_ac_ct_CC="gcc"
2187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2195 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2196 if test -n "$ac_ct_CC"; then
2197 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2198 echo "${ECHO_T}$ac_ct_CC" >&6
2200 echo "$as_me:$LINENO: result: no" >&5
2201 echo "${ECHO_T}no" >&6
2209 if test -z "$CC"; then
2210 if test -n "$ac_tool_prefix"; then
2211 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2212 set dummy ${ac_tool_prefix}cc; ac_word=$2
2213 echo "$as_me:$LINENO: checking for $ac_word" >&5
2214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2215 if test "${ac_cv_prog_CC+set}" = set; then
2216 echo $ECHO_N "(cached) $ECHO_C" >&6
2218 if test -n "$CC"; then
2219 ac_cv_prog_CC="$CC" # Let the user override the test.
2221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2225 test -z "$as_dir" && as_dir=.
2226 for ac_exec_ext in '' $ac_executable_extensions; do
2227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2228 ac_cv_prog_CC="${ac_tool_prefix}cc"
2229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2238 if test -n "$CC"; then
2239 echo "$as_me:$LINENO: result: $CC" >&5
2240 echo "${ECHO_T}$CC" >&6
2242 echo "$as_me:$LINENO: result: no" >&5
2243 echo "${ECHO_T}no" >&6
2247 if test -z "$ac_cv_prog_CC"; then
2249 # Extract the first word of "cc", so it can be a program name with args.
2250 set dummy cc; ac_word=$2
2251 echo "$as_me:$LINENO: checking for $ac_word" >&5
2252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2253 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2254 echo $ECHO_N "(cached) $ECHO_C" >&6
2256 if test -n "$ac_ct_CC"; then
2257 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2263 test -z "$as_dir" && as_dir=.
2264 for ac_exec_ext in '' $ac_executable_extensions; do
2265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2266 ac_cv_prog_ac_ct_CC="cc"
2267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2275 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2276 if test -n "$ac_ct_CC"; then
2277 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2278 echo "${ECHO_T}$ac_ct_CC" >&6
2280 echo "$as_me:$LINENO: result: no" >&5
2281 echo "${ECHO_T}no" >&6
2290 if test -z "$CC"; then
2291 # Extract the first word of "cc", so it can be a program name with args.
2292 set dummy cc; ac_word=$2
2293 echo "$as_me:$LINENO: checking for $ac_word" >&5
2294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2295 if test "${ac_cv_prog_CC+set}" = set; then
2296 echo $ECHO_N "(cached) $ECHO_C" >&6
2298 if test -n "$CC"; then
2299 ac_cv_prog_CC="$CC" # Let the user override the test.
2302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2306 test -z "$as_dir" && as_dir=.
2307 for ac_exec_ext in '' $ac_executable_extensions; do
2308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2309 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2310 ac_prog_rejected=yes
2314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2320 if test $ac_prog_rejected = yes; then
2321 # We found a bogon in the path, so make sure we never use it.
2322 set dummy $ac_cv_prog_CC
2324 if test $# != 0; then
2325 # We chose a different compiler from the bogus one.
2326 # However, it has the same basename, so the bogon will be chosen
2327 # first if we set CC to just the basename; use the full file name.
2329 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2335 if test -n "$CC"; then
2336 echo "$as_me:$LINENO: result: $CC" >&5
2337 echo "${ECHO_T}$CC" >&6
2339 echo "$as_me:$LINENO: result: no" >&5
2340 echo "${ECHO_T}no" >&6
2344 if test -z "$CC"; then
2345 if test -n "$ac_tool_prefix"; then
2348 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2349 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2350 echo "$as_me:$LINENO: checking for $ac_word" >&5
2351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2352 if test "${ac_cv_prog_CC+set}" = set; then
2353 echo $ECHO_N "(cached) $ECHO_C" >&6
2355 if test -n "$CC"; then
2356 ac_cv_prog_CC="$CC" # Let the user override the test.
2358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2362 test -z "$as_dir" && as_dir=.
2363 for ac_exec_ext in '' $ac_executable_extensions; do
2364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2365 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2375 if test -n "$CC"; then
2376 echo "$as_me:$LINENO: result: $CC" >&5
2377 echo "${ECHO_T}$CC" >&6
2379 echo "$as_me:$LINENO: result: no" >&5
2380 echo "${ECHO_T}no" >&6
2383 test -n "$CC" && break
2386 if test -z "$CC"; then
2390 # Extract the first word of "$ac_prog", so it can be a program name with args.
2391 set dummy $ac_prog; ac_word=$2
2392 echo "$as_me:$LINENO: checking for $ac_word" >&5
2393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2394 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2395 echo $ECHO_N "(cached) $ECHO_C" >&6
2397 if test -n "$ac_ct_CC"; then
2398 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404 test -z "$as_dir" && as_dir=.
2405 for ac_exec_ext in '' $ac_executable_extensions; do
2406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2407 ac_cv_prog_ac_ct_CC="$ac_prog"
2408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2416 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2417 if test -n "$ac_ct_CC"; then
2418 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2419 echo "${ECHO_T}$ac_ct_CC" >&6
2421 echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6
2425 test -n "$ac_ct_CC" && break
2434 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2435 See \`config.log' for more details." >&5
2436 echo "$as_me: error: no acceptable C compiler found in \$PATH
2437 See \`config.log' for more details." >&2;}
2438 { (exit 1); exit 1; }; }
2440 # Provide some information about the compiler.
2441 echo "$as_me:$LINENO:" \
2442 "checking for C compiler version" >&5
2443 ac_compiler=`set X $ac_compile; echo $2`
2444 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2445 (eval $ac_compiler --version </dev/null >&5) 2>&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); }
2449 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2450 (eval $ac_compiler -v </dev/null >&5) 2>&5
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); }
2454 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2455 (eval $ac_compiler -V </dev/null >&5) 2>&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); }
2460 cat >conftest.$ac_ext <<_ACEOF
2463 cat confdefs.h >>conftest.$ac_ext
2464 cat >>conftest.$ac_ext <<_ACEOF
2465 /* end confdefs.h. */
2475 ac_clean_files_save=$ac_clean_files
2476 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2477 # Try to create an executable without -o first, disregard a.out.
2478 # It will help us diagnose broken compilers, and finding out an intuition
2480 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2481 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2482 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2483 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2484 (eval $ac_link_default) 2>&5
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; then
2488 # Find the output, starting from the most likely. This scheme is
2489 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2492 # Be careful to initialize this variable, since it used to be cached.
2493 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2495 # b.out is created by i960 compilers.
2496 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2498 test -f "$ac_file" || continue
2500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2503 # This is the source file.
2506 # We found the default executable, but exeext='' is most
2510 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2511 # FIXME: I believe we export ac_cv_exeext for Libtool,
2512 # but it would be cool to find out if it's true. Does anybody
2513 # maintain Libtool? --akim.
2521 echo "$as_me: failed program was:" >&5
2522 sed 's/^/| /' conftest.$ac_ext >&5
2524 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2525 See \`config.log' for more details." >&5
2526 echo "$as_me: error: C compiler cannot create executables
2527 See \`config.log' for more details." >&2;}
2528 { (exit 77); exit 77; }; }
2531 ac_exeext=$ac_cv_exeext
2532 echo "$as_me:$LINENO: result: $ac_file" >&5
2533 echo "${ECHO_T}$ac_file" >&6
2535 # Check the compiler produces executables we can run. If not, either
2536 # the compiler is broken, or we cross compile.
2537 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2538 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2539 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2540 # If not cross compiling, check that we can run a simple program.
2541 if test "$cross_compiling" != yes; then
2542 if { ac_try='./$ac_file'
2543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; }; then
2550 if test "$cross_compiling" = maybe; then
2553 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2554 If you meant to cross compile, use \`--host'.
2555 See \`config.log' for more details." >&5
2556 echo "$as_me: error: cannot run C compiled programs.
2557 If you meant to cross compile, use \`--host'.
2558 See \`config.log' for more details." >&2;}
2559 { (exit 1); exit 1; }; }
2563 echo "$as_me:$LINENO: result: yes" >&5
2564 echo "${ECHO_T}yes" >&6
2566 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2567 ac_clean_files=$ac_clean_files_save
2568 # Check the compiler produces executables we can run. If not, either
2569 # the compiler is broken, or we cross compile.
2570 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2571 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2572 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2573 echo "${ECHO_T}$cross_compiling" >&6
2575 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2576 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2578 (eval $ac_link) 2>&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); }; then
2582 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2583 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2584 # work properly (i.e., refer to `conftest.exe'), while it won't with
2586 for ac_file in conftest.exe conftest conftest.*; do
2587 test -f "$ac_file" || continue
2589 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2590 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2597 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2598 See \`config.log' for more details." >&5
2599 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2600 See \`config.log' for more details." >&2;}
2601 { (exit 1); exit 1; }; }
2604 rm -f conftest$ac_cv_exeext
2605 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2606 echo "${ECHO_T}$ac_cv_exeext" >&6
2608 rm -f conftest.$ac_ext
2609 EXEEXT=$ac_cv_exeext
2611 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2612 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2613 if test "${ac_cv_objext+set}" = set; then
2614 echo $ECHO_N "(cached) $ECHO_C" >&6
2616 cat >conftest.$ac_ext <<_ACEOF
2619 cat confdefs.h >>conftest.$ac_ext
2620 cat >>conftest.$ac_ext <<_ACEOF
2621 /* end confdefs.h. */
2631 rm -f conftest.o conftest.obj
2632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2633 (eval $ac_compile) 2>&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }; then
2637 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2639 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2640 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2645 echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.$ac_ext >&5
2648 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2649 See \`config.log' for more details." >&5
2650 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2651 See \`config.log' for more details." >&2;}
2652 { (exit 1); exit 1; }; }
2655 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2657 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2658 echo "${ECHO_T}$ac_cv_objext" >&6
2659 OBJEXT=$ac_cv_objext
2661 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2662 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2663 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2664 echo $ECHO_N "(cached) $ECHO_C" >&6
2666 cat >conftest.$ac_ext <<_ACEOF
2669 cat confdefs.h >>conftest.$ac_ext
2670 cat >>conftest.$ac_ext <<_ACEOF
2671 /* end confdefs.h. */
2684 rm -f conftest.$ac_objext
2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2686 (eval $ac_compile) 2>conftest.er1
2688 grep -v '^ *+' conftest.er1 >conftest.err
2690 cat conftest.err >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } &&
2693 { ac_try='test -z "$ac_c_werror_flag"
2694 || test ! -s conftest.err'
2695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }; } &&
2700 { ac_try='test -s conftest.$ac_objext'
2701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }; }; then
2708 echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2714 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2717 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2718 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2719 GCC=`test $ac_compiler_gnu = yes && echo yes`
2720 ac_test_CFLAGS=${CFLAGS+set}
2721 ac_save_CFLAGS=$CFLAGS
2723 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2724 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2725 if test "${ac_cv_prog_cc_g+set}" = set; then
2726 echo $ECHO_N "(cached) $ECHO_C" >&6
2728 cat >conftest.$ac_ext <<_ACEOF
2731 cat confdefs.h >>conftest.$ac_ext
2732 cat >>conftest.$ac_ext <<_ACEOF
2733 /* end confdefs.h. */
2743 rm -f conftest.$ac_objext
2744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2745 (eval $ac_compile) 2>conftest.er1
2747 grep -v '^ *+' conftest.er1 >conftest.err
2749 cat conftest.err >&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); } &&
2752 { ac_try='test -z "$ac_c_werror_flag"
2753 || test ! -s conftest.err'
2754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); }; } &&
2759 { ac_try='test -s conftest.$ac_objext'
2760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); }; }; then
2767 echo "$as_me: failed program was:" >&5
2768 sed 's/^/| /' conftest.$ac_ext >&5
2772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2774 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2775 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2776 if test "$ac_test_CFLAGS" = set; then
2777 CFLAGS=$ac_save_CFLAGS
2778 elif test $ac_cv_prog_cc_g = yes; then
2779 if test "$GCC" = yes; then
2785 if test "$GCC" = yes; then
2791 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2792 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2793 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2794 echo $ECHO_N "(cached) $ECHO_C" >&6
2796 ac_cv_prog_cc_stdc=no
2798 cat >conftest.$ac_ext <<_ACEOF
2801 cat confdefs.h >>conftest.$ac_ext
2802 cat >>conftest.$ac_ext <<_ACEOF
2803 /* end confdefs.h. */
2806 #include <sys/types.h>
2807 #include <sys/stat.h>
2808 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2809 struct buf { int x; };
2810 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2811 static char *e (p, i)
2817 static char *f (char * (*g) (char **, int), char **p, ...)
2822 s = g (p, va_arg (v,int));
2827 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2828 function prototypes and stuff, but not '\xHH' hex character constants.
2829 These don't provoke an error unfortunately, instead are silently treated
2830 as 'x'. The following induces an error, until -std1 is added to get
2831 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2832 array size at least. It's necessary to write '\x00'==0 to get something
2833 that's true only with -std1. */
2834 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2836 int test (int i, double x);
2837 struct s1 {int (*f) (int a);};
2838 struct s2 {int (*f) (double a);};
2839 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2845 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2850 # Don't try gcc -ansi; that turns off useful extensions and
2851 # breaks some systems' header files.
2852 # AIX -qlanglvl=ansi
2853 # Ultrix and OSF/1 -std1
2854 # HP-UX 10.20 and later -Ae
2855 # HP-UX older versions -Aa -D_HPUX_SOURCE
2856 # SVR4 -Xc -D__EXTENSIONS__
2857 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2859 CC="$ac_save_CC $ac_arg"
2860 rm -f conftest.$ac_objext
2861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2862 (eval $ac_compile) 2>conftest.er1
2864 grep -v '^ *+' conftest.er1 >conftest.err
2866 cat conftest.err >&5
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); } &&
2869 { ac_try='test -z "$ac_c_werror_flag"
2870 || test ! -s conftest.err'
2871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); }; } &&
2876 { ac_try='test -s conftest.$ac_objext'
2877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); }; }; then
2882 ac_cv_prog_cc_stdc=$ac_arg
2885 echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.$ac_ext >&5
2889 rm -f conftest.err conftest.$ac_objext
2891 rm -f conftest.$ac_ext conftest.$ac_objext
2896 case "x$ac_cv_prog_cc_stdc" in
2898 echo "$as_me:$LINENO: result: none needed" >&5
2899 echo "${ECHO_T}none needed" >&6 ;;
2901 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2902 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2903 CC="$CC $ac_cv_prog_cc_stdc" ;;
2906 # Some people use a C++ compiler to compile C. Since we use `exit',
2907 # in C++ we need to declare it. In case someone uses the same compiler
2908 # for both compiling C and C++ we need to have the C++ compiler decide
2909 # the declaration of exit, since it's the most demanding environment.
2910 cat >conftest.$ac_ext <<_ACEOF
2915 rm -f conftest.$ac_objext
2916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2917 (eval $ac_compile) 2>conftest.er1
2919 grep -v '^ *+' conftest.er1 >conftest.err
2921 cat conftest.err >&5
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); } &&
2924 { ac_try='test -z "$ac_c_werror_flag"
2925 || test ! -s conftest.err'
2926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; } &&
2931 { ac_try='test -s conftest.$ac_objext'
2932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); }; }; then
2937 for ac_declaration in \
2939 'extern "C" void std::exit (int) throw (); using std::exit;' \
2940 'extern "C" void std::exit (int); using std::exit;' \
2941 'extern "C" void exit (int) throw ();' \
2942 'extern "C" void exit (int);' \
2945 cat >conftest.$ac_ext <<_ACEOF
2948 cat confdefs.h >>conftest.$ac_ext
2949 cat >>conftest.$ac_ext <<_ACEOF
2950 /* end confdefs.h. */
2961 rm -f conftest.$ac_objext
2962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2963 (eval $ac_compile) 2>conftest.er1
2965 grep -v '^ *+' conftest.er1 >conftest.err
2967 cat conftest.err >&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); } &&
2970 { ac_try='test -z "$ac_c_werror_flag"
2971 || test ! -s conftest.err'
2972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 (exit $ac_status); }; } &&
2977 { ac_try='test -s conftest.$ac_objext'
2978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); }; }; then
2985 echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2991 cat >conftest.$ac_ext <<_ACEOF
2994 cat confdefs.h >>conftest.$ac_ext
2995 cat >>conftest.$ac_ext <<_ACEOF
2996 /* end confdefs.h. */
3006 rm -f conftest.$ac_objext
3007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3008 (eval $ac_compile) 2>conftest.er1
3010 grep -v '^ *+' conftest.er1 >conftest.err
3012 cat conftest.err >&5
3013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014 (exit $ac_status); } &&
3015 { ac_try='test -z "$ac_c_werror_flag"
3016 || test ! -s conftest.err'
3017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); }; } &&
3022 { ac_try='test -s conftest.$ac_objext'
3023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); }; }; then
3030 echo "$as_me: failed program was:" >&5
3031 sed 's/^/| /' conftest.$ac_ext >&5
3034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3037 if test -n "$ac_declaration"; then
3038 echo '#ifdef __cplusplus' >>confdefs.h
3039 echo $ac_declaration >>confdefs.h
3040 echo '#endif' >>confdefs.h
3044 echo "$as_me: failed program was:" >&5
3045 sed 's/^/| /' conftest.$ac_ext >&5
3048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3050 ac_cpp='$CPP $CPPFLAGS'
3051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3054 DEPDIR="${am__leading_dot}deps"
3056 ac_config_commands="$ac_config_commands depfiles"
3059 am_make=${MAKE-make}
3060 cat > confinc << 'END'
3065 # If we don't find an include directive, just comment out the code.
3066 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3067 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3071 # First try GNU make style include.
3072 echo "include confinc" > confmf
3073 # We grep out `Entering directory' and `Leaving directory'
3074 # messages which can occur if `w' ends up in MAKEFLAGS.
3075 # In particular we don't look at `^make:' because GNU make might
3076 # be invoked under some other name (usually "gmake"), in which
3077 # case it prints its new name instead of `make'.
3078 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3083 # Now try BSD make style include.
3084 if test "$am__include" = "#"; then
3085 echo '.include "confinc"' > confmf
3086 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3087 am__include=.include
3094 echo "$as_me:$LINENO: result: $_am_result" >&5
3095 echo "${ECHO_T}$_am_result" >&6
3096 rm -f confinc confmf
3098 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3099 if test "${enable_dependency_tracking+set}" = set; then
3100 enableval="$enable_dependency_tracking"
3103 if test "x$enable_dependency_tracking" != xno; then
3104 am_depcomp="$ac_aux_dir/depcomp"
3109 if test "x$enable_dependency_tracking" != xno; then
3120 depcc="$CC" am_compiler_list=
3122 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3123 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3124 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3125 echo $ECHO_N "(cached) $ECHO_C" >&6
3127 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3128 # We make a subdir and do the tests there. Otherwise we can end up
3129 # making bogus files that we don't know about and never remove. For
3130 # instance it was reported that on HP-UX the gcc test will end up
3131 # making a dummy file named `D' -- because `-MD' means `put the output
3134 # Copy depcomp to subdir because otherwise we won't find it if we're
3135 # using a relative directory.
3136 cp "$am_depcomp" conftest.dir
3138 # We will build objects and dependencies in a subdirectory because
3139 # it helps to detect inapplicable dependency modes. For instance
3140 # both Tru64's cc and ICC support -MD to output dependencies as a
3141 # side effect of compilation, but ICC will put the dependencies in
3142 # the current directory while Tru64 will put them in the object
3146 am_cv_CC_dependencies_compiler_type=none
3147 if test "$am_compiler_list" = ""; then
3148 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3150 for depmode in $am_compiler_list; do
3151 # Setup a source with many dependencies, because some compilers
3152 # like to wrap large dependency lists on column 80 (with \), and
3153 # we should not choose a depcomp mode which is confused by this.
3155 # We need to recreate these files for each test, as the compiler may
3156 # overwrite some of them when testing with obscure command lines.
3157 # This happens at least with the AIX C compiler.
3159 for i in 1 2 3 4 5 6; do
3160 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3161 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3162 # Solaris 8's {/usr,}/bin/sh.
3163 touch sub/conftst$i.h
3165 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3169 # after this tag, mechanisms are not by side-effect, so they'll
3170 # only be used when explicitly requested
3171 if test "x$enable_dependency_tracking" = xyes; then
3179 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3180 # mode. It turns out that the SunPro C++ compiler does not properly
3181 # handle `-M -o', and we need to detect this.
3182 if depmode=$depmode \
3183 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3184 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3185 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3186 >/dev/null 2>conftest.err &&
3187 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3188 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3189 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3190 # icc doesn't choke on unknown options, it will just issue warnings
3191 # or remarks (even with -Werror). So we grep stderr for any message
3192 # that says an option was ignored or not supported.
3193 # When given -MP, icc 7.0 and 7.1 complain thusly:
3194 # icc: Command line warning: ignoring option '-M'; no argument required
3195 # The diagnosis changed in icc 8.0:
3196 # icc: Command line remark: option '-MP' not supported
3197 if (grep 'ignoring option' conftest.err ||
3198 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3199 am_cv_CC_dependencies_compiler_type=$depmode
3208 am_cv_CC_dependencies_compiler_type=none
3212 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3213 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3214 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3219 test "x$enable_dependency_tracking" != xno \
3220 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3222 am__fastdepCC_FALSE='#'
3224 am__fastdepCC_TRUE='#'
3225 am__fastdepCC_FALSE=
3233 if test "x$GCC" != "xyes"; then
3234 { { echo "$as_me:$LINENO: error: libmudflap must be built with GCC" >&5
3235 echo "$as_me: error: libmudflap must be built with GCC" >&2;}
3236 { (exit 1); exit 1; }; }
3239 ac_cpp='$CPP $CPPFLAGS'
3240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3243 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3244 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3245 # On Suns, sometimes $CPP names a directory.
3246 if test -n "$CPP" && test -d "$CPP"; then
3249 if test -z "$CPP"; then
3250 if test "${ac_cv_prog_CPP+set}" = set; then
3251 echo $ECHO_N "(cached) $ECHO_C" >&6
3253 # Double quotes because CPP needs to be expanded
3254 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3257 for ac_c_preproc_warn_flag in '' yes
3259 # Use a header file that comes with gcc, so configuring glibc
3260 # with a fresh cross-compiler works.
3261 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3262 # <limits.h> exists even on freestanding compilers.
3263 # On the NeXT, cc -E runs the code through the compiler's parser,
3264 # not just through cpp. "Syntax error" is here to catch this case.
3265 cat >conftest.$ac_ext <<_ACEOF
3268 cat confdefs.h >>conftest.$ac_ext
3269 cat >>conftest.$ac_ext <<_ACEOF
3270 /* end confdefs.h. */
3272 # include <limits.h>
3274 # include <assert.h>
3278 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3279 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3281 grep -v '^ *+' conftest.er1 >conftest.err
3283 cat conftest.err >&5
3284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); } >/dev/null; then
3286 if test -s conftest.err; then
3287 ac_cpp_err=$ac_c_preproc_warn_flag
3288 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3295 if test -z "$ac_cpp_err"; then
3298 echo "$as_me: failed program was:" >&5
3299 sed 's/^/| /' conftest.$ac_ext >&5
3301 # Broken: fails on valid input.
3304 rm -f conftest.err conftest.$ac_ext
3306 # OK, works on sane cases. Now check whether non-existent headers
3307 # can be detected and how.
3308 cat >conftest.$ac_ext <<_ACEOF
3311 cat confdefs.h >>conftest.$ac_ext
3312 cat >>conftest.$ac_ext <<_ACEOF
3313 /* end confdefs.h. */
3314 #include <ac_nonexistent.h>
3316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3317 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3319 grep -v '^ *+' conftest.er1 >conftest.err
3321 cat conftest.err >&5
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); } >/dev/null; then
3324 if test -s conftest.err; then
3325 ac_cpp_err=$ac_c_preproc_warn_flag
3326 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3333 if test -z "$ac_cpp_err"; then
3334 # Broken: success on invalid input.
3337 echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.$ac_ext >&5
3340 # Passes both tests.
3344 rm -f conftest.err conftest.$ac_ext
3347 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3348 rm -f conftest.err conftest.$ac_ext
3349 if $ac_preproc_ok; then
3361 echo "$as_me:$LINENO: result: $CPP" >&5
3362 echo "${ECHO_T}$CPP" >&6
3364 for ac_c_preproc_warn_flag in '' yes
3366 # Use a header file that comes with gcc, so configuring glibc
3367 # with a fresh cross-compiler works.
3368 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3369 # <limits.h> exists even on freestanding compilers.
3370 # On the NeXT, cc -E runs the code through the compiler's parser,
3371 # not just through cpp. "Syntax error" is here to catch this case.
3372 cat >conftest.$ac_ext <<_ACEOF
3375 cat confdefs.h >>conftest.$ac_ext
3376 cat >>conftest.$ac_ext <<_ACEOF
3377 /* end confdefs.h. */
3379 # include <limits.h>
3381 # include <assert.h>
3385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3386 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3388 grep -v '^ *+' conftest.er1 >conftest.err
3390 cat conftest.err >&5
3391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392 (exit $ac_status); } >/dev/null; then
3393 if test -s conftest.err; then
3394 ac_cpp_err=$ac_c_preproc_warn_flag
3395 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3402 if test -z "$ac_cpp_err"; then
3405 echo "$as_me: failed program was:" >&5
3406 sed 's/^/| /' conftest.$ac_ext >&5
3408 # Broken: fails on valid input.
3411 rm -f conftest.err conftest.$ac_ext
3413 # OK, works on sane cases. Now check whether non-existent headers
3414 # can be detected and how.
3415 cat >conftest.$ac_ext <<_ACEOF
3418 cat confdefs.h >>conftest.$ac_ext
3419 cat >>conftest.$ac_ext <<_ACEOF
3420 /* end confdefs.h. */
3421 #include <ac_nonexistent.h>
3423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3426 grep -v '^ *+' conftest.er1 >conftest.err
3428 cat conftest.err >&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); } >/dev/null; then
3431 if test -s conftest.err; then
3432 ac_cpp_err=$ac_c_preproc_warn_flag
3433 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3440 if test -z "$ac_cpp_err"; then
3441 # Broken: success on invalid input.
3444 echo "$as_me: failed program was:" >&5
3445 sed 's/^/| /' conftest.$ac_ext >&5
3447 # Passes both tests.
3451 rm -f conftest.err conftest.$ac_ext
3454 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3455 rm -f conftest.err conftest.$ac_ext
3456 if $ac_preproc_ok; then
3459 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3460 See \`config.log' for more details." >&5
3461 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3462 See \`config.log' for more details." >&2;}
3463 { (exit 1); exit 1; }; }
3467 ac_cpp='$CPP $CPPFLAGS'
3468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3473 # Some hosts don't have dlsym(RTLD_NEXT, "symbol") for use in
3474 # symbol interposition. We disable shared libraries for these.
3475 echo "$as_me:$LINENO: checking whether dlsym(RTLD_NEXT,...) is available" >&5
3476 echo $ECHO_N "checking whether dlsym(RTLD_NEXT,...) is available... $ECHO_C" >&6
3478 cat >conftest.$ac_ext <<_ACEOF
3481 cat confdefs.h >>conftest.$ac_ext
3482 cat >>conftest.$ac_ext <<_ACEOF
3483 /* end confdefs.h. */
3491 void *foo = dlsym (RTLD_NEXT, "exit");
3496 rm -f conftest.$ac_objext
3497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3498 (eval $ac_compile) 2>conftest.er1
3500 grep -v '^ *+' conftest.er1 >conftest.err
3502 cat conftest.err >&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); } &&
3505 { ac_try='test -z "$ac_c_werror_flag"
3506 || test ! -s conftest.err'
3507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); }; } &&
3512 { ac_try='test -s conftest.$ac_objext'
3513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); }; }; then
3518 echo "$as_me:$LINENO: result: yes" >&5
3519 echo "${ECHO_T}yes" >&6
3521 echo "$as_me: failed program was:" >&5
3522 sed 's/^/| /' conftest.$ac_ext >&5
3524 echo "$as_me:$LINENO: result: no" >&5
3525 echo "${ECHO_T}no" >&6
3528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3531 echo "$as_me:$LINENO: checking for egrep" >&5
3532 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3533 if test "${ac_cv_prog_egrep+set}" = set; then
3534 echo $ECHO_N "(cached) $ECHO_C" >&6
3536 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3537 then ac_cv_prog_egrep='grep -E'
3538 else ac_cv_prog_egrep='egrep'
3541 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3542 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3543 EGREP=$ac_cv_prog_egrep
3546 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3547 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3548 if test "${ac_cv_header_stdc+set}" = set; then
3549 echo $ECHO_N "(cached) $ECHO_C" >&6
3551 cat >conftest.$ac_ext <<_ACEOF
3554 cat confdefs.h >>conftest.$ac_ext
3555 cat >>conftest.$ac_ext <<_ACEOF
3556 /* end confdefs.h. */
3570 rm -f conftest.$ac_objext
3571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3572 (eval $ac_compile) 2>conftest.er1
3574 grep -v '^ *+' conftest.er1 >conftest.err
3576 cat conftest.err >&5
3577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578 (exit $ac_status); } &&
3579 { ac_try='test -z "$ac_c_werror_flag"
3580 || test ! -s conftest.err'
3581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585 (exit $ac_status); }; } &&
3586 { ac_try='test -s conftest.$ac_objext'
3587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); }; }; then
3592 ac_cv_header_stdc=yes
3594 echo "$as_me: failed program was:" >&5
3595 sed 's/^/| /' conftest.$ac_ext >&5
3597 ac_cv_header_stdc=no
3599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3601 if test $ac_cv_header_stdc = yes; then
3602 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3603 cat >conftest.$ac_ext <<_ACEOF
3606 cat confdefs.h >>conftest.$ac_ext
3607 cat >>conftest.$ac_ext <<_ACEOF
3608 /* end confdefs.h. */
3612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3613 $EGREP "memchr" >/dev/null 2>&1; then
3616 ac_cv_header_stdc=no
3622 if test $ac_cv_header_stdc = yes; then
3623 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3624 cat >conftest.$ac_ext <<_ACEOF
3627 cat confdefs.h >>conftest.$ac_ext
3628 cat >>conftest.$ac_ext <<_ACEOF
3629 /* end confdefs.h. */
3633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3634 $EGREP "free" >/dev/null 2>&1; then
3637 ac_cv_header_stdc=no
3643 if test $ac_cv_header_stdc = yes; then
3644 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3645 if test "$cross_compiling" = yes; then
3648 cat >conftest.$ac_ext <<_ACEOF
3651 cat confdefs.h >>conftest.$ac_ext
3652 cat >>conftest.$ac_ext <<_ACEOF
3653 /* end confdefs.h. */
3655 #if ((' ' & 0x0FF) == 0x020)
3656 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3657 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3659 # define ISLOWER(c) \
3660 (('a' <= (c) && (c) <= 'i') \
3661 || ('j' <= (c) && (c) <= 'r') \
3662 || ('s' <= (c) && (c) <= 'z'))
3663 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3666 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3671 for (i = 0; i < 256; i++)
3672 if (XOR (islower (i), ISLOWER (i))
3673 || toupper (i) != TOUPPER (i))
3678 rm -f conftest$ac_exeext
3679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3680 (eval $ac_link) 2>&5
3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); }; }; then
3691 echo "$as_me: program exited with status $ac_status" >&5
3692 echo "$as_me: failed program was:" >&5
3693 sed 's/^/| /' conftest.$ac_ext >&5
3696 ac_cv_header_stdc=no
3698 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3702 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3703 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3704 if test $ac_cv_header_stdc = yes; then
3706 cat >>confdefs.h <<\_ACEOF
3707 #define STDC_HEADERS 1
3712 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3722 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3723 inttypes.h stdint.h unistd.h
3725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3726 echo "$as_me:$LINENO: checking for $ac_header" >&5
3727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 cat >conftest.$ac_ext <<_ACEOF
3734 cat confdefs.h >>conftest.$ac_ext
3735 cat >>conftest.$ac_ext <<_ACEOF
3736 /* end confdefs.h. */
3737 $ac_includes_default
3739 #include <$ac_header>
3741 rm -f conftest.$ac_objext
3742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3743 (eval $ac_compile) 2>conftest.er1
3745 grep -v '^ *+' conftest.er1 >conftest.err
3747 cat conftest.err >&5
3748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3749 (exit $ac_status); } &&
3750 { ac_try='test -z "$ac_c_werror_flag"
3751 || test ! -s conftest.err'
3752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756 (exit $ac_status); }; } &&
3757 { ac_try='test -s conftest.$ac_objext'
3758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); }; }; then
3763 eval "$as_ac_Header=yes"
3765 echo "$as_me: failed program was:" >&5
3766 sed 's/^/| /' conftest.$ac_ext >&5
3768 eval "$as_ac_Header=no"
3770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3775 cat >>confdefs.h <<_ACEOF
3776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3803 for ac_header in stdint.h execinfo.h signal.h dlfcn.h dirent.h pwd.h grp.h \
3804 netdb.h sys/ipc.h sys/sem.h sys/shm.h sys/wait.h ctype.h mntent.h \
3805 sys/socket.h netinet/in.h arpa/inet.h dlfcn.h sys/mman.h
3807 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3809 echo "$as_me:$LINENO: checking for $ac_header" >&5
3810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3812 echo $ECHO_N "(cached) $ECHO_C" >&6
3814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3817 # Is the header compilable?
3818 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3819 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3820 cat >conftest.$ac_ext <<_ACEOF
3823 cat confdefs.h >>conftest.$ac_ext
3824 cat >>conftest.$ac_ext <<_ACEOF
3825 /* end confdefs.h. */
3826 $ac_includes_default
3827 #include <$ac_header>
3829 rm -f conftest.$ac_objext
3830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3831 (eval $ac_compile) 2>conftest.er1
3833 grep -v '^ *+' conftest.er1 >conftest.err
3835 cat conftest.err >&5
3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 (exit $ac_status); } &&
3838 { ac_try='test -z "$ac_c_werror_flag"
3839 || test ! -s conftest.err'
3840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); }; } &&
3845 { ac_try='test -s conftest.$ac_objext'
3846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); }; }; then
3851 ac_header_compiler=yes
3853 echo "$as_me: failed program was:" >&5
3854 sed 's/^/| /' conftest.$ac_ext >&5
3856 ac_header_compiler=no
3858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3860 echo "${ECHO_T}$ac_header_compiler" >&6
3862 # Is the header present?
3863 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3865 cat >conftest.$ac_ext <<_ACEOF
3868 cat confdefs.h >>conftest.$ac_ext
3869 cat >>conftest.$ac_ext <<_ACEOF
3870 /* end confdefs.h. */
3871 #include <$ac_header>
3873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3874 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3876 grep -v '^ *+' conftest.er1 >conftest.err
3878 cat conftest.err >&5
3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880 (exit $ac_status); } >/dev/null; then
3881 if test -s conftest.err; then
3882 ac_cpp_err=$ac_c_preproc_warn_flag
3883 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3890 if test -z "$ac_cpp_err"; then
3891 ac_header_preproc=yes
3893 echo "$as_me: failed program was:" >&5
3894 sed 's/^/| /' conftest.$ac_ext >&5
3896 ac_header_preproc=no
3898 rm -f conftest.err conftest.$ac_ext
3899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3900 echo "${ECHO_T}$ac_header_preproc" >&6
3902 # So? What about this header?
3903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3906 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3908 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3909 ac_header_preproc=yes
3912 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3913 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3914 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3915 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3916 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3917 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3918 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3919 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3921 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3922 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3923 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3926 ## ------------------------------------- ##
3927 ## Report this to the libmudflap lists. ##
3928 ## ------------------------------------- ##
3931 sed "s/^/$as_me: WARNING: /" >&2
3934 echo "$as_me:$LINENO: checking for $ac_header" >&5
3935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3937 echo $ECHO_N "(cached) $ECHO_C" >&6
3939 eval "$as_ac_Header=\$ac_header_preproc"
3941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3946 cat >>confdefs.h <<_ACEOF
3947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3959 for ac_func in backtrace backtrace_symbols gettimeofday signal
3961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3962 echo "$as_me:$LINENO: checking for $ac_func" >&5
3963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3964 if eval "test \"\${$as_ac_var+set}\" = set"; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3967 cat >conftest.$ac_ext <<_ACEOF
3970 cat confdefs.h >>conftest.$ac_ext
3971 cat >>conftest.$ac_ext <<_ACEOF
3972 /* end confdefs.h. */
3973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3975 #define $ac_func innocuous_$ac_func
3977 /* System header to define __stub macros and hopefully few prototypes,
3978 which can conflict with char $ac_func (); below.
3979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3980 <limits.h> exists even on freestanding compilers. */
3983 # include <limits.h>
3985 # include <assert.h>
3990 /* Override any gcc2 internal prototype to avoid an error. */
3995 /* We use char because int might match the return type of a gcc2
3996 builtin and then its argument prototype would still apply. */
3998 /* The GNU C library defines this for functions which it implements
3999 to always fail with ENOSYS. Some functions are actually named
4000 something starting with __ and the normal name is an alias. */
4001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4004 char (*f) () = $ac_func;
4013 return f != $ac_func;
4018 rm -f conftest.$ac_objext conftest$ac_exeext
4019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4020 (eval $ac_link) 2>conftest.er1
4022 grep -v '^ *+' conftest.er1 >conftest.err
4024 cat conftest.err >&5
4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026 (exit $ac_status); } &&
4027 { ac_try='test -z "$ac_c_werror_flag"
4028 || test ! -s conftest.err'
4029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033 (exit $ac_status); }; } &&
4034 { ac_try='test -s conftest$ac_exeext'
4035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); }; }; then
4040 eval "$as_ac_var=yes"
4042 echo "$as_me: failed program was:" >&5
4043 sed 's/^/| /' conftest.$ac_ext >&5
4045 eval "$as_ac_var=no"
4047 rm -f conftest.err conftest.$ac_objext \
4048 conftest$ac_exeext conftest.$ac_ext
4050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4052 if test `eval echo '${'$as_ac_var'}'` = yes; then
4053 cat >>confdefs.h <<_ACEOF
4054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4065 for ac_func in fopen64 fseeko64 ftello64 stat64 freopen64
4067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4068 echo "$as_me:$LINENO: checking for $ac_func" >&5
4069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4070 if eval "test \"\${$as_ac_var+set}\" = set"; then
4071 echo $ECHO_N "(cached) $ECHO_C" >&6
4073 cat >conftest.$ac_ext <<_ACEOF
4076 cat confdefs.h >>conftest.$ac_ext
4077 cat >>conftest.$ac_ext <<_ACEOF
4078 /* end confdefs.h. */
4079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4081 #define $ac_func innocuous_$ac_func
4083 /* System header to define __stub macros and hopefully few prototypes,
4084 which can conflict with char $ac_func (); below.
4085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4086 <limits.h> exists even on freestanding compilers. */
4089 # include <limits.h>
4091 # include <assert.h>
4096 /* Override any gcc2 internal prototype to avoid an error. */
4101 /* We use char because int might match the return type of a gcc2
4102 builtin and then its argument prototype would still apply. */
4104 /* The GNU C library defines this for functions which it implements
4105 to always fail with ENOSYS. Some functions are actually named
4106 something starting with __ and the normal name is an alias. */
4107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4110 char (*f) () = $ac_func;
4119 return f != $ac_func;
4124 rm -f conftest.$ac_objext conftest$ac_exeext
4125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4126 (eval $ac_link) 2>conftest.er1
4128 grep -v '^ *+' conftest.er1 >conftest.err
4130 cat conftest.err >&5
4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132 (exit $ac_status); } &&
4133 { ac_try='test -z "$ac_c_werror_flag"
4134 || test ! -s conftest.err'
4135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4139 (exit $ac_status); }; } &&
4140 { ac_try='test -s conftest$ac_exeext'
4141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145 (exit $ac_status); }; }; then
4146 eval "$as_ac_var=yes"
4148 echo "$as_me: failed program was:" >&5
4149 sed 's/^/| /' conftest.$ac_ext >&5
4151 eval "$as_ac_var=no"
4153 rm -f conftest.err conftest.$ac_objext \
4154 conftest$ac_exeext conftest.$ac_ext
4156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4158 if test `eval echo '${'$as_ac_var'}'` = yes; then
4159 cat >>confdefs.h <<_ACEOF
4160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4170 for ac_func in setbuf setbuffer setlinebuf setvbuf
4172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4173 echo "$as_me:$LINENO: checking for $ac_func" >&5
4174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4175 if eval "test \"\${$as_ac_var+set}\" = set"; then
4176 echo $ECHO_N "(cached) $ECHO_C" >&6
4178 cat >conftest.$ac_ext <<_ACEOF
4181 cat confdefs.h >>conftest.$ac_ext
4182 cat >>conftest.$ac_ext <<_ACEOF
4183 /* end confdefs.h. */
4184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4186 #define $ac_func innocuous_$ac_func
4188 /* System header to define __stub macros and hopefully few prototypes,
4189 which can conflict with char $ac_func (); below.
4190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4191 <limits.h> exists even on freestanding compilers. */
4194 # include <limits.h>
4196 # include <assert.h>
4201 /* Override any gcc2 internal prototype to avoid an error. */
4206 /* We use char because int might match the return type of a gcc2
4207 builtin and then its argument prototype would still apply. */
4209 /* The GNU C library defines this for functions which it implements
4210 to always fail with ENOSYS. Some functions are actually named
4211 something starting with __ and the normal name is an alias. */
4212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4215 char (*f) () = $ac_func;
4224 return f != $ac_func;
4229 rm -f conftest.$ac_objext conftest$ac_exeext
4230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4231 (eval $ac_link) 2>conftest.er1
4233 grep -v '^ *+' conftest.er1 >conftest.err
4235 cat conftest.err >&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); } &&
4238 { ac_try='test -z "$ac_c_werror_flag"
4239 || test ! -s conftest.err'
4240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244 (exit $ac_status); }; } &&
4245 { ac_try='test -s conftest$ac_exeext'
4246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); }; }; then
4251 eval "$as_ac_var=yes"
4253 echo "$as_me: failed program was:" >&5
4254 sed 's/^/| /' conftest.$ac_ext >&5
4256 eval "$as_ac_var=no"
4258 rm -f conftest.err conftest.$ac_objext \
4259 conftest$ac_exeext conftest.$ac_ext
4261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4263 if test `eval echo '${'$as_ac_var'}'` = yes; then
4264 cat >>confdefs.h <<_ACEOF
4265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4276 for ac_func in strnlen memrchr strncpy memmem sethostname
4278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4279 echo "$as_me:$LINENO: checking for $ac_func" >&5
4280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4281 if eval "test \"\${$as_ac_var+set}\" = set"; then
4282 echo $ECHO_N "(cached) $ECHO_C" >&6
4284 cat >conftest.$ac_ext <<_ACEOF
4287 cat confdefs.h >>conftest.$ac_ext
4288 cat >>conftest.$ac_ext <<_ACEOF
4289 /* end confdefs.h. */
4290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4292 #define $ac_func innocuous_$ac_func
4294 /* System header to define __stub macros and hopefully few prototypes,
4295 which can conflict with char $ac_func (); below.
4296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4297 <limits.h> exists even on freestanding compilers. */
4300 # include <limits.h>
4302 # include <assert.h>
4307 /* Override any gcc2 internal prototype to avoid an error. */
4312 /* We use char because int might match the return type of a gcc2
4313 builtin and then its argument prototype would still apply. */
4315 /* The GNU C library defines this for functions which it implements
4316 to always fail with ENOSYS. Some functions are actually named
4317 something starting with __ and the normal name is an alias. */
4318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4321 char (*f) () = $ac_func;
4330 return f != $ac_func;
4335 rm -f conftest.$ac_objext conftest$ac_exeext
4336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4337 (eval $ac_link) 2>conftest.er1
4339 grep -v '^ *+' conftest.er1 >conftest.err
4341 cat conftest.err >&5
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); } &&
4344 { ac_try='test -z "$ac_c_werror_flag"
4345 || test ! -s conftest.err'
4346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350 (exit $ac_status); }; } &&
4351 { ac_try='test -s conftest$ac_exeext'
4352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356 (exit $ac_status); }; }; then
4357 eval "$as_ac_var=yes"
4359 echo "$as_me: failed program was:" >&5
4360 sed 's/^/| /' conftest.$ac_ext >&5
4362 eval "$as_ac_var=no"
4364 rm -f conftest.err conftest.$ac_objext \
4365 conftest$ac_exeext conftest.$ac_ext
4367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4369 if test `eval echo '${'$as_ac_var'}'` = yes; then
4370 cat >>confdefs.h <<_ACEOF
4371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4380 for ac_func in __ctype_b_loc __ctype_tolower_loc __ctype_toupper_loc
4382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4383 echo "$as_me:$LINENO: checking for $ac_func" >&5
4384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4385 if eval "test \"\${$as_ac_var+set}\" = set"; then
4386 echo $ECHO_N "(cached) $ECHO_C" >&6
4388 cat >conftest.$ac_ext <<_ACEOF
4391 cat confdefs.h >>conftest.$ac_ext
4392 cat >>conftest.$ac_ext <<_ACEOF
4393 /* end confdefs.h. */
4394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4396 #define $ac_func innocuous_$ac_func
4398 /* System header to define __stub macros and hopefully few prototypes,
4399 which can conflict with char $ac_func (); below.
4400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4401 <limits.h> exists even on freestanding compilers. */
4404 # include <limits.h>
4406 # include <assert.h>
4411 /* Override any gcc2 internal prototype to avoid an error. */
4416 /* We use char because int might match the return type of a gcc2
4417 builtin and then its argument prototype would still apply. */
4419 /* The GNU C library defines this for functions which it implements
4420 to always fail with ENOSYS. Some functions are actually named
4421 something starting with __ and the normal name is an alias. */
4422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4425 char (*f) () = $ac_func;
4434 return f != $ac_func;
4439 rm -f conftest.$ac_objext conftest$ac_exeext
4440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4441 (eval $ac_link) 2>conftest.er1
4443 grep -v '^ *+' conftest.er1 >conftest.err
4445 cat conftest.err >&5
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); } &&
4448 { ac_try='test -z "$ac_c_werror_flag"
4449 || test ! -s conftest.err'
4450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); }; } &&
4455 { ac_try='test -s conftest$ac_exeext'
4456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); }; }; then
4461 eval "$as_ac_var=yes"
4463 echo "$as_me: failed program was:" >&5
4464 sed 's/^/| /' conftest.$ac_ext >&5
4466 eval "$as_ac_var=no"
4468 rm -f conftest.err conftest.$ac_objext \
4469 conftest$ac_exeext conftest.$ac_ext
4471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4473 if test `eval echo '${'$as_ac_var'}'` = yes; then
4474 cat >>confdefs.h <<_ACEOF
4475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4489 for ac_func in getlogin cuserid getpwnam getpwuid getpwent getgrnam getgrgid getgrent
4491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4492 echo "$as_me:$LINENO: checking for $ac_func" >&5
4493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4494 if eval "test \"\${$as_ac_var+set}\" = set"; then
4495 echo $ECHO_N "(cached) $ECHO_C" >&6
4497 cat >conftest.$ac_ext <<_ACEOF
4500 cat confdefs.h >>conftest.$ac_ext
4501 cat >>conftest.$ac_ext <<_ACEOF
4502 /* end confdefs.h. */
4503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4505 #define $ac_func innocuous_$ac_func
4507 /* System header to define __stub macros and hopefully few prototypes,
4508 which can conflict with char $ac_func (); below.
4509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4510 <limits.h> exists even on freestanding compilers. */
4513 # include <limits.h>
4515 # include <assert.h>
4520 /* Override any gcc2 internal prototype to avoid an error. */
4525 /* We use char because int might match the return type of a gcc2
4526 builtin and then its argument prototype would still apply. */
4528 /* The GNU C library defines this for functions which it implements
4529 to always fail with ENOSYS. Some functions are actually named
4530 something starting with __ and the normal name is an alias. */
4531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4534 char (*f) () = $ac_func;
4543 return f != $ac_func;
4548 rm -f conftest.$ac_objext conftest$ac_exeext
4549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4550 (eval $ac_link) 2>conftest.er1
4552 grep -v '^ *+' conftest.er1 >conftest.err
4554 cat conftest.err >&5
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); } &&
4557 { ac_try='test -z "$ac_c_werror_flag"
4558 || test ! -s conftest.err'
4559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); }; } &&
4564 { ac_try='test -s conftest$ac_exeext'
4565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); }; }; then
4570 eval "$as_ac_var=yes"
4572 echo "$as_me: failed program was:" >&5
4573 sed 's/^/| /' conftest.$ac_ext >&5
4575 eval "$as_ac_var=no"
4577 rm -f conftest.err conftest.$ac_objext \
4578 conftest$ac_exeext conftest.$ac_ext
4580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4582 if test `eval echo '${'$as_ac_var'}'` = yes; then
4583 cat >>confdefs.h <<_ACEOF
4584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4595 for ac_func in getlogin_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r
4597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4598 echo "$as_me:$LINENO: checking for $ac_func" >&5
4599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4600 if eval "test \"\${$as_ac_var+set}\" = set"; then
4601 echo $ECHO_N "(cached) $ECHO_C" >&6
4603 cat >conftest.$ac_ext <<_ACEOF
4606 cat confdefs.h >>conftest.$ac_ext
4607 cat >>conftest.$ac_ext <<_ACEOF
4608 /* end confdefs.h. */
4609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4611 #define $ac_func innocuous_$ac_func
4613 /* System header to define __stub macros and hopefully few prototypes,
4614 which can conflict with char $ac_func (); below.
4615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4616 <limits.h> exists even on freestanding compilers. */
4619 # include <limits.h>
4621 # include <assert.h>
4626 /* Override any gcc2 internal prototype to avoid an error. */
4631 /* We use char because int might match the return type of a gcc2
4632 builtin and then its argument prototype would still apply. */
4634 /* The GNU C library defines this for functions which it implements
4635 to always fail with ENOSYS. Some functions are actually named
4636 something starting with __ and the normal name is an alias. */
4637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4640 char (*f) () = $ac_func;
4649 return f != $ac_func;
4654 rm -f conftest.$ac_objext conftest$ac_exeext
4655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4656 (eval $ac_link) 2>conftest.er1
4658 grep -v '^ *+' conftest.er1 >conftest.err
4660 cat conftest.err >&5
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662 (exit $ac_status); } &&
4663 { ac_try='test -z "$ac_c_werror_flag"
4664 || test ! -s conftest.err'
4665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; } &&
4670 { ac_try='test -s conftest$ac_exeext'
4671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); }; }; then
4676 eval "$as_ac_var=yes"
4678 echo "$as_me: failed program was:" >&5
4679 sed 's/^/| /' conftest.$ac_ext >&5
4681 eval "$as_ac_var=no"
4683 rm -f conftest.err conftest.$ac_objext \
4684 conftest$ac_exeext conftest.$ac_ext
4686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4688 if test `eval echo '${'$as_ac_var'}'` = yes; then
4689 cat >>confdefs.h <<_ACEOF
4690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4701 for ac_func in getservent getservbyname getservbyport getaddrinfo gai_strerror
4703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4704 echo "$as_me:$LINENO: checking for $ac_func" >&5
4705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4706 if eval "test \"\${$as_ac_var+set}\" = set"; then
4707 echo $ECHO_N "(cached) $ECHO_C" >&6
4709 cat >conftest.$ac_ext <<_ACEOF
4712 cat confdefs.h >>conftest.$ac_ext
4713 cat >>conftest.$ac_ext <<_ACEOF
4714 /* end confdefs.h. */
4715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4717 #define $ac_func innocuous_$ac_func
4719 /* System header to define __stub macros and hopefully few prototypes,
4720 which can conflict with char $ac_func (); below.
4721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4722 <limits.h> exists even on freestanding compilers. */
4725 # include <limits.h>
4727 # include <assert.h>
4732 /* Override any gcc2 internal prototype to avoid an error. */
4737 /* We use char because int might match the return type of a gcc2
4738 builtin and then its argument prototype would still apply. */
4740 /* The GNU C library defines this for functions which it implements
4741 to always fail with ENOSYS. Some functions are actually named
4742 something starting with __ and the normal name is an alias. */
4743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4746 char (*f) () = $ac_func;
4755 return f != $ac_func;
4760 rm -f conftest.$ac_objext conftest$ac_exeext
4761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4762 (eval $ac_link) 2>conftest.er1
4764 grep -v '^ *+' conftest.er1 >conftest.err
4766 cat conftest.err >&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } &&
4769 { ac_try='test -z "$ac_c_werror_flag"
4770 || test ! -s conftest.err'
4771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775 (exit $ac_status); }; } &&
4776 { ac_try='test -s conftest$ac_exeext'
4777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; }; then
4782 eval "$as_ac_var=yes"
4784 echo "$as_me: failed program was:" >&5
4785 sed 's/^/| /' conftest.$ac_ext >&5
4787 eval "$as_ac_var=no"
4789 rm -f conftest.err conftest.$ac_objext \
4790 conftest$ac_exeext conftest.$ac_ext
4792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4794 if test `eval echo '${'$as_ac_var'}'` = yes; then
4795 cat >>confdefs.h <<_ACEOF
4796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4805 for ac_func in getprotoent getprotobyname getprotobynumber
4807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4808 echo "$as_me:$LINENO: checking for $ac_func" >&5
4809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4810 if eval "test \"\${$as_ac_var+set}\" = set"; then
4811 echo $ECHO_N "(cached) $ECHO_C" >&6
4813 cat >conftest.$ac_ext <<_ACEOF
4816 cat confdefs.h >>conftest.$ac_ext
4817 cat >>conftest.$ac_ext <<_ACEOF
4818 /* end confdefs.h. */
4819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4821 #define $ac_func innocuous_$ac_func
4823 /* System header to define __stub macros and hopefully few prototypes,
4824 which can conflict with char $ac_func (); below.
4825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4826 <limits.h> exists even on freestanding compilers. */
4829 # include <limits.h>
4831 # include <assert.h>
4836 /* Override any gcc2 internal prototype to avoid an error. */
4841 /* We use char because int might match the return type of a gcc2
4842 builtin and then its argument prototype would still apply. */
4844 /* The GNU C library defines this for functions which it implements
4845 to always fail with ENOSYS. Some functions are actually named
4846 something starting with __ and the normal name is an alias. */
4847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4850 char (*f) () = $ac_func;
4859 return f != $ac_func;
4864 rm -f conftest.$ac_objext conftest$ac_exeext
4865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4866 (eval $ac_link) 2>conftest.er1
4868 grep -v '^ *+' conftest.er1 >conftest.err
4870 cat conftest.err >&5
4871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4872 (exit $ac_status); } &&
4873 { ac_try='test -z "$ac_c_werror_flag"
4874 || test ! -s conftest.err'
4875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879 (exit $ac_status); }; } &&
4880 { ac_try='test -s conftest$ac_exeext'
4881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885 (exit $ac_status); }; }; then
4886 eval "$as_ac_var=yes"
4888 echo "$as_me: failed program was:" >&5
4889 sed 's/^/| /' conftest.$ac_ext >&5
4891 eval "$as_ac_var=no"
4893 rm -f conftest.err conftest.$ac_objext \
4894 conftest$ac_exeext conftest.$ac_ext
4896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4898 if test `eval echo '${'$as_ac_var'}'` = yes; then
4899 cat >>confdefs.h <<_ACEOF
4900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4909 for ac_func in getmntent setmntent addmntent
4911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4912 echo "$as_me:$LINENO: checking for $ac_func" >&5
4913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4914 if eval "test \"\${$as_ac_var+set}\" = set"; then
4915 echo $ECHO_N "(cached) $ECHO_C" >&6
4917 cat >conftest.$ac_ext <<_ACEOF
4920 cat confdefs.h >>conftest.$ac_ext
4921 cat >>conftest.$ac_ext <<_ACEOF
4922 /* end confdefs.h. */
4923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4925 #define $ac_func innocuous_$ac_func
4927 /* System header to define __stub macros and hopefully few prototypes,
4928 which can conflict with char $ac_func (); below.
4929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4930 <limits.h> exists even on freestanding compilers. */
4933 # include <limits.h>
4935 # include <assert.h>
4940 /* Override any gcc2 internal prototype to avoid an error. */
4945 /* We use char because int might match the return type of a gcc2
4946 builtin and then its argument prototype would still apply. */
4948 /* The GNU C library defines this for functions which it implements
4949 to always fail with ENOSYS. Some functions are actually named
4950 something starting with __ and the normal name is an alias. */
4951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4954 char (*f) () = $ac_func;
4963 return f != $ac_func;
4968 rm -f conftest.$ac_objext conftest$ac_exeext
4969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4970 (eval $ac_link) 2>conftest.er1
4972 grep -v '^ *+' conftest.er1 >conftest.err
4974 cat conftest.err >&5
4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976 (exit $ac_status); } &&
4977 { ac_try='test -z "$ac_c_werror_flag"
4978 || test ! -s conftest.err'
4979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); }; } &&
4984 { ac_try='test -s conftest$ac_exeext'
4985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989 (exit $ac_status); }; }; then
4990 eval "$as_ac_var=yes"
4992 echo "$as_me: failed program was:" >&5
4993 sed 's/^/| /' conftest.$ac_ext >&5
4995 eval "$as_ac_var=no"
4997 rm -f conftest.err conftest.$ac_objext \
4998 conftest$ac_exeext conftest.$ac_ext
5000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5002 if test `eval echo '${'$as_ac_var'}'` = yes; then
5003 cat >>confdefs.h <<_ACEOF
5004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5013 for ac_func in inet_ntoa mmap munmap
5015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5016 echo "$as_me:$LINENO: checking for $ac_func" >&5
5017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5018 if eval "test \"\${$as_ac_var+set}\" = set"; then
5019 echo $ECHO_N "(cached) $ECHO_C" >&6
5021 cat >conftest.$ac_ext <<_ACEOF
5024 cat confdefs.h >>conftest.$ac_ext
5025 cat >>conftest.$ac_ext <<_ACEOF
5026 /* end confdefs.h. */
5027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5029 #define $ac_func innocuous_$ac_func
5031 /* System header to define __stub macros and hopefully few prototypes,
5032 which can conflict with char $ac_func (); below.
5033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5034 <limits.h> exists even on freestanding compilers. */
5037 # include <limits.h>
5039 # include <assert.h>
5044 /* Override any gcc2 internal prototype to avoid an error. */
5049 /* We use char because int might match the return type of a gcc2
5050 builtin and then its argument prototype would still apply. */
5052 /* The GNU C library defines this for functions which it implements
5053 to always fail with ENOSYS. Some functions are actually named
5054 something starting with __ and the normal name is an alias. */
5055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5058 char (*f) () = $ac_func;
5067 return f != $ac_func;
5072 rm -f conftest.$ac_objext conftest$ac_exeext
5073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5074 (eval $ac_link) 2>conftest.er1
5076 grep -v '^ *+' conftest.er1 >conftest.err
5078 cat conftest.err >&5
5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); } &&
5081 { ac_try='test -z "$ac_c_werror_flag"
5082 || test ! -s conftest.err'
5083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087 (exit $ac_status); }; } &&
5088 { ac_try='test -s conftest$ac_exeext'
5089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); }; }; then
5094 eval "$as_ac_var=yes"
5096 echo "$as_me: failed program was:" >&5
5097 sed 's/^/| /' conftest.$ac_ext >&5
5099 eval "$as_ac_var=no"
5101 rm -f conftest.err conftest.$ac_objext \
5102 conftest$ac_exeext conftest.$ac_ext
5104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5106 if test `eval echo '${'$as_ac_var'}'` = yes; then
5107 cat >>confdefs.h <<_ACEOF
5108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5115 for ac_func in __libc_freeres
5117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5118 echo "$as_me:$LINENO: checking for $ac_func" >&5
5119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5120 if eval "test \"\${$as_ac_var+set}\" = set"; then
5121 echo $ECHO_N "(cached) $ECHO_C" >&6
5123 cat >conftest.$ac_ext <<_ACEOF
5126 cat confdefs.h >>conftest.$ac_ext
5127 cat >>conftest.$ac_ext <<_ACEOF
5128 /* end confdefs.h. */
5129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5131 #define $ac_func innocuous_$ac_func
5133 /* System header to define __stub macros and hopefully few prototypes,
5134 which can conflict with char $ac_func (); below.
5135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5136 <limits.h> exists even on freestanding compilers. */
5139 # include <limits.h>
5141 # include <assert.h>
5146 /* Override any gcc2 internal prototype to avoid an error. */
5151 /* We use char because int might match the return type of a gcc2
5152 builtin and then its argument prototype would still apply. */
5154 /* The GNU C library defines this for functions which it implements
5155 to always fail with ENOSYS. Some functions are actually named
5156 something starting with __ and the normal name is an alias. */
5157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5160 char (*f) () = $ac_func;
5169 return f != $ac_func;
5174 rm -f conftest.$ac_objext conftest$ac_exeext
5175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5176 (eval $ac_link) 2>conftest.er1
5178 grep -v '^ *+' conftest.er1 >conftest.err
5180 cat conftest.err >&5
5181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182 (exit $ac_status); } &&
5183 { ac_try='test -z "$ac_c_werror_flag"
5184 || test ! -s conftest.err'
5185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 (exit $ac_status); }; } &&
5190 { ac_try='test -s conftest$ac_exeext'
5191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5195 (exit $ac_status); }; }; then
5196 eval "$as_ac_var=yes"
5198 echo "$as_me: failed program was:" >&5
5199 sed 's/^/| /' conftest.$ac_ext >&5
5201 eval "$as_ac_var=no"
5203 rm -f conftest.err conftest.$ac_objext \
5204 conftest$ac_exeext conftest.$ac_ext
5206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5208 if test `eval echo '${'$as_ac_var'}'` = yes; then
5209 cat >>confdefs.h <<_ACEOF
5210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5217 cat >conftest.$ac_ext <<_ACEOF
5220 cat confdefs.h >>conftest.$ac_ext
5221 cat >>conftest.$ac_ext <<_ACEOF
5222 /* end confdefs.h. */
5223 #include <sys/types.h>
5224 #include <sys/ipc.h>
5225 #include <sys/sem.h>
5234 rm -f conftest.$ac_objext
5235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5236 (eval $ac_compile) 2>conftest.er1
5238 grep -v '^ *+' conftest.er1 >conftest.err
5240 cat conftest.err >&5
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); } &&
5243 { ac_try='test -z "$ac_c_werror_flag"
5244 || test ! -s conftest.err'
5245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249 (exit $ac_status); }; } &&
5250 { ac_try='test -s conftest.$ac_objext'
5251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255 (exit $ac_status); }; }; then
5258 echo "$as_me: failed program was:" >&5
5259 sed 's/^/| /' conftest.$ac_ext >&5
5263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5264 if test $mf_have_semun = 1
5267 cat >>confdefs.h <<\_ACEOF
5268 #define HAVE_UNION_SEMUN 1
5274 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
5275 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
5276 cat >conftest.$ac_ext <<_ACEOF
5279 cat confdefs.h >>conftest.$ac_ext
5280 cat >>conftest.$ac_ext <<_ACEOF
5281 /* end confdefs.h. */
5282 #define _POSIX_PII_SOCKET
5283 #include <sys/types.h>
5284 #include <sys/socket.h>
5293 rm -f conftest.$ac_objext
5294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5295 (eval $ac_compile) 2>conftest.er1
5297 grep -v '^ *+' conftest.er1 >conftest.err
5299 cat conftest.err >&5
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); } &&
5302 { ac_try='test -z "$ac_c_werror_flag"
5303 || test ! -s conftest.err'
5304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308 (exit $ac_status); }; } &&
5309 { ac_try='test -s conftest.$ac_objext'
5310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 (exit $ac_status); }; }; then
5316 cat >>confdefs.h <<\_ACEOF
5317 #define HAVE_SOCKLEN_T 1
5320 echo "$as_me:$LINENO: result: yes" >&5
5321 echo "${ECHO_T}yes" >&6
5323 echo "$as_me: failed program was:" >&5
5324 sed 's/^/| /' conftest.$ac_ext >&5
5326 echo "$as_me:$LINENO: result: no" >&5
5327 echo "${ECHO_T}no" >&6
5329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5337 macro_version='2.1a'
5338 macro_revision='1.2435'
5351 ltmain="$ac_aux_dir/ltmain.sh"
5359 # Check whether --enable-shared or --disable-shared was given.
5360 if test "${enable_shared+set}" = set; then
5361 enableval="$enable_shared"
5362 p=${PACKAGE-default}
5364 yes) enable_shared=yes ;;
5365 no) enable_shared=no ;;
5368 # Look at the argument we got. We use all the common list separators.
5369 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5370 for pkg in $enableval; do
5372 if test "X$pkg" = "X$p"; then
5390 # Check whether --enable-static or --disable-static was given.
5391 if test "${enable_static+set}" = set; then
5392 enableval="$enable_static"
5393 p=${PACKAGE-default}
5395 yes) enable_static=yes ;;
5396 no) enable_static=no ;;
5399 # Look at the argument we got. We use all the common list separators.
5400 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5401 for pkg in $enableval; do
5403 if test "X$pkg" = "X$p"; then
5422 # Check whether --with-pic or --without-pic was given.
5423 if test "${with_pic+set}" = set; then
5430 test -z "$pic_mode" && pic_mode=default
5438 # Check whether --enable-fast-install or --disable-fast-install was given.
5439 if test "${enable_fast_install+set}" = set; then
5440 enableval="$enable_fast_install"
5441 p=${PACKAGE-default}
5443 yes) enable_fast_install=yes ;;
5444 no) enable_fast_install=no ;;
5446 enable_fast_install=no
5447 # Look at the argument we got. We use all the common list separators.
5448 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5449 for pkg in $enableval; do
5451 if test "X$pkg" = "X$p"; then
5452 enable_fast_install=yes
5459 enable_fast_install=yes
5469 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5470 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5471 if test "${lt_cv_path_SED+set}" = set; then
5472 echo $ECHO_N "(cached) $ECHO_C" >&6
5474 # Loop through the user's path and test for sed and gsed.
5475 # Then use that list of sed's as ones to test for truncation.
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 test -z "$as_dir" && as_dir=.
5481 for lt_ac_prog in sed gsed; do
5482 for ac_exec_ext in '' $ac_executable_extensions; do
5483 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5484 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5492 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5493 # along with /bin/sed that truncates output.
5494 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5495 test ! -f $lt_ac_sed && continue
5496 cat /dev/null > conftest.in
5498 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5499 # Check for GNU sed and select it if it is found.
5500 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5501 lt_cv_path_SED=$lt_ac_sed
5505 cat conftest.in conftest.in >conftest.tmp
5506 mv conftest.tmp conftest.in
5507 cp conftest.in conftest.nl
5509 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5510 cmp -s conftest.out conftest.nl || break
5511 # 10000 chars as input seems more than enough
5512 test $lt_ac_count -gt 10 && break
5513 lt_ac_count=`expr $lt_ac_count + 1`
5514 if test $lt_ac_count -gt $lt_ac_max; then
5515 lt_ac_max=$lt_ac_count
5516 lt_cv_path_SED=$lt_ac_sed
5525 echo "$as_me:$LINENO: result: $SED" >&5
5526 echo "${ECHO_T}$SED" >&6
5528 test -z "$SED" && SED=sed
5529 Xsed="$SED -e 1s/^X//"
5541 echo "$as_me:$LINENO: checking for fgrep" >&5
5542 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5543 if test "${ac_cv_prog_fgrep+set}" = set; then
5544 echo $ECHO_N "(cached) $ECHO_C" >&6
5546 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
5547 then ac_cv_prog_fgrep='grep -F'
5548 else ac_cv_prog_fgrep='fgrep'
5551 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5552 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5553 FGREP=$ac_cv_prog_fgrep
5556 test -z "$GREP" && GREP=grep
5576 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5577 if test "${with_gnu_ld+set}" = set; then
5578 withval="$with_gnu_ld"
5579 test "$withval" = no || with_gnu_ld=yes
5584 if test "$GCC" = yes; then
5585 # Check if gcc -print-prog-name=ld gives a path.
5586 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5587 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5590 # gcc leaves a trailing carriage return which upsets mingw
5591 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5593 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5596 # Accept absolute paths.
5598 re_direlt='/[^/][^/]*/\.\./'
5599 # Canonicalize the pathname of ld
5600 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5601 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5602 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5604 test -z "$LD" && LD="$ac_prog"
5607 # If it fails, then pretend we aren't using GCC.
5611 # If it is relative, then search for the first ld in PATH.
5615 elif test "$with_gnu_ld" = yes; then
5616 echo "$as_me:$LINENO: checking for GNU ld" >&5
5617 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5619 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5620 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5622 if test "${lt_cv_path_LD+set}" = set; then
5623 echo $ECHO_N "(cached) $ECHO_C" >&6
5625 if test -z "$LD"; then
5626 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5627 for ac_dir in $PATH; do
5629 test -z "$ac_dir" && ac_dir=.
5630 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5631 lt_cv_path_LD="$ac_dir/$ac_prog"
5632 # Check to see if the program is GNU ld. I'd rather use --version,
5633 # but apparently some variants of GNU ld only accept -v.
5634 # Break only if it was the GNU/non-GNU ld that we prefer.
5635 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5636 *GNU* | *'with BFD'*)
5637 test "$with_gnu_ld" != no && break
5640 test "$with_gnu_ld" != yes && break
5647 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5652 if test -n "$LD"; then
5653 echo "$as_me:$LINENO: result: $LD" >&5
5654 echo "${ECHO_T}$LD" >&6
5656 echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6
5659 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5660 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5661 { (exit 1); exit 1; }; }
5662 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5663 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5664 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5665 echo $ECHO_N "(cached) $ECHO_C" >&6
5667 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5668 case `$LD -v 2>&1 </dev/null` in
5669 *GNU* | *'with BFD'*)
5670 lt_cv_prog_gnu_ld=yes
5673 lt_cv_prog_gnu_ld=no
5677 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5678 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5679 with_gnu_ld=$lt_cv_prog_gnu_ld
5690 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5691 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5692 if test "${lt_cv_path_NM+set}" = set; then
5693 echo $ECHO_N "(cached) $ECHO_C" >&6
5695 if test -n "$NM"; then
5696 # Let the user override the test.
5699 lt_nm_to_check="${ac_tool_prefix}nm"
5700 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5701 lt_nm_to_check="$lt_nm_to_check nm"
5703 for lt_tmp_nm in $lt_nm_to_check; do
5704 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5705 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5707 test -z "$ac_dir" && ac_dir=.
5708 tmp_nm="$ac_dir/$lt_tmp_nm"
5709 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5710 # Check to see if the nm accepts a BSD-compat flag.
5711 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5712 # nm: unknown option "B" ignored
5713 # Tru64's nm complains that /dev/null is an invalid object file
5714 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5715 */dev/null* | *'Invalid file or object type'*)
5716 lt_cv_path_NM="$tmp_nm -B"
5720 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5722 lt_cv_path_NM="$tmp_nm -p"
5726 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5727 continue # so that we can try to find one that supports BSD flags
5736 : ${lt_cv_path_NM=no}
5739 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5740 echo "${ECHO_T}$lt_cv_path_NM" >&6
5741 if test "$lt_cv_path_NM" != "no"; then
5744 # Didn't find any BSD compatible name lister, look for dumpbin.
5745 if test -n "$ac_tool_prefix"; then
5746 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5748 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5749 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5750 echo "$as_me:$LINENO: checking for $ac_word" >&5
5751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5752 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5753 echo $ECHO_N "(cached) $ECHO_C" >&6
5755 if test -n "$DUMPBIN"; then
5756 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 test -z "$as_dir" && as_dir=.
5763 for ac_exec_ext in '' $ac_executable_extensions; do
5764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5765 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5774 DUMPBIN=$ac_cv_prog_DUMPBIN
5775 if test -n "$DUMPBIN"; then
5776 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5777 echo "${ECHO_T}$DUMPBIN" >&6
5779 echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6
5783 test -n "$DUMPBIN" && break
5786 if test -z "$DUMPBIN"; then
5787 ac_ct_DUMPBIN=$DUMPBIN
5788 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5790 # Extract the first word of "$ac_prog", so it can be a program name with args.
5791 set dummy $ac_prog; ac_word=$2
5792 echo "$as_me:$LINENO: checking for $ac_word" >&5
5793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5794 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5795 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 if test -n "$ac_ct_DUMPBIN"; then
5798 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5804 test -z "$as_dir" && as_dir=.
5805 for ac_exec_ext in '' $ac_executable_extensions; do
5806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5807 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5816 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5817 if test -n "$ac_ct_DUMPBIN"; then
5818 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5819 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5821 echo "$as_me:$LINENO: result: no" >&5
5822 echo "${ECHO_T}no" >&6
5825 test -n "$ac_ct_DUMPBIN" && break
5827 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
5829 DUMPBIN=$ac_ct_DUMPBIN
5833 if test "$DUMPBIN" != ":"; then
5837 test -z "$NM" && NM=nm
5844 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5845 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5846 if test "${lt_cv_nm_interface+set}" = set; then
5847 echo $ECHO_N "(cached) $ECHO_C" >&6
5849 lt_cv_nm_interface="BSD nm"
5850 echo "int some_variable = 0;" > conftest.$ac_ext
5851 (eval echo "\"\$as_me:5851: $ac_compile\"" >&5)
5852 (eval "$ac_compile" 2>conftest.err)
5853 cat conftest.err >&5
5854 (eval echo "\"\$as_me:5854: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5855 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5856 cat conftest.err >&5
5857 (eval echo "\"\$as_me:5857: output\"" >&5)
5858 cat conftest.out >&5
5859 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5860 lt_cv_nm_interface="MS dumpbin"
5864 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5865 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5867 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5868 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5870 if test "$LN_S" = "ln -s"; then
5871 echo "$as_me:$LINENO: result: yes" >&5
5872 echo "${ECHO_T}yes" >&6
5874 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5875 echo "${ECHO_T}no, using $LN_S" >&6
5878 # find the maximum length of command line arguments
5879 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5880 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5881 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5882 echo $ECHO_N "(cached) $ECHO_C" >&6
5889 # On DJGPP, this test can blow up pretty badly due to problems in libc
5890 # (any single argument exceeding 2000 bytes causes a buffer overrun
5891 # during glob expansion). Even if it were fixed, the result of this
5892 # check would be larger than it should be.
5893 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5897 # Under GNU Hurd, this test is not required because there is
5898 # no limit to the length of command line arguments.
5899 # Libtool will interpret -1 as no limit whatsoever
5900 lt_cv_sys_max_cmd_len=-1;
5904 # On Win9x/ME, this test blows up -- it succeeds, but takes
5905 # about 5 minutes as the teststring grows exponentially.
5906 # Worse, since 9x/ME are not pre-emptively multitasking,
5907 # you end up with a "frozen" computer, even though with patience
5908 # the test eventually succeeds (with a max line length of 256k).
5909 # Instead, let's just punt: use the minimum linelength reported by
5910 # all of the supported platforms: 8192 (on NT/2K/XP).
5911 lt_cv_sys_max_cmd_len=8192;
5915 # On AmigaOS with pdksh, this test takes hours, literally.
5916 # So we just punt and use a minimum line length of 8192.
5917 lt_cv_sys_max_cmd_len=8192;
5920 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5921 # This has been around since 386BSD, at least. Likely further.
5922 if test -x /sbin/sysctl; then
5923 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5924 elif test -x /usr/sbin/sysctl; then
5925 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5927 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5929 # And add a safety zone
5930 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5931 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5935 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5936 lt_cv_sys_max_cmd_len=196608
5940 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5941 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5942 # nice to cause kernel panics so lets avoid the loop below.
5943 # First set a reasonable default.
5944 lt_cv_sys_max_cmd_len=16384
5946 if test -x /sbin/sysconfig; then
5947 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5948 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5953 lt_cv_sys_max_cmd_len=102400
5955 sysv5* | sco5v6* | sysv4.2uw2*)
5956 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5957 if test -n "$kargmax"; then
5958 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5960 lt_cv_sys_max_cmd_len=32768
5964 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
5965 if test -n $lt_cv_sys_max_cmd_len; then
5966 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5967 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5969 # Make teststring a little bigger before we do anything with it.
5970 # a 1K string should be a reasonable start.
5971 for i in 1 2 3 4 5 6 7 8 ; do
5972 teststring=$teststring$teststring
5974 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5975 # If test is not a shell built-in, we'll probably end up computing a
5976 # maximum length that is only half of the actual maximum length, but
5978 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5979 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5980 test $i != 17 # 1/2 MB should be enough
5983 teststring=$teststring$teststring
5985 # Only check the string length outside the loop.
5986 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5988 # Add a significant safety factor because C++ compilers can tack on
5989 # massive amounts of additional arguments before passing them to the
5990 # linker. It appears as though 1/2 is a usable value.
5991 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5998 if test -n $lt_cv_sys_max_cmd_len ; then
5999 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6000 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6002 echo "$as_me:$LINENO: result: none" >&5
6003 echo "${ECHO_T}none" >&6
6005 max_cmd_len=$lt_cv_sys_max_cmd_len
6016 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6017 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
6018 # Try some XSI features
6021 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6022 = c,a/b,, ) >/dev/null 2>&1 \
6024 echo "$as_me:$LINENO: result: $xsi_shell" >&5
6025 echo "${ECHO_T}$xsi_shell" >&6
6028 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
6029 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
6031 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6033 && lt_shell_append=yes
6034 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
6035 echo "${ECHO_T}$lt_shell_append" >&6
6038 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6048 # test EBCDIC or ASCII
6049 case `echo X|tr X '\101'` in
6050 A) # ASCII based system
6051 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6052 lt_SP2NL='tr \040 \012'
6053 lt_NL2SP='tr \015\012 \040\040'
6055 *) # EBCDIC based system
6056 lt_SP2NL='tr \100 \n'
6057 lt_NL2SP='tr \r\n \100\100'
6069 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6070 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
6071 if test "${lt_cv_ld_reload_flag+set}" = set; then
6072 echo $ECHO_N "(cached) $ECHO_C" >&6
6074 lt_cv_ld_reload_flag='-r'
6076 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6077 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
6078 reload_flag=$lt_cv_ld_reload_flag
6079 case $reload_flag in
6081 *) reload_flag=" $reload_flag" ;;
6083 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6086 if test "$GCC" = yes; then
6087 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6089 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6103 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6104 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
6105 if test "${lt_cv_deplibs_check_method+set}" = set; then
6106 echo $ECHO_N "(cached) $ECHO_C" >&6
6108 lt_cv_file_magic_cmd='$MAGIC_CMD'
6109 lt_cv_file_magic_test_file=
6110 lt_cv_deplibs_check_method='unknown'
6111 # Need to set the preceding variable on all platforms that support
6112 # interlibrary dependencies.
6113 # 'none' -- dependencies not supported.
6114 # `unknown' -- same as none, but documents that we really don't know.
6115 # 'pass_all' -- all dependencies passed with no checks.
6116 # 'test_compile' -- check by making test program.
6117 # 'file_magic [[regex]]' -- check by looking for files in library path
6118 # which responds to the $file_magic_cmd with a given extended regex.
6119 # If you have `file' or equivalent on your system and you're not sure
6120 # whether `pass_all' will *always* work, you probably want this one.
6124 lt_cv_deplibs_check_method=pass_all
6128 lt_cv_deplibs_check_method=pass_all
6132 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6133 lt_cv_file_magic_cmd='/usr/bin/file -L'
6134 lt_cv_file_magic_test_file=/shlib/libc.so
6138 # func_win32_libid is a shell function defined in ltmain.sh
6139 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6140 lt_cv_file_magic_cmd='func_win32_libid'
6144 # Base MSYS/MinGW do not provide the 'file' command needed by
6145 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6146 # unless we find 'file', for example because we are cross-compiling.
6147 if ( file / ) >/dev/null 2>&1; then
6148 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6149 lt_cv_file_magic_cmd='func_win32_libid'
6151 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6152 lt_cv_file_magic_cmd='$OBJDUMP -f'
6156 darwin* | rhapsody*)
6157 lt_cv_deplibs_check_method=pass_all
6160 freebsd* | dragonfly*)
6161 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6164 # Not sure whether the presence of OpenBSD here was a mistake.
6165 # Let's accept both of them until this is cleared up.
6166 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6167 lt_cv_file_magic_cmd=/usr/bin/file
6168 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6172 lt_cv_deplibs_check_method=pass_all
6177 lt_cv_deplibs_check_method=pass_all
6180 hpux10.20* | hpux11*)
6181 lt_cv_file_magic_cmd=/usr/bin/file
6184 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6185 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6188 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]'
6189 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6192 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6193 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6199 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6200 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6203 irix5* | irix6* | nonstopux*)
6205 *-32|*"-32 ") libmagic=32-bit;;
6206 *-n32|*"-n32 ") libmagic=N32;;
6207 *-64|*"-64 ") libmagic=64-bit;;
6208 *) libmagic=never-match;;
6210 lt_cv_deplibs_check_method=pass_all
6213 # This must be Linux ELF.
6214 linux* | k*bsd*-gnu)
6215 lt_cv_deplibs_check_method=pass_all
6219 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6220 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6222 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6227 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6228 lt_cv_file_magic_cmd=/usr/bin/file
6229 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6233 lt_cv_deplibs_check_method=pass_all
6237 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6238 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6240 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6244 osf3* | osf4* | osf5*)
6245 lt_cv_deplibs_check_method=pass_all
6249 lt_cv_deplibs_check_method=pass_all
6253 lt_cv_deplibs_check_method=pass_all
6256 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6257 lt_cv_deplibs_check_method=pass_all
6261 case $host_vendor in
6263 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]'
6264 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6267 lt_cv_deplibs_check_method=pass_all
6270 lt_cv_file_magic_cmd='/bin/file'
6271 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6274 lt_cv_file_magic_cmd='/bin/file'
6275 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6276 lt_cv_file_magic_test_file=/lib/libc.so
6279 lt_cv_deplibs_check_method=pass_all
6282 lt_cv_deplibs_check_method=pass_all
6288 lt_cv_deplibs_check_method=pass_all
6293 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6294 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6295 file_magic_cmd=$lt_cv_file_magic_cmd
6296 deplibs_check_method=$lt_cv_deplibs_check_method
6297 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6310 if test -n "$ac_tool_prefix"; then
6311 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6312 set dummy ${ac_tool_prefix}ar; ac_word=$2
6313 echo "$as_me:$LINENO: checking for $ac_word" >&5
6314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6315 if test "${ac_cv_prog_AR+set}" = set; then
6316 echo $ECHO_N "(cached) $ECHO_C" >&6
6318 if test -n "$AR"; then
6319 ac_cv_prog_AR="$AR" # Let the user override the test.
6321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6325 test -z "$as_dir" && as_dir=.
6326 for ac_exec_ext in '' $ac_executable_extensions; do
6327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6328 ac_cv_prog_AR="${ac_tool_prefix}ar"
6329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6338 if test -n "$AR"; then
6339 echo "$as_me:$LINENO: result: $AR" >&5
6340 echo "${ECHO_T}$AR" >&6
6342 echo "$as_me:$LINENO: result: no" >&5
6343 echo "${ECHO_T}no" >&6
6347 if test -z "$ac_cv_prog_AR"; then
6349 # Extract the first word of "ar", so it can be a program name with args.
6350 set dummy ar; ac_word=$2
6351 echo "$as_me:$LINENO: checking for $ac_word" >&5
6352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6353 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6354 echo $ECHO_N "(cached) $ECHO_C" >&6
6356 if test -n "$ac_ct_AR"; then
6357 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6363 test -z "$as_dir" && as_dir=.
6364 for ac_exec_ext in '' $ac_executable_extensions; do
6365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6366 ac_cv_prog_ac_ct_AR="ar"
6367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6373 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
6376 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6377 if test -n "$ac_ct_AR"; then
6378 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6379 echo "${ECHO_T}$ac_ct_AR" >&6
6381 echo "$as_me:$LINENO: result: no" >&5
6382 echo "${ECHO_T}no" >&6
6390 test -z "$AR" && AR=ar
6391 test -z "$AR_FLAGS" && AR_FLAGS=cru
6403 if test -n "$ac_tool_prefix"; then
6404 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6405 set dummy ${ac_tool_prefix}strip; ac_word=$2
6406 echo "$as_me:$LINENO: checking for $ac_word" >&5
6407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6408 if test "${ac_cv_prog_STRIP+set}" = set; then
6409 echo $ECHO_N "(cached) $ECHO_C" >&6
6411 if test -n "$STRIP"; then
6412 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6418 test -z "$as_dir" && as_dir=.
6419 for ac_exec_ext in '' $ac_executable_extensions; do
6420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6421 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6430 STRIP=$ac_cv_prog_STRIP
6431 if test -n "$STRIP"; then
6432 echo "$as_me:$LINENO: result: $STRIP" >&5
6433 echo "${ECHO_T}$STRIP" >&6
6435 echo "$as_me:$LINENO: result: no" >&5
6436 echo "${ECHO_T}no" >&6
6440 if test -z "$ac_cv_prog_STRIP"; then
6442 # Extract the first word of "strip", so it can be a program name with args.
6443 set dummy strip; ac_word=$2
6444 echo "$as_me:$LINENO: checking for $ac_word" >&5
6445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6446 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6447 echo $ECHO_N "(cached) $ECHO_C" >&6
6449 if test -n "$ac_ct_STRIP"; then
6450 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6456 test -z "$as_dir" && as_dir=.
6457 for ac_exec_ext in '' $ac_executable_extensions; do
6458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6459 ac_cv_prog_ac_ct_STRIP="strip"
6460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6466 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6469 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6470 if test -n "$ac_ct_STRIP"; then
6471 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6472 echo "${ECHO_T}$ac_ct_STRIP" >&6
6474 echo "$as_me:$LINENO: result: no" >&5
6475 echo "${ECHO_T}no" >&6
6480 STRIP="$ac_cv_prog_STRIP"
6483 test -z "$STRIP" && STRIP=:
6490 if test -n "$ac_tool_prefix"; then
6491 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6492 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6493 echo "$as_me:$LINENO: checking for $ac_word" >&5
6494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6495 if test "${ac_cv_prog_RANLIB+set}" = set; then
6496 echo $ECHO_N "(cached) $ECHO_C" >&6
6498 if test -n "$RANLIB"; then
6499 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6505 test -z "$as_dir" && as_dir=.
6506 for ac_exec_ext in '' $ac_executable_extensions; do
6507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6508 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6517 RANLIB=$ac_cv_prog_RANLIB
6518 if test -n "$RANLIB"; then
6519 echo "$as_me:$LINENO: result: $RANLIB" >&5
6520 echo "${ECHO_T}$RANLIB" >&6
6522 echo "$as_me:$LINENO: result: no" >&5
6523 echo "${ECHO_T}no" >&6
6527 if test -z "$ac_cv_prog_RANLIB"; then
6528 ac_ct_RANLIB=$RANLIB
6529 # Extract the first word of "ranlib", so it can be a program name with args.
6530 set dummy ranlib; ac_word=$2
6531 echo "$as_me:$LINENO: checking for $ac_word" >&5
6532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6533 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6534 echo $ECHO_N "(cached) $ECHO_C" >&6
6536 if test -n "$ac_ct_RANLIB"; then
6537 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6543 test -z "$as_dir" && as_dir=.
6544 for ac_exec_ext in '' $ac_executable_extensions; do
6545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6546 ac_cv_prog_ac_ct_RANLIB="ranlib"
6547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6553 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6556 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6557 if test -n "$ac_ct_RANLIB"; then
6558 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6559 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6561 echo "$as_me:$LINENO: result: no" >&5
6562 echo "${ECHO_T}no" >&6
6565 RANLIB=$ac_ct_RANLIB
6567 RANLIB="$ac_cv_prog_RANLIB"
6570 test -z "$RANLIB" && RANLIB=:
6577 # Determine commands to create old-style static archives.
6578 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6579 old_postinstall_cmds='chmod 644 $oldlib'
6580 old_postuninstall_cmds=
6582 if test -n "$RANLIB"; then
6585 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6588 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6591 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6627 # If no C compiler was specified, use CC.
6630 # If no C compiler flags were specified, use CFLAGS.
6631 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6633 # Allow CC to be a program name with arguments.
6637 # Check for command to grab the raw symbol name followed by C symbol from nm.
6638 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6639 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
6640 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6641 echo $ECHO_N "(cached) $ECHO_C" >&6
6644 # These are sane defaults that work on at least a few old systems.
6645 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6647 # Character class describing NM global symbol codes.
6648 symcode='[BCDEGRST]'
6650 # Regexp to match symbols that can be accessed directly from C.
6651 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6653 # Define system-specific variables.
6658 cygwin* | mingw* | pw32*)
6659 symcode='[ABCDGISTW]'
6662 if test "$host_cpu" = ia64; then
6663 symcode='[ABCDEGRST]'
6667 symcode='[BCDEGRST]'
6670 symcode='[BCDEGQRST]'
6681 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6689 # If we're using GNU nm, then use its standard symbol codes.
6690 case `$NM -V 2>&1` in
6691 *GNU* | *'with BFD'*)
6692 symcode='[ABCDGIRSTW]' ;;
6695 # Transform an extracted symbol line into a proper C declaration.
6696 # Some systems (esp. on ia64) link data and code symbols differently,
6697 # so use this general approach.
6698 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6700 # Transform an extracted symbol line into symbol name and symbol address
6701 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6703 # Handle CRLF in mingw tool chain
6707 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6711 # Try without a prefix underscore, then with it.
6712 for ac_symprfx in "" "_"; do
6714 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6715 symxfrm="\\1 $ac_symprfx\\2 \\2"
6717 # Write the raw and C identifiers.
6718 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6719 # Fake it for dumpbin and say T for any non-static function
6720 # and D for any global variable.
6721 # Also find C++ and __fastcall symbols from MSVC++,
6722 # which start with @ or ?.
6723 lt_cv_sys_global_symbol_pipe="$AWK '"\
6724 " {last_section=section; section=\$ 3};"\
6725 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6726 " \$ 0!~/External *\|/{next};"\
6727 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6728 " {if(hide[section]) next};"\
6729 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6730 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6731 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6732 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6733 " ' prfx=^$ac_symprfx"
6735 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6738 # Check to see that the pipe works correctly.
6742 cat > conftest.$ac_ext <<_LT_EOF
6747 void nm_test_func(void);
6748 void nm_test_func(void){}
6752 int main(){nm_test_var='a';nm_test_func();return(0);}
6755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6756 (eval $ac_compile) 2>&5
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); }; then
6760 # Now try to grab the symbols.
6762 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6763 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766 (exit $ac_status); } && test -s "$nlist"; then
6767 # Try sorting and uniquifying the output.
6768 if sort "$nlist" | uniq > "$nlist"T; then
6769 mv -f "$nlist"T "$nlist"
6774 # Make sure that we snagged all the symbols we need.
6775 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6776 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6777 cat <<_LT_EOF > conftest.$ac_ext
6783 # Now generate the symbol file.
6784 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6786 cat <<_LT_EOF >> conftest.$ac_ext
6788 /* The mapping between symbol names and symbols. */
6793 lt__PROGRAM__LTX_preloaded_symbols[] =
6795 { "@PROGRAM@", (void *) 0 },
6797 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6798 cat <<\_LT_EOF >> conftest.$ac_ext
6802 /* This works around a problem in FreeBSD linker */
6803 #ifdef FREEBSD_WORKAROUND
6804 static const void *lt_preloaded_setup() {
6805 return lt__PROGRAM__LTX_preloaded_symbols;
6813 # Now try linking the two files.
6814 mv conftest.$ac_objext conftstm.$ac_objext
6815 lt_save_LIBS="$LIBS"
6816 lt_save_CFLAGS="$CFLAGS"
6817 LIBS="conftstm.$ac_objext"
6818 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6820 (eval $ac_link) 2>&5
6822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6826 LIBS="$lt_save_LIBS"
6827 CFLAGS="$lt_save_CFLAGS"
6829 echo "cannot find nm_test_func in $nlist" >&5
6832 echo "cannot find nm_test_var in $nlist" >&5
6835 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6838 echo "$progname: failed program was:" >&5
6839 cat conftest.$ac_ext >&5
6841 rm -f conftest* conftst*
6843 # Do not use the global_symbol_pipe unless it works.
6844 if test "$pipe_works" = yes; then
6847 lt_cv_sys_global_symbol_pipe=
6853 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6854 lt_cv_sys_global_symbol_to_cdecl=
6856 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6857 echo "$as_me:$LINENO: result: failed" >&5
6858 echo "${ECHO_T}failed" >&6
6860 echo "$as_me:$LINENO: result: ok" >&5
6861 echo "${ECHO_T}ok" >&6
6880 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6881 if test "${enable_libtool_lock+set}" = set; then
6882 enableval="$enable_libtool_lock"
6885 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6887 # Some flags need to be propagated to the compiler or linker for good
6891 # Find out which ABI we are using.
6892 echo 'int i;' > conftest.$ac_ext
6893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6894 (eval $ac_compile) 2>&5
6896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6897 (exit $ac_status); }; then
6898 case `/usr/bin/file conftest.$ac_objext` in
6910 # Find out which ABI we are using.
6911 echo '#line 6911 "configure"' > conftest.$ac_ext
6912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6913 (eval $ac_compile) 2>&5
6915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6916 (exit $ac_status); }; then
6917 if test "$lt_cv_prog_gnu_ld" = yes; then
6918 case `/usr/bin/file conftest.$ac_objext` in
6920 LD="${LD-ld} -melf32bsmip"
6923 LD="${LD-ld} -melf32bmipn32"
6926 LD="${LD-ld} -melf64bmip"
6930 case `/usr/bin/file conftest.$ac_objext` in
6946 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6947 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6948 # Find out which ABI we are using.
6949 echo 'int i;' > conftest.$ac_ext
6950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6951 (eval $ac_compile) 2>&5
6953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6954 (exit $ac_status); }; then
6955 case `/usr/bin/file conftest.o` in
6958 x86_64-*kfreebsd*-gnu)
6959 LD="${LD-ld} -m elf_i386_fbsd"
6962 LD="${LD-ld} -m elf_i386"
6964 ppc64-*linux*|powerpc64-*linux*)
6965 LD="${LD-ld} -m elf32ppclinux"
6968 LD="${LD-ld} -m elf_s390"
6971 LD="${LD-ld} -m elf32_sparc"
6977 x86_64-*kfreebsd*-gnu)
6978 LD="${LD-ld} -m elf_x86_64_fbsd"
6981 LD="${LD-ld} -m elf_x86_64"
6983 ppc*-*linux*|powerpc*-*linux*)
6984 LD="${LD-ld} -m elf64ppc"
6986 s390*-*linux*|s390*-*tpf*)
6987 LD="${LD-ld} -m elf64_s390"
6990 LD="${LD-ld} -m elf64_sparc"
7000 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7001 SAVE_CFLAGS="$CFLAGS"
7002 CFLAGS="$CFLAGS -belf"
7003 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7004 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
7005 if test "${lt_cv_cc_needs_belf+set}" = set; then
7006 echo $ECHO_N "(cached) $ECHO_C" >&6
7009 ac_cpp='$CPP $CPPFLAGS'
7010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7014 cat >conftest.$ac_ext <<_ACEOF
7017 cat confdefs.h >>conftest.$ac_ext
7018 cat >>conftest.$ac_ext <<_ACEOF
7019 /* end confdefs.h. */
7029 rm -f conftest.$ac_objext conftest$ac_exeext
7030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7031 (eval $ac_link) 2>conftest.er1
7033 grep -v '^ *+' conftest.er1 >conftest.err
7035 cat conftest.err >&5
7036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7037 (exit $ac_status); } &&
7038 { ac_try='test -z "$ac_c_werror_flag"
7039 || test ! -s conftest.err'
7040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7044 (exit $ac_status); }; } &&
7045 { ac_try='test -s conftest$ac_exeext'
7046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7050 (exit $ac_status); }; }; then
7051 lt_cv_cc_needs_belf=yes
7053 echo "$as_me: failed program was:" >&5
7054 sed 's/^/| /' conftest.$ac_ext >&5
7056 lt_cv_cc_needs_belf=no
7058 rm -f conftest.err conftest.$ac_objext \
7059 conftest$ac_exeext conftest.$ac_ext
7061 ac_cpp='$CPP $CPPFLAGS'
7062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7067 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7068 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7069 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7070 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7071 CFLAGS="$SAVE_CFLAGS"
7075 # Find out which ABI we are using.
7076 echo 'int i;' > conftest.$ac_ext
7077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7078 (eval $ac_compile) 2>&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); }; then
7082 case `/usr/bin/file conftest.o` in
7084 case $lt_cv_prog_gnu_ld in
7085 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7086 *) LD="${LD-ld} -64" ;;
7095 need_locks="$enable_libtool_lock"
7098 for ac_header in dlfcn.h
7100 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7101 echo "$as_me:$LINENO: checking for $ac_header" >&5
7102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7104 echo $ECHO_N "(cached) $ECHO_C" >&6
7106 cat >conftest.$ac_ext <<_ACEOF
7109 cat confdefs.h >>conftest.$ac_ext
7110 cat >>conftest.$ac_ext <<_ACEOF
7111 /* end confdefs.h. */
7112 $ac_includes_default
7114 #include <$ac_header>
7116 rm -f conftest.$ac_objext
7117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7118 (eval $ac_compile) 2>conftest.er1
7120 grep -v '^ *+' conftest.er1 >conftest.err
7122 cat conftest.err >&5
7123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 (exit $ac_status); } &&
7125 { ac_try='test -z "$ac_c_werror_flag"
7126 || test ! -s conftest.err'
7127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7131 (exit $ac_status); }; } &&
7132 { ac_try='test -s conftest.$ac_objext'
7133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); }; }; then
7138 eval "$as_ac_Header=yes"
7140 echo "$as_me: failed program was:" >&5
7141 sed 's/^/| /' conftest.$ac_ext >&5
7143 eval "$as_ac_Header=no"
7145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7149 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7150 cat >>confdefs.h <<_ACEOF
7151 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7160 # This can be used to rebuild libtool when needed
7161 LIBTOOL_DEPS="$ltmain"
7163 # Always use our own libtool.
7164 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7190 test -z "$LN_S" && LN_S="ln -s"
7205 if test -n "${ZSH_VERSION+set}" ; then
7206 setopt NO_GLOB_SUBST
7209 echo "$as_me:$LINENO: checking for objdir" >&5
7210 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7211 if test "${lt_cv_objdir+set}" = set; then
7212 echo $ECHO_N "(cached) $ECHO_C" >&6
7214 rm -f .libs 2>/dev/null
7215 mkdir .libs 2>/dev/null
7216 if test -d .libs; then
7219 # MS-DOS does not allow filenames that begin with a dot.
7222 rmdir .libs 2>/dev/null
7224 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7225 echo "${ECHO_T}$lt_cv_objdir" >&6
7226 objdir=$lt_cv_objdir
7232 cat >>confdefs.h <<_ACEOF
7233 #define LT_OBJDIR "$lt_cv_objdir/"
7254 # AIX sometimes has problems with the GCC collect2 program. For some
7255 # reason, if we set the COLLECT_NAMES environment variable, the problems
7256 # vanish in a puff of smoke.
7257 if test "X${COLLECT_NAMES+set}" != Xset; then
7259 export COLLECT_NAMES
7264 # Sed substitution that helps us do robust quoting. It backslashifies
7265 # metacharacters that are still active within double-quoted strings.
7266 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7268 # Same as above, but do not quote variable references.
7269 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7271 # Sed substitution to delay expansion of an escaped shell variable in a
7272 # double_quote_subst'ed string.
7273 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7275 # Sed substitution to delay expansion of an escaped single quote.
7276 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7278 # Sed substitution to avoid accidental globbing in evaled expressions
7279 no_glob_subst='s/\*/\\\*/g'
7283 can_build_shared=yes
7285 # All known linkers require a `.a' archive for static linking (except MSVC,
7286 # which needs '.lib').
7289 with_gnu_ld="$lt_cv_prog_gnu_ld"
7292 old_CFLAGS="$CFLAGS"
7294 # Set sane defaults for various variables
7295 test -z "$CC" && CC=cc
7296 test -z "$LTCC" && LTCC=$CC
7297 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7298 test -z "$LD" && LD=ld
7299 test -z "$ac_objext" && ac_objext=o
7301 for cc_temp in $compiler""; do
7303 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7304 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7309 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7312 # Only perform the check for file, if the check method requires it
7313 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7314 case $deplibs_check_method in
7316 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7317 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7318 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7319 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7320 echo $ECHO_N "(cached) $ECHO_C" >&6
7324 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7327 lt_save_MAGIC_CMD="$MAGIC_CMD"
7328 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7329 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7330 for ac_dir in $ac_dummy; do
7332 test -z "$ac_dir" && ac_dir=.
7333 if test -f $ac_dir/${ac_tool_prefix}file; then
7334 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7335 if test -n "$file_magic_test_file"; then
7336 case $deplibs_check_method in
7338 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7339 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7340 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7341 $EGREP "$file_magic_regex" > /dev/null; then
7346 *** Warning: the command libtool uses to detect shared libraries,
7347 *** $file_magic_cmd, produces output that libtool cannot recognize.
7348 *** The result is that libtool may fail to recognize shared libraries
7349 *** as such. This will affect the creation of libtool libraries that
7350 *** depend on shared libraries, but programs linked with such libtool
7351 *** libraries will work regardless of this problem. Nevertheless, you
7352 *** may want to report the problem to your system manager and/or to
7353 *** bug-libtool@gnu.org
7363 MAGIC_CMD="$lt_save_MAGIC_CMD"
7368 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7369 if test -n "$MAGIC_CMD"; then
7370 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7371 echo "${ECHO_T}$MAGIC_CMD" >&6
7373 echo "$as_me:$LINENO: result: no" >&5
7374 echo "${ECHO_T}no" >&6
7381 if test -z "$lt_cv_path_MAGIC_CMD"; then
7382 if test -n "$ac_tool_prefix"; then
7383 echo "$as_me:$LINENO: checking for file" >&5
7384 echo $ECHO_N "checking for file... $ECHO_C" >&6
7385 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7386 echo $ECHO_N "(cached) $ECHO_C" >&6
7390 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7393 lt_save_MAGIC_CMD="$MAGIC_CMD"
7394 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7395 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7396 for ac_dir in $ac_dummy; do
7398 test -z "$ac_dir" && ac_dir=.
7399 if test -f $ac_dir/file; then
7400 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7401 if test -n "$file_magic_test_file"; then
7402 case $deplibs_check_method in
7404 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7405 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7406 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7407 $EGREP "$file_magic_regex" > /dev/null; then
7412 *** Warning: the command libtool uses to detect shared libraries,
7413 *** $file_magic_cmd, produces output that libtool cannot recognize.
7414 *** The result is that libtool may fail to recognize shared libraries
7415 *** as such. This will affect the creation of libtool libraries that
7416 *** depend on shared libraries, but programs linked with such libtool
7417 *** libraries will work regardless of this problem. Nevertheless, you
7418 *** may want to report the problem to your system manager and/or to
7419 *** bug-libtool@gnu.org
7429 MAGIC_CMD="$lt_save_MAGIC_CMD"
7434 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7435 if test -n "$MAGIC_CMD"; then
7436 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7437 echo "${ECHO_T}$MAGIC_CMD" >&6
7439 echo "$as_me:$LINENO: result: no" >&5
7440 echo "${ECHO_T}no" >&6
7453 # Use C for the default configuration in the libtool script
7457 ac_cpp='$CPP $CPPFLAGS'
7458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7463 # Source file extension for C test sources.
7466 # Object file extension for compiled C test sources.
7470 # Code to be used in simple compile tests
7471 lt_simple_compile_test_code="int some_variable = 0;"
7473 # Code to be used in simple link tests
7474 lt_simple_link_test_code='int main(){return(0);}'
7482 # If no C compiler was specified, use CC.
7485 # If no C compiler flags were specified, use CFLAGS.
7486 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7488 # Allow CC to be a program name with arguments.
7491 # Save the default compiler, since it gets overwritten when the other
7492 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7493 compiler_DEFAULT=$CC
7495 # save warnings/boilerplate of simple test code
7496 ac_outfile=conftest.$ac_objext
7497 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7498 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7499 _lt_compiler_boilerplate=`cat conftest.err`
7502 ac_outfile=conftest.$ac_objext
7503 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7504 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7505 _lt_linker_boilerplate=`cat conftest.err`
7510 ## There is no encapsulation within the following macros, do not change
7511 ## the running order or otherwise move them around unless you know exactly
7512 ## what you are doing...
7513 if test -n "$compiler"; then
7515 lt_prog_compiler_no_builtin_flag=
7517 if test "$GCC" = yes; then
7518 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7520 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7521 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7522 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7523 echo $ECHO_N "(cached) $ECHO_C" >&6
7525 lt_cv_prog_compiler_rtti_exceptions=no
7526 ac_outfile=conftest.$ac_objext
7527 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7528 lt_compiler_flag="-fno-rtti -fno-exceptions"
7529 # Insert the option either (1) after the last *FLAGS variable, or
7530 # (2) before a word containing "conftest.", or (3) at the end.
7531 # Note that $ac_compile itself does not contain backslashes and begins
7532 # with a dollar sign (not a hyphen), so the echo should work correctly.
7533 # The option is referenced via a variable to avoid confusing sed.
7534 lt_compile=`echo "$ac_compile" | $SED \
7535 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7536 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7537 -e 's:$: $lt_compiler_flag:'`
7538 (eval echo "\"\$as_me:7538: $lt_compile\"" >&5)
7539 (eval "$lt_compile" 2>conftest.err)
7541 cat conftest.err >&5
7542 echo "$as_me:7542: \$? = $ac_status" >&5
7543 if (exit $ac_status) && test -s "$ac_outfile"; then
7544 # The compiler can only warn and ignore the option if not recognized
7545 # So say no if there are warnings other than the usual output.
7546 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7547 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7548 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7549 lt_cv_prog_compiler_rtti_exceptions=yes
7555 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7556 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7558 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7559 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7571 lt_prog_compiler_wl=
7572 lt_prog_compiler_pic=
7573 lt_prog_compiler_static=
7575 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7576 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7578 if test "$GCC" = yes; then
7579 lt_prog_compiler_wl='-Wl,'
7580 lt_prog_compiler_static='-static'
7584 # All AIX code is PIC.
7585 if test "$host_cpu" = ia64; then
7586 # AIX 5 now supports IA64 processor
7587 lt_prog_compiler_static='-Bstatic'
7592 if test "$host_cpu" = m68k; then
7593 # FIXME: we need at least 68020 code to build shared libraries, but
7594 # adding the `-m68020' flag to GCC prevents building anything better,
7596 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7600 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7601 # PIC is the default for these OSes.
7604 mingw* | cygwin* | pw32* | os2*)
7605 # This hack is so that the source file can tell whether it is being
7606 # built for inclusion in a dll (and should export symbols for example).
7607 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7608 # (--disable-auto-import) libraries
7609 lt_prog_compiler_pic='-DDLL_EXPORT'
7612 darwin* | rhapsody*)
7613 # PIC is the default on this platform
7614 # Common symbols not allowed in MH_DYLIB files
7615 lt_prog_compiler_pic='-fno-common'
7619 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7626 lt_prog_compiler_pic='-fPIC'
7632 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7633 # Instead, we relocate shared libraries at runtime.
7637 # Just because we use GCC doesn't mean we suddenly get shared libraries
7638 # on systems that don't support them.
7639 lt_prog_compiler_can_build_shared=no
7644 # QNX uses GNU C++, but need to define -shared option too, otherwise
7646 lt_prog_compiler_pic='-fPIC -shared'
7650 if test -d /usr/nec; then
7651 lt_prog_compiler_pic=-Kconform_pic
7656 lt_prog_compiler_pic='-fPIC'
7660 # PORTME Check for flag to pass linker flags through the system compiler.
7663 lt_prog_compiler_wl='-Wl,'
7664 if test "$host_cpu" = ia64; then
7665 # AIX 5 now supports IA64 processor
7666 lt_prog_compiler_static='-Bstatic'
7668 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7672 # PIC is the default on this platform
7673 # Common symbols not allowed in MH_DYLIB files
7674 case $cc_basename in
7676 lt_prog_compiler_pic='-qnocommon'
7677 lt_prog_compiler_wl='-Wl,'
7682 mingw* | cygwin* | pw32* | os2*)
7683 # This hack is so that the source file can tell whether it is being
7684 # built for inclusion in a dll (and should export symbols for example).
7685 lt_prog_compiler_pic='-DDLL_EXPORT'
7688 hpux9* | hpux10* | hpux11*)
7689 lt_prog_compiler_wl='-Wl,'
7690 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7697 lt_prog_compiler_pic='+Z'
7700 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7701 lt_prog_compiler_static='${wl}-a ${wl}archive'
7704 irix5* | irix6* | nonstopux*)
7705 lt_prog_compiler_wl='-Wl,'
7706 # PIC (with -KPIC) is the default.
7707 lt_prog_compiler_static='-non_shared'
7710 linux* | k*bsd*-gnu)
7711 case $cc_basename in
7713 lt_prog_compiler_wl='-Wl,'
7714 lt_prog_compiler_pic='-KPIC'
7715 lt_prog_compiler_static='-static'
7717 pgcc* | pgf77* | pgf90* | pgf95*)
7718 # Portland Group compilers (*not* the Pentium gcc compiler,
7719 # which looks to be a dead project)
7720 lt_prog_compiler_wl='-Wl,'
7721 lt_prog_compiler_pic='-fpic'
7722 lt_prog_compiler_static='-Bstatic'
7725 lt_prog_compiler_wl='-Wl,'
7726 # All Alpha code is PIC.
7727 lt_prog_compiler_static='-non_shared'
7730 case `$CC -V 2>&1 | sed 5q` in
7733 lt_prog_compiler_pic='-KPIC'
7734 lt_prog_compiler_static='-Bstatic'
7735 lt_prog_compiler_wl='-Wl,'
7738 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7739 lt_prog_compiler_pic='-KPIC'
7740 lt_prog_compiler_static='-Bstatic'
7741 lt_prog_compiler_wl=''
7749 lt_prog_compiler_pic='-KPIC'
7750 lt_prog_compiler_static='-Bstatic'
7754 # QNX uses GNU C++, but need to define -shared option too, otherwise
7756 lt_prog_compiler_pic='-fPIC -shared'
7759 osf3* | osf4* | osf5*)
7760 lt_prog_compiler_wl='-Wl,'
7761 # All OSF/1 code is PIC.
7762 lt_prog_compiler_static='-non_shared'
7766 lt_prog_compiler_static='-non_shared'
7770 lt_prog_compiler_pic='-KPIC'
7771 lt_prog_compiler_static='-Bstatic'
7772 case $cc_basename in
7774 lt_prog_compiler_wl='-Qoption ld ';;
7776 lt_prog_compiler_wl='-Wl,';;
7781 lt_prog_compiler_wl='-Qoption ld '
7782 lt_prog_compiler_pic='-PIC'
7783 lt_prog_compiler_static='-Bstatic'
7786 sysv4 | sysv4.2uw2* | sysv4.3*)
7787 lt_prog_compiler_wl='-Wl,'
7788 lt_prog_compiler_pic='-KPIC'
7789 lt_prog_compiler_static='-Bstatic'
7793 if test -d /usr/nec ;then
7794 lt_prog_compiler_pic='-Kconform_pic'
7795 lt_prog_compiler_static='-Bstatic'
7799 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7800 lt_prog_compiler_wl='-Wl,'
7801 lt_prog_compiler_pic='-KPIC'
7802 lt_prog_compiler_static='-Bstatic'
7806 lt_prog_compiler_wl='-Wl,'
7807 lt_prog_compiler_can_build_shared=no
7811 lt_prog_compiler_pic='-pic'
7812 lt_prog_compiler_static='-Bstatic'
7816 lt_prog_compiler_can_build_shared=no
7822 # For platforms which do not support PIC, -DPIC is meaningless:
7824 lt_prog_compiler_pic=
7827 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7830 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7831 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7839 # Check to make sure the PIC flag actually works.
7841 if test -n "$lt_prog_compiler_pic"; then
7842 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7843 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7844 if test "${lt_prog_compiler_pic_works+set}" = set; then
7845 echo $ECHO_N "(cached) $ECHO_C" >&6
7847 lt_prog_compiler_pic_works=no
7848 ac_outfile=conftest.$ac_objext
7849 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7850 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7851 # Insert the option either (1) after the last *FLAGS variable, or
7852 # (2) before a word containing "conftest.", or (3) at the end.
7853 # Note that $ac_compile itself does not contain backslashes and begins
7854 # with a dollar sign (not a hyphen), so the echo should work correctly.
7855 # The option is referenced via a variable to avoid confusing sed.
7856 lt_compile=`echo "$ac_compile" | $SED \
7857 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7858 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7859 -e 's:$: $lt_compiler_flag:'`
7860 (eval echo "\"\$as_me:7860: $lt_compile\"" >&5)
7861 (eval "$lt_compile" 2>conftest.err)
7863 cat conftest.err >&5
7864 echo "$as_me:7864: \$? = $ac_status" >&5
7865 if (exit $ac_status) && test -s "$ac_outfile"; then
7866 # The compiler can only warn and ignore the option if not recognized
7867 # So say no if there are warnings other than the usual output.
7868 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7869 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7870 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7871 lt_prog_compiler_pic_works=yes
7877 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7878 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7880 if test x"$lt_prog_compiler_pic_works" = xyes; then
7881 case $lt_prog_compiler_pic in
7883 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7886 lt_prog_compiler_pic=
7887 lt_prog_compiler_can_build_shared=no
7898 # Check to make sure the static flag actually works.
7900 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7901 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7902 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7903 if test "${lt_prog_compiler_static_works+set}" = set; then
7904 echo $ECHO_N "(cached) $ECHO_C" >&6
7906 lt_prog_compiler_static_works=no
7907 save_LDFLAGS="$LDFLAGS"
7908 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7909 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7910 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7911 # The linker can only warn and ignore the option if not recognized
7912 # So say no if there are warnings
7913 if test -s conftest.err; then
7914 # Append any errors to the config.log.
7915 cat conftest.err 1>&5
7916 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7917 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7918 if diff conftest.exp conftest.er2 >/dev/null; then
7919 lt_prog_compiler_static_works=yes
7922 lt_prog_compiler_static_works=yes
7926 LDFLAGS="$save_LDFLAGS"
7929 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7930 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7932 if test x"$lt_prog_compiler_static_works" = xyes; then
7935 lt_prog_compiler_static=
7944 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7945 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7946 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7947 echo $ECHO_N "(cached) $ECHO_C" >&6
7949 lt_cv_prog_compiler_c_o=no
7950 $RM -r conftest 2>/dev/null
7954 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7956 lt_compiler_flag="-o out/conftest2.$ac_objext"
7957 # Insert the option either (1) after the last *FLAGS variable, or
7958 # (2) before a word containing "conftest.", or (3) at the end.
7959 # Note that $ac_compile itself does not contain backslashes and begins
7960 # with a dollar sign (not a hyphen), so the echo should work correctly.
7961 lt_compile=`echo "$ac_compile" | $SED \
7962 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7963 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7964 -e 's:$: $lt_compiler_flag:'`
7965 (eval echo "\"\$as_me:7965: $lt_compile\"" >&5)
7966 (eval "$lt_compile" 2>out/conftest.err)
7968 cat out/conftest.err >&5
7969 echo "$as_me:7969: \$? = $ac_status" >&5
7970 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7972 # The compiler can only warn and ignore the option if not recognized
7973 # So say no if there are warnings
7974 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7975 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7976 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7977 lt_cv_prog_compiler_c_o=yes
7982 # SGI C++ compiler will create directory out/ii_files/ for
7983 # template instantiation
7984 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7985 $RM out/* && rmdir out
7991 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7992 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7999 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8000 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8001 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8002 echo $ECHO_N "(cached) $ECHO_C" >&6
8004 lt_cv_prog_compiler_c_o=no
8005 $RM -r conftest 2>/dev/null
8009 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8011 lt_compiler_flag="-o out/conftest2.$ac_objext"
8012 # Insert the option either (1) after the last *FLAGS variable, or
8013 # (2) before a word containing "conftest.", or (3) at the end.
8014 # Note that $ac_compile itself does not contain backslashes and begins
8015 # with a dollar sign (not a hyphen), so the echo should work correctly.
8016 lt_compile=`echo "$ac_compile" | $SED \
8017 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8018 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8019 -e 's:$: $lt_compiler_flag:'`
8020 (eval echo "\"\$as_me:8020: $lt_compile\"" >&5)
8021 (eval "$lt_compile" 2>out/conftest.err)
8023 cat out/conftest.err >&5
8024 echo "$as_me:8024: \$? = $ac_status" >&5
8025 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8027 # The compiler can only warn and ignore the option if not recognized
8028 # So say no if there are warnings
8029 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8030 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8031 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8032 lt_cv_prog_compiler_c_o=yes
8037 # SGI C++ compiler will create directory out/ii_files/ for
8038 # template instantiation
8039 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8040 $RM out/* && rmdir out
8046 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8047 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8052 hard_links="nottested"
8053 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8054 # do not overwrite the value of need_locks provided by the user
8055 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8056 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8059 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8061 ln conftest.a conftest.b 2>&5 || hard_links=no
8062 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8063 echo "$as_me:$LINENO: result: $hard_links" >&5
8064 echo "${ECHO_T}$hard_links" >&6
8065 if test "$hard_links" = no; then
8066 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8067 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8079 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8080 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8083 allow_undefined_flag=
8084 always_export_symbols=no
8086 archive_expsym_cmds=
8087 compiler_needs_object=no
8088 enable_shared_with_static_runtimes=no
8089 export_dynamic_flag_spec=
8090 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8091 hardcode_automatic=no
8093 hardcode_direct_absolute=no
8094 hardcode_libdir_flag_spec=
8095 hardcode_libdir_flag_spec_ld=
8096 hardcode_libdir_separator=
8098 hardcode_shlibpath_var=unsupported
8100 link_all_deplibs=unknown
8103 old_archive_from_new_cmds=
8104 old_archive_from_expsyms_cmds=
8105 thread_safe_flag_spec=
8106 whole_archive_flag_spec=
8107 # include_expsyms should be a list of space-separated symbols to be *always*
8108 # included in the symbol list
8110 # exclude_expsyms can be an extended regexp of symbols to exclude
8111 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8112 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8113 # as well as any symbol that contains `d'.
8114 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
8115 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8116 # platforms (ab)use it in PIC code, but their linkers get confused if
8117 # the symbol is explicitly referenced. Since portable code cannot
8118 # rely on this symbol name, it's probably fine to never include it in
8119 # preloaded symbol tables.
8120 extract_expsyms_cmds=
8123 cygwin* | mingw* | pw32*)
8124 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8125 # When not using gcc, we currently assume that we are using
8126 # Microsoft Visual C++.
8127 if test "$GCC" != yes; then
8132 # we just hope/assume this is gcc and not c89 (= MSVC++)
8141 if test "$with_gnu_ld" = yes; then
8142 # If archive_cmds runs LD, not CC, wlarc should be empty
8145 # Set some defaults for GNU ld with shared library support. These
8146 # are reset later if shared libraries are not supported. Putting them
8147 # here allows them to be overridden if necessary.
8148 runpath_var=LD_RUN_PATH
8149 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8150 export_dynamic_flag_spec='${wl}--export-dynamic'
8151 # ancient GNU ld didn't support --whole-archive et. al.
8152 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8153 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8155 whole_archive_flag_spec=
8157 supports_anon_versioning=no
8158 case `$LD -v 2>&1` in
8159 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8160 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8161 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8162 *\ 2.11.*) ;; # other 2.11 versions
8163 *) supports_anon_versioning=yes ;;
8166 # See if GNU ld supports shared libraries.
8169 # On AIX/PPC, the GNU linker is very broken
8170 if test "$host_cpu" != ia64; then
8174 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8175 *** to be unable to reliably create shared libraries on AIX.
8176 *** Therefore, libtool is disabling shared libraries support. If you
8177 *** really care for shared libraries, you may want to modify your PATH
8178 *** so that a non-GNU linker is found, and then restart.
8185 if test "$host_cpu" = m68k; then
8186 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)'
8187 hardcode_libdir_flag_spec='-L$libdir'
8188 hardcode_minus_L=yes
8191 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8192 # that the semantics of dynamic libraries on AmigaOS, at least up
8193 # to version 4, is to share data among multiple programs linked
8194 # with the same dynamic library. Since this doesn't match the
8195 # behavior of shared libraries on other platforms, we can't use
8201 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8202 allow_undefined_flag=unsupported
8203 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8204 # support --undefined. This deserves some investigation. FIXME
8205 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8211 cygwin* | mingw* | pw32*)
8212 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8213 # as there is no search path for DLLs.
8214 hardcode_libdir_flag_spec='-L$libdir'
8215 allow_undefined_flag=unsupported
8216 always_export_symbols=no
8217 enable_shared_with_static_runtimes=yes
8218 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8220 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8221 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8222 # If the export-symbols file already is a .def file (1st line
8223 # is EXPORTS), use it as is; otherwise, prepend...
8224 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8225 cp $export_symbols $output_objdir/$soname.def;
8227 echo EXPORTS > $output_objdir/$soname.def;
8228 cat $export_symbols >> $output_objdir/$soname.def;
8230 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8238 hardcode_shlibpath_var=no
8239 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8240 export_dynamic_flag_spec='${wl}-E'
8241 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8242 # Instead, shared libraries are loaded at an image base (0x10000000 by
8243 # default) and relocated if they conflict, which is a slow very memory
8244 # consuming and fragmenting process. To avoid this, we pick a random,
8245 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8246 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8247 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8248 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'
8251 gnu* | linux* | tpf* | k*bsd*-gnu)
8253 if test "$host_os" = linux-dietlibc; then
8254 case $cc_basename in
8255 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8258 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8259 && test "$tmp_diet" = no
8262 case $cc_basename,$host_cpu in
8263 pgcc*) # Portland Group C compiler
8264 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'
8265 tmp_addflag=' $pic_flag'
8267 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8268 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'
8269 tmp_addflag=' $pic_flag -Mnomain' ;;
8270 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8271 tmp_addflag=' -i_dynamic' ;;
8272 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8273 tmp_addflag=' -i_dynamic -nofor_main' ;;
8274 ifc* | ifort*) # Intel Fortran compiler
8275 tmp_addflag=' -nofor_main' ;;
8277 case `$CC -V 2>&1 | sed 5q` in
8278 *Sun\ C*) # Sun C 5.9
8279 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'
8280 compiler_needs_object=yes
8281 tmp_sharedflag='-G' ;;
8282 *Sun\ F*) # Sun Fortran 8.3
8283 tmp_sharedflag='-G' ;;
8285 tmp_sharedflag='-shared' ;;
8287 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8289 if test "x$supports_anon_versioning" = xyes; then
8290 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8291 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8292 echo "local: *; };" >> $output_objdir/$libname.ver~
8293 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8301 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8302 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8305 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8306 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8311 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8315 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8316 *** create shared libraries on Solaris systems. Therefore, libtool
8317 *** is disabling shared libraries support. We urge you to upgrade GNU
8318 *** binutils to release 2.9.1 or newer. Another option is to modify
8319 *** your PATH or compiler configuration so that the native linker is
8320 *** used, and then restart.
8323 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8324 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8325 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8331 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8332 case `$LD -v 2>&1` in
8333 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8337 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8338 *** reliably create shared libraries on SCO systems. Therefore, libtool
8339 *** is disabling shared libraries support. We urge you to upgrade GNU
8340 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8341 *** your PATH or compiler configuration so that the native linker is
8342 *** used, and then restart.
8347 # For security reasons, it is highly recommended that you always
8348 # use absolute paths for naming shared libraries, and exclude the
8349 # DT_RUNPATH tag from executables and libraries. But doing so
8350 # requires that you compile everything twice, which is a pain.
8351 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8352 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8353 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8354 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8363 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8366 hardcode_shlibpath_var=no
8370 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8371 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8372 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8379 if test "$ld_shlibs" = no; then
8381 hardcode_libdir_flag_spec=
8382 export_dynamic_flag_spec=
8383 whole_archive_flag_spec=
8386 # PORTME fill in a description of your system's linker (not GNU ld)
8389 allow_undefined_flag=unsupported
8390 always_export_symbols=yes
8391 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'
8392 # Note: this linker hardcodes the directories in LIBPATH if there
8393 # are no directories specified by -L.
8394 hardcode_minus_L=yes
8395 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8396 # Neither direct hardcoding nor static linking is supported with a
8398 hardcode_direct=unsupported
8403 if test "$host_cpu" = ia64; then
8404 # On IA64, the linker does run time linking by default, so we don't
8405 # have to do anything special.
8406 aix_use_runtimelinking=no
8407 exp_sym_flag='-Bexport'
8410 # If we're using GNU nm, then we don't want the "-C" option.
8411 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8412 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8413 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'
8415 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'
8417 aix_use_runtimelinking=no
8419 # Test if we are trying to use run time linking or normal
8420 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8421 # need to do runtime linking.
8422 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8423 for ld_flag in $LDFLAGS; do
8424 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8425 aix_use_runtimelinking=yes
8432 exp_sym_flag='-bexport'
8433 no_entry_flag='-bnoentry'
8436 # When large executables or shared objects are built, AIX ld can
8437 # have problems creating the table of contents. If linking a library
8438 # or program results in "error TOC overflow" add -mminimal-toc to
8439 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8440 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8444 hardcode_direct_absolute=yes
8445 hardcode_libdir_separator=':'
8446 link_all_deplibs=yes
8447 file_list_spec='${wl}-f,'
8449 if test "$GCC" = yes; then
8450 case $host_os in aix4.[012]|aix4.[012].*)
8451 # We only want to do this on AIX 4.2 and lower, the check
8452 # below for broken collect2 doesn't work under 4.3+
8453 collect2name=`${CC} -print-prog-name=collect2`
8454 if test -f "$collect2name" &&
8455 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8457 # We have reworked collect2
8460 # We have old collect2
8461 hardcode_direct=unsupported
8462 # It fails to find uninstalled libraries when the uninstalled
8463 # path is not listed in the libpath. Setting hardcode_minus_L
8464 # to unsupported forces relinking
8465 hardcode_minus_L=yes
8466 hardcode_libdir_flag_spec='-L$libdir'
8467 hardcode_libdir_separator=
8471 shared_flag='-shared'
8472 if test "$aix_use_runtimelinking" = yes; then
8473 shared_flag="$shared_flag "'${wl}-G'
8477 if test "$host_cpu" = ia64; then
8478 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8479 # chokes on -Wl,-G. The following line is correct:
8482 if test "$aix_use_runtimelinking" = yes; then
8483 shared_flag='${wl}-G'
8485 shared_flag='${wl}-bM:SRE'
8490 # It seems that -bexpall does not export symbols beginning with
8491 # underscore (_), so it is better to generate a list of symbols to export.
8492 always_export_symbols=yes
8493 if test "$aix_use_runtimelinking" = yes; then
8494 # Warning - without using the other runtime loading flags (-brtl),
8495 # -berok will link without error, but may produce a broken library.
8496 allow_undefined_flag='-berok'
8497 # Determine the default libpath from the value encoded in an
8499 cat >conftest.$ac_ext <<_ACEOF
8502 cat confdefs.h >>conftest.$ac_ext
8503 cat >>conftest.$ac_ext <<_ACEOF
8504 /* end confdefs.h. */
8514 rm -f conftest.$ac_objext conftest$ac_exeext
8515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8516 (eval $ac_link) 2>conftest.er1
8518 grep -v '^ *+' conftest.er1 >conftest.err
8520 cat conftest.err >&5
8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 (exit $ac_status); } &&
8523 { ac_try='test -z "$ac_c_werror_flag"
8524 || test ! -s conftest.err'
8525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); }; } &&
8530 { ac_try='test -s conftest$ac_exeext'
8531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8535 (exit $ac_status); }; }; then
8537 lt_aix_libpath_sed='
8538 /Import File Strings/,/^$/ {
8544 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8545 # Check for a 64-bit object if we didn't find anything.
8546 if test -z "$aix_libpath"; then
8547 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8550 echo "$as_me: failed program was:" >&5
8551 sed 's/^/| /' conftest.$ac_ext >&5
8554 rm -f conftest.err conftest.$ac_objext \
8555 conftest$ac_exeext conftest.$ac_ext
8556 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8558 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8559 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"
8561 if test "$host_cpu" = ia64; then
8562 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8563 allow_undefined_flag="-z nodefs"
8564 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"
8566 # Determine the default libpath from the value encoded in an
8568 cat >conftest.$ac_ext <<_ACEOF
8571 cat confdefs.h >>conftest.$ac_ext
8572 cat >>conftest.$ac_ext <<_ACEOF
8573 /* end confdefs.h. */
8583 rm -f conftest.$ac_objext conftest$ac_exeext
8584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8585 (eval $ac_link) 2>conftest.er1
8587 grep -v '^ *+' conftest.er1 >conftest.err
8589 cat conftest.err >&5
8590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8591 (exit $ac_status); } &&
8592 { ac_try='test -z "$ac_c_werror_flag"
8593 || test ! -s conftest.err'
8594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598 (exit $ac_status); }; } &&
8599 { ac_try='test -s conftest$ac_exeext'
8600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604 (exit $ac_status); }; }; then
8606 lt_aix_libpath_sed='
8607 /Import File Strings/,/^$/ {
8613 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8614 # Check for a 64-bit object if we didn't find anything.
8615 if test -z "$aix_libpath"; then
8616 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8619 echo "$as_me: failed program was:" >&5
8620 sed 's/^/| /' conftest.$ac_ext >&5
8623 rm -f conftest.err conftest.$ac_objext \
8624 conftest$ac_exeext conftest.$ac_ext
8625 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8627 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8628 # Warning - without using the other run time loading flags,
8629 # -berok will link without error, but may produce a broken library.
8630 no_undefined_flag=' ${wl}-bernotok'
8631 allow_undefined_flag=' ${wl}-berok'
8632 # Exported symbols can be pulled into shared objects from archives
8633 whole_archive_flag_spec='$convenience'
8634 archive_cmds_need_lc=yes
8635 # This is similar to how AIX traditionally builds its shared libraries.
8636 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'
8642 if test "$host_cpu" = m68k; then
8643 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)'
8644 hardcode_libdir_flag_spec='-L$libdir'
8645 hardcode_minus_L=yes
8647 # see comment about different semantics on the GNU ld section
8652 export_dynamic_flag_spec=-rdynamic
8655 cygwin* | mingw* | pw32*)
8656 # When not using gcc, we currently assume that we are using
8657 # Microsoft Visual C++.
8658 # hardcode_libdir_flag_spec is actually meaningless, as there is
8659 # no search path for DLLs.
8660 hardcode_libdir_flag_spec=' '
8661 allow_undefined_flag=unsupported
8662 # Tell ltmain to make .lib files, not .a files.
8664 # Tell ltmain to make .dll files, not .so files.
8666 # FIXME: Setting linknames here is a bad hack.
8667 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8668 # The linker will automatically build a .lib file if we build a DLL.
8669 old_archive_from_new_cmds='true'
8670 # FIXME: Should let the user specify the lib program.
8671 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8672 fix_srcfile_path='`cygpath -w "$srcfile"`'
8673 enable_shared_with_static_runtimes=yes
8676 darwin* | rhapsody*)
8678 rhapsody* | darwin1.[012])
8679 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8682 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8684 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8687 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8692 archive_cmds_need_lc=no
8694 hardcode_automatic=yes
8695 hardcode_shlibpath_var=unsupported
8696 whole_archive_flag_spec=''
8697 link_all_deplibs=yes
8698 if test "$GCC" = yes ; then
8699 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8700 echo $ECHO_N "(cached) $ECHO_C" >&6
8702 lt_cv_apple_cc_single_mod=no
8703 if test -z "${LT_MULTI_MODULE}"; then
8704 # By default we will add the -single_module flag. You can override
8705 # by either setting the environment variable LT_MULTI_MODULE
8706 # non-empty at configure time, or by adding -multi-module to the
8708 echo "int foo(void){return 1;}" > conftest.c
8709 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8710 -dynamiclib ${wl}-single_module conftest.c
8711 if test -f libconftest.dylib; then
8712 lt_cv_apple_cc_single_mod=yes
8713 rm libconftest.dylib
8719 output_verbose_link_cmd=echo
8720 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8721 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8722 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8724 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8725 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8727 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8728 module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8730 case $cc_basename in
8732 output_verbose_link_cmd=echo
8733 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8734 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8735 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8736 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8737 module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8747 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8748 hardcode_libdir_flag_spec='-L$libdir'
8749 hardcode_shlibpath_var=no
8756 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8757 # support. Future versions do this automatically, but an explicit c++rt0.o
8758 # does not break anything, and helps significantly (at the cost of a little
8761 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8762 hardcode_libdir_flag_spec='-R$libdir'
8764 hardcode_shlibpath_var=no
8767 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8769 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8771 hardcode_minus_L=yes
8772 hardcode_shlibpath_var=no
8775 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8776 freebsd* | dragonfly*)
8777 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8778 hardcode_libdir_flag_spec='-R$libdir'
8780 hardcode_shlibpath_var=no
8784 if test "$GCC" = yes; then
8785 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'
8787 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'
8789 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8790 hardcode_libdir_separator=:
8793 # hardcode_minus_L: Not really in the search PATH,
8794 # but as the default location of the library.
8795 hardcode_minus_L=yes
8796 export_dynamic_flag_spec='${wl}-E'
8800 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8801 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8803 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8805 if test "$with_gnu_ld" = no; then
8806 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8807 hardcode_libdir_flag_spec_ld='+b $libdir'
8808 hardcode_libdir_separator=:
8810 hardcode_direct_absolute=yes
8811 export_dynamic_flag_spec='${wl}-E'
8812 # hardcode_minus_L: Not really in the search PATH,
8813 # but as the default location of the library.
8814 hardcode_minus_L=yes
8819 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8822 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8825 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8828 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8834 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8837 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8840 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8844 if test "$with_gnu_ld" = no; then
8845 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8846 hardcode_libdir_separator=:
8851 hardcode_shlibpath_var=no
8855 hardcode_direct_absolute=yes
8856 export_dynamic_flag_spec='${wl}-E'
8858 # hardcode_minus_L: Not really in the search PATH,
8859 # but as the default location of the library.
8860 hardcode_minus_L=yes
8866 irix5* | irix6* | nonstopux*)
8867 if test "$GCC" = yes; then
8868 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'
8869 # Try to use the -exported_symbol ld option, if it does not
8870 # work, assume that -exports_file does not work either and
8871 # implicitly export all symbols.
8872 save_LDFLAGS="$LDFLAGS"
8873 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8874 cat >conftest.$ac_ext <<_ACEOF
8877 rm -f conftest.$ac_objext conftest$ac_exeext
8878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8879 (eval $ac_link) 2>conftest.er1
8881 grep -v '^ *+' conftest.er1 >conftest.err
8883 cat conftest.err >&5
8884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885 (exit $ac_status); } &&
8886 { ac_try='test -z "$ac_c_werror_flag"
8887 || test ! -s conftest.err'
8888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892 (exit $ac_status); }; } &&
8893 { ac_try='test -s conftest$ac_exeext'
8894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 (exit $ac_status); }; }; then
8899 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'
8902 echo "$as_me: failed program was:" >&5
8903 sed 's/^/| /' conftest.$ac_ext >&5
8906 rm -f conftest.err conftest.$ac_objext \
8907 conftest$ac_exeext conftest.$ac_ext
8908 LDFLAGS="$save_LDFLAGS"
8910 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'
8911 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'
8913 archive_cmds_need_lc='no'
8914 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8915 hardcode_libdir_separator=:
8917 link_all_deplibs=yes
8921 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8922 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8924 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8926 hardcode_libdir_flag_spec='-R$libdir'
8928 hardcode_shlibpath_var=no
8932 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8934 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8935 hardcode_libdir_separator=:
8936 hardcode_shlibpath_var=no
8944 hardcode_shlibpath_var=no
8945 hardcode_direct_absolute=yes
8946 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8947 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8948 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8949 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8950 export_dynamic_flag_spec='${wl}-E'
8953 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8954 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8955 hardcode_libdir_flag_spec='-R$libdir'
8958 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8959 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8966 hardcode_libdir_flag_spec='-L$libdir'
8967 hardcode_minus_L=yes
8968 allow_undefined_flag=unsupported
8969 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'
8970 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8974 if test "$GCC" = yes; then
8975 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8976 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'
8978 allow_undefined_flag=' -expect_unresolved \*'
8979 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'
8981 archive_cmds_need_lc='no'
8982 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8983 hardcode_libdir_separator=:
8986 osf4* | osf5*) # as osf3* with the addition of -msym flag
8987 if test "$GCC" = yes; then
8988 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8989 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'
8990 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8992 allow_undefined_flag=' -expect_unresolved \*'
8993 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'
8994 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~
8995 $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'
8997 # Both c and cxx compiler support -rpath directly
8998 hardcode_libdir_flag_spec='-rpath $libdir'
9000 archive_cmds_need_lc='no'
9001 hardcode_libdir_separator=:
9005 no_undefined_flag=' -z defs'
9006 if test "$GCC" = yes; then
9008 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9009 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9010 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9012 case `$CC -V 2>&1` in
9015 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9016 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9017 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9021 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9022 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9023 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9027 hardcode_libdir_flag_spec='-R$libdir'
9028 hardcode_shlibpath_var=no
9030 solaris2.[0-5] | solaris2.[0-5].*) ;;
9032 # The compiler driver will combine and reorder linker options,
9033 # but understands `-z linker_flag'. GCC discards it without `$wl',
9034 # but is careful enough not to reorder.
9035 # Supported since Solaris 2.6 (maybe 2.5.1?)
9036 if test "$GCC" = yes; then
9037 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9039 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9043 link_all_deplibs=yes
9047 if test "x$host_vendor" = xsequent; then
9048 # Use $CC to link under sequent, because it throws in some extra .o
9049 # files that make .init and .fini sections work.
9050 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9052 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9054 hardcode_libdir_flag_spec='-L$libdir'
9056 hardcode_minus_L=yes
9057 hardcode_shlibpath_var=no
9061 case $host_vendor in
9063 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9064 hardcode_direct=yes # is this really true???
9067 ## LD is ld it makes a PLAMLIB
9068 ## CC just makes a GrossModule.
9069 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9070 reload_cmds='$CC -r -o $output$reload_objs'
9074 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9075 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9078 runpath_var='LD_RUN_PATH'
9079 hardcode_shlibpath_var=no
9083 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9084 hardcode_shlibpath_var=no
9085 export_dynamic_flag_spec='-Bexport'
9089 if test -d /usr/nec; then
9090 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9091 hardcode_shlibpath_var=no
9092 runpath_var=LD_RUN_PATH
9093 hardcode_runpath_var=yes
9098 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9099 no_undefined_flag='${wl}-z,text'
9100 archive_cmds_need_lc=no
9101 hardcode_shlibpath_var=no
9102 runpath_var='LD_RUN_PATH'
9104 if test "$GCC" = yes; then
9105 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9106 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9108 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9109 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9113 sysv5* | sco3.2v5* | sco5v6*)
9114 # Note: We can NOT use -z defs as we might desire, because we do not
9115 # link with -lc, and that would cause any symbols used from libc to
9116 # always be unresolved, which means just about no library would
9117 # ever link correctly. If we're not using GNU ld we use -z text
9118 # though, which does catch some bad symbols but isn't as heavy-handed
9120 no_undefined_flag='${wl}-z,text'
9121 allow_undefined_flag='${wl}-z,nodefs'
9122 archive_cmds_need_lc=no
9123 hardcode_shlibpath_var=no
9124 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9125 hardcode_libdir_separator=':'
9126 link_all_deplibs=yes
9127 export_dynamic_flag_spec='${wl}-Bexport'
9128 runpath_var='LD_RUN_PATH'
9130 if test "$GCC" = yes; then
9131 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9132 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9134 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9135 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9140 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9141 hardcode_libdir_flag_spec='-L$libdir'
9142 hardcode_shlibpath_var=no
9150 if test x$host_vendor = xsni; then
9152 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9153 export_dynamic_flag_spec='${wl}-Blargedynsym'
9159 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9160 echo "${ECHO_T}$ld_shlibs" >&6
9161 test "$ld_shlibs" = no && can_build_shared=no
9163 with_gnu_ld=$with_gnu_ld
9180 # Do we need to explicitly link libc?
9182 case "x$archive_cmds_need_lc" in
9184 # Assume -lc should be added
9185 archive_cmds_need_lc=yes
9187 if test "$enable_shared" = yes && test "$GCC" = yes; then
9188 case $archive_cmds in
9190 # FIXME: we may have to deal with multi-command sequences.
9193 # Test whether the compiler implicitly links with -lc since on some
9194 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9195 # to ld, don't add -lc before -lgcc.
9196 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9197 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9199 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9202 (eval $ac_compile) 2>&5
9204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205 (exit $ac_status); } 2>conftest.err; then
9208 libobjs=conftest.$ac_objext
9210 wl=$lt_prog_compiler_wl
9211 pic_flag=$lt_prog_compiler_pic
9217 lt_save_allow_undefined_flag=$allow_undefined_flag
9218 allow_undefined_flag=
9219 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9220 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223 (exit $ac_status); }
9225 archive_cmds_need_lc=no
9227 archive_cmds_need_lc=yes
9229 allow_undefined_flag=$lt_save_allow_undefined_flag
9231 cat conftest.err 1>&5
9234 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9235 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9398 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9399 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9401 if test "$withGCC" = yes; then
9403 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9404 *) lt_awk_arg="/^libraries:/" ;;
9406 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9407 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9408 # if the path contains ";" then we assume it to be the separator
9409 # otherwise default to the standard path separator (i.e. ":") - it is
9410 # assumed that no part of a normal pathname contains ";" but that should
9411 # okay in the real world where ";" in dirpaths is itself problematic.
9412 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9414 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9416 # Ok, now we have the path, separated by spaces, we can step through it
9417 # and add multilib dir if necessary.
9418 lt_tmp_lt_search_path_spec=
9419 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9420 for lt_sys_path in $lt_search_path_spec; do
9421 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9422 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9424 test -d "$lt_sys_path" && \
9425 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9428 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9429 BEGIN {RS=" "; FS="/|\n";} {
9432 for (lt_i = NF; lt_i > 0; lt_i--) {
9433 if ($lt_i != "" && $lt_i != ".") {
9434 if ($lt_i == "..") {
9437 if (lt_count == 0) {
9438 lt_foo="/" $lt_i lt_foo;
9445 if (lt_foo != "") { lt_freq[lt_foo]++; }
9446 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9448 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9450 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9453 libname_spec='lib$name'
9461 shlibpath_overrides_runpath=unknown
9463 dynamic_linker="$host_os ld.so"
9464 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9465 need_lib_prefix=unknown
9466 hardcode_into_libs=no
9468 # when you set need_version to no, make sure it does not cause -set_version
9469 # flags to be left without arguments
9470 need_version=unknown
9475 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9476 shlibpath_var=LIBPATH
9478 # AIX 3 has no versioning support, so we append a major version to the name.
9479 soname_spec='${libname}${release}${shared_ext}$major'
9486 hardcode_into_libs=yes
9487 if test "$host_cpu" = ia64; then
9488 # AIX 5 supports IA64
9489 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9490 shlibpath_var=LD_LIBRARY_PATH
9492 # With GCC up to 2.95.x, collect2 would create an import file
9493 # for dependence libraries. The import file would start with
9494 # the line `#! .'. This would cause the generated library to
9495 # depend on `.', always an invalid library. This was fixed in
9496 # development snapshots of GCC prior to 3.0.
9498 aix4 | aix4.[01] | aix4.[01].*)
9499 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9501 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9508 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9509 # soname into executable. Probably we can add versioning support to
9510 # collect2, so additional links can be useful in future.
9511 if test "$aix_use_runtimelinking" = yes; then
9512 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9513 # instead of lib<name>.a to let people know that these are not
9514 # typical AIX shared libraries.
9515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9517 # We preserve .a as extension for shared libraries through AIX4.2
9518 # and later when we are not doing run time linking.
9519 library_names_spec='${libname}${release}.a $libname.a'
9520 soname_spec='${libname}${release}${shared_ext}$major'
9522 shlibpath_var=LIBPATH
9527 if test "$host_cpu" = m68k; then
9528 library_names_spec='$libname.ixlibrary $libname.a'
9529 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9530 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'
9537 library_names_spec='${libname}${shared_ext}'
9538 dynamic_linker="$host_os ld.so"
9539 shlibpath_var=LIBRARY_PATH
9545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9546 soname_spec='${libname}${release}${shared_ext}$major'
9547 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9548 shlibpath_var=LD_LIBRARY_PATH
9549 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9550 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9551 # the default ld.so.conf also contains /usr/contrib/lib and
9552 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9553 # libtool to hard-code these into programs
9556 cygwin* | mingw* | pw32*)
9557 version_type=windows
9562 case $withGCC,$host_os in
9563 yes,cygwin* | yes,mingw* | yes,pw32*)
9564 library_names_spec='$libname.dll.a'
9565 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9566 postinstall_cmds='base_file=`basename \${file}`~
9567 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9568 dldir=$destdir/`dirname \$dlpath`~
9569 test -d \$dldir || mkdir -p \$dldir~
9570 $install_prog $dir/$dlname \$dldir/$dlname~
9571 chmod a+x \$dldir/$dlname~
9572 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9573 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9575 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9576 dlpath=$dir/\$dldll~
9578 shlibpath_overrides_runpath=yes
9582 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9583 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9584 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9587 # MinGW DLLs use traditional 'lib' prefix
9588 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9589 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9590 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9591 # It is most probably a Windows format PATH printed by
9592 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9593 # path with ; separators, and with drive letters. We can handle the
9594 # drive letters (cygwin fileutils understands them), so leave them,
9595 # especially as we might pass files found there to a mingw objdump,
9596 # which wouldn't understand a cygwinified path. Ahh.
9597 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9599 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9603 # pw32 DLLs use 'pw' prefix rather than 'lib'
9604 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9610 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9613 dynamic_linker='Win32 ld.exe'
9614 # FIXME: first we should search . and the directory the executable is in
9618 darwin* | rhapsody*)
9619 dynamic_linker="$host_os dyld"
9623 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9624 soname_spec='${libname}${release}${major}$shared_ext'
9625 shlibpath_overrides_runpath=yes
9626 shlibpath_var=DYLD_LIBRARY_PATH
9627 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9629 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9630 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9638 soname_spec='${libname}${release}${shared_ext}$major'
9639 shlibpath_var=LD_LIBRARY_PATH
9646 freebsd* | dragonfly*)
9647 # DragonFly does not have aout. When/if they implement a new
9648 # versioning mechanism, adjust this.
9649 if test -x /usr/bin/objformat; then
9650 objformat=`/usr/bin/objformat`
9653 freebsd[123]*) objformat=aout ;;
9657 version_type=freebsd-$objformat
9658 case $version_type in
9660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9665 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9669 shlibpath_var=LD_LIBRARY_PATH
9672 shlibpath_overrides_runpath=yes
9674 freebsd3.[01]* | freebsdelf3.[01]*)
9675 shlibpath_overrides_runpath=yes
9676 hardcode_into_libs=yes
9678 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9679 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9680 shlibpath_overrides_runpath=no
9681 hardcode_into_libs=yes
9683 *) # from 4.6 on, and DragonFly
9684 shlibpath_overrides_runpath=yes
9685 hardcode_into_libs=yes
9694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9695 soname_spec='${libname}${release}${shared_ext}$major'
9696 shlibpath_var=LD_LIBRARY_PATH
9697 hardcode_into_libs=yes
9700 hpux9* | hpux10* | hpux11*)
9701 # Give a soname corresponding to the major version so that dld.sl refuses to
9702 # link against other versions.
9709 hardcode_into_libs=yes
9710 dynamic_linker="$host_os dld.so"
9711 shlibpath_var=LD_LIBRARY_PATH
9712 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9714 soname_spec='${libname}${release}${shared_ext}$major'
9715 if test "X$HPUX_IA64_MODE" = X32; then
9716 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9718 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9720 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9724 hardcode_into_libs=yes
9725 dynamic_linker="$host_os dld.sl"
9726 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9727 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9729 soname_spec='${libname}${release}${shared_ext}$major'
9730 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9731 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9735 dynamic_linker="$host_os dld.sl"
9736 shlibpath_var=SHLIB_PATH
9737 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9739 soname_spec='${libname}${release}${shared_ext}$major'
9742 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9743 postinstall_cmds='chmod 555 $lib'
9750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9751 soname_spec='${libname}${release}${shared_ext}$major'
9752 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9753 shlibpath_var=LD_LIBRARY_PATH
9754 shlibpath_overrides_runpath=no
9755 hardcode_into_libs=yes
9758 irix5* | irix6* | nonstopux*)
9760 nonstopux*) version_type=nonstopux ;;
9762 if test "$lt_cv_prog_gnu_ld" = yes; then
9770 soname_spec='${libname}${release}${shared_ext}$major'
9771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9773 irix5* | nonstopux*)
9777 case $LD in # libtool.m4 will add one of these switches to LD
9778 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9779 libsuff= shlibsuff= libmagic=32-bit;;
9780 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9781 libsuff=32 shlibsuff=N32 libmagic=N32;;
9782 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9783 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9784 *) libsuff= shlibsuff= libmagic=never-match;;
9788 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9789 shlibpath_overrides_runpath=no
9790 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9791 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9792 hardcode_into_libs=yes
9795 # No shared lib support for Linux oldld, aout, or coff.
9796 linux*oldld* | linux*aout* | linux*coff*)
9800 # This must be Linux ELF.
9801 linux* | k*bsd*-gnu)
9805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9806 soname_spec='${libname}${release}${shared_ext}$major'
9807 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9808 shlibpath_var=LD_LIBRARY_PATH
9809 shlibpath_overrides_runpath=no
9810 # Some binutils ld are patched to set DT_RUNPATH
9811 save_LDFLAGS=$LDFLAGS
9813 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9814 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9815 cat >conftest.$ac_ext <<_ACEOF
9818 cat confdefs.h >>conftest.$ac_ext
9819 cat >>conftest.$ac_ext <<_ACEOF
9820 /* end confdefs.h. */
9830 rm -f conftest.$ac_objext conftest$ac_exeext
9831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9832 (eval $ac_link) 2>conftest.er1
9834 grep -v '^ *+' conftest.er1 >conftest.err
9836 cat conftest.err >&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); } &&
9839 { ac_try='test -z "$ac_c_werror_flag"
9840 || test ! -s conftest.err'
9841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); }; } &&
9846 { ac_try='test -s conftest$ac_exeext'
9847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 (exit $ac_status); }; }; then
9852 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9853 shlibpath_overrides_runpath=yes
9857 echo "$as_me: failed program was:" >&5
9858 sed 's/^/| /' conftest.$ac_ext >&5
9861 rm -f conftest.err conftest.$ac_objext \
9862 conftest$ac_exeext conftest.$ac_ext
9863 LDFLAGS=$save_LDFLAGS
9866 # This implies no fast_install, which is unacceptable.
9867 # Some rework will be needed to allow for fast_install
9868 # before this can be enabled.
9869 hardcode_into_libs=yes
9871 # Append ld.so.conf contents to the search path
9872 if test -f /etc/ld.so.conf; then
9873 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9874 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9877 # We used to test for /lib/ld.so.1 and disable shared libraries on
9878 # powerpc, because MkLinux only supported shared libraries with the
9879 # GNU dynamic linker. Since this was broken with cross compilers,
9880 # most powerpc-linux boxes support dynamic linking these days and
9881 # people can always --disable-shared, the test was removed, and we
9882 # assume the GNU/Linux dynamic linker is in use.
9883 dynamic_linker='GNU/Linux ld.so'
9890 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9892 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9893 dynamic_linker='NetBSD (a.out) ld.so'
9895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9896 soname_spec='${libname}${release}${shared_ext}$major'
9897 dynamic_linker='NetBSD ld.elf_so'
9899 shlibpath_var=LD_LIBRARY_PATH
9900 shlibpath_overrides_runpath=yes
9901 hardcode_into_libs=yes
9906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9907 shlibpath_var=LD_LIBRARY_PATH
9908 shlibpath_overrides_runpath=yes
9915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9916 soname_spec='${libname}${release}${shared_ext}$major'
9917 shlibpath_var=LD_LIBRARY_PATH
9918 shlibpath_overrides_runpath=no
9919 hardcode_into_libs=yes
9920 dynamic_linker='ldqnx.so'
9925 sys_lib_dlsearch_path_spec="/usr/lib"
9927 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9929 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9930 *) need_version=no ;;
9932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9933 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9934 shlibpath_var=LD_LIBRARY_PATH
9935 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9937 openbsd2.[89] | openbsd2.[89].*)
9938 shlibpath_overrides_runpath=no
9941 shlibpath_overrides_runpath=yes
9945 shlibpath_overrides_runpath=yes
9950 libname_spec='$name'
9953 library_names_spec='$libname${shared_ext} $libname.a'
9954 dynamic_linker='OS/2 ld.exe'
9955 shlibpath_var=LIBPATH
9958 osf3* | osf4* | osf5*)
9962 soname_spec='${libname}${release}${shared_ext}$major'
9963 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9964 shlibpath_var=LD_LIBRARY_PATH
9965 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9966 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9978 soname_spec='${libname}${release}${shared_ext}$major'
9979 shlibpath_var=LD_LIBRARY_PATH
9980 shlibpath_overrides_runpath=yes
9981 hardcode_into_libs=yes
9982 # ldd complains unless libraries are executable
9983 postinstall_cmds='chmod +x $lib'
9988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9989 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9990 shlibpath_var=LD_LIBRARY_PATH
9991 shlibpath_overrides_runpath=yes
9992 if test "$with_gnu_ld" = yes; then
10000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10001 soname_spec='${libname}${release}${shared_ext}$major'
10002 shlibpath_var=LD_LIBRARY_PATH
10003 case $host_vendor in
10005 shlibpath_overrides_runpath=no
10007 runpath_var=LD_RUN_PATH
10015 shlibpath_overrides_runpath=no
10016 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10022 if test -d /usr/nec ;then
10024 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10025 soname_spec='$libname${shared_ext}.$major'
10026 shlibpath_var=LD_LIBRARY_PATH
10030 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10031 version_type=freebsd-elf
10034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10035 soname_spec='${libname}${release}${shared_ext}$major'
10036 shlibpath_var=LD_LIBRARY_PATH
10037 shlibpath_overrides_runpath=yes
10038 hardcode_into_libs=yes
10039 if test "$with_gnu_ld" = yes; then
10040 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10042 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10045 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10049 sys_lib_dlsearch_path_spec='/usr/lib'
10053 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10057 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10058 shlibpath_var=LD_LIBRARY_PATH
10059 shlibpath_overrides_runpath=no
10060 hardcode_into_libs=yes
10065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10066 soname_spec='${libname}${release}${shared_ext}$major'
10067 shlibpath_var=LD_LIBRARY_PATH
10074 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10075 echo "${ECHO_T}$dynamic_linker" >&6
10076 test "$dynamic_linker" = no && can_build_shared=no
10078 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10079 if test "$GCC" = yes; then
10080 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10169 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10170 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10172 if test -n "$hardcode_libdir_flag_spec" ||
10173 test -n "$runpath_var" ||
10174 test "X$hardcode_automatic" = "Xyes" ; then
10176 # We can hardcode non-existent directories.
10177 if test "$hardcode_direct" != no &&
10178 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10179 # have to relink, otherwise we might link with an installed library
10180 # when we should be linking with a yet-to-be-installed one
10181 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10182 test "$hardcode_minus_L" != no; then
10183 # Linking always hardcodes the temporary library directory.
10184 hardcode_action=relink
10186 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10187 hardcode_action=immediate
10190 # We cannot hardcode anything, or else we can only hardcode existing
10192 hardcode_action=unsupported
10194 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10195 echo "${ECHO_T}$hardcode_action" >&6
10197 if test "$hardcode_action" = relink ||
10198 test "$inherit_rpath" = yes; then
10199 # Fast installation is not supported
10200 enable_fast_install=no
10201 elif test "$shlibpath_overrides_runpath" = yes ||
10202 test "$enable_shared" = no; then
10203 # Fast installation is not necessary
10204 enable_fast_install=needless
10212 if test "x$enable_dlopen" != xyes; then
10213 enable_dlopen=unknown
10214 enable_dlopen_self=unknown
10215 enable_dlopen_self_static=unknown
10222 lt_cv_dlopen="load_add_on"
10224 lt_cv_dlopen_self=yes
10228 lt_cv_dlopen="LoadLibrary"
10233 lt_cv_dlopen="dlopen"
10238 # if libdl is installed we need to link against it
10239 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10240 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10241 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10242 echo $ECHO_N "(cached) $ECHO_C" >&6
10244 ac_check_lib_save_LIBS=$LIBS
10246 cat >conftest.$ac_ext <<_ACEOF
10249 cat confdefs.h >>conftest.$ac_ext
10250 cat >>conftest.$ac_ext <<_ACEOF
10251 /* end confdefs.h. */
10253 /* Override any gcc2 internal prototype to avoid an error. */
10257 /* We use char because int might match the return type of a gcc2
10258 builtin and then its argument prototype would still apply. */
10268 rm -f conftest.$ac_objext conftest$ac_exeext
10269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10270 (eval $ac_link) 2>conftest.er1
10272 grep -v '^ *+' conftest.er1 >conftest.err
10274 cat conftest.err >&5
10275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10276 (exit $ac_status); } &&
10277 { ac_try='test -z "$ac_c_werror_flag"
10278 || test ! -s conftest.err'
10279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10280 (eval $ac_try) 2>&5
10282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10283 (exit $ac_status); }; } &&
10284 { ac_try='test -s conftest$ac_exeext'
10285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10286 (eval $ac_try) 2>&5
10288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289 (exit $ac_status); }; }; then
10290 ac_cv_lib_dl_dlopen=yes
10292 echo "$as_me: failed program was:" >&5
10293 sed 's/^/| /' conftest.$ac_ext >&5
10295 ac_cv_lib_dl_dlopen=no
10297 rm -f conftest.err conftest.$ac_objext \
10298 conftest$ac_exeext conftest.$ac_ext
10299 LIBS=$ac_check_lib_save_LIBS
10301 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10302 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10303 if test $ac_cv_lib_dl_dlopen = yes; then
10304 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10307 lt_cv_dlopen="dyld"
10309 lt_cv_dlopen_self=yes
10316 echo "$as_me:$LINENO: checking for shl_load" >&5
10317 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10318 if test "${ac_cv_func_shl_load+set}" = set; then
10319 echo $ECHO_N "(cached) $ECHO_C" >&6
10321 cat >conftest.$ac_ext <<_ACEOF
10324 cat confdefs.h >>conftest.$ac_ext
10325 cat >>conftest.$ac_ext <<_ACEOF
10326 /* end confdefs.h. */
10327 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10329 #define shl_load innocuous_shl_load
10331 /* System header to define __stub macros and hopefully few prototypes,
10332 which can conflict with char shl_load (); below.
10333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10334 <limits.h> exists even on freestanding compilers. */
10337 # include <limits.h>
10339 # include <assert.h>
10344 /* Override any gcc2 internal prototype to avoid an error. */
10349 /* We use char because int might match the return type of a gcc2
10350 builtin and then its argument prototype would still apply. */
10352 /* The GNU C library defines this for functions which it implements
10353 to always fail with ENOSYS. Some functions are actually named
10354 something starting with __ and the normal name is an alias. */
10355 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10358 char (*f) () = shl_load;
10367 return f != shl_load;
10372 rm -f conftest.$ac_objext conftest$ac_exeext
10373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10374 (eval $ac_link) 2>conftest.er1
10376 grep -v '^ *+' conftest.er1 >conftest.err
10378 cat conftest.err >&5
10379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); } &&
10381 { ac_try='test -z "$ac_c_werror_flag"
10382 || test ! -s conftest.err'
10383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10384 (eval $ac_try) 2>&5
10386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387 (exit $ac_status); }; } &&
10388 { ac_try='test -s conftest$ac_exeext'
10389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10390 (eval $ac_try) 2>&5
10392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10393 (exit $ac_status); }; }; then
10394 ac_cv_func_shl_load=yes
10396 echo "$as_me: failed program was:" >&5
10397 sed 's/^/| /' conftest.$ac_ext >&5
10399 ac_cv_func_shl_load=no
10401 rm -f conftest.err conftest.$ac_objext \
10402 conftest$ac_exeext conftest.$ac_ext
10404 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10405 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10406 if test $ac_cv_func_shl_load = yes; then
10407 lt_cv_dlopen="shl_load"
10409 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10410 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10411 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10412 echo $ECHO_N "(cached) $ECHO_C" >&6
10414 ac_check_lib_save_LIBS=$LIBS
10416 cat >conftest.$ac_ext <<_ACEOF
10419 cat confdefs.h >>conftest.$ac_ext
10420 cat >>conftest.$ac_ext <<_ACEOF
10421 /* end confdefs.h. */
10423 /* Override any gcc2 internal prototype to avoid an error. */
10427 /* We use char because int might match the return type of a gcc2
10428 builtin and then its argument prototype would still apply. */
10438 rm -f conftest.$ac_objext conftest$ac_exeext
10439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10440 (eval $ac_link) 2>conftest.er1
10442 grep -v '^ *+' conftest.er1 >conftest.err
10444 cat conftest.err >&5
10445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10446 (exit $ac_status); } &&
10447 { ac_try='test -z "$ac_c_werror_flag"
10448 || test ! -s conftest.err'
10449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10450 (eval $ac_try) 2>&5
10452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10453 (exit $ac_status); }; } &&
10454 { ac_try='test -s conftest$ac_exeext'
10455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10456 (eval $ac_try) 2>&5
10458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 (exit $ac_status); }; }; then
10460 ac_cv_lib_dld_shl_load=yes
10462 echo "$as_me: failed program was:" >&5
10463 sed 's/^/| /' conftest.$ac_ext >&5
10465 ac_cv_lib_dld_shl_load=no
10467 rm -f conftest.err conftest.$ac_objext \
10468 conftest$ac_exeext conftest.$ac_ext
10469 LIBS=$ac_check_lib_save_LIBS
10471 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10472 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10473 if test $ac_cv_lib_dld_shl_load = yes; then
10474 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10476 echo "$as_me:$LINENO: checking for dlopen" >&5
10477 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10478 if test "${ac_cv_func_dlopen+set}" = set; then
10479 echo $ECHO_N "(cached) $ECHO_C" >&6
10481 cat >conftest.$ac_ext <<_ACEOF
10484 cat confdefs.h >>conftest.$ac_ext
10485 cat >>conftest.$ac_ext <<_ACEOF
10486 /* end confdefs.h. */
10487 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10489 #define dlopen innocuous_dlopen
10491 /* System header to define __stub macros and hopefully few prototypes,
10492 which can conflict with char dlopen (); below.
10493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10494 <limits.h> exists even on freestanding compilers. */
10497 # include <limits.h>
10499 # include <assert.h>
10504 /* Override any gcc2 internal prototype to avoid an error. */
10509 /* We use char because int might match the return type of a gcc2
10510 builtin and then its argument prototype would still apply. */
10512 /* The GNU C library defines this for functions which it implements
10513 to always fail with ENOSYS. Some functions are actually named
10514 something starting with __ and the normal name is an alias. */
10515 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10518 char (*f) () = dlopen;
10527 return f != dlopen;
10532 rm -f conftest.$ac_objext conftest$ac_exeext
10533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10534 (eval $ac_link) 2>conftest.er1
10536 grep -v '^ *+' conftest.er1 >conftest.err
10538 cat conftest.err >&5
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); } &&
10541 { ac_try='test -z "$ac_c_werror_flag"
10542 || test ! -s conftest.err'
10543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10544 (eval $ac_try) 2>&5
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); }; } &&
10548 { ac_try='test -s conftest$ac_exeext'
10549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10550 (eval $ac_try) 2>&5
10552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553 (exit $ac_status); }; }; then
10554 ac_cv_func_dlopen=yes
10556 echo "$as_me: failed program was:" >&5
10557 sed 's/^/| /' conftest.$ac_ext >&5
10559 ac_cv_func_dlopen=no
10561 rm -f conftest.err conftest.$ac_objext \
10562 conftest$ac_exeext conftest.$ac_ext
10564 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10565 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10566 if test $ac_cv_func_dlopen = yes; then
10567 lt_cv_dlopen="dlopen"
10569 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10570 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10571 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10572 echo $ECHO_N "(cached) $ECHO_C" >&6
10574 ac_check_lib_save_LIBS=$LIBS
10576 cat >conftest.$ac_ext <<_ACEOF
10579 cat confdefs.h >>conftest.$ac_ext
10580 cat >>conftest.$ac_ext <<_ACEOF
10581 /* end confdefs.h. */
10583 /* Override any gcc2 internal prototype to avoid an error. */
10587 /* We use char because int might match the return type of a gcc2
10588 builtin and then its argument prototype would still apply. */
10598 rm -f conftest.$ac_objext conftest$ac_exeext
10599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10600 (eval $ac_link) 2>conftest.er1
10602 grep -v '^ *+' conftest.er1 >conftest.err
10604 cat conftest.err >&5
10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606 (exit $ac_status); } &&
10607 { ac_try='test -z "$ac_c_werror_flag"
10608 || test ! -s conftest.err'
10609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10610 (eval $ac_try) 2>&5
10612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10613 (exit $ac_status); }; } &&
10614 { ac_try='test -s conftest$ac_exeext'
10615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10616 (eval $ac_try) 2>&5
10618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10619 (exit $ac_status); }; }; then
10620 ac_cv_lib_dl_dlopen=yes
10622 echo "$as_me: failed program was:" >&5
10623 sed 's/^/| /' conftest.$ac_ext >&5
10625 ac_cv_lib_dl_dlopen=no
10627 rm -f conftest.err conftest.$ac_objext \
10628 conftest$ac_exeext conftest.$ac_ext
10629 LIBS=$ac_check_lib_save_LIBS
10631 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10632 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10633 if test $ac_cv_lib_dl_dlopen = yes; then
10634 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10636 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10637 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10638 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10639 echo $ECHO_N "(cached) $ECHO_C" >&6
10641 ac_check_lib_save_LIBS=$LIBS
10642 LIBS="-lsvld $LIBS"
10643 cat >conftest.$ac_ext <<_ACEOF
10646 cat confdefs.h >>conftest.$ac_ext
10647 cat >>conftest.$ac_ext <<_ACEOF
10648 /* end confdefs.h. */
10650 /* Override any gcc2 internal prototype to avoid an error. */
10654 /* We use char because int might match the return type of a gcc2
10655 builtin and then its argument prototype would still apply. */
10665 rm -f conftest.$ac_objext conftest$ac_exeext
10666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10667 (eval $ac_link) 2>conftest.er1
10669 grep -v '^ *+' conftest.er1 >conftest.err
10671 cat conftest.err >&5
10672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 (exit $ac_status); } &&
10674 { ac_try='test -z "$ac_c_werror_flag"
10675 || test ! -s conftest.err'
10676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10677 (eval $ac_try) 2>&5
10679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10680 (exit $ac_status); }; } &&
10681 { ac_try='test -s conftest$ac_exeext'
10682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10683 (eval $ac_try) 2>&5
10685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 (exit $ac_status); }; }; then
10687 ac_cv_lib_svld_dlopen=yes
10689 echo "$as_me: failed program was:" >&5
10690 sed 's/^/| /' conftest.$ac_ext >&5
10692 ac_cv_lib_svld_dlopen=no
10694 rm -f conftest.err conftest.$ac_objext \
10695 conftest$ac_exeext conftest.$ac_ext
10696 LIBS=$ac_check_lib_save_LIBS
10698 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10699 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10700 if test $ac_cv_lib_svld_dlopen = yes; then
10701 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10703 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10704 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10705 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10706 echo $ECHO_N "(cached) $ECHO_C" >&6
10708 ac_check_lib_save_LIBS=$LIBS
10710 cat >conftest.$ac_ext <<_ACEOF
10713 cat confdefs.h >>conftest.$ac_ext
10714 cat >>conftest.$ac_ext <<_ACEOF
10715 /* end confdefs.h. */
10717 /* Override any gcc2 internal prototype to avoid an error. */
10721 /* We use char because int might match the return type of a gcc2
10722 builtin and then its argument prototype would still apply. */
10732 rm -f conftest.$ac_objext conftest$ac_exeext
10733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10734 (eval $ac_link) 2>conftest.er1
10736 grep -v '^ *+' conftest.er1 >conftest.err
10738 cat conftest.err >&5
10739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10740 (exit $ac_status); } &&
10741 { ac_try='test -z "$ac_c_werror_flag"
10742 || test ! -s conftest.err'
10743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10744 (eval $ac_try) 2>&5
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); }; } &&
10748 { ac_try='test -s conftest$ac_exeext'
10749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10750 (eval $ac_try) 2>&5
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); }; }; then
10754 ac_cv_lib_dld_dld_link=yes
10756 echo "$as_me: failed program was:" >&5
10757 sed 's/^/| /' conftest.$ac_ext >&5
10759 ac_cv_lib_dld_dld_link=no
10761 rm -f conftest.err conftest.$ac_objext \
10762 conftest$ac_exeext conftest.$ac_ext
10763 LIBS=$ac_check_lib_save_LIBS
10765 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10766 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10767 if test $ac_cv_lib_dld_dld_link = yes; then
10768 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10789 if test "x$lt_cv_dlopen" != xno; then
10795 case $lt_cv_dlopen in
10797 save_CPPFLAGS="$CPPFLAGS"
10798 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10800 save_LDFLAGS="$LDFLAGS"
10801 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10804 LIBS="$lt_cv_dlopen_libs $LIBS"
10806 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10807 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10808 if test "${lt_cv_dlopen_self+set}" = set; then
10809 echo $ECHO_N "(cached) $ECHO_C" >&6
10811 if test "$cross_compiling" = yes; then :
10812 lt_cv_dlopen_self=cross
10814 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10815 lt_status=$lt_dlunknown
10816 cat > conftest.$ac_ext <<_LT_EOF
10817 #line 10817 "configure"
10818 #include "confdefs.h"
10827 # define LT_DLGLOBAL RTLD_GLOBAL
10830 # define LT_DLGLOBAL DL_GLOBAL
10832 # define LT_DLGLOBAL 0
10836 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10837 find out it does not work in some platform. */
10838 #ifndef LT_DLLAZY_OR_NOW
10840 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10843 # define LT_DLLAZY_OR_NOW DL_LAZY
10846 # define LT_DLLAZY_OR_NOW RTLD_NOW
10849 # define LT_DLLAZY_OR_NOW DL_NOW
10851 # define LT_DLLAZY_OR_NOW 0
10859 extern "C" void exit (int);
10862 void fnord() { int i=42;}
10865 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10866 int status = $lt_dlunknown;
10870 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10871 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10872 /* dlclose (self); */
10880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10881 (eval $ac_link) 2>&5
10883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10885 (./conftest; exit; ) >&5 2>/dev/null
10887 case x$lt_status in
10888 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10889 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10890 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10893 # compilation failed
10894 lt_cv_dlopen_self=no
10901 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10902 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10904 if test "x$lt_cv_dlopen_self" = xyes; then
10905 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10906 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10907 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10908 if test "${lt_cv_dlopen_self_static+set}" = set; then
10909 echo $ECHO_N "(cached) $ECHO_C" >&6
10911 if test "$cross_compiling" = yes; then :
10912 lt_cv_dlopen_self_static=cross
10914 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10915 lt_status=$lt_dlunknown
10916 cat > conftest.$ac_ext <<_LT_EOF
10917 #line 10917 "configure"
10918 #include "confdefs.h"
10927 # define LT_DLGLOBAL RTLD_GLOBAL
10930 # define LT_DLGLOBAL DL_GLOBAL
10932 # define LT_DLGLOBAL 0
10936 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10937 find out it does not work in some platform. */
10938 #ifndef LT_DLLAZY_OR_NOW
10940 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10943 # define LT_DLLAZY_OR_NOW DL_LAZY
10946 # define LT_DLLAZY_OR_NOW RTLD_NOW
10949 # define LT_DLLAZY_OR_NOW DL_NOW
10951 # define LT_DLLAZY_OR_NOW 0
10959 extern "C" void exit (int);
10962 void fnord() { int i=42;}
10965 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10966 int status = $lt_dlunknown;
10970 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10971 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10972 /* dlclose (self); */
10980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10981 (eval $ac_link) 2>&5
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10985 (./conftest; exit; ) >&5 2>/dev/null
10987 case x$lt_status in
10988 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10989 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10990 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10993 # compilation failed
10994 lt_cv_dlopen_self_static=no
11001 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11002 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11005 CPPFLAGS="$save_CPPFLAGS"
11006 LDFLAGS="$save_LDFLAGS"
11011 case $lt_cv_dlopen_self in
11012 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11013 *) enable_dlopen_self=unknown ;;
11016 case $lt_cv_dlopen_self_static in
11017 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11018 *) enable_dlopen_self_static=unknown ;;
11040 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11041 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11042 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11043 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11044 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11045 echo "$as_me:$LINENO: result: yes" >&5
11046 echo "${ECHO_T}yes" >&6
11048 # FIXME - insert some real tests, host_os isn't really good enough
11051 if test -n "$STRIP" ; then
11052 striplib="$STRIP -x"
11053 old_striplib="$STRIP -S"
11054 echo "$as_me:$LINENO: result: yes" >&5
11055 echo "${ECHO_T}yes" >&6
11057 echo "$as_me:$LINENO: result: no" >&5
11058 echo "${ECHO_T}no" >&6
11062 echo "$as_me:$LINENO: result: no" >&5
11063 echo "${ECHO_T}no" >&6
11079 # Report which library types will actually be built
11080 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11081 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11082 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11083 echo "${ECHO_T}$can_build_shared" >&6
11085 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11086 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11087 test "$can_build_shared" = "no" && enable_shared=no
11089 # On AIX, shared libraries and static libraries use the same namespace, and
11090 # are all built from PIC.
11093 test "$enable_shared" = yes && enable_static=no
11094 if test -n "$RANLIB"; then
11095 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11096 postinstall_cmds='$RANLIB $lib'
11101 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11102 test "$enable_shared" = yes && enable_static=no
11106 echo "$as_me:$LINENO: result: $enable_shared" >&5
11107 echo "${ECHO_T}$enable_shared" >&6
11109 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11110 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11111 # Make sure either enable_shared or enable_static is yes.
11112 test "$enable_shared" = yes || enable_static=yes
11113 echo "$as_me:$LINENO: result: $enable_static" >&5
11114 echo "${ECHO_T}$enable_static" >&6
11121 ac_cpp='$CPP $CPPFLAGS'
11122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11140 ac_config_commands="$ac_config_commands libtool"
11145 # Only expand once:
11151 if test "${ac_cv_header_stdint_h+set}" = set; then
11152 echo "$as_me:$LINENO: checking for stdint.h" >&5
11153 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
11154 if test "${ac_cv_header_stdint_h+set}" = set; then
11155 echo $ECHO_N "(cached) $ECHO_C" >&6
11157 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
11158 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
11160 # Is the header compilable?
11161 echo "$as_me:$LINENO: checking stdint.h usability" >&5
11162 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6
11163 cat >conftest.$ac_ext <<_ACEOF
11166 cat confdefs.h >>conftest.$ac_ext
11167 cat >>conftest.$ac_ext <<_ACEOF
11168 /* end confdefs.h. */
11169 $ac_includes_default
11170 #include <stdint.h>
11172 rm -f conftest.$ac_objext
11173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11174 (eval $ac_compile) 2>conftest.er1
11176 grep -v '^ *+' conftest.er1 >conftest.err
11178 cat conftest.err >&5
11179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11180 (exit $ac_status); } &&
11181 { ac_try='test -z "$ac_c_werror_flag"
11182 || test ! -s conftest.err'
11183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11184 (eval $ac_try) 2>&5
11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); }; } &&
11188 { ac_try='test -s conftest.$ac_objext'
11189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11190 (eval $ac_try) 2>&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); }; }; then
11194 ac_header_compiler=yes
11196 echo "$as_me: failed program was:" >&5
11197 sed 's/^/| /' conftest.$ac_ext >&5
11199 ac_header_compiler=no
11201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11203 echo "${ECHO_T}$ac_header_compiler" >&6
11205 # Is the header present?
11206 echo "$as_me:$LINENO: checking stdint.h presence" >&5
11207 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6
11208 cat >conftest.$ac_ext <<_ACEOF
11211 cat confdefs.h >>conftest.$ac_ext
11212 cat >>conftest.$ac_ext <<_ACEOF
11213 /* end confdefs.h. */
11214 #include <stdint.h>
11216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11219 grep -v '^ *+' conftest.er1 >conftest.err
11221 cat conftest.err >&5
11222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223 (exit $ac_status); } >/dev/null; then
11224 if test -s conftest.err; then
11225 ac_cpp_err=$ac_c_preproc_warn_flag
11226 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11233 if test -z "$ac_cpp_err"; then
11234 ac_header_preproc=yes
11236 echo "$as_me: failed program was:" >&5
11237 sed 's/^/| /' conftest.$ac_ext >&5
11239 ac_header_preproc=no
11241 rm -f conftest.err conftest.$ac_ext
11242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11243 echo "${ECHO_T}$ac_header_preproc" >&6
11245 # So? What about this header?
11246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11248 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5
11249 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11250 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5
11251 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;}
11252 ac_header_preproc=yes
11255 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5
11256 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;}
11257 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5
11258 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;}
11259 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5
11260 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;}
11261 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5
11262 echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;}
11263 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5
11264 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
11265 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5
11266 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;}
11269 ## ------------------------------------- ##
11270 ## Report this to the libmudflap lists. ##
11271 ## ------------------------------------- ##
11274 sed "s/^/$as_me: WARNING: /" >&2
11277 echo "$as_me:$LINENO: checking for stdint.h" >&5
11278 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
11279 if test "${ac_cv_header_stdint_h+set}" = set; then
11280 echo $ECHO_N "(cached) $ECHO_C" >&6
11282 ac_cv_header_stdint_h=$ac_header_preproc
11284 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
11285 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
11288 if test $ac_cv_header_stdint_h = yes; then
11296 if test $MF_HAVE_STDINT_H = 1
11298 MF_HAVE_UINTPTR_T=1
11300 cat >conftest.$ac_ext <<_ACEOF
11303 cat confdefs.h >>conftest.$ac_ext
11304 cat >>conftest.$ac_ext <<_ACEOF
11305 /* end confdefs.h. */
11306 #include <sys/types.h>
11315 rm -f conftest.$ac_objext
11316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11317 (eval $ac_compile) 2>conftest.er1
11319 grep -v '^ *+' conftest.er1 >conftest.err
11321 cat conftest.err >&5
11322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11323 (exit $ac_status); } &&
11324 { ac_try='test -z "$ac_c_werror_flag"
11325 || test ! -s conftest.err'
11326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11327 (eval $ac_try) 2>&5
11329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330 (exit $ac_status); }; } &&
11331 { ac_try='test -s conftest.$ac_objext'
11332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11333 (eval $ac_try) 2>&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); }; }; then
11337 MF_HAVE_UINTPTR_T=1
11339 echo "$as_me: failed program was:" >&5
11340 sed 's/^/| /' conftest.$ac_ext >&5
11342 MF_HAVE_UINTPTR_T=0
11344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11350 # libmudflapth objects are built in this subdirectory
11355 for ac_header in pthread.h
11357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11359 echo "$as_me:$LINENO: checking for $ac_header" >&5
11360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11362 echo $ECHO_N "(cached) $ECHO_C" >&6
11364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11367 # Is the header compilable?
11368 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11369 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11370 cat >conftest.$ac_ext <<_ACEOF
11373 cat confdefs.h >>conftest.$ac_ext
11374 cat >>conftest.$ac_ext <<_ACEOF
11375 /* end confdefs.h. */
11376 $ac_includes_default
11377 #include <$ac_header>
11379 rm -f conftest.$ac_objext
11380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11381 (eval $ac_compile) 2>conftest.er1
11383 grep -v '^ *+' conftest.er1 >conftest.err
11385 cat conftest.err >&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); } &&
11388 { ac_try='test -z "$ac_c_werror_flag"
11389 || test ! -s conftest.err'
11390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11391 (eval $ac_try) 2>&5
11393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); }; } &&
11395 { ac_try='test -s conftest.$ac_objext'
11396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11397 (eval $ac_try) 2>&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); }; }; then
11401 ac_header_compiler=yes
11403 echo "$as_me: failed program was:" >&5
11404 sed 's/^/| /' conftest.$ac_ext >&5
11406 ac_header_compiler=no
11408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11409 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11410 echo "${ECHO_T}$ac_header_compiler" >&6
11412 # Is the header present?
11413 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11414 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11415 cat >conftest.$ac_ext <<_ACEOF
11418 cat confdefs.h >>conftest.$ac_ext
11419 cat >>conftest.$ac_ext <<_ACEOF
11420 /* end confdefs.h. */
11421 #include <$ac_header>
11423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11426 grep -v '^ *+' conftest.er1 >conftest.err
11428 cat conftest.err >&5
11429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11430 (exit $ac_status); } >/dev/null; then
11431 if test -s conftest.err; then
11432 ac_cpp_err=$ac_c_preproc_warn_flag
11433 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11440 if test -z "$ac_cpp_err"; then
11441 ac_header_preproc=yes
11443 echo "$as_me: failed program was:" >&5
11444 sed 's/^/| /' conftest.$ac_ext >&5
11446 ac_header_preproc=no
11448 rm -f conftest.err conftest.$ac_ext
11449 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11450 echo "${ECHO_T}$ac_header_preproc" >&6
11452 # So? What about this header?
11453 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11455 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11456 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11458 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11459 ac_header_preproc=yes
11462 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11463 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11464 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11465 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11466 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11467 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11468 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11469 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11471 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11472 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11473 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11476 ## ------------------------------------- ##
11477 ## Report this to the libmudflap lists. ##
11478 ## ------------------------------------- ##
11481 sed "s/^/$as_me: WARNING: /" >&2
11484 echo "$as_me:$LINENO: checking for $ac_header" >&5
11485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11487 echo $ECHO_N "(cached) $ECHO_C" >&6
11489 eval "$as_ac_Header=\$ac_header_preproc"
11491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11496 cat >>confdefs.h <<_ACEOF
11497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11505 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
11506 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
11507 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
11508 echo "$as_me:$LINENO: result: $target_thread_file" >&5
11509 echo "${ECHO_T}$target_thread_file" >&6
11511 # We only support posix threads, or no threads at all.
11513 case ${target_thread_file} in
11520 echo "${target_thread_file} is an unsupported thread package" 1>&2
11527 if test "x$posix_threads" != "x"; then
11529 LIBMUDFLAPTH_FALSE='#'
11531 LIBMUDFLAPTH_TRUE='#'
11532 LIBMUDFLAPTH_FALSE=
11535 if test "x$posix_threads" != "x"
11537 build_libmudflapth=1
11539 build_libmudflapth=0
11544 echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
11545 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
11546 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
11547 echo $ECHO_N "(cached) $ECHO_C" >&6
11549 ac_check_lib_save_LIBS=$LIBS
11551 cat >conftest.$ac_ext <<_ACEOF
11554 cat confdefs.h >>conftest.$ac_ext
11555 cat >>conftest.$ac_ext <<_ACEOF
11556 /* end confdefs.h. */
11558 /* Override any gcc2 internal prototype to avoid an error. */
11562 /* We use char because int might match the return type of a gcc2
11563 builtin and then its argument prototype would still apply. */
11573 rm -f conftest.$ac_objext conftest$ac_exeext
11574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11575 (eval $ac_link) 2>conftest.er1
11577 grep -v '^ *+' conftest.er1 >conftest.err
11579 cat conftest.err >&5
11580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11581 (exit $ac_status); } &&
11582 { ac_try='test -z "$ac_c_werror_flag"
11583 || test ! -s conftest.err'
11584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11585 (eval $ac_try) 2>&5
11587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11588 (exit $ac_status); }; } &&
11589 { ac_try='test -s conftest$ac_exeext'
11590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11591 (eval $ac_try) 2>&5
11593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11594 (exit $ac_status); }; }; then
11595 ac_cv_lib_dl_dlsym=yes
11597 echo "$as_me: failed program was:" >&5
11598 sed 's/^/| /' conftest.$ac_ext >&5
11600 ac_cv_lib_dl_dlsym=no
11602 rm -f conftest.err conftest.$ac_objext \
11603 conftest$ac_exeext conftest.$ac_ext
11604 LIBS=$ac_check_lib_save_LIBS
11606 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
11607 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
11608 if test $ac_cv_lib_dl_dlsym = yes; then
11609 cat >>confdefs.h <<_ACEOF
11610 #define HAVE_LIBDL 1
11618 # Calculate toolexeclibdir
11619 # Also toolexecdir, though it's only used in toolexeclibdir
11620 case ${version_specific_libs} in
11622 # Need the gcc compiler version to know where to install libraries
11623 # and header files if --enable-version-specific-runtime-libs option
11625 toolexecdir='$(libdir)/gcc/$(target_alias)'
11626 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
11629 if test -n "$with_cross_host" &&
11630 test x"$with_cross_host" != x"no"; then
11631 # Install a library built with a cross compiler in tooldir, not libdir.
11632 toolexecdir='$(exec_prefix)/$(target_alias)'
11633 toolexeclibdir='$(toolexecdir)/lib'
11635 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
11636 toolexeclibdir='$(libdir)'
11638 multi_os_directory=`$CC -print-multi-os-directory`
11639 case $multi_os_directory in
11640 .) ;; # Avoid trailing /.
11641 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
11648 includedir=${toolexecdir}/include
11651 pthread_create_version='""'
11652 if test "x$enable_shared" = "xyes" && test "x$posix_threads" != "x"; then
11653 # NB: don't check for -lpthread here, because then it would be
11654 # added to LIBS. For the thread-unaware libmudflap.la, we don't
11657 # glibc-related hacks. dlsym() may pick the wrong version of
11658 # interposed functions like pthread_create on modern glibc.
11659 # We need to find the proper symbol version string, and use
11660 # the nonstandard dlvsym().
11662 for ac_func in dlvsym
11664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11665 echo "$as_me:$LINENO: checking for $ac_func" >&5
11666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11667 if eval "test \"\${$as_ac_var+set}\" = set"; then
11668 echo $ECHO_N "(cached) $ECHO_C" >&6
11670 cat >conftest.$ac_ext <<_ACEOF
11673 cat confdefs.h >>conftest.$ac_ext
11674 cat >>conftest.$ac_ext <<_ACEOF
11675 /* end confdefs.h. */
11676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11678 #define $ac_func innocuous_$ac_func
11680 /* System header to define __stub macros and hopefully few prototypes,
11681 which can conflict with char $ac_func (); below.
11682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11683 <limits.h> exists even on freestanding compilers. */
11686 # include <limits.h>
11688 # include <assert.h>
11693 /* Override any gcc2 internal prototype to avoid an error. */
11698 /* We use char because int might match the return type of a gcc2
11699 builtin and then its argument prototype would still apply. */
11701 /* The GNU C library defines this for functions which it implements
11702 to always fail with ENOSYS. Some functions are actually named
11703 something starting with __ and the normal name is an alias. */
11704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11707 char (*f) () = $ac_func;
11716 return f != $ac_func;
11721 rm -f conftest.$ac_objext conftest$ac_exeext
11722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11723 (eval $ac_link) 2>conftest.er1
11725 grep -v '^ *+' conftest.er1 >conftest.err
11727 cat conftest.err >&5
11728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11729 (exit $ac_status); } &&
11730 { ac_try='test -z "$ac_c_werror_flag"
11731 || test ! -s conftest.err'
11732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11733 (eval $ac_try) 2>&5
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 (exit $ac_status); }; } &&
11737 { ac_try='test -s conftest$ac_exeext'
11738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11739 (eval $ac_try) 2>&5
11741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11742 (exit $ac_status); }; }; then
11743 eval "$as_ac_var=yes"
11745 echo "$as_me: failed program was:" >&5
11746 sed 's/^/| /' conftest.$ac_ext >&5
11748 eval "$as_ac_var=no"
11750 rm -f conftest.err conftest.$ac_objext \
11751 conftest$ac_exeext conftest.$ac_ext
11753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11755 if test `eval echo '${'$as_ac_var'}'` = yes; then
11756 cat >>confdefs.h <<_ACEOF
11757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11763 if test -n "$ac_tool_prefix"; then
11764 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
11765 set dummy ${ac_tool_prefix}nm; ac_word=$2
11766 echo "$as_me:$LINENO: checking for $ac_word" >&5
11767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11768 if test "${ac_cv_prog_NM+set}" = set; then
11769 echo $ECHO_N "(cached) $ECHO_C" >&6
11771 if test -n "$NM"; then
11772 ac_cv_prog_NM="$NM" # Let the user override the test.
11774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11775 for as_dir in $PATH
11778 test -z "$as_dir" && as_dir=.
11779 for ac_exec_ext in '' $ac_executable_extensions; do
11780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11781 ac_cv_prog_NM="${ac_tool_prefix}nm"
11782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11791 if test -n "$NM"; then
11792 echo "$as_me:$LINENO: result: $NM" >&5
11793 echo "${ECHO_T}$NM" >&6
11795 echo "$as_me:$LINENO: result: no" >&5
11796 echo "${ECHO_T}no" >&6
11800 if test -z "$ac_cv_prog_NM"; then
11802 # Extract the first word of "nm", so it can be a program name with args.
11803 set dummy nm; ac_word=$2
11804 echo "$as_me:$LINENO: checking for $ac_word" >&5
11805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11806 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
11807 echo $ECHO_N "(cached) $ECHO_C" >&6
11809 if test -n "$ac_ct_NM"; then
11810 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
11812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11813 for as_dir in $PATH
11816 test -z "$as_dir" && as_dir=.
11817 for ac_exec_ext in '' $ac_executable_extensions; do
11818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11819 ac_cv_prog_ac_ct_NM="nm"
11820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11828 ac_ct_NM=$ac_cv_prog_ac_ct_NM
11829 if test -n "$ac_ct_NM"; then
11830 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
11831 echo "${ECHO_T}$ac_ct_NM" >&6
11833 echo "$as_me:$LINENO: result: no" >&5
11834 echo "${ECHO_T}no" >&6
11839 NM="$ac_cv_prog_NM"
11842 if test "x$ac_cv_have_dlvsym" != "x"; then
11843 # Try compiling a simple pthreads program. Find the shared libraries it
11844 # ends up with. Then use "nm" on those libraries to extract the
11845 # default symbol versioning suffix ("@@"), if any. But that's tricky.
11846 # Rather, run nm on the resulting executable. Unfortunately, autoconf
11847 # doesn't appear to have a macro that builds a test executable for
11848 # subsequent analysis ... so we do it by hand here.
11849 cat >> conftest.c << EOF
11850 #include <pthread.h>
11851 int main () { void *p = (void *) & pthread_create; return (int) p; }
11854 LIBS="$LIBS -lpthread"
11855 pthread_create_version="\"\""
11856 echo "$as_me:$LINENO: checking pthread_create symbol version" >&5
11857 echo $ECHO_N "checking pthread_create symbol version... $ECHO_C" >&6
11858 if eval $ac_link 2>&5 && test -s conftest${ac_exeext}; then
11859 version=`$NM conftest${ac_exeect} | grep 'pthread_create@@' | sed -e 's/^.*@@//'`
11860 if test "x$version" != "x"; then
11861 pthread_create_version="\"$version\""
11864 echo "$as_me:$LINENO: result: $pthread_create_version" >&5
11865 echo "${ECHO_T}$pthread_create_version" >&6
11870 cat >>confdefs.h <<_ACEOF
11871 #define PTHREAD_CREATE_VERSION $pthread_create_version
11876 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
11877 # similarly to how libstdc++ does it
11878 ac_test_CFLAGS="${CFLAGS+set}"
11879 ac_save_CFLAGS="$CFLAGS"
11881 # Check for -ffunction-sections -fdata-sections
11882 echo "$as_me:$LINENO: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
11883 echo $ECHO_N "checking for gcc that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
11884 CFLAGS='-Werror -ffunction-sections -fdata-sections'
11885 cat >conftest.$ac_ext <<_ACEOF
11888 cat confdefs.h >>conftest.$ac_ext
11889 cat >>conftest.$ac_ext <<_ACEOF
11890 /* end confdefs.h. */
11900 rm -f conftest.$ac_objext
11901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11902 (eval $ac_compile) 2>conftest.er1
11904 grep -v '^ *+' conftest.er1 >conftest.err
11906 cat conftest.err >&5
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); } &&
11909 { ac_try='test -z "$ac_c_werror_flag"
11910 || test ! -s conftest.err'
11911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11912 (eval $ac_try) 2>&5
11914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 (exit $ac_status); }; } &&
11916 { ac_try='test -s conftest.$ac_objext'
11917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11918 (eval $ac_try) 2>&5
11920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 (exit $ac_status); }; }; then
11924 echo "$as_me: failed program was:" >&5
11925 sed 's/^/| /' conftest.$ac_ext >&5
11929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11930 if test "$ac_test_CFLAGS" = set; then
11931 CFLAGS="$ac_save_CFLAGS"
11933 # this is the suspicious part
11936 if test x"$ac_fdsections" = x"yes"; then
11937 SECTION_FLAGS='-ffunction-sections -fdata-sections'
11939 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
11940 echo "${ECHO_T}$ac_fdsections" >&6
11944 # Check for the name of the symbol used for the entry point.
11945 echo "$as_me:$LINENO: checking for the name of the symbol used for the entry point" >&5
11946 echo $ECHO_N "checking for the name of the symbol used for the entry point... $ECHO_C" >&6
11947 if test "${mudflap_cv_entry_point+set}" = set; then
11948 echo $ECHO_N "(cached) $ECHO_C" >&6
11951 for name in _start __start unknown; do
11952 cat >conftest.$ac_ext <<_ACEOF
11955 cat confdefs.h >>conftest.$ac_ext
11956 cat >>conftest.$ac_ext <<_ACEOF
11957 /* end confdefs.h. */
11958 extern char $name[];
11967 rm -f conftest.$ac_objext conftest$ac_exeext
11968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11969 (eval $ac_link) 2>conftest.er1
11971 grep -v '^ *+' conftest.er1 >conftest.err
11973 cat conftest.err >&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); } &&
11976 { ac_try='test -z "$ac_c_werror_flag"
11977 || test ! -s conftest.err'
11978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11979 (eval $ac_try) 2>&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); }; } &&
11983 { ac_try='test -s conftest$ac_exeext'
11984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11985 (eval $ac_try) 2>&5
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); }; }; then
11991 echo "$as_me: failed program was:" >&5
11992 sed 's/^/| /' conftest.$ac_ext >&5
11995 rm -f conftest.err conftest.$ac_objext \
11996 conftest$ac_exeext conftest.$ac_ext
11998 mudflap_cv_entry_point="$name"
12000 echo "$as_me:$LINENO: result: $mudflap_cv_entry_point" >&5
12001 echo "${ECHO_T}$mudflap_cv_entry_point" >&6
12002 if test "$mudflap_cv_entry_point" = unknown; then
12003 { { echo "$as_me:$LINENO: error: none of the known symbol names works" >&5
12004 echo "$as_me: error: none of the known symbol names works" >&2;}
12005 { (exit 1); exit 1; }; }
12008 cat >>confdefs.h <<_ACEOF
12009 #define ENTRY_POINT $mudflap_cv_entry_point
12014 if test ${multilib} = yes; then
12015 multilib_arg="--enable-multilib"
12020 # See if we support thread-local storage.
12022 # Check whether --enable-tls or --disable-tls was given.
12023 if test "${enable_tls+set}" = set; then
12024 enableval="$enable_tls"
12026 case "$enableval" in
12028 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
12029 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
12030 { (exit 1); exit 1; }; } ;;
12037 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
12038 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
12039 if test "${gcc_cv_have_tls+set}" = set; then
12040 echo $ECHO_N "(cached) $ECHO_C" >&6
12043 if test "$cross_compiling" = yes; then
12044 cat >conftest.$ac_ext <<_ACEOF
12045 __thread int a; int b; int main() { return a = b; }
12047 rm -f conftest.$ac_objext conftest$ac_exeext
12048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12049 (eval $ac_link) 2>conftest.er1
12051 grep -v '^ *+' conftest.er1 >conftest.err
12053 cat conftest.err >&5
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); } &&
12056 { ac_try='test -z "$ac_c_werror_flag"
12057 || test ! -s conftest.err'
12058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12059 (eval $ac_try) 2>&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); }; } &&
12063 { ac_try='test -s conftest$ac_exeext'
12064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12065 (eval $ac_try) 2>&5
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); }; }; then
12069 gcc_cv_have_tls=yes
12071 echo "$as_me: failed program was:" >&5
12072 sed 's/^/| /' conftest.$ac_ext >&5
12076 rm -f conftest.err conftest.$ac_objext \
12077 conftest$ac_exeext conftest.$ac_ext
12081 cat >conftest.$ac_ext <<_ACEOF
12082 __thread int a; int b; int main() { return a = b; }
12084 rm -f conftest$ac_exeext
12085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12086 (eval $ac_link) 2>&5
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12091 (eval $ac_try) 2>&5
12093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094 (exit $ac_status); }; }; then
12095 chktls_save_LDFLAGS="$LDFLAGS"
12096 LDFLAGS="-static $LDFLAGS"
12097 cat >conftest.$ac_ext <<_ACEOF
12098 int main() { return 0; }
12100 rm -f conftest.$ac_objext conftest$ac_exeext
12101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12102 (eval $ac_link) 2>conftest.er1
12104 grep -v '^ *+' conftest.er1 >conftest.err
12106 cat conftest.err >&5
12107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12108 (exit $ac_status); } &&
12109 { ac_try='test -z "$ac_c_werror_flag"
12110 || test ! -s conftest.err'
12111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12112 (eval $ac_try) 2>&5
12114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); }; } &&
12116 { ac_try='test -s conftest$ac_exeext'
12117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12118 (eval $ac_try) 2>&5
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); }; }; then
12122 if test "$cross_compiling" = yes; then
12123 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12124 See \`config.log' for more details." >&5
12125 echo "$as_me: error: cannot run test program while cross compiling
12126 See \`config.log' for more details." >&2;}
12127 { (exit 1); exit 1; }; }
12129 cat >conftest.$ac_ext <<_ACEOF
12130 __thread int a; int b; int main() { return a = b; }
12132 rm -f conftest$ac_exeext
12133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12134 (eval $ac_link) 2>&5
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12139 (eval $ac_try) 2>&5
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); }; }; then
12143 gcc_cv_have_tls=yes
12145 echo "$as_me: program exited with status $ac_status" >&5
12146 echo "$as_me: failed program was:" >&5
12147 sed 's/^/| /' conftest.$ac_ext >&5
12149 ( exit $ac_status )
12152 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12155 echo "$as_me: failed program was:" >&5
12156 sed 's/^/| /' conftest.$ac_ext >&5
12158 gcc_cv_have_tls=yes
12160 rm -f conftest.err conftest.$ac_objext \
12161 conftest$ac_exeext conftest.$ac_ext
12162 LDFLAGS="$chktls_save_LDFLAGS"
12163 if test $gcc_cv_have_tls = yes; then
12164 chktls_save_CFLAGS="$CFLAGS"
12165 thread_CFLAGS=failed
12166 for flag in '' '-pthread' '-lpthread'; do
12167 CFLAGS="$flag $chktls_save_CFLAGS"
12168 cat >conftest.$ac_ext <<_ACEOF
12171 cat confdefs.h >>conftest.$ac_ext
12172 cat >>conftest.$ac_ext <<_ACEOF
12173 /* end confdefs.h. */
12174 #include <pthread.h>
12175 void *g(void *d) { return NULL; }
12179 pthread_t t; pthread_create(&t,NULL,g,NULL);
12184 rm -f conftest.$ac_objext conftest$ac_exeext
12185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12186 (eval $ac_link) 2>conftest.er1
12188 grep -v '^ *+' conftest.er1 >conftest.err
12190 cat conftest.err >&5
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); } &&
12193 { ac_try='test -z "$ac_c_werror_flag"
12194 || test ! -s conftest.err'
12195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12196 (eval $ac_try) 2>&5
12198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12199 (exit $ac_status); }; } &&
12200 { ac_try='test -s conftest$ac_exeext'
12201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12202 (eval $ac_try) 2>&5
12204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12205 (exit $ac_status); }; }; then
12206 thread_CFLAGS="$flag"
12208 echo "$as_me: failed program was:" >&5
12209 sed 's/^/| /' conftest.$ac_ext >&5
12212 rm -f conftest.err conftest.$ac_objext \
12213 conftest$ac_exeext conftest.$ac_ext
12214 if test "X$thread_CFLAGS" != Xfailed; then
12218 CFLAGS="$chktls_save_CFLAGS"
12219 if test "X$thread_CFLAGS" != Xfailed; then
12220 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
12221 if test "$cross_compiling" = yes; then
12222 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12223 See \`config.log' for more details." >&5
12224 echo "$as_me: error: cannot run test program while cross compiling
12225 See \`config.log' for more details." >&2;}
12226 { (exit 1); exit 1; }; }
12228 cat >conftest.$ac_ext <<_ACEOF
12231 cat confdefs.h >>conftest.$ac_ext
12232 cat >>conftest.$ac_ext <<_ACEOF
12233 /* end confdefs.h. */
12234 #include <pthread.h>
12236 static int *a_in_other_thread;
12238 thread_func (void *arg)
12240 a_in_other_thread = &a;
12247 void *thread_retval;
12248 int *a_in_main_thread;
12249 if (pthread_create (&thread, (pthread_attr_t *)0,
12250 thread_func, (void *)0))
12252 a_in_main_thread = &a;
12253 if (pthread_join (thread, &thread_retval))
12255 return (a_in_other_thread == a_in_main_thread);
12260 rm -f conftest$ac_exeext
12261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12262 (eval $ac_link) 2>&5
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12267 (eval $ac_try) 2>&5
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); }; }; then
12271 gcc_cv_have_tls=yes
12273 echo "$as_me: program exited with status $ac_status" >&5
12274 echo "$as_me: failed program was:" >&5
12275 sed 's/^/| /' conftest.$ac_ext >&5
12277 ( exit $ac_status )
12280 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12282 CFLAGS="$chktls_save_CFLAGS"
12286 echo "$as_me: program exited with status $ac_status" >&5
12287 echo "$as_me: failed program was:" >&5
12288 sed 's/^/| /' conftest.$ac_ext >&5
12290 ( exit $ac_status )
12293 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12296 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
12297 echo "${ECHO_T}$gcc_cv_have_tls" >&6
12298 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
12300 cat >>confdefs.h <<\_ACEOF
12306 ac_config_files="$ac_config_files Makefile testsuite/Makefile testsuite/mfconfig.exp"
12308 cat >confcache <<\_ACEOF
12309 # This file is a shell script that caches the results of configure
12310 # tests run on this system so they can be shared between configure
12311 # scripts and configure runs, see configure's option --config-cache.
12312 # It is not useful on other systems. If it contains results you don't
12313 # want to keep, you may remove or edit it.
12315 # config.status only pays attention to the cache file if you give it
12316 # the --recheck option to rerun configure.
12318 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12319 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12320 # following values.
12324 # The following way of writing the cache mishandles newlines in values,
12325 # but we know of no workaround that is simple, portable, and efficient.
12326 # So, don't put newlines in cache variables' values.
12327 # Ultrix sh set writes to stderr and can't be redirected directly,
12328 # and sets the high bit in the cache file unless we assign to the vars.
12331 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12333 # `set' does not quote correctly, so add quotes (double-quote
12334 # substitution turns \\\\ into \\, and sed turns \\ into \).
12337 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12340 # `set' quotes correctly as required by POSIX, so do not add quotes.
12342 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12349 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12351 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12353 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12354 if test -w $cache_file; then
12355 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12356 cat confcache >$cache_file
12358 echo "not updating unwritable cache $cache_file"
12363 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12364 # Let make expand exec_prefix.
12365 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12367 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12368 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12369 # trailing colons and then remove the whole line if VPATH becomes empty
12370 # (actually we leave an empty line to preserve line numbers).
12371 if test "x$srcdir" = x.; then
12372 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12373 s/:*\$(srcdir):*/:/;
12374 s/:*\${srcdir}:*/:/;
12376 s/^\([^=]*=[ ]*\):*/\1/;
12382 DEFS=-DHAVE_CONFIG_H
12386 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12387 # 1. Remove the extension, and $U if already installed.
12388 ac_i=`echo "$ac_i" |
12389 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12391 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
12392 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
12394 LIBOBJS=$ac_libobjs
12396 LTLIBOBJS=$ac_ltlibobjs
12399 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12400 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12401 Usually this means the macro was only invoked conditionally." >&5
12402 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12403 Usually this means the macro was only invoked conditionally." >&2;}
12404 { (exit 1); exit 1; }; }
12406 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12407 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12408 Usually this means the macro was only invoked conditionally." >&5
12409 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12410 Usually this means the macro was only invoked conditionally." >&2;}
12411 { (exit 1); exit 1; }; }
12413 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12414 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12415 Usually this means the macro was only invoked conditionally." >&5
12416 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12417 Usually this means the macro was only invoked conditionally." >&2;}
12418 { (exit 1); exit 1; }; }
12420 if test -z "${LIBMUDFLAPTH_TRUE}" && test -z "${LIBMUDFLAPTH_FALSE}"; then
12421 { { echo "$as_me:$LINENO: error: conditional \"LIBMUDFLAPTH\" was never defined.
12422 Usually this means the macro was only invoked conditionally." >&5
12423 echo "$as_me: error: conditional \"LIBMUDFLAPTH\" was never defined.
12424 Usually this means the macro was only invoked conditionally." >&2;}
12425 { (exit 1); exit 1; }; }
12428 : ${CONFIG_STATUS=./config.status}
12429 ac_clean_files_save=$ac_clean_files
12430 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12431 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12432 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12433 cat >$CONFIG_STATUS <<_ACEOF
12435 # Generated by $as_me.
12436 # Run this file to recreate the current configuration.
12437 # Compiler output produced by configure, useful for debugging
12438 # configure, is in config.log if it exists.
12441 ac_cs_recheck=false
12443 SHELL=\${CONFIG_SHELL-$SHELL}
12446 cat >>$CONFIG_STATUS <<\_ACEOF
12447 ## --------------------- ##
12448 ## M4sh Initialization. ##
12449 ## --------------------- ##
12451 # Be Bourne compatible
12452 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12455 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12456 # is contrary to our usage. Disable this feature.
12457 alias -g '${1+"$@"}'='"$@"'
12458 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
12461 DUALCASE=1; export DUALCASE # for MKS sh
12463 # Support unset when possible.
12464 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12471 # Work around bugs in pre-3.0 UWIN ksh.
12472 $as_unset ENV MAIL MAILPATH
12479 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12480 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12481 LC_TELEPHONE LC_TIME
12483 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12484 eval $as_var=C; export $as_var
12490 # Required to use basename.
12491 if expr a : '\(a\)' >/dev/null 2>&1; then
12497 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
12498 as_basename=basename
12504 # Name of the executable.
12505 as_me=`$as_basename "$0" ||
12506 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12507 X"$0" : 'X\(//\)$' \| \
12508 X"$0" : 'X\(/\)$' \| \
12509 . : '\(.\)' 2>/dev/null ||
12511 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12512 /^X\/\(\/\/\)$/{ s//\1/; q; }
12513 /^X\/\(\/\).*/{ s//\1/; q; }
12517 # PATH needs CR, and LINENO needs CR and PATH.
12518 # Avoid depending upon Character Ranges.
12519 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12520 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12521 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12522 as_cr_digits='0123456789'
12523 as_cr_alnum=$as_cr_Letters$as_cr_digits
12525 # The user is always right.
12526 if test "${PATH_SEPARATOR+set}" != set; then
12527 echo "#! /bin/sh" >conf$$.sh
12528 echo "exit 0" >>conf$$.sh
12530 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12539 as_lineno_1=$LINENO
12540 as_lineno_2=$LINENO
12541 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12542 test "x$as_lineno_1" != "x$as_lineno_2" &&
12543 test "x$as_lineno_3" = "x$as_lineno_2" || {
12544 # Find who we are. Look in the path if we contain no path at all
12547 *[\\/]* ) as_myself=$0 ;;
12548 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12549 for as_dir in $PATH
12552 test -z "$as_dir" && as_dir=.
12553 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12558 # We did not find ourselves, most probably we were run as `sh COMMAND'
12559 # in which case we are not to be found in the path.
12560 if test "x$as_myself" = x; then
12563 if test ! -f "$as_myself"; then
12564 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12565 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12566 { (exit 1); exit 1; }; }
12568 case $CONFIG_SHELL in
12570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12571 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
12574 test -z "$as_dir" && as_dir=.
12575 for as_base in sh bash ksh sh5; do
12578 if ("$as_dir/$as_base" -c '
12579 as_lineno_1=$LINENO
12580 as_lineno_2=$LINENO
12581 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12582 test "x$as_lineno_1" != "x$as_lineno_2" &&
12583 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
12584 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
12585 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
12586 CONFIG_SHELL=$as_dir/$as_base
12587 export CONFIG_SHELL
12588 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12596 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12597 # uniformly replaced by the line number. The first 'sed' inserts a
12598 # line-number line before each line; the second 'sed' does the real
12599 # work. The second script uses 'N' to pair each line-number line
12600 # with the numbered line, and appends trailing '-' during
12601 # substitution so that $LINENO is not a special case at line end.
12602 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12603 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12604 sed '=' <$as_myself |
12609 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12612 s,^['$as_cr_digits']*\n,,
12613 ' >$as_me.lineno &&
12614 chmod +x $as_me.lineno ||
12615 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12616 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12617 { (exit 1); exit 1; }; }
12619 # Don't try to exec as it changes $[0], causing all sort of problems
12620 # (the dirname of $[0] is not the place where we might find the
12621 # original and so on. Autoconf is especially sensible to this).
12623 # Exit status is that of the last command.
12628 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12629 *c*,-n*) ECHO_N= ECHO_C='
12631 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
12632 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
12635 if expr a : '\(a\)' >/dev/null 2>&1; then
12641 rm -f conf$$ conf$$.exe conf$$.file
12643 if ln -s conf$$.file conf$$ 2>/dev/null; then
12644 # We could just check for DJGPP; but this test a) works b) is more generic
12645 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12646 if test -f conf$$.exe; then
12647 # Don't use ln at all; we don't have any links
12652 elif ln conf$$.file conf$$ 2>/dev/null; then
12657 rm -f conf$$ conf$$.exe conf$$.file
12659 if mkdir -p . 2>/dev/null; then
12662 test -d ./-p && rmdir ./-p
12666 as_executable_p="test -f"
12668 # Sed expression to map a string onto a valid CPP name.
12669 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12671 # Sed expression to map a string onto a valid variable name.
12672 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12676 # We need space, tab and new line, in precisely that order.
12686 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12687 # report actual input values of CONFIG_FILES etc. instead of their
12688 # values after options handling. Logging --version etc. is OK.
12692 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12693 ## Running $as_me. ##
12698 This file was extended by libmudflap $as_me 1.0, which was
12699 generated by GNU Autoconf 2.59. Invocation command line was
12701 CONFIG_FILES = $CONFIG_FILES
12702 CONFIG_HEADERS = $CONFIG_HEADERS
12703 CONFIG_LINKS = $CONFIG_LINKS
12704 CONFIG_COMMANDS = $CONFIG_COMMANDS
12708 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12712 # Files that config.status was made for.
12713 if test -n "$ac_config_files"; then
12714 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12717 if test -n "$ac_config_headers"; then
12718 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12721 if test -n "$ac_config_links"; then
12722 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12725 if test -n "$ac_config_commands"; then
12726 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12729 cat >>$CONFIG_STATUS <<\_ACEOF
12732 \`$as_me' instantiates files from templates according to the
12733 current configuration.
12735 Usage: $0 [OPTIONS] [FILE]...
12737 -h, --help print this help, then exit
12738 -V, --version print version number, then exit
12739 -q, --quiet do not print progress messages
12740 -d, --debug don't remove temporary files
12741 --recheck update $as_me by reconfiguring in the same conditions
12742 --file=FILE[:TEMPLATE]
12743 instantiate the configuration file FILE
12744 --header=FILE[:TEMPLATE]
12745 instantiate the configuration header FILE
12747 Configuration files:
12750 Configuration headers:
12753 Configuration commands:
12756 Report bugs to <bug-autoconf@gnu.org>."
12759 cat >>$CONFIG_STATUS <<_ACEOF
12761 libmudflap config.status 1.0
12762 configured by $0, generated by GNU Autoconf 2.59,
12763 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12765 Copyright (C) 2003 Free Software Foundation, Inc.
12766 This config.status script is free software; the Free Software Foundation
12767 gives unlimited permission to copy, distribute and modify it."
12772 cat >>$CONFIG_STATUS <<\_ACEOF
12773 # If no file are specified by the user, then we need to provide default
12774 # value. By we need to know if files were specified by the user.
12780 ac_option=`expr "x$1" : 'x\([^=]*\)='`
12781 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
12789 *) # This is not an option, so the user has probably given explicit
12792 ac_need_defaults=false;;
12796 # Handling of the options.
12798 cat >>$CONFIG_STATUS <<\_ACEOF
12799 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12801 --version | --vers* | -V )
12802 echo "$ac_cs_version"; exit 0 ;;
12804 # Conflict between --help and --header
12805 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12806 Try \`$0 --help' for more information." >&5
12807 echo "$as_me: error: ambiguous option: $1
12808 Try \`$0 --help' for more information." >&2;}
12809 { (exit 1); exit 1; }; };;
12810 --help | --hel | -h )
12811 echo "$ac_cs_usage"; exit 0 ;;
12812 --debug | --d* | -d )
12814 --file | --fil | --fi | --f )
12816 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12817 ac_need_defaults=false;;
12818 --header | --heade | --head | --hea )
12820 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12821 ac_need_defaults=false;;
12822 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12823 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12826 # This is an error.
12827 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12828 Try \`$0 --help' for more information." >&5
12829 echo "$as_me: error: unrecognized option: $1
12830 Try \`$0 --help' for more information." >&2;}
12831 { (exit 1); exit 1; }; } ;;
12833 *) ac_config_targets="$ac_config_targets $1" ;;
12839 ac_configure_extra_args=
12841 if $ac_cs_silent; then
12843 ac_configure_extra_args="$ac_configure_extra_args --silent"
12847 cat >>$CONFIG_STATUS <<_ACEOF
12848 if \$ac_cs_recheck; then
12849 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12850 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12855 cat >>$CONFIG_STATUS <<_ACEOF
12857 # INIT-COMMANDS section.
12864 with_multisubdir="$with_multisubdir"
12865 with_multisrctop="$with_multisrctop"
12866 with_target_subdir="$with_target_subdir"
12867 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12868 multi_basedir="$multi_basedir"
12869 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12871 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12874 # The HP-UX ksh and POSIX shell print the target directory to stdout
12875 # if CDPATH is set.
12876 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12878 sed_quote_subst='$sed_quote_subst'
12879 double_quote_subst='$double_quote_subst'
12880 delay_variable_subst='$delay_variable_subst'
12881 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12882 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12883 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12884 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12885 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12886 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12887 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12888 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12889 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12890 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12891 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12892 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12893 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12894 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12895 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12896 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12897 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12898 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12899 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12900 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12901 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12902 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12903 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12904 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12905 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12906 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12907 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12908 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12909 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12910 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12911 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12912 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12913 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12914 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12915 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12916 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12917 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12918 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12919 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12920 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12921 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12922 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12923 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12924 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"`'
12925 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12926 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12927 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12928 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12929 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12930 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12931 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12932 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12933 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12934 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12935 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12936 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12937 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12938 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12939 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12940 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12941 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12942 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12943 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12944 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12945 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12946 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12947 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12948 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12949 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12950 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12951 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12952 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12953 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12954 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12955 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12956 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12957 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12958 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12959 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12960 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12961 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12962 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12963 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12964 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12965 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12966 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12967 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12968 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12969 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12970 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12971 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12972 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12973 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12974 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12975 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12976 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12977 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12978 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12979 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12980 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12981 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12982 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12983 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12984 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12985 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12986 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12987 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12988 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12989 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12990 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12991 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12994 LTCFLAGS='$LTCFLAGS'
12995 compiler='$compiler_DEFAULT'
12997 # Quote evaled strings.
13008 deplibs_check_method \
13017 lt_cv_sys_global_symbol_pipe \
13018 lt_cv_sys_global_symbol_to_cdecl \
13019 lt_cv_sys_global_symbol_to_c_name_address \
13022 lt_prog_compiler_no_builtin_flag \
13023 lt_prog_compiler_wl \
13024 lt_prog_compiler_pic \
13025 lt_prog_compiler_static \
13026 lt_cv_prog_compiler_c_o \
13029 export_dynamic_flag_spec \
13030 whole_archive_flag_spec \
13031 compiler_needs_object \
13033 allow_undefined_flag \
13034 no_undefined_flag \
13035 hardcode_libdir_flag_spec \
13036 hardcode_libdir_flag_spec_ld \
13037 hardcode_libdir_separator \
13042 variables_saved_for_relink \
13044 library_names_spec \
13049 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13050 *[\\\\\\\`\\"\\\$]*)
13051 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13054 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13059 # Double-quote double-evaled strings.
13060 for var in reload_cmds \
13061 old_postinstall_cmds \
13062 old_postuninstall_cmds \
13064 extract_expsyms_cmds \
13065 old_archive_from_new_cmds \
13066 old_archive_from_expsyms_cmds \
13068 archive_expsym_cmds \
13070 module_expsym_cmds \
13071 export_symbols_cmds \
13074 postuninstall_cmds \
13076 sys_lib_search_path_spec \
13077 sys_lib_dlsearch_path_spec; do
13078 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13079 *[\\\\\\\`\\"\\\$]*)
13080 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13083 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13088 # Fix-up fallback echo if it was mangled by the above quoting rules.
13090 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13094 ac_aux_dir='$ac_aux_dir'
13095 xsi_shell='$xsi_shell'
13096 lt_shell_append='$lt_shell_append'
13098 # See if we are running on zsh, and set the options which allow our
13099 # commands through without removal of \ escapes INIT.
13100 if test -n "\${ZSH_VERSION+set}" ; then
13101 setopt NO_GLOB_SUBST
13107 TIMESTAMP='$TIMESTAMP'
13118 cat >>$CONFIG_STATUS <<\_ACEOF
13119 for ac_config_target in $ac_config_targets
13121 case "$ac_config_target" in
13122 # Handling of arguments.
13123 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13124 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
13125 "testsuite/mfconfig.exp" ) CONFIG_FILES="$CONFIG_FILES testsuite/mfconfig.exp" ;;
13126 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13127 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13128 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13129 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13130 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13131 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13132 { (exit 1); exit 1; }; };;
13136 # If the user did not use the arguments to specify the items to instantiate,
13137 # then the envvar interface is used. Set only those that are not.
13138 # We use the long form for the default assignment because of an extremely
13139 # bizarre bug on SunOS 4.1.3.
13140 if $ac_need_defaults; then
13141 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13142 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13143 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13146 # Have a temporary directory for convenience. Make it in the build tree
13147 # simply because there is no reason to put it here, and in addition,
13148 # creating and moving files from /tmp can sometimes cause problems.
13149 # Create a temporary directory, and hook for its removal unless debugging.
13152 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13153 trap '{ (exit 1); exit 1; }' 1 2 13 15
13156 # Create a (secure) tmp directory for tmp files.
13159 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13160 test -n "$tmp" && test -d "$tmp"
13163 tmp=./confstat$$-$RANDOM
13164 (umask 077 && mkdir $tmp)
13167 echo "$me: cannot create a temporary directory in ." >&2
13168 { (exit 1); exit 1; }
13173 cat >>$CONFIG_STATUS <<_ACEOF
13176 # CONFIG_FILES section.
13179 # No need to generate the scripts if there are no CONFIG_FILES.
13180 # This happens for instance when ./config.status config.h
13181 if test -n "\$CONFIG_FILES"; then
13182 # Protect against being on the right side of a sed subst in config.status.
13183 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13184 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13185 s,@SHELL@,$SHELL,;t t
13186 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13187 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13188 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13189 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13190 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13191 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13192 s,@exec_prefix@,$exec_prefix,;t t
13193 s,@prefix@,$prefix,;t t
13194 s,@program_transform_name@,$program_transform_name,;t t
13195 s,@bindir@,$bindir,;t t
13196 s,@sbindir@,$sbindir,;t t
13197 s,@libexecdir@,$libexecdir,;t t
13198 s,@datadir@,$datadir,;t t
13199 s,@sysconfdir@,$sysconfdir,;t t
13200 s,@sharedstatedir@,$sharedstatedir,;t t
13201 s,@localstatedir@,$localstatedir,;t t
13202 s,@libdir@,$libdir,;t t
13203 s,@includedir@,$includedir,;t t
13204 s,@oldincludedir@,$oldincludedir,;t t
13205 s,@infodir@,$infodir,;t t
13206 s,@mandir@,$mandir,;t t
13207 s,@build_alias@,$build_alias,;t t
13208 s,@host_alias@,$host_alias,;t t
13209 s,@target_alias@,$target_alias,;t t
13210 s,@DEFS@,$DEFS,;t t
13211 s,@ECHO_C@,$ECHO_C,;t t
13212 s,@ECHO_N@,$ECHO_N,;t t
13213 s,@ECHO_T@,$ECHO_T,;t t
13214 s,@LIBS@,$LIBS,;t t
13215 s,@build@,$build,;t t
13216 s,@build_cpu@,$build_cpu,;t t
13217 s,@build_vendor@,$build_vendor,;t t
13218 s,@build_os@,$build_os,;t t
13219 s,@host@,$host,;t t
13220 s,@host_cpu@,$host_cpu,;t t
13221 s,@host_vendor@,$host_vendor,;t t
13222 s,@host_os@,$host_os,;t t
13223 s,@target@,$target,;t t
13224 s,@target_cpu@,$target_cpu,;t t
13225 s,@target_vendor@,$target_vendor,;t t
13226 s,@target_os@,$target_os,;t t
13227 s,@target_noncanonical@,$target_noncanonical,;t t
13228 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13229 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13230 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13231 s,@CYGPATH_W@,$CYGPATH_W,;t t
13232 s,@PACKAGE@,$PACKAGE,;t t
13233 s,@VERSION@,$VERSION,;t t
13234 s,@ACLOCAL@,$ACLOCAL,;t t
13235 s,@AUTOCONF@,$AUTOCONF,;t t
13236 s,@AUTOMAKE@,$AUTOMAKE,;t t
13237 s,@AUTOHEADER@,$AUTOHEADER,;t t
13238 s,@MAKEINFO@,$MAKEINFO,;t t
13239 s,@install_sh@,$install_sh,;t t
13240 s,@STRIP@,$STRIP,;t t
13241 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13242 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13243 s,@mkdir_p@,$mkdir_p,;t t
13245 s,@SET_MAKE@,$SET_MAKE,;t t
13246 s,@am__leading_dot@,$am__leading_dot,;t t
13247 s,@AMTAR@,$AMTAR,;t t
13248 s,@am__tar@,$am__tar,;t t
13249 s,@am__untar@,$am__untar,;t t
13250 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13251 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13252 s,@MAINT@,$MAINT,;t t
13253 s,@multi_basedir@,$multi_basedir,;t t
13255 s,@ac_ct_CC@,$ac_ct_CC,;t t
13256 s,@EXEEXT@,$EXEEXT,;t t
13257 s,@OBJEXT@,$OBJEXT,;t t
13258 s,@DEPDIR@,$DEPDIR,;t t
13259 s,@am__include@,$am__include,;t t
13260 s,@am__quote@,$am__quote,;t t
13261 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13262 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13263 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13264 s,@CCDEPMODE@,$CCDEPMODE,;t t
13265 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
13266 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
13267 s,@CFLAGS@,$CFLAGS,;t t
13269 s,@CPPFLAGS@,$CPPFLAGS,;t t
13270 s,@EGREP@,$EGREP,;t t
13271 s,@LIBTOOL@,$LIBTOOL,;t t
13273 s,@FGREP@,$FGREP,;t t
13274 s,@GREP@,$GREP,;t t
13276 s,@DUMPBIN@,$DUMPBIN,;t t
13277 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
13279 s,@LN_S@,$LN_S,;t t
13281 s,@ac_ct_AR@,$ac_ct_AR,;t t
13282 s,@RANLIB@,$RANLIB,;t t
13283 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13284 s,@lt_ECHO@,$lt_ECHO,;t t
13285 s,@enable_shared@,$enable_shared,;t t
13286 s,@enable_static@,$enable_static,;t t
13287 s,@MF_HAVE_STDINT_H@,$MF_HAVE_STDINT_H,;t t
13288 s,@MF_HAVE_UINTPTR_T@,$MF_HAVE_UINTPTR_T,;t t
13289 s,@LIBMUDFLAPTH_TRUE@,$LIBMUDFLAPTH_TRUE,;t t
13290 s,@LIBMUDFLAPTH_FALSE@,$LIBMUDFLAPTH_FALSE,;t t
13291 s,@build_libmudflapth@,$build_libmudflapth,;t t
13292 s,@toolexecdir@,$toolexecdir,;t t
13293 s,@toolexeclibdir@,$toolexeclibdir,;t t
13294 s,@ac_ct_NM@,$ac_ct_NM,;t t
13295 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
13296 s,@LIBOBJS@,$LIBOBJS,;t t
13297 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13302 cat >>$CONFIG_STATUS <<\_ACEOF
13303 # Split the substitutions into bite-sized pieces for seds with
13304 # small command number limits, like on Digital OSF/1 and HP-UX.
13305 ac_max_sed_lines=48
13306 ac_sed_frag=1 # Number of current file.
13307 ac_beg=1 # First line for current file.
13308 ac_end=$ac_max_sed_lines # Line after last line for current file.
13311 while $ac_more_lines; do
13312 if test $ac_beg -gt 1; then
13313 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13315 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13317 if test ! -s $tmp/subs.frag; then
13318 ac_more_lines=false
13320 # The purpose of the label and of the branching condition is to
13321 # speed up the sed processing (if there are no `@' at all, there
13322 # is no need to browse any of the substitutions).
13323 # These are the two extra sed commands mentioned above.
13325 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
13326 if test -z "$ac_sed_cmds"; then
13327 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
13329 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13331 ac_sed_frag=`expr $ac_sed_frag + 1`
13333 ac_end=`expr $ac_end + $ac_max_sed_lines`
13336 if test -z "$ac_sed_cmds"; then
13339 fi # test -n "$CONFIG_FILES"
13342 cat >>$CONFIG_STATUS <<\_ACEOF
13343 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
13344 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13346 - | *:- | *:-:* ) # input from stdin
13348 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13349 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13350 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13351 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13352 * ) ac_file_in=$ac_file.in ;;
13355 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13356 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13357 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13358 X"$ac_file" : 'X\(//\)[^/]' \| \
13359 X"$ac_file" : 'X\(//\)$' \| \
13360 X"$ac_file" : 'X\(/\)' \| \
13361 . : '\(.\)' 2>/dev/null ||
13363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13364 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13365 /^X\(\/\/\)$/{ s//\1/; q; }
13366 /^X\(\/\).*/{ s//\1/; q; }
13368 { if $as_mkdir_p; then
13373 while test ! -d "$as_dir"; do
13374 as_dirs="$as_dir $as_dirs"
13375 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13376 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13377 X"$as_dir" : 'X\(//\)[^/]' \| \
13378 X"$as_dir" : 'X\(//\)$' \| \
13379 X"$as_dir" : 'X\(/\)' \| \
13380 . : '\(.\)' 2>/dev/null ||
13382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13383 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13384 /^X\(\/\/\)$/{ s//\1/; q; }
13385 /^X\(\/\).*/{ s//\1/; q; }
13388 test ! -n "$as_dirs" || mkdir $as_dirs
13389 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13390 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13391 { (exit 1); exit 1; }; }; }
13395 if test "$ac_dir" != .; then
13396 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13397 # A "../" for each directory in $ac_dir_suffix.
13398 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13400 ac_dir_suffix= ac_top_builddir=
13404 .) # No --srcdir option. We are building in place.
13406 if test -z "$ac_top_builddir"; then
13409 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13411 [\\/]* | ?:[\\/]* ) # Absolute path.
13412 ac_srcdir=$srcdir$ac_dir_suffix;
13413 ac_top_srcdir=$srcdir ;;
13414 *) # Relative path.
13415 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13416 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13419 # Do not use `cd foo && pwd` to compute absolute paths, because
13420 # the directories may not exist.
13422 .) ac_abs_builddir="$ac_dir";;
13425 .) ac_abs_builddir=`pwd`;;
13426 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13427 *) ac_abs_builddir=`pwd`/"$ac_dir";;
13430 case $ac_abs_builddir in
13431 .) ac_abs_top_builddir=${ac_top_builddir}.;;
13433 case ${ac_top_builddir}. in
13434 .) ac_abs_top_builddir=$ac_abs_builddir;;
13435 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13436 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13439 case $ac_abs_builddir in
13440 .) ac_abs_srcdir=$ac_srcdir;;
13443 .) ac_abs_srcdir=$ac_abs_builddir;;
13444 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13445 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13448 case $ac_abs_builddir in
13449 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13451 case $ac_top_srcdir in
13452 .) ac_abs_top_srcdir=$ac_abs_builddir;;
13453 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13454 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13460 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13461 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
13464 if test x"$ac_file" != x-; then
13465 { echo "$as_me:$LINENO: creating $ac_file" >&5
13466 echo "$as_me: creating $ac_file" >&6;}
13469 # Let's still pretend it is `configure' which instantiates (i.e., don't
13470 # use $as_me), people would be surprised to read:
13471 # /* config.h. Generated by config.status. */
13472 if test x"$ac_file" = x-; then
13475 configure_input="$ac_file. "
13477 configure_input=$configure_input"Generated from `echo $ac_file_in |
13478 sed 's,.*/,,'` by configure."
13480 # First look for the input files in the build tree, otherwise in the
13482 ac_file_inputs=`IFS=:
13483 for f in $ac_file_in; do
13485 -) echo $tmp/stdin ;;
13487 # Absolute (can't be DOS-style, as IFS=:)
13488 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13489 echo "$as_me: error: cannot find input file: $f" >&2;}
13490 { (exit 1); exit 1; }; }
13493 if test -f "$f"; then
13496 elif test -f "$srcdir/$f"; then
13501 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13502 echo "$as_me: error: cannot find input file: $f" >&2;}
13503 { (exit 1); exit 1; }; }
13506 done` || { (exit 1); exit 1; }
13508 cat >>$CONFIG_STATUS <<_ACEOF
13512 cat >>$CONFIG_STATUS <<\_ACEOF
13514 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13515 s,@configure_input@,$configure_input,;t t
13516 s,@srcdir@,$ac_srcdir,;t t
13517 s,@abs_srcdir@,$ac_abs_srcdir,;t t
13518 s,@top_srcdir@,$ac_top_srcdir,;t t
13519 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
13520 s,@builddir@,$ac_builddir,;t t
13521 s,@abs_builddir@,$ac_abs_builddir,;t t
13522 s,@top_builddir@,$ac_top_builddir,;t t
13523 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
13524 s,@INSTALL@,$ac_INSTALL,;t t
13525 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13527 if test x"$ac_file" != x-; then
13528 mv $tmp/out $ac_file
13536 cat >>$CONFIG_STATUS <<\_ACEOF
13539 # CONFIG_HEADER section.
13542 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13543 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13545 # ac_d sets the value in "#define NAME VALUE" lines.
13546 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13547 ac_dB='[ ].*$,\1#\2'
13550 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13551 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13552 ac_uB='$,\1#\2define\3'
13556 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
13557 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13559 - | *:- | *:-:* ) # input from stdin
13561 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13562 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13563 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13564 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13565 * ) ac_file_in=$ac_file.in ;;
13568 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
13569 echo "$as_me: creating $ac_file" >&6;}
13571 # First look for the input files in the build tree, otherwise in the
13573 ac_file_inputs=`IFS=:
13574 for f in $ac_file_in; do
13576 -) echo $tmp/stdin ;;
13578 # Absolute (can't be DOS-style, as IFS=:)
13579 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13580 echo "$as_me: error: cannot find input file: $f" >&2;}
13581 { (exit 1); exit 1; }; }
13582 # Do quote $f, to prevent DOS paths from being IFS'd.
13585 if test -f "$f"; then
13588 elif test -f "$srcdir/$f"; then
13593 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13594 echo "$as_me: error: cannot find input file: $f" >&2;}
13595 { (exit 1); exit 1; }; }
13598 done` || { (exit 1); exit 1; }
13599 # Remove the trailing spaces.
13600 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13604 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13605 # `conftest.undefs', that substitutes the proper values into
13606 # config.h.in to produce config.h. The first handles `#define'
13607 # templates, and the second `#undef' templates.
13608 # And first: Protect against being on the right side of a sed subst in
13609 # config.status. Protect against being in an unquoted here document
13610 # in config.status.
13611 rm -f conftest.defines conftest.undefs
13612 # Using a here document instead of a string reduces the quoting nightmare.
13613 # Putting comments in sed scripts is not portable.
13615 # `end' is used to avoid that the second main sed command (meant for
13616 # 0-ary CPP macros) applies to n-ary macro definitions.
13617 # See the Autoconf documentation for `clear'.
13618 cat >confdef2sed.sed <<\_ACEOF
13623 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13625 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13628 # If some macros were called several times there might be several times
13629 # the same #defines, which is useless. Nevertheless, we may not want to
13630 # sort them, since we want the *last* AC-DEFINE to be honored.
13631 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13632 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13633 rm -f confdef2sed.sed
13635 # This sed command replaces #undef with comments. This is necessary, for
13636 # example, in the case of _POSIX_SOURCE, which is predefined and required
13637 # on some systems where configure will not decide to define it.
13638 cat >>conftest.undefs <<\_ACEOF
13639 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13642 # Break up conftest.defines because some shells have a limit on the size
13643 # of here documents, and old seds have small limits too (100 cmds).
13644 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13645 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13646 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13647 echo ' :' >>$CONFIG_STATUS
13648 rm -f conftest.tail
13649 while grep . conftest.defines >/dev/null
13651 # Write a limited-size here document to $tmp/defines.sed.
13652 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13653 # Speed up: don't consider the non `#define' lines.
13654 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13655 # Work around the forget-to-reset-the-flag bug.
13656 echo 't clr' >>$CONFIG_STATUS
13657 echo ': clr' >>$CONFIG_STATUS
13658 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
13660 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13662 mv $tmp/out $tmp/in
13664 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
13665 rm -f conftest.defines
13666 mv conftest.tail conftest.defines
13668 rm -f conftest.defines
13669 echo ' fi # grep' >>$CONFIG_STATUS
13670 echo >>$CONFIG_STATUS
13672 # Break up conftest.undefs because some shells have a limit on the size
13673 # of here documents, and old seds have small limits too (100 cmds).
13674 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13675 rm -f conftest.tail
13676 while grep . conftest.undefs >/dev/null
13678 # Write a limited-size here document to $tmp/undefs.sed.
13679 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13680 # Speed up: don't consider the non `#undef'
13681 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13682 # Work around the forget-to-reset-the-flag bug.
13683 echo 't clr' >>$CONFIG_STATUS
13684 echo ': clr' >>$CONFIG_STATUS
13685 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13687 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13689 mv $tmp/out $tmp/in
13691 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13692 rm -f conftest.undefs
13693 mv conftest.tail conftest.undefs
13695 rm -f conftest.undefs
13697 cat >>$CONFIG_STATUS <<\_ACEOF
13698 # Let's still pretend it is `configure' which instantiates (i.e., don't
13699 # use $as_me), people would be surprised to read:
13700 # /* config.h. Generated by config.status. */
13701 if test x"$ac_file" = x-; then
13702 echo "/* Generated by configure. */" >$tmp/config.h
13704 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13706 cat $tmp/in >>$tmp/config.h
13708 if test x"$ac_file" != x-; then
13709 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
13710 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13711 echo "$as_me: $ac_file is unchanged" >&6;}
13713 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13714 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13715 X"$ac_file" : 'X\(//\)[^/]' \| \
13716 X"$ac_file" : 'X\(//\)$' \| \
13717 X"$ac_file" : 'X\(/\)' \| \
13718 . : '\(.\)' 2>/dev/null ||
13720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13722 /^X\(\/\/\)$/{ s//\1/; q; }
13723 /^X\(\/\).*/{ s//\1/; q; }
13725 { if $as_mkdir_p; then
13730 while test ! -d "$as_dir"; do
13731 as_dirs="$as_dir $as_dirs"
13732 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13733 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13734 X"$as_dir" : 'X\(//\)[^/]' \| \
13735 X"$as_dir" : 'X\(//\)$' \| \
13736 X"$as_dir" : 'X\(/\)' \| \
13737 . : '\(.\)' 2>/dev/null ||
13739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13740 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13741 /^X\(\/\/\)$/{ s//\1/; q; }
13742 /^X\(\/\).*/{ s//\1/; q; }
13745 test ! -n "$as_dirs" || mkdir $as_dirs
13746 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13747 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13748 { (exit 1); exit 1; }; }; }
13751 mv $tmp/config.h $ac_file
13755 rm -f $tmp/config.h
13757 # Compute $ac_file's index in $config_headers.
13759 for _am_header in $config_headers :; do
13760 case $_am_header in
13761 $ac_file | $ac_file:* )
13764 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13767 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
13768 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13769 X$ac_file : 'X\(//\)[^/]' \| \
13770 X$ac_file : 'X\(//\)$' \| \
13771 X$ac_file : 'X\(/\)' \| \
13772 . : '\(.\)' 2>/dev/null ||
13774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13775 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13776 /^X\(\/\/\)$/{ s//\1/; q; }
13777 /^X\(\/\).*/{ s//\1/; q; }
13778 s/.*/./; q'`/stamp-h$_am_stamp_count
13781 cat >>$CONFIG_STATUS <<\_ACEOF
13784 # CONFIG_COMMANDS section.
13786 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
13787 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
13788 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
13789 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
13790 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13791 X"$ac_dest" : 'X\(//\)[^/]' \| \
13792 X"$ac_dest" : 'X\(//\)$' \| \
13793 X"$ac_dest" : 'X\(/\)' \| \
13794 . : '\(.\)' 2>/dev/null ||
13796 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13797 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13798 /^X\(\/\/\)$/{ s//\1/; q; }
13799 /^X\(\/\).*/{ s//\1/; q; }
13801 { if $as_mkdir_p; then
13806 while test ! -d "$as_dir"; do
13807 as_dirs="$as_dir $as_dirs"
13808 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13809 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13810 X"$as_dir" : 'X\(//\)[^/]' \| \
13811 X"$as_dir" : 'X\(//\)$' \| \
13812 X"$as_dir" : 'X\(/\)' \| \
13813 . : '\(.\)' 2>/dev/null ||
13815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13816 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13817 /^X\(\/\/\)$/{ s//\1/; q; }
13818 /^X\(\/\).*/{ s//\1/; q; }
13821 test ! -n "$as_dirs" || mkdir $as_dirs
13822 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13823 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13824 { (exit 1); exit 1; }; }; }
13828 if test "$ac_dir" != .; then
13829 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13830 # A "../" for each directory in $ac_dir_suffix.
13831 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13833 ac_dir_suffix= ac_top_builddir=
13837 .) # No --srcdir option. We are building in place.
13839 if test -z "$ac_top_builddir"; then
13842 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13844 [\\/]* | ?:[\\/]* ) # Absolute path.
13845 ac_srcdir=$srcdir$ac_dir_suffix;
13846 ac_top_srcdir=$srcdir ;;
13847 *) # Relative path.
13848 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13849 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13852 # Do not use `cd foo && pwd` to compute absolute paths, because
13853 # the directories may not exist.
13855 .) ac_abs_builddir="$ac_dir";;
13858 .) ac_abs_builddir=`pwd`;;
13859 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13860 *) ac_abs_builddir=`pwd`/"$ac_dir";;
13863 case $ac_abs_builddir in
13864 .) ac_abs_top_builddir=${ac_top_builddir}.;;
13866 case ${ac_top_builddir}. in
13867 .) ac_abs_top_builddir=$ac_abs_builddir;;
13868 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13869 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13872 case $ac_abs_builddir in
13873 .) ac_abs_srcdir=$ac_srcdir;;
13876 .) ac_abs_srcdir=$ac_abs_builddir;;
13877 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13878 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13881 case $ac_abs_builddir in
13882 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13884 case $ac_top_srcdir in
13885 .) ac_abs_top_srcdir=$ac_abs_builddir;;
13886 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13887 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13892 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13893 echo "$as_me: executing $ac_dest commands" >&6;}
13896 # Only add multilib support code if we just rebuilt the top-level
13898 case " $CONFIG_FILES " in
13900 ac_file=Makefile . ${multi_basedir}/config-ml.in
13903 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
13904 # Strip MF so we end up with the name of the file.
13905 mf=`echo "$mf" | sed -e 's/:.*$//'`
13906 # Check whether this is an Automake generated Makefile or not.
13907 # We used to match only the files named `Makefile.in', but
13908 # some people rename them; so instead we look at the file content.
13909 # Grep'ing the first line is not enough: some people post-process
13910 # each Makefile.in and add a new line on top of each file to say so.
13911 # So let's grep whole file.
13912 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
13913 dirpart=`(dirname "$mf") 2>/dev/null ||
13914 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13915 X"$mf" : 'X\(//\)[^/]' \| \
13916 X"$mf" : 'X\(//\)$' \| \
13917 X"$mf" : 'X\(/\)' \| \
13918 . : '\(.\)' 2>/dev/null ||
13920 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13921 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13922 /^X\(\/\/\)$/{ s//\1/; q; }
13923 /^X\(\/\).*/{ s//\1/; q; }
13928 # Extract the definition of DEPDIR, am__include, and am__quote
13929 # from the Makefile without running `make'.
13930 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13931 test -z "$DEPDIR" && continue
13932 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13933 test -z "am__include" && continue
13934 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13935 # When using ansi2knr, U may be empty or an underscore; expand it
13936 U=`sed -n 's/^U = //p' < "$mf"`
13937 # Find all dependency output files, they are included files with
13938 # $(DEPDIR) in their names. We invoke sed twice because it is the
13939 # simplest approach to changing $(DEPDIR) to its actual value in the
13941 for file in `sed -n "
13942 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13943 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13944 # Make sure the directory exists.
13945 test -f "$dirpart/$file" && continue
13946 fdir=`(dirname "$file") 2>/dev/null ||
13947 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13948 X"$file" : 'X\(//\)[^/]' \| \
13949 X"$file" : 'X\(//\)$' \| \
13950 X"$file" : 'X\(/\)' \| \
13951 . : '\(.\)' 2>/dev/null ||
13953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13954 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13955 /^X\(\/\/\)$/{ s//\1/; q; }
13956 /^X\(\/\).*/{ s//\1/; q; }
13958 { if $as_mkdir_p; then
13959 mkdir -p $dirpart/$fdir
13961 as_dir=$dirpart/$fdir
13963 while test ! -d "$as_dir"; do
13964 as_dirs="$as_dir $as_dirs"
13965 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13966 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13967 X"$as_dir" : 'X\(//\)[^/]' \| \
13968 X"$as_dir" : 'X\(//\)$' \| \
13969 X"$as_dir" : 'X\(/\)' \| \
13970 . : '\(.\)' 2>/dev/null ||
13972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13973 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13974 /^X\(\/\/\)$/{ s//\1/; q; }
13975 /^X\(\/\).*/{ s//\1/; q; }
13978 test ! -n "$as_dirs" || mkdir $as_dirs
13979 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
13980 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
13981 { (exit 1); exit 1; }; }; }
13983 # echo "creating $dirpart/$file"
13984 echo '# dummy' > "$dirpart/$file"
13990 # See if we are running on zsh, and set the options which allow our
13991 # commands through without removal of \ escapes.
13992 if test -n "${ZSH_VERSION+set}" ; then
13993 setopt NO_GLOB_SUBST
13996 cfgfile="${ofile}T"
13997 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14000 cat <<_LT_EOF >> "$cfgfile"
14003 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14004 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
14005 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14006 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14008 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14009 # 2006, 2007 Free Software Foundation, Inc.
14011 # This file is part of GNU Libtool:
14012 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
14014 # This program is free software; you can redistribute it and/or modify
14015 # it under the terms of the GNU General Public License as published by
14016 # the Free Software Foundation; either version 2 of the License, or
14017 # (at your option) any later version.
14019 # This program is distributed in the hope that it will be useful, but
14020 # WITHOUT ANY WARRANTY; without even the implied warranty of
14021 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14022 # General Public License for more details.
14024 # You should have received a copy of the GNU General Public License
14025 # along with this program; if not, a copy can be downloaded from
14026 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
14027 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
14028 # MA 02110-1301, USA.
14030 # As a special exception to the GNU General Public License, if you
14031 # distribute this file as part of a program that contains a
14032 # configuration script generated by Autoconf, you may include it under
14033 # the same distribution terms that you use for the rest of that program.
14036 # The names of the tagged configurations supported by this script.
14039 # ### BEGIN LIBTOOL CONFIG
14041 # Which release of libtool.m4 was used?
14042 macro_version=$macro_version
14043 macro_revision=$macro_revision
14045 # Whether or not to build shared libraries.
14046 build_libtool_libs=$enable_shared
14048 # Whether or not to build static libraries.
14049 build_old_libs=$enable_static
14051 # What type of objects to build.
14054 # Whether or not to optimize for fast installation.
14055 fast_install=$enable_fast_install
14058 host_alias=$host_alias
14062 # The build system.
14063 build_alias=$build_alias
14067 # A sed program that does not truncate output.
14070 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14071 Xsed="\$SED -e 1s/^X//"
14073 # A grep program that handles long lines.
14079 # A literal string matcher.
14082 # A BSD- or MS-compatible name lister.
14085 # Whether we need soft or hard links.
14088 # What is the maximum length of a command?
14089 max_cmd_len=$max_cmd_len
14091 # Object file suffix (normally "o").
14094 # Executable file suffix (normally "").
14097 # whether the shell understands "unset".
14100 # turn spaces into newlines.
14103 # turn newlines into spaces.
14106 # How to create reloadable object files.
14107 reload_flag=$lt_reload_flag
14108 reload_cmds=$lt_reload_cmds
14110 # Method to check whether dependent libraries are shared objects.
14111 deplibs_check_method=$lt_deplibs_check_method
14113 # Command to use when deplibs_check_method == "file_magic".
14114 file_magic_cmd=$lt_file_magic_cmd
14118 AR_FLAGS=$lt_AR_FLAGS
14120 # A symbol stripping program.
14123 # Commands used to install an old-style archive.
14125 old_postinstall_cmds=$lt_old_postinstall_cmds
14126 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14131 # LTCC compiler flags.
14132 LTCFLAGS=$lt_CFLAGS
14134 # Take the output of nm and produce a listing of raw symbols and C names.
14135 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14137 # Transform the output of nm in a proper C declaration.
14138 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14140 # Transform the output of nm in a C name address pair.
14141 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14143 # The name of the directory that contains temporary libtool files.
14146 # Shell to use when invoking shell scripts.
14149 # An echo program that does not interpret backslashes.
14152 # Used to examine libraries when file_magic_cmd begins with "file".
14153 MAGIC_CMD=$MAGIC_CMD
14155 # Must we lock files when doing compilation?
14156 need_locks=$lt_need_locks
14158 # Old archive suffix (normally "a").
14161 # Shared library suffix (normally ".so").
14162 shrext_cmds=$lt_shrext_cmds
14164 # The commands to extract the exported symbol list from a shared archive.
14165 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14167 # Variables whose values should be saved in libtool wrapper scripts and
14168 # restored at link time.
14169 variables_saved_for_relink=$lt_variables_saved_for_relink
14171 # Do we need the "lib" prefix for modules?
14172 need_lib_prefix=$need_lib_prefix
14174 # Do we need a version for libraries?
14175 need_version=$need_version
14177 # Library versioning type.
14178 version_type=$version_type
14180 # Shared library runtime path variable.
14181 runpath_var=$runpath_var
14183 # Shared library path variable.
14184 shlibpath_var=$shlibpath_var
14186 # Is shlibpath searched before the hard-coded library search path?
14187 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14189 # Format of library name prefix.
14190 libname_spec=$lt_libname_spec
14192 # List of archive names. First name is the real one, the rest are links.
14193 # The last name is the one that the linker finds with -lNAME
14194 library_names_spec=$lt_library_names_spec
14196 # The coded name of the library, if different from the real name.
14197 soname_spec=$lt_soname_spec
14199 # Command to use after installation of a shared archive.
14200 postinstall_cmds=$lt_postinstall_cmds
14202 # Command to use after uninstallation of a shared archive.
14203 postuninstall_cmds=$lt_postuninstall_cmds
14205 # Commands used to finish a libtool library installation in a directory.
14206 finish_cmds=$lt_finish_cmds
14208 # As "finish_cmds", except a single script fragment to be evaled but
14210 finish_eval=$lt_finish_eval
14212 # Whether we should hardcode library paths into libraries.
14213 hardcode_into_libs=$hardcode_into_libs
14215 # Compile-time system search path for libraries.
14216 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14218 # Run-time system search path for libraries.
14219 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14221 # Whether dlopen is supported.
14222 dlopen_support=$enable_dlopen
14224 # Whether dlopen of programs is supported.
14225 dlopen_self=$enable_dlopen_self
14227 # Whether dlopen of statically linked programs is supported.
14228 dlopen_self_static=$enable_dlopen_self_static
14230 # Commands to strip libraries.
14231 old_striplib=$lt_old_striplib
14232 striplib=$lt_striplib
14235 # The linker used to build libraries.
14238 # Commands used to build an old-style archive.
14239 old_archive_cmds=$lt_old_archive_cmds
14241 # A language specific compiler.
14244 # Is the compiler the GNU compiler?
14247 # Compiler flag to turn off builtin functions.
14248 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14250 # How to pass a linker flag through the compiler.
14251 wl=$lt_lt_prog_compiler_wl
14253 # Additional compiler flags for building library objects.
14254 pic_flag=$lt_lt_prog_compiler_pic
14256 # Compiler flag to prevent dynamic linking.
14257 link_static_flag=$lt_lt_prog_compiler_static
14259 # Does compiler simultaneously support -c and -o options?
14260 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14262 # Whether or not to add -lc for building shared libraries.
14263 build_libtool_need_lc=$archive_cmds_need_lc
14265 # Whether or not to disallow shared libs when runtime libs are static.
14266 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14268 # Compiler flag to allow reflexive dlopens.
14269 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14271 # Compiler flag to generate shared objects directly from archives.
14272 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14274 # Whether the compiler copes with passing no objects directly.
14275 compiler_needs_object=$lt_compiler_needs_object
14277 # Create an old-style archive from a shared archive.
14278 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14280 # Create a temporary old-style archive to link instead of a shared archive.
14281 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14283 # Commands used to build a shared archive.
14284 archive_cmds=$lt_archive_cmds
14285 archive_expsym_cmds=$lt_archive_expsym_cmds
14287 # Commands used to build a loadable module if different from building
14288 # a shared archive.
14289 module_cmds=$lt_module_cmds
14290 module_expsym_cmds=$lt_module_expsym_cmds
14292 # Whether we are building with GNU ld or not.
14293 with_gnu_ld=$lt_with_gnu_ld
14295 # Flag that allows shared libraries with undefined symbols to be built.
14296 allow_undefined_flag=$lt_allow_undefined_flag
14298 # Flag that enforces no undefined symbols.
14299 no_undefined_flag=$lt_no_undefined_flag
14301 # Flag to hardcode \$libdir into a binary during linking.
14302 # This must work even if \$libdir does not exist
14303 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14305 # If ld is used when linking, flag to hardcode \$libdir into a binary
14306 # during linking. This must work even if \$libdir does not exist.
14307 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14309 # Whether we need a single "-rpath" flag with a separated argument.
14310 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14312 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14313 # DIR into the resulting binary.
14314 hardcode_direct=$hardcode_direct
14316 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14317 # DIR into the resulting binary and the resulting library dependency is
14318 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14319 # library is relocated.
14320 hardcode_direct_absolute=$hardcode_direct_absolute
14322 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14323 # into the resulting binary.
14324 hardcode_minus_L=$hardcode_minus_L
14326 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14327 # into the resulting binary.
14328 hardcode_shlibpath_var=$hardcode_shlibpath_var
14330 # Set to "yes" if building a shared library automatically hardcodes DIR
14331 # into the library and all subsequent libraries and executables linked
14333 hardcode_automatic=$hardcode_automatic
14335 # Set to yes if linker adds runtime paths of dependent libraries
14336 # to runtime path list.
14337 inherit_rpath=$inherit_rpath
14339 # Whether libtool must link a program against all its dependency libraries.
14340 link_all_deplibs=$link_all_deplibs
14342 # Fix the shell variable \$srcfile for the compiler.
14343 fix_srcfile_path=$lt_fix_srcfile_path
14345 # Set to "yes" if exported symbols are required.
14346 always_export_symbols=$always_export_symbols
14348 # The commands to list exported symbols.
14349 export_symbols_cmds=$lt_export_symbols_cmds
14351 # Symbols that should not be listed in the preloaded symbols.
14352 exclude_expsyms=$lt_exclude_expsyms
14354 # Symbols that must always be exported.
14355 include_expsyms=$lt_include_expsyms
14357 # Commands necessary for linking programs (against libraries) with templates.
14358 prelink_cmds=$lt_prelink_cmds
14360 # Specify filename containing input files.
14361 file_list_spec=$lt_file_list_spec
14363 # How to hardcode a shared library path into an executable.
14364 hardcode_action=$hardcode_action
14366 # ### END LIBTOOL CONFIG
14372 cat <<\_LT_EOF >> "$cfgfile"
14373 # AIX sometimes has problems with the GCC collect2 program. For some
14374 # reason, if we set the COLLECT_NAMES environment variable, the problems
14375 # vanish in a puff of smoke.
14376 if test "X${COLLECT_NAMES+set}" != Xset; then
14378 export COLLECT_NAMES
14385 ltmain="$ac_aux_dir/ltmain.sh"
14388 # We use sed instead of cat because bash on DJGPP gets confused if
14389 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14390 # text mode, it properly converts lines to CR/LF. This bash problem
14391 # is reportedly fixed, but why not run on old versions too?
14392 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14393 || (rm -f "$cfgfile"; exit 1)
14397 cat << \_LT_EOF >> "$cfgfile"
14398 # func_dirname file append nondir_replacement
14399 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14400 # otherwise set result to NONDIR_REPLACEMENT.
14404 */*) func_dirname_result="${1%/*}${2}" ;;
14405 * ) func_dirname_result="${3}" ;;
14409 # func_basename file
14412 func_basename_result="${1##*/}"
14415 # func_stripname prefix suffix name
14416 # strip PREFIX and SUFFIX off of NAME.
14417 # PREFIX and SUFFIX must not contain globbing or regex special
14418 # characters, hashes, percent signs, but SUFFIX may contain a leading
14419 # dot (in which case that matches only a dot).
14422 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14423 # positional parameters, so assign one to ordinary parameter first.
14424 func_stripname_result=${3}
14425 func_stripname_result=${func_stripname_result#"${1}"}
14426 func_stripname_result=${func_stripname_result%"${2}"}
14432 func_opt_split_opt=${1%%=*}
14433 func_opt_split_arg=${1#*=}
14440 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14441 *) func_lo2o_result=${1} ;;
14446 *) # Bourne compatible functions.
14447 cat << \_LT_EOF >> "$cfgfile"
14448 # func_dirname file append nondir_replacement
14449 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14450 # otherwise set result to NONDIR_REPLACEMENT.
14453 # Extract subdirectory from the argument.
14454 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14455 if test "X$func_dirname_result" = "X${1}"; then
14456 func_dirname_result="${3}"
14458 func_dirname_result="$func_dirname_result${2}"
14462 # func_basename file
14465 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14468 # func_stripname prefix suffix name
14469 # strip PREFIX and SUFFIX off of NAME.
14470 # PREFIX and SUFFIX must not contain globbing or regex special
14471 # characters, hashes, percent signs, but SUFFIX may contain a leading
14472 # dot (in which case that matches only a dot).
14473 # func_strip_suffix prefix name
14477 .*) func_stripname_result=`$ECHO "X${3}" \
14478 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14479 *) func_stripname_result=`$ECHO "X${3}" \
14480 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14485 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14486 my_sed_long_arg='1s/^-[^=]*=//'
14491 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14492 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14498 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14503 case $lt_shell_append in
14505 cat << \_LT_EOF >> "$cfgfile"
14507 # func_append var value
14508 # Append VALUE to the end of shell variable VAR.
14516 cat << \_LT_EOF >> "$cfgfile"
14518 # func_append var value
14519 # Append VALUE to the end of shell variable VAR.
14529 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14530 || (rm -f "$cfgfile"; exit 1)
14532 mv -f "$cfgfile" "$ofile" ||
14533 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14541 cat >>$CONFIG_STATUS <<\_ACEOF
14543 { (exit 0); exit 0; }
14545 chmod +x $CONFIG_STATUS
14546 ac_clean_files=$ac_clean_files_save
14549 # configure is writing to config.log, and then calls config.status.
14550 # config.status does its own redirection, appending to config.log.
14551 # Unfortunately, on DOS this fails, as config.log is still kept open
14552 # by configure, so config.status won't be able to write to it; its
14553 # output is simply discarded. So we exec the FD to /dev/null,
14554 # effectively closing config.log, so it can be properly (re)opened and
14555 # appended to by config.status. When coming back to configure, we
14556 # need to make the FD available again.
14557 if test "$no_create" != yes; then
14559 ac_config_status_args=
14560 test "$silent" = yes &&
14561 ac_config_status_args="$ac_config_status_args --quiet"
14563 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14565 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14566 # would make configure fail if this is the last instruction.
14567 $ac_cs_success || { (exit 1); exit 1; }