2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libssp 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='libssp'
418 PACKAGE_TARNAME='libssp'
419 PACKAGE_VERSION='1.0'
420 PACKAGE_STRING='libssp 1.0'
423 ac_unique_file="ssp.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 LIBSSP_USE_SYMVER_TRUE LIBSSP_USE_SYMVER_FALSE EGREP ssp_have_usable_vsnprintf 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 toolexecdir toolexeclibdir 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 libssp 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 libssp 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)
1007 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1008 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1009 --with-pic try to use only PIC/non-PIC objects [default=use
1011 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1013 Some influential environment variables:
1014 CC C compiler command
1015 CFLAGS C compiler flags
1016 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1017 nonstandard directory <lib dir>
1018 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1019 headers in a nonstandard directory <include dir>
1022 Use these variables to override the choices made by `configure' or to help
1023 it to find libraries and programs with nonstandard names/locations.
1028 if test "$ac_init_help" = "recursive"; then
1029 # If there are subdirs, report their specific --help.
1031 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1032 test -d $ac_dir || continue
1035 if test "$ac_dir" != .; then
1036 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1037 # A "../" for each directory in $ac_dir_suffix.
1038 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1040 ac_dir_suffix= ac_top_builddir=
1044 .) # No --srcdir option. We are building in place.
1046 if test -z "$ac_top_builddir"; then
1049 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1051 [\\/]* | ?:[\\/]* ) # Absolute path.
1052 ac_srcdir=$srcdir$ac_dir_suffix;
1053 ac_top_srcdir=$srcdir ;;
1055 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1056 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1059 # Do not use `cd foo && pwd` to compute absolute paths, because
1060 # the directories may not exist.
1062 .) ac_abs_builddir="$ac_dir";;
1065 .) ac_abs_builddir=`pwd`;;
1066 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1067 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1070 case $ac_abs_builddir in
1071 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1073 case ${ac_top_builddir}. in
1074 .) ac_abs_top_builddir=$ac_abs_builddir;;
1075 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1076 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1079 case $ac_abs_builddir in
1080 .) ac_abs_srcdir=$ac_srcdir;;
1083 .) ac_abs_srcdir=$ac_abs_builddir;;
1084 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1085 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1088 case $ac_abs_builddir in
1089 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1091 case $ac_top_srcdir in
1092 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1093 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1094 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1099 # Check for guested configure; otherwise get Cygnus style configure.
1100 if test -f $ac_srcdir/configure.gnu; then
1102 $SHELL $ac_srcdir/configure.gnu --help=recursive
1103 elif test -f $ac_srcdir/configure; then
1105 $SHELL $ac_srcdir/configure --help=recursive
1106 elif test -f $ac_srcdir/configure.ac ||
1107 test -f $ac_srcdir/configure.in; then
1109 $ac_configure --help
1111 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1117 test -n "$ac_init_help" && exit 0
1118 if $ac_init_version; then
1120 libssp configure 1.0
1121 generated by GNU Autoconf 2.59
1123 Copyright (C) 2003 Free Software Foundation, Inc.
1124 This configure script is free software; the Free Software Foundation
1125 gives unlimited permission to copy, distribute and modify it.
1131 This file contains any messages produced by compilers while
1132 running configure, to aid debugging if configure makes a mistake.
1134 It was created by libssp $as_me 1.0, which was
1135 generated by GNU Autoconf 2.59. Invocation command line was
1146 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1147 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1148 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1149 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1150 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1152 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1153 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1155 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1156 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1157 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1158 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1159 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1160 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1161 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1169 test -z "$as_dir" && as_dir=.
1170 echo "PATH: $as_dir"
1185 # Keep a trace of the command line.
1186 # Strip out --no-create and --no-recursion so they do not pile up.
1187 # Strip out --silent because we don't want to record it for future runs.
1188 # Also quote any args containing shell meta-characters.
1189 # Make two passes to allow for proper duplicate-argument suppression.
1194 ac_must_keep_next=false
1200 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1201 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1202 | -silent | --silent | --silen | --sile | --sil)
1204 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1205 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1208 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1210 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1211 if test $ac_must_keep_next = true; then
1212 ac_must_keep_next=false # Got value, back to normal.
1215 *=* | --config-cache | -C | -disable-* | --disable-* \
1216 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1217 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1218 | -with-* | --with-* | -without-* | --without-* | --x)
1219 case "$ac_configure_args0 " in
1220 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1223 -* ) ac_must_keep_next=true ;;
1226 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1227 # Get rid of the leading space.
1233 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1234 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1236 # When interrupted or exit'd, cleanup temporary files, and complete
1237 # config.log. We remove comments because anyway the quotes in there
1238 # would cause problems or look ugly.
1239 # WARNING: Be sure not to use single quotes in there, as some shells,
1240 # such as our DU 5.0 friend, will then `close' the trap.
1241 trap 'exit_status=$?
1242 # Save into config.log some information that might help in debugging.
1247 ## ---------------- ##
1248 ## Cache variables. ##
1249 ## ---------------- ##
1252 # The following way of writing the cache mishandles newlines in values,
1255 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1258 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1259 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1263 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1270 ## ----------------- ##
1271 ## Output variables. ##
1272 ## ----------------- ##
1275 for ac_var in $ac_subst_vars
1277 eval ac_val=$`echo $ac_var`
1278 echo "$ac_var='"'"'$ac_val'"'"'"
1282 if test -n "$ac_subst_files"; then
1289 for ac_var in $ac_subst_files
1291 eval ac_val=$`echo $ac_var`
1292 echo "$ac_var='"'"'$ac_val'"'"'"
1297 if test -s confdefs.h; then
1304 sed "/^$/d" confdefs.h | sort
1307 test "$ac_signal" != 0 &&
1308 echo "$as_me: caught signal $ac_signal"
1309 echo "$as_me: exit $exit_status"
1311 rm -f core *.core &&
1312 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1315 for ac_signal in 1 2 13 15; do
1316 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1320 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1321 rm -rf conftest* confdefs.h
1322 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1325 # Predefined preprocessor variables.
1327 cat >>confdefs.h <<_ACEOF
1328 #define PACKAGE_NAME "$PACKAGE_NAME"
1332 cat >>confdefs.h <<_ACEOF
1333 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1337 cat >>confdefs.h <<_ACEOF
1338 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_STRING "$PACKAGE_STRING"
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1352 # Let the site file select an alternate cache file if it wants to.
1353 # Prefer explicitly selected file to automatically selected ones.
1354 if test -z "$CONFIG_SITE"; then
1355 if test "x$prefix" != xNONE; then
1356 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1358 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1361 for ac_site_file in $CONFIG_SITE; do
1362 if test -r "$ac_site_file"; then
1363 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1364 echo "$as_me: loading site script $ac_site_file" >&6;}
1365 sed 's/^/| /' "$ac_site_file" >&5
1370 if test -r "$cache_file"; then
1371 # Some versions of bash will fail to source /dev/null (special
1372 # files actually), so we avoid doing that.
1373 if test -f "$cache_file"; then
1374 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1375 echo "$as_me: loading cache $cache_file" >&6;}
1377 [\\/]* | ?:[\\/]* ) . $cache_file;;
1378 *) . ./$cache_file;;
1382 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1383 echo "$as_me: creating cache $cache_file" >&6;}
1387 # Check that the precious variables saved in the cache have kept the same
1389 ac_cache_corrupted=false
1390 for ac_var in `(set) 2>&1 |
1391 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1392 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1393 eval ac_new_set=\$ac_env_${ac_var}_set
1394 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1395 eval ac_new_val="\$ac_env_${ac_var}_value"
1396 case $ac_old_set,$ac_new_set in
1398 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1399 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1400 ac_cache_corrupted=: ;;
1402 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1403 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1404 ac_cache_corrupted=: ;;
1407 if test "x$ac_old_val" != "x$ac_new_val"; then
1408 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1409 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1410 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1411 echo "$as_me: former value: $ac_old_val" >&2;}
1412 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1413 echo "$as_me: current value: $ac_new_val" >&2;}
1414 ac_cache_corrupted=:
1417 # Pass precious variables to config.status.
1418 if test "$ac_new_set" = set; then
1420 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1421 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1422 *) ac_arg=$ac_var=$ac_new_val ;;
1424 case " $ac_configure_args " in
1425 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1426 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1430 if $ac_cache_corrupted; then
1431 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1432 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1433 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1434 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1435 { (exit 1); exit 1; }; }
1439 ac_cpp='$CPP $CPPFLAGS'
1440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1472 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1473 if test -f $ac_dir/install-sh; then
1475 ac_install_sh="$ac_aux_dir/install-sh -c"
1477 elif test -f $ac_dir/install.sh; then
1479 ac_install_sh="$ac_aux_dir/install.sh -c"
1481 elif test -f $ac_dir/shtool; then
1483 ac_install_sh="$ac_aux_dir/shtool install -c"
1487 if test -z "$ac_aux_dir"; then
1488 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1489 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1490 { (exit 1); exit 1; }; }
1492 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1493 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1494 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1496 # Make sure we can run config.sub.
1497 $ac_config_sub sun4 >/dev/null 2>&1 ||
1498 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1499 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1500 { (exit 1); exit 1; }; }
1502 echo "$as_me:$LINENO: checking build system type" >&5
1503 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1504 if test "${ac_cv_build+set}" = set; then
1505 echo $ECHO_N "(cached) $ECHO_C" >&6
1507 ac_cv_build_alias=$build_alias
1508 test -z "$ac_cv_build_alias" &&
1509 ac_cv_build_alias=`$ac_config_guess`
1510 test -z "$ac_cv_build_alias" &&
1511 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1512 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1513 { (exit 1); exit 1; }; }
1514 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1515 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1516 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1517 { (exit 1); exit 1; }; }
1520 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1521 echo "${ECHO_T}$ac_cv_build" >&6
1523 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1524 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1525 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1528 echo "$as_me:$LINENO: checking host system type" >&5
1529 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1530 if test "${ac_cv_host+set}" = set; then
1531 echo $ECHO_N "(cached) $ECHO_C" >&6
1533 ac_cv_host_alias=$host_alias
1534 test -z "$ac_cv_host_alias" &&
1535 ac_cv_host_alias=$ac_cv_build_alias
1536 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1537 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1538 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1539 { (exit 1); exit 1; }; }
1542 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1543 echo "${ECHO_T}$ac_cv_host" >&6
1545 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1546 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1547 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1550 echo "$as_me:$LINENO: checking target system type" >&5
1551 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1552 if test "${ac_cv_target+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 ac_cv_target_alias=$target_alias
1556 test "x$ac_cv_target_alias" = "x" &&
1557 ac_cv_target_alias=$ac_cv_host_alias
1558 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1559 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1560 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1561 { (exit 1); exit 1; }; }
1564 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1565 echo "${ECHO_T}$ac_cv_target" >&6
1566 target=$ac_cv_target
1567 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1568 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1569 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1572 # The aliases save the names the user supplied, while $host etc.
1573 # will get canonicalized.
1574 test -n "$target_alias" &&
1575 test "$program_prefix$program_suffix$program_transform_name" = \
1577 program_prefix=${target_alias}-
1578 case ${build_alias} in
1579 "") build_noncanonical=${build} ;;
1580 *) build_noncanonical=${build_alias} ;;
1583 case ${host_alias} in
1584 "") host_noncanonical=${build_noncanonical} ;;
1585 *) host_noncanonical=${host_alias} ;;
1588 case ${target_alias} in
1589 "") target_noncanonical=${host_noncanonical} ;;
1590 *) target_noncanonical=${target_alias} ;;
1596 am__api_version="1.9"
1597 # Find a good install program. We prefer a C program (faster),
1598 # so one script is as good as another. But avoid the broken or
1599 # incompatible versions:
1600 # SysV /etc/install, /usr/sbin/install
1601 # SunOS /usr/etc/install
1602 # IRIX /sbin/install
1604 # AmigaOS /C/install, which installs bootblocks on floppy discs
1605 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1606 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1607 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1608 # OS/2's system install, which has a completely different semantic
1609 # ./install, which can be erroneously created by make from ./install.sh.
1610 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1611 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1612 if test -z "$INSTALL"; then
1613 if test "${ac_cv_path_install+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1620 test -z "$as_dir" && as_dir=.
1621 # Account for people who put trailing slashes in PATH elements.
1623 ./ | .// | /cC/* | \
1624 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1625 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1628 # OSF1 and SCO ODT 3.0 have their own names for install.
1629 # Don't use installbsd from OSF since it installs stuff as root
1631 for ac_prog in ginstall scoinst install; do
1632 for ac_exec_ext in '' $ac_executable_extensions; do
1633 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1634 if test $ac_prog = install &&
1635 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1636 # AIX install. It has an incompatible calling convention.
1638 elif test $ac_prog = install &&
1639 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1640 # program-specific install script used by HP pwplus--don't use.
1643 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1655 if test "${ac_cv_path_install+set}" = set; then
1656 INSTALL=$ac_cv_path_install
1658 # As a last resort, use the slow shell script. We don't cache a
1659 # path for INSTALL within a source directory, because that will
1660 # break other packages using the cache if that directory is
1661 # removed, or if the path is relative.
1662 INSTALL=$ac_install_sh
1665 echo "$as_me:$LINENO: result: $INSTALL" >&5
1666 echo "${ECHO_T}$INSTALL" >&6
1668 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1669 # It thinks the first close brace ends the variable substitution.
1670 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1672 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1674 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1676 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1677 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1680 echo timestamp > conftest.file
1681 # Do `set' in a subshell so we don't clobber the current shell's
1682 # arguments. Must try -L first in case configure is actually a
1683 # symlink; some systems play weird games with the mod time of symlinks
1684 # (eg FreeBSD returns the mod time of the symlink's containing
1687 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1688 if test "$*" = "X"; then
1690 set X `ls -t $srcdir/configure conftest.file`
1693 if test "$*" != "X $srcdir/configure conftest.file" \
1694 && test "$*" != "X conftest.file $srcdir/configure"; then
1696 # If neither matched, then we have a broken ls. This can happen
1697 # if, for instance, CONFIG_SHELL is bash and it inherits a
1698 # broken ls alias from the environment. This has actually
1699 # happened. Such a system could not be considered "sane".
1700 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1701 alias in your environment" >&5
1702 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1703 alias in your environment" >&2;}
1704 { (exit 1); exit 1; }; }
1707 test "$2" = conftest.file
1713 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1714 Check your system clock" >&5
1715 echo "$as_me: error: newly created file is older than distributed files!
1716 Check your system clock" >&2;}
1717 { (exit 1); exit 1; }; }
1719 echo "$as_me:$LINENO: result: yes" >&5
1720 echo "${ECHO_T}yes" >&6
1721 test "$program_prefix" != NONE &&
1722 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1723 # Use a double $ so make ignores it.
1724 test "$program_suffix" != NONE &&
1725 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1726 # Double any \ or $. echo might interpret backslashes.
1727 # By default was `s,x,x', remove it if useless.
1728 cat <<\_ACEOF >conftest.sed
1729 s/[\\$]/&&/g;s/;s,x,x,$//
1731 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1734 # expand $ac_aux_dir to an absolute path
1735 am_aux_dir=`cd $ac_aux_dir && pwd`
1737 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1738 # Use eval to expand $SHELL
1739 if eval "$MISSING --run true"; then
1740 am_missing_run="$MISSING --run "
1743 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1744 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1747 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1748 # We used to keeping the `.' as first argument, in order to
1749 # allow $(mkdir_p) to be used without argument. As in
1750 # $(mkdir_p) $(somedir)
1751 # where $(somedir) is conditionally defined. However this is wrong
1753 # 1. if the package is installed by a user who cannot write `.'
1754 # make install will fail,
1755 # 2. the above comment should most certainly read
1756 # $(mkdir_p) $(DESTDIR)$(somedir)
1757 # so it does not work when $(somedir) is undefined and
1758 # $(DESTDIR) is not.
1759 # To support the latter case, we have to write
1760 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1761 # so the `.' trick is pointless.
1762 mkdir_p='mkdir -p --'
1764 # On NextStep and OpenStep, the `mkdir' command does not
1765 # recognize any option. It will interpret all options as
1766 # directories to create, and then abort because `.' already
1768 for d in ./-p ./--version;
1770 test -d $d && rmdir $d
1772 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1773 if test -f "$ac_aux_dir/mkinstalldirs"; then
1774 mkdir_p='$(mkinstalldirs)'
1776 mkdir_p='$(install_sh) -d'
1780 for ac_prog in gawk mawk nawk awk
1782 # Extract the first word of "$ac_prog", so it can be a program name with args.
1783 set dummy $ac_prog; ac_word=$2
1784 echo "$as_me:$LINENO: checking for $ac_word" >&5
1785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1786 if test "${ac_cv_prog_AWK+set}" = set; then
1787 echo $ECHO_N "(cached) $ECHO_C" >&6
1789 if test -n "$AWK"; then
1790 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1796 test -z "$as_dir" && as_dir=.
1797 for ac_exec_ext in '' $ac_executable_extensions; do
1798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1799 ac_cv_prog_AWK="$ac_prog"
1800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1809 if test -n "$AWK"; then
1810 echo "$as_me:$LINENO: result: $AWK" >&5
1811 echo "${ECHO_T}$AWK" >&6
1813 echo "$as_me:$LINENO: result: no" >&5
1814 echo "${ECHO_T}no" >&6
1817 test -n "$AWK" && break
1820 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1821 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1822 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1823 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1824 echo $ECHO_N "(cached) $ECHO_C" >&6
1826 cat >conftest.make <<\_ACEOF
1828 @echo 'ac_maketemp="$(MAKE)"'
1830 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1831 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1832 if test -n "$ac_maketemp"; then
1833 eval ac_cv_prog_make_${ac_make}_set=yes
1835 eval ac_cv_prog_make_${ac_make}_set=no
1839 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1840 echo "$as_me:$LINENO: result: yes" >&5
1841 echo "${ECHO_T}yes" >&6
1844 echo "$as_me:$LINENO: result: no" >&5
1845 echo "${ECHO_T}no" >&6
1846 SET_MAKE="MAKE=${MAKE-make}"
1849 rm -rf .tst 2>/dev/null
1850 mkdir .tst 2>/dev/null
1851 if test -d .tst; then
1856 rmdir .tst 2>/dev/null
1858 # test to see if srcdir already configured
1859 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1860 test -f $srcdir/config.status; then
1861 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1862 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1863 { (exit 1); exit 1; }; }
1866 # test whether we have cygpath
1867 if test -z "$CYGPATH_W"; then
1868 if (cygpath --version) >/dev/null 2>/dev/null; then
1869 CYGPATH_W='cygpath -w'
1876 # Define the identity of the package.
1881 cat >>confdefs.h <<_ACEOF
1882 #define PACKAGE "$PACKAGE"
1886 cat >>confdefs.h <<_ACEOF
1887 #define VERSION "$VERSION"
1890 # Some tools Automake needs.
1892 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1895 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1898 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1901 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1904 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1906 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1908 # Installed binaries are usually stripped using `strip' when the user
1909 # run `make install-strip'. However `strip' might not be the right
1910 # tool to use in cross-compilation environments, therefore Automake
1911 # will honor the `STRIP' environment variable to overrule this program.
1912 if test "$cross_compiling" != no; then
1913 if test -n "$ac_tool_prefix"; then
1914 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1915 set dummy ${ac_tool_prefix}strip; ac_word=$2
1916 echo "$as_me:$LINENO: checking for $ac_word" >&5
1917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1918 if test "${ac_cv_prog_STRIP+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1921 if test -n "$STRIP"; then
1922 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1928 test -z "$as_dir" && as_dir=.
1929 for ac_exec_ext in '' $ac_executable_extensions; do
1930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1931 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1940 STRIP=$ac_cv_prog_STRIP
1941 if test -n "$STRIP"; then
1942 echo "$as_me:$LINENO: result: $STRIP" >&5
1943 echo "${ECHO_T}$STRIP" >&6
1945 echo "$as_me:$LINENO: result: no" >&5
1946 echo "${ECHO_T}no" >&6
1950 if test -z "$ac_cv_prog_STRIP"; then
1952 # Extract the first word of "strip", so it can be a program name with args.
1953 set dummy strip; ac_word=$2
1954 echo "$as_me:$LINENO: checking for $ac_word" >&5
1955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1956 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1957 echo $ECHO_N "(cached) $ECHO_C" >&6
1959 if test -n "$ac_ct_STRIP"; then
1960 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1966 test -z "$as_dir" && as_dir=.
1967 for ac_exec_ext in '' $ac_executable_extensions; do
1968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1969 ac_cv_prog_ac_ct_STRIP="strip"
1970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1976 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1979 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1980 if test -n "$ac_ct_STRIP"; then
1981 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1982 echo "${ECHO_T}$ac_ct_STRIP" >&6
1984 echo "$as_me:$LINENO: result: no" >&5
1985 echo "${ECHO_T}no" >&6
1990 STRIP="$ac_cv_prog_STRIP"
1994 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1996 # We need awk for the "check" target. The system "awk" is bad on
1998 # Always define AMTAR for backward compatibility.
2000 AMTAR=${AMTAR-"${am_missing_run}tar"}
2002 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2009 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
2010 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
2011 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
2012 if test "${enable_version_specific_runtime_libs+set}" = set; then
2013 enableval="$enable_version_specific_runtime_libs"
2014 case "$enableval" in
2015 yes) version_specific_libs=yes ;;
2016 no) version_specific_libs=no ;;
2017 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
2018 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
2019 { (exit 1); exit 1; }; };;
2022 version_specific_libs=no
2024 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
2025 echo "${ECHO_T}$version_specific_libs" >&6
2027 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2028 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2029 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2030 if test "${enable_maintainer_mode+set}" = set; then
2031 enableval="$enable_maintainer_mode"
2032 USE_MAINTAINER_MODE=$enableval
2034 USE_MAINTAINER_MODE=no
2036 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2037 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2040 if test $USE_MAINTAINER_MODE = yes; then
2041 MAINTAINER_MODE_TRUE=
2042 MAINTAINER_MODE_FALSE='#'
2044 MAINTAINER_MODE_TRUE='#'
2045 MAINTAINER_MODE_FALSE=
2048 MAINT=$MAINTAINER_MODE_TRUE
2054 # Default to --enable-multilib
2055 # Check whether --enable-multilib or --disable-multilib was given.
2056 if test "${enable_multilib+set}" = set; then
2057 enableval="$enable_multilib"
2058 case "$enableval" in
2059 yes) multilib=yes ;;
2061 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2062 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2063 { (exit 1); exit 1; }; } ;;
2069 # We may get other options which we leave undocumented:
2070 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2071 # See config-ml.in if you want the gory details.
2073 if test "$srcdir" = "."; then
2074 if test "$with_target_subdir" != "."; then
2075 multi_basedir="$srcdir/$with_multisrctop../.."
2077 multi_basedir="$srcdir/$with_multisrctop.."
2080 multi_basedir="$srcdir/.."
2084 # Even if the default multilib is not a cross compilation,
2085 # it may be that some of the other multilibs are.
2086 if test $cross_compiling = no && test $multilib = yes \
2087 && test "x${with_multisubdir}" != x ; then
2088 cross_compiling=maybe
2091 ac_config_commands="$ac_config_commands default-1"
2094 target_alias=${target_alias-$host_alias}
2097 ac_config_headers="$ac_config_headers config.h"
2101 ac_cpp='$CPP $CPPFLAGS'
2102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2106 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2107 # We must force CC to /not/ be precious variables; otherwise
2108 # the wrong, non-multilib-adjusted value will be used in multilibs.
2109 # As a side effect, we have to subst CFLAGS ourselves.
2114 ac_cpp='$CPP $CPPFLAGS'
2115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2118 if test -n "$ac_tool_prefix"; then
2119 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2120 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2121 echo "$as_me:$LINENO: checking for $ac_word" >&5
2122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2123 if test "${ac_cv_prog_CC+set}" = set; then
2124 echo $ECHO_N "(cached) $ECHO_C" >&6
2126 if test -n "$CC"; then
2127 ac_cv_prog_CC="$CC" # Let the user override the test.
2129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133 test -z "$as_dir" && as_dir=.
2134 for ac_exec_ext in '' $ac_executable_extensions; do
2135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2136 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146 if test -n "$CC"; then
2147 echo "$as_me:$LINENO: result: $CC" >&5
2148 echo "${ECHO_T}$CC" >&6
2150 echo "$as_me:$LINENO: result: no" >&5
2151 echo "${ECHO_T}no" >&6
2155 if test -z "$ac_cv_prog_CC"; then
2157 # Extract the first word of "gcc", so it can be a program name with args.
2158 set dummy gcc; ac_word=$2
2159 echo "$as_me:$LINENO: checking for $ac_word" >&5
2160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2161 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2162 echo $ECHO_N "(cached) $ECHO_C" >&6
2164 if test -n "$ac_ct_CC"; then
2165 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171 test -z "$as_dir" && as_dir=.
2172 for ac_exec_ext in '' $ac_executable_extensions; do
2173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2174 ac_cv_prog_ac_ct_CC="gcc"
2175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2183 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2184 if test -n "$ac_ct_CC"; then
2185 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2186 echo "${ECHO_T}$ac_ct_CC" >&6
2188 echo "$as_me:$LINENO: result: no" >&5
2189 echo "${ECHO_T}no" >&6
2197 if test -z "$CC"; then
2198 if test -n "$ac_tool_prefix"; then
2199 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2200 set dummy ${ac_tool_prefix}cc; ac_word=$2
2201 echo "$as_me:$LINENO: checking for $ac_word" >&5
2202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2203 if test "${ac_cv_prog_CC+set}" = set; then
2204 echo $ECHO_N "(cached) $ECHO_C" >&6
2206 if test -n "$CC"; then
2207 ac_cv_prog_CC="$CC" # Let the user override the test.
2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2213 test -z "$as_dir" && as_dir=.
2214 for ac_exec_ext in '' $ac_executable_extensions; do
2215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2216 ac_cv_prog_CC="${ac_tool_prefix}cc"
2217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 if test -n "$CC"; then
2227 echo "$as_me:$LINENO: result: $CC" >&5
2228 echo "${ECHO_T}$CC" >&6
2230 echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6
2235 if test -z "$ac_cv_prog_CC"; then
2237 # Extract the first word of "cc", so it can be a program name with args.
2238 set dummy cc; ac_word=$2
2239 echo "$as_me:$LINENO: checking for $ac_word" >&5
2240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2241 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2242 echo $ECHO_N "(cached) $ECHO_C" >&6
2244 if test -n "$ac_ct_CC"; then
2245 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 test -z "$as_dir" && as_dir=.
2252 for ac_exec_ext in '' $ac_executable_extensions; do
2253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2254 ac_cv_prog_ac_ct_CC="cc"
2255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2263 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2264 if test -n "$ac_ct_CC"; then
2265 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2266 echo "${ECHO_T}$ac_ct_CC" >&6
2268 echo "$as_me:$LINENO: result: no" >&5
2269 echo "${ECHO_T}no" >&6
2278 if test -z "$CC"; then
2279 # Extract the first word of "cc", so it can be a program name with args.
2280 set dummy cc; ac_word=$2
2281 echo "$as_me:$LINENO: checking for $ac_word" >&5
2282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2283 if test "${ac_cv_prog_CC+set}" = set; then
2284 echo $ECHO_N "(cached) $ECHO_C" >&6
2286 if test -n "$CC"; then
2287 ac_cv_prog_CC="$CC" # Let the user override the test.
2290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 test -z "$as_dir" && as_dir=.
2295 for ac_exec_ext in '' $ac_executable_extensions; do
2296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2297 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2298 ac_prog_rejected=yes
2302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2308 if test $ac_prog_rejected = yes; then
2309 # We found a bogon in the path, so make sure we never use it.
2310 set dummy $ac_cv_prog_CC
2312 if test $# != 0; then
2313 # We chose a different compiler from the bogus one.
2314 # However, it has the same basename, so the bogon will be chosen
2315 # first if we set CC to just the basename; use the full file name.
2317 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2323 if test -n "$CC"; then
2324 echo "$as_me:$LINENO: result: $CC" >&5
2325 echo "${ECHO_T}$CC" >&6
2327 echo "$as_me:$LINENO: result: no" >&5
2328 echo "${ECHO_T}no" >&6
2332 if test -z "$CC"; then
2333 if test -n "$ac_tool_prefix"; then
2336 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2337 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2338 echo "$as_me:$LINENO: checking for $ac_word" >&5
2339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2340 if test "${ac_cv_prog_CC+set}" = set; then
2341 echo $ECHO_N "(cached) $ECHO_C" >&6
2343 if test -n "$CC"; then
2344 ac_cv_prog_CC="$CC" # Let the user override the test.
2346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir=.
2351 for ac_exec_ext in '' $ac_executable_extensions; do
2352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2353 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 if test -n "$CC"; then
2364 echo "$as_me:$LINENO: result: $CC" >&5
2365 echo "${ECHO_T}$CC" >&6
2367 echo "$as_me:$LINENO: result: no" >&5
2368 echo "${ECHO_T}no" >&6
2371 test -n "$CC" && break
2374 if test -z "$CC"; then
2378 # Extract the first word of "$ac_prog", so it can be a program name with args.
2379 set dummy $ac_prog; ac_word=$2
2380 echo "$as_me:$LINENO: checking for $ac_word" >&5
2381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2382 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2383 echo $ECHO_N "(cached) $ECHO_C" >&6
2385 if test -n "$ac_ct_CC"; then
2386 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392 test -z "$as_dir" && as_dir=.
2393 for ac_exec_ext in '' $ac_executable_extensions; do
2394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2395 ac_cv_prog_ac_ct_CC="$ac_prog"
2396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2405 if test -n "$ac_ct_CC"; then
2406 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2407 echo "${ECHO_T}$ac_ct_CC" >&6
2409 echo "$as_me:$LINENO: result: no" >&5
2410 echo "${ECHO_T}no" >&6
2413 test -n "$ac_ct_CC" && break
2422 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2423 See \`config.log' for more details." >&5
2424 echo "$as_me: error: no acceptable C compiler found in \$PATH
2425 See \`config.log' for more details." >&2;}
2426 { (exit 1); exit 1; }; }
2428 # Provide some information about the compiler.
2429 echo "$as_me:$LINENO:" \
2430 "checking for C compiler version" >&5
2431 ac_compiler=`set X $ac_compile; echo $2`
2432 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2433 (eval $ac_compiler --version </dev/null >&5) 2>&5
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }
2437 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2438 (eval $ac_compiler -v </dev/null >&5) 2>&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); }
2442 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2443 (eval $ac_compiler -V </dev/null >&5) 2>&5
2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); }
2448 cat >conftest.$ac_ext <<_ACEOF
2451 cat confdefs.h >>conftest.$ac_ext
2452 cat >>conftest.$ac_ext <<_ACEOF
2453 /* end confdefs.h. */
2464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2465 (eval $ac_link) 2>&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; then
2474 if test x$gcc_no_link = xyes; then
2475 # Setting cross_compile will disable run tests; it will
2476 # also disable AC_CHECK_FILE but that's generally
2477 # correct if we can't link.
2481 cat >conftest.$ac_ext <<_ACEOF
2484 cat confdefs.h >>conftest.$ac_ext
2485 cat >>conftest.$ac_ext <<_ACEOF
2486 /* end confdefs.h. */
2496 ac_clean_files_save=$ac_clean_files
2497 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2498 # Try to create an executable without -o first, disregard a.out.
2499 # It will help us diagnose broken compilers, and finding out an intuition
2501 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2502 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2503 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2504 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2505 (eval $ac_link_default) 2>&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }; then
2509 # Find the output, starting from the most likely. This scheme is
2510 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2513 # Be careful to initialize this variable, since it used to be cached.
2514 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2516 # b.out is created by i960 compilers.
2517 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2519 test -f "$ac_file" || continue
2521 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2524 # This is the source file.
2527 # We found the default executable, but exeext='' is most
2531 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2532 # FIXME: I believe we export ac_cv_exeext for Libtool,
2533 # but it would be cool to find out if it's true. Does anybody
2534 # maintain Libtool? --akim.
2542 echo "$as_me: failed program was:" >&5
2543 sed 's/^/| /' conftest.$ac_ext >&5
2545 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2546 See \`config.log' for more details." >&5
2547 echo "$as_me: error: C compiler cannot create executables
2548 See \`config.log' for more details." >&2;}
2549 { (exit 77); exit 77; }; }
2552 ac_exeext=$ac_cv_exeext
2553 echo "$as_me:$LINENO: result: $ac_file" >&5
2554 echo "${ECHO_T}$ac_file" >&6
2556 # Check the compiler produces executables we can run. If not, either
2557 # the compiler is broken, or we cross compile.
2558 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2559 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2560 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2561 # If not cross compiling, check that we can run a simple program.
2562 if test "$cross_compiling" != yes; then
2563 if { ac_try='./$ac_file'
2564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }; }; then
2571 if test "$cross_compiling" = maybe; then
2574 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2575 If you meant to cross compile, use \`--host'.
2576 See \`config.log' for more details." >&5
2577 echo "$as_me: error: cannot run C compiled programs.
2578 If you meant to cross compile, use \`--host'.
2579 See \`config.log' for more details." >&2;}
2580 { (exit 1); exit 1; }; }
2584 echo "$as_me:$LINENO: result: yes" >&5
2585 echo "${ECHO_T}yes" >&6
2587 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2588 ac_clean_files=$ac_clean_files_save
2589 # Check the compiler produces executables we can run. If not, either
2590 # the compiler is broken, or we cross compile.
2591 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2592 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2593 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2594 echo "${ECHO_T}$cross_compiling" >&6
2596 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2597 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2599 (eval $ac_link) 2>&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; then
2603 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2604 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2605 # work properly (i.e., refer to `conftest.exe'), while it won't with
2607 for ac_file in conftest.exe conftest conftest.*; do
2608 test -f "$ac_file" || continue
2610 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2611 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2618 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2619 See \`config.log' for more details." >&5
2620 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2621 See \`config.log' for more details." >&2;}
2622 { (exit 1); exit 1; }; }
2625 rm -f conftest$ac_cv_exeext
2626 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2627 echo "${ECHO_T}$ac_cv_exeext" >&6
2629 rm -f conftest.$ac_ext
2630 EXEEXT=$ac_cv_exeext
2633 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2634 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2635 if test "${ac_cv_objext+set}" = set; then
2636 echo $ECHO_N "(cached) $ECHO_C" >&6
2638 cat >conftest.$ac_ext <<_ACEOF
2641 cat confdefs.h >>conftest.$ac_ext
2642 cat >>conftest.$ac_ext <<_ACEOF
2643 /* end confdefs.h. */
2653 rm -f conftest.o conftest.obj
2654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2655 (eval $ac_compile) 2>&5
2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); }; then
2659 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2661 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2662 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2667 echo "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.$ac_ext >&5
2670 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2671 See \`config.log' for more details." >&5
2672 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2673 See \`config.log' for more details." >&2;}
2674 { (exit 1); exit 1; }; }
2677 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2679 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2680 echo "${ECHO_T}$ac_cv_objext" >&6
2681 OBJEXT=$ac_cv_objext
2683 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2684 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2685 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2686 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 cat >conftest.$ac_ext <<_ACEOF
2691 cat confdefs.h >>conftest.$ac_ext
2692 cat >>conftest.$ac_ext <<_ACEOF
2693 /* end confdefs.h. */
2706 rm -f conftest.$ac_objext
2707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2708 (eval $ac_compile) 2>conftest.er1
2710 grep -v '^ *+' conftest.er1 >conftest.err
2712 cat conftest.err >&5
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); } &&
2715 { ac_try='test -z "$ac_c_werror_flag"
2716 || test ! -s conftest.err'
2717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); }; } &&
2722 { ac_try='test -s conftest.$ac_objext'
2723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; }; then
2730 echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2736 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2739 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2740 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2741 GCC=`test $ac_compiler_gnu = yes && echo yes`
2742 ac_test_CFLAGS=${CFLAGS+set}
2743 ac_save_CFLAGS=$CFLAGS
2745 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2746 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2747 if test "${ac_cv_prog_cc_g+set}" = set; then
2748 echo $ECHO_N "(cached) $ECHO_C" >&6
2750 cat >conftest.$ac_ext <<_ACEOF
2753 cat confdefs.h >>conftest.$ac_ext
2754 cat >>conftest.$ac_ext <<_ACEOF
2755 /* end confdefs.h. */
2765 rm -f conftest.$ac_objext
2766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2767 (eval $ac_compile) 2>conftest.er1
2769 grep -v '^ *+' conftest.er1 >conftest.err
2771 cat conftest.err >&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); } &&
2774 { ac_try='test -z "$ac_c_werror_flag"
2775 || test ! -s conftest.err'
2776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); }; } &&
2781 { ac_try='test -s conftest.$ac_objext'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; }; then
2789 echo "$as_me: failed program was:" >&5
2790 sed 's/^/| /' conftest.$ac_ext >&5
2794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2796 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2797 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2798 if test "$ac_test_CFLAGS" = set; then
2799 CFLAGS=$ac_save_CFLAGS
2800 elif test $ac_cv_prog_cc_g = yes; then
2801 if test "$GCC" = yes; then
2807 if test "$GCC" = yes; then
2813 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2814 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2815 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2816 echo $ECHO_N "(cached) $ECHO_C" >&6
2818 ac_cv_prog_cc_stdc=no
2820 cat >conftest.$ac_ext <<_ACEOF
2823 cat confdefs.h >>conftest.$ac_ext
2824 cat >>conftest.$ac_ext <<_ACEOF
2825 /* end confdefs.h. */
2828 #include <sys/types.h>
2829 #include <sys/stat.h>
2830 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2831 struct buf { int x; };
2832 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2833 static char *e (p, i)
2839 static char *f (char * (*g) (char **, int), char **p, ...)
2844 s = g (p, va_arg (v,int));
2849 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2850 function prototypes and stuff, but not '\xHH' hex character constants.
2851 These don't provoke an error unfortunately, instead are silently treated
2852 as 'x'. The following induces an error, until -std1 is added to get
2853 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2854 array size at least. It's necessary to write '\x00'==0 to get something
2855 that's true only with -std1. */
2856 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2858 int test (int i, double x);
2859 struct s1 {int (*f) (int a);};
2860 struct s2 {int (*f) (double a);};
2861 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2867 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2872 # Don't try gcc -ansi; that turns off useful extensions and
2873 # breaks some systems' header files.
2874 # AIX -qlanglvl=ansi
2875 # Ultrix and OSF/1 -std1
2876 # HP-UX 10.20 and later -Ae
2877 # HP-UX older versions -Aa -D_HPUX_SOURCE
2878 # SVR4 -Xc -D__EXTENSIONS__
2879 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2881 CC="$ac_save_CC $ac_arg"
2882 rm -f conftest.$ac_objext
2883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2884 (eval $ac_compile) 2>conftest.er1
2886 grep -v '^ *+' conftest.er1 >conftest.err
2888 cat conftest.err >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); } &&
2891 { ac_try='test -z "$ac_c_werror_flag"
2892 || test ! -s conftest.err'
2893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); }; } &&
2898 { ac_try='test -s conftest.$ac_objext'
2899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); }; }; then
2904 ac_cv_prog_cc_stdc=$ac_arg
2907 echo "$as_me: failed program was:" >&5
2908 sed 's/^/| /' conftest.$ac_ext >&5
2911 rm -f conftest.err conftest.$ac_objext
2913 rm -f conftest.$ac_ext conftest.$ac_objext
2918 case "x$ac_cv_prog_cc_stdc" in
2920 echo "$as_me:$LINENO: result: none needed" >&5
2921 echo "${ECHO_T}none needed" >&6 ;;
2923 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2924 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2925 CC="$CC $ac_cv_prog_cc_stdc" ;;
2928 # Some people use a C++ compiler to compile C. Since we use `exit',
2929 # in C++ we need to declare it. In case someone uses the same compiler
2930 # for both compiling C and C++ we need to have the C++ compiler decide
2931 # the declaration of exit, since it's the most demanding environment.
2932 cat >conftest.$ac_ext <<_ACEOF
2937 rm -f conftest.$ac_objext
2938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2939 (eval $ac_compile) 2>conftest.er1
2941 grep -v '^ *+' conftest.er1 >conftest.err
2943 cat conftest.err >&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); } &&
2946 { ac_try='test -z "$ac_c_werror_flag"
2947 || test ! -s conftest.err'
2948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); }; } &&
2953 { ac_try='test -s conftest.$ac_objext'
2954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }; }; then
2959 for ac_declaration in \
2961 'extern "C" void std::exit (int) throw (); using std::exit;' \
2962 'extern "C" void std::exit (int); using std::exit;' \
2963 'extern "C" void exit (int) throw ();' \
2964 'extern "C" void exit (int);' \
2967 cat >conftest.$ac_ext <<_ACEOF
2970 cat confdefs.h >>conftest.$ac_ext
2971 cat >>conftest.$ac_ext <<_ACEOF
2972 /* end confdefs.h. */
2983 rm -f conftest.$ac_objext
2984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2985 (eval $ac_compile) 2>conftest.er1
2987 grep -v '^ *+' conftest.er1 >conftest.err
2989 cat conftest.err >&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); } &&
2992 { ac_try='test -z "$ac_c_werror_flag"
2993 || test ! -s conftest.err'
2994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); }; } &&
2999 { ac_try='test -s conftest.$ac_objext'
3000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); }; }; then
3007 echo "$as_me: failed program was:" >&5
3008 sed 's/^/| /' conftest.$ac_ext >&5
3012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3013 cat >conftest.$ac_ext <<_ACEOF
3016 cat confdefs.h >>conftest.$ac_ext
3017 cat >>conftest.$ac_ext <<_ACEOF
3018 /* end confdefs.h. */
3028 rm -f conftest.$ac_objext
3029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3030 (eval $ac_compile) 2>conftest.er1
3032 grep -v '^ *+' conftest.er1 >conftest.err
3034 cat conftest.err >&5
3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036 (exit $ac_status); } &&
3037 { ac_try='test -z "$ac_c_werror_flag"
3038 || test ! -s conftest.err'
3039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043 (exit $ac_status); }; } &&
3044 { ac_try='test -s conftest.$ac_objext'
3045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); }; }; then
3052 echo "$as_me: failed program was:" >&5
3053 sed 's/^/| /' conftest.$ac_ext >&5
3056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3059 if test -n "$ac_declaration"; then
3060 echo '#ifdef __cplusplus' >>confdefs.h
3061 echo $ac_declaration >>confdefs.h
3062 echo '#endif' >>confdefs.h
3066 echo "$as_me: failed program was:" >&5
3067 sed 's/^/| /' conftest.$ac_ext >&5
3070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3072 ac_cpp='$CPP $CPPFLAGS'
3073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3076 DEPDIR="${am__leading_dot}deps"
3078 ac_config_commands="$ac_config_commands depfiles"
3081 am_make=${MAKE-make}
3082 cat > confinc << 'END'
3087 # If we don't find an include directive, just comment out the code.
3088 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3089 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3093 # First try GNU make style include.
3094 echo "include confinc" > confmf
3095 # We grep out `Entering directory' and `Leaving directory'
3096 # messages which can occur if `w' ends up in MAKEFLAGS.
3097 # In particular we don't look at `^make:' because GNU make might
3098 # be invoked under some other name (usually "gmake"), in which
3099 # case it prints its new name instead of `make'.
3100 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3105 # Now try BSD make style include.
3106 if test "$am__include" = "#"; then
3107 echo '.include "confinc"' > confmf
3108 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3109 am__include=.include
3116 echo "$as_me:$LINENO: result: $_am_result" >&5
3117 echo "${ECHO_T}$_am_result" >&6
3118 rm -f confinc confmf
3120 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3121 if test "${enable_dependency_tracking+set}" = set; then
3122 enableval="$enable_dependency_tracking"
3125 if test "x$enable_dependency_tracking" != xno; then
3126 am_depcomp="$ac_aux_dir/depcomp"
3131 if test "x$enable_dependency_tracking" != xno; then
3142 depcc="$CC" am_compiler_list=
3144 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3145 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3146 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3147 echo $ECHO_N "(cached) $ECHO_C" >&6
3149 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3150 # We make a subdir and do the tests there. Otherwise we can end up
3151 # making bogus files that we don't know about and never remove. For
3152 # instance it was reported that on HP-UX the gcc test will end up
3153 # making a dummy file named `D' -- because `-MD' means `put the output
3156 # Copy depcomp to subdir because otherwise we won't find it if we're
3157 # using a relative directory.
3158 cp "$am_depcomp" conftest.dir
3160 # We will build objects and dependencies in a subdirectory because
3161 # it helps to detect inapplicable dependency modes. For instance
3162 # both Tru64's cc and ICC support -MD to output dependencies as a
3163 # side effect of compilation, but ICC will put the dependencies in
3164 # the current directory while Tru64 will put them in the object
3168 am_cv_CC_dependencies_compiler_type=none
3169 if test "$am_compiler_list" = ""; then
3170 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3172 for depmode in $am_compiler_list; do
3173 # Setup a source with many dependencies, because some compilers
3174 # like to wrap large dependency lists on column 80 (with \), and
3175 # we should not choose a depcomp mode which is confused by this.
3177 # We need to recreate these files for each test, as the compiler may
3178 # overwrite some of them when testing with obscure command lines.
3179 # This happens at least with the AIX C compiler.
3181 for i in 1 2 3 4 5 6; do
3182 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3183 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3184 # Solaris 8's {/usr,}/bin/sh.
3185 touch sub/conftst$i.h
3187 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3191 # after this tag, mechanisms are not by side-effect, so they'll
3192 # only be used when explicitly requested
3193 if test "x$enable_dependency_tracking" = xyes; then
3201 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3202 # mode. It turns out that the SunPro C++ compiler does not properly
3203 # handle `-M -o', and we need to detect this.
3204 if depmode=$depmode \
3205 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3206 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3207 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3208 >/dev/null 2>conftest.err &&
3209 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3210 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3211 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3212 # icc doesn't choke on unknown options, it will just issue warnings
3213 # or remarks (even with -Werror). So we grep stderr for any message
3214 # that says an option was ignored or not supported.
3215 # When given -MP, icc 7.0 and 7.1 complain thusly:
3216 # icc: Command line warning: ignoring option '-M'; no argument required
3217 # The diagnosis changed in icc 8.0:
3218 # icc: Command line remark: option '-MP' not supported
3219 if (grep 'ignoring option' conftest.err ||
3220 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3221 am_cv_CC_dependencies_compiler_type=$depmode
3230 am_cv_CC_dependencies_compiler_type=none
3234 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3235 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3236 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3241 test "x$enable_dependency_tracking" != xno \
3242 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3244 am__fastdepCC_FALSE='#'
3246 am__fastdepCC_TRUE='#'
3247 am__fastdepCC_FALSE=
3255 if test "x$GCC" != "xyes"; then
3256 { { echo "$as_me:$LINENO: error: libssp must be built with GCC" >&5
3257 echo "$as_me: error: libssp must be built with GCC" >&2;}
3258 { (exit 1); exit 1; }; }
3261 ac_cpp='$CPP $CPPFLAGS'
3262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3265 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3266 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3267 # On Suns, sometimes $CPP names a directory.
3268 if test -n "$CPP" && test -d "$CPP"; then
3271 if test -z "$CPP"; then
3272 if test "${ac_cv_prog_CPP+set}" = set; then
3273 echo $ECHO_N "(cached) $ECHO_C" >&6
3275 # Double quotes because CPP needs to be expanded
3276 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3279 for ac_c_preproc_warn_flag in '' yes
3281 # Use a header file that comes with gcc, so configuring glibc
3282 # with a fresh cross-compiler works.
3283 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3284 # <limits.h> exists even on freestanding compilers.
3285 # On the NeXT, cc -E runs the code through the compiler's parser,
3286 # not just through cpp. "Syntax error" is here to catch this case.
3287 cat >conftest.$ac_ext <<_ACEOF
3290 cat confdefs.h >>conftest.$ac_ext
3291 cat >>conftest.$ac_ext <<_ACEOF
3292 /* end confdefs.h. */
3294 # include <limits.h>
3296 # include <assert.h>
3300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3301 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3303 grep -v '^ *+' conftest.er1 >conftest.err
3305 cat conftest.err >&5
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); } >/dev/null; then
3308 if test -s conftest.err; then
3309 ac_cpp_err=$ac_c_preproc_warn_flag
3310 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3317 if test -z "$ac_cpp_err"; then
3320 echo "$as_me: failed program was:" >&5
3321 sed 's/^/| /' conftest.$ac_ext >&5
3323 # Broken: fails on valid input.
3326 rm -f conftest.err conftest.$ac_ext
3328 # OK, works on sane cases. Now check whether non-existent headers
3329 # can be detected and how.
3330 cat >conftest.$ac_ext <<_ACEOF
3333 cat confdefs.h >>conftest.$ac_ext
3334 cat >>conftest.$ac_ext <<_ACEOF
3335 /* end confdefs.h. */
3336 #include <ac_nonexistent.h>
3338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3339 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3341 grep -v '^ *+' conftest.er1 >conftest.err
3343 cat conftest.err >&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); } >/dev/null; then
3346 if test -s conftest.err; then
3347 ac_cpp_err=$ac_c_preproc_warn_flag
3348 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3355 if test -z "$ac_cpp_err"; then
3356 # Broken: success on invalid input.
3359 echo "$as_me: failed program was:" >&5
3360 sed 's/^/| /' conftest.$ac_ext >&5
3362 # Passes both tests.
3366 rm -f conftest.err conftest.$ac_ext
3369 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3370 rm -f conftest.err conftest.$ac_ext
3371 if $ac_preproc_ok; then
3383 echo "$as_me:$LINENO: result: $CPP" >&5
3384 echo "${ECHO_T}$CPP" >&6
3386 for ac_c_preproc_warn_flag in '' yes
3388 # Use a header file that comes with gcc, so configuring glibc
3389 # with a fresh cross-compiler works.
3390 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3391 # <limits.h> exists even on freestanding compilers.
3392 # On the NeXT, cc -E runs the code through the compiler's parser,
3393 # not just through cpp. "Syntax error" is here to catch this case.
3394 cat >conftest.$ac_ext <<_ACEOF
3397 cat confdefs.h >>conftest.$ac_ext
3398 cat >>conftest.$ac_ext <<_ACEOF
3399 /* end confdefs.h. */
3401 # include <limits.h>
3403 # include <assert.h>
3407 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3408 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3410 grep -v '^ *+' conftest.er1 >conftest.err
3412 cat conftest.err >&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); } >/dev/null; then
3415 if test -s conftest.err; then
3416 ac_cpp_err=$ac_c_preproc_warn_flag
3417 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3424 if test -z "$ac_cpp_err"; then
3427 echo "$as_me: failed program was:" >&5
3428 sed 's/^/| /' conftest.$ac_ext >&5
3430 # Broken: fails on valid input.
3433 rm -f conftest.err conftest.$ac_ext
3435 # OK, works on sane cases. Now check whether non-existent headers
3436 # can be detected and how.
3437 cat >conftest.$ac_ext <<_ACEOF
3440 cat confdefs.h >>conftest.$ac_ext
3441 cat >>conftest.$ac_ext <<_ACEOF
3442 /* end confdefs.h. */
3443 #include <ac_nonexistent.h>
3445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3446 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3448 grep -v '^ *+' conftest.er1 >conftest.err
3450 cat conftest.err >&5
3451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452 (exit $ac_status); } >/dev/null; then
3453 if test -s conftest.err; then
3454 ac_cpp_err=$ac_c_preproc_warn_flag
3455 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3462 if test -z "$ac_cpp_err"; then
3463 # Broken: success on invalid input.
3466 echo "$as_me: failed program was:" >&5
3467 sed 's/^/| /' conftest.$ac_ext >&5
3469 # Passes both tests.
3473 rm -f conftest.err conftest.$ac_ext
3476 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3477 rm -f conftest.err conftest.$ac_ext
3478 if $ac_preproc_ok; then
3481 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3482 See \`config.log' for more details." >&5
3483 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3484 See \`config.log' for more details." >&2;}
3485 { (exit 1); exit 1; }; }
3489 ac_cpp='$CPP $CPPFLAGS'
3490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3495 echo "$as_me:$LINENO: checking whether -fstack-protector works" >&5
3496 echo $ECHO_N "checking whether -fstack-protector works... $ECHO_C" >&6
3497 save_CFLAGS="$CFLAGS"
3498 CFLAGS="$CFLAGS -fstack-protector -Werror"
3500 cat >conftest.$ac_ext <<_ACEOF
3503 cat confdefs.h >>conftest.$ac_ext
3504 cat >>conftest.$ac_ext <<_ACEOF
3505 /* end confdefs.h. */
3507 void __attribute__((noinline)) bar (char *x)
3509 __builtin_memset (x, 0, 64);
3514 char buf[64]; bar (buf);
3519 rm -f conftest.$ac_objext
3520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3521 (eval $ac_compile) 2>conftest.er1
3523 grep -v '^ *+' conftest.er1 >conftest.err
3525 cat conftest.err >&5
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); } &&
3528 { ac_try='test -z "$ac_c_werror_flag"
3529 || test ! -s conftest.err'
3530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); }; } &&
3535 { ac_try='test -s conftest.$ac_objext'
3536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540 (exit $ac_status); }; }; then
3541 echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6
3544 echo "$as_me: failed program was:" >&5
3545 sed 's/^/| /' conftest.$ac_ext >&5
3547 echo "$as_me:$LINENO: result: no" >&5
3548 echo "${ECHO_T}no" >&6
3550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3551 CFLAGS="$save_CFLAGS"
3553 echo "$as_me:$LINENO: checking whether hidden visibility is supported" >&5
3554 echo $ECHO_N "checking whether hidden visibility is supported... $ECHO_C" >&6
3555 cat >conftest.$ac_ext <<_ACEOF
3558 cat confdefs.h >>conftest.$ac_ext
3559 cat >>conftest.$ac_ext <<_ACEOF
3560 /* end confdefs.h. */
3562 void __attribute__((visibility ("hidden"))) bar (void) {}
3571 rm -f conftest.$ac_objext
3572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3573 (eval $ac_compile) 2>conftest.er1
3575 grep -v '^ *+' conftest.er1 >conftest.err
3577 cat conftest.err >&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); } &&
3580 { ac_try='test -z "$ac_c_werror_flag"
3581 || test ! -s conftest.err'
3582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586 (exit $ac_status); }; } &&
3587 { ac_try='test -s conftest.$ac_objext'
3588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); }; }; then
3595 echo "$as_me: failed program was:" >&5
3596 sed 's/^/| /' conftest.$ac_ext >&5
3600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3601 echo "$as_me:$LINENO: result: $ssp_hidden" >&5
3602 echo "${ECHO_T}$ssp_hidden" >&6
3603 if test x$ssp_hidden = xyes; then
3605 cat >>confdefs.h <<\_ACEOF
3606 #define HAVE_HIDDEN_VISIBILITY 1
3611 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3612 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3613 cat > conftest.map <<EOF
3615 global: *foo*; bar; local: *;
3618 save_LDFLAGS="$LDFLAGS"
3619 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3620 if test x$gcc_no_link = xyes; then
3621 # If we cannot link, we cannot build shared libraries, so do not use
3622 # symbol versioning.
3625 if test x$gcc_no_link = xyes; then
3626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3628 { (exit 1); exit 1; }; }
3630 cat >conftest.$ac_ext <<_ACEOF
3633 cat confdefs.h >>conftest.$ac_ext
3634 cat >>conftest.$ac_ext <<_ACEOF
3635 /* end confdefs.h. */
3645 rm -f conftest.$ac_objext conftest$ac_exeext
3646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3647 (eval $ac_link) 2>conftest.er1
3649 grep -v '^ *+' conftest.er1 >conftest.err
3651 cat conftest.err >&5
3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653 (exit $ac_status); } &&
3654 { ac_try='test -z "$ac_c_werror_flag"
3655 || test ! -s conftest.err'
3656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); }; } &&
3661 { ac_try='test -s conftest$ac_exeext'
3662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); }; }; then
3669 echo "$as_me: failed program was:" >&5
3670 sed 's/^/| /' conftest.$ac_ext >&5
3674 rm -f conftest.err conftest.$ac_objext \
3675 conftest$ac_exeext conftest.$ac_ext
3677 LDFLAGS="$save_LDFLAGS"
3678 echo "$as_me:$LINENO: result: $ssp_use_symver" >&5
3679 echo "${ECHO_T}$ssp_use_symver" >&6
3682 if test "x$ssp_use_symver" = xyes; then
3683 LIBSSP_USE_SYMVER_TRUE=
3684 LIBSSP_USE_SYMVER_FALSE='#'
3686 LIBSSP_USE_SYMVER_TRUE='#'
3687 LIBSSP_USE_SYMVER_FALSE=
3692 echo "$as_me:$LINENO: checking for egrep" >&5
3693 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3694 if test "${ac_cv_prog_egrep+set}" = set; then
3695 echo $ECHO_N "(cached) $ECHO_C" >&6
3697 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3698 then ac_cv_prog_egrep='grep -E'
3699 else ac_cv_prog_egrep='egrep'
3702 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3703 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3704 EGREP=$ac_cv_prog_egrep
3707 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3708 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3709 if test "${ac_cv_header_stdc+set}" = set; then
3710 echo $ECHO_N "(cached) $ECHO_C" >&6
3712 cat >conftest.$ac_ext <<_ACEOF
3715 cat confdefs.h >>conftest.$ac_ext
3716 cat >>conftest.$ac_ext <<_ACEOF
3717 /* end confdefs.h. */
3731 rm -f conftest.$ac_objext
3732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3733 (eval $ac_compile) 2>conftest.er1
3735 grep -v '^ *+' conftest.er1 >conftest.err
3737 cat conftest.err >&5
3738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739 (exit $ac_status); } &&
3740 { ac_try='test -z "$ac_c_werror_flag"
3741 || test ! -s conftest.err'
3742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746 (exit $ac_status); }; } &&
3747 { ac_try='test -s conftest.$ac_objext'
3748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); }; }; then
3753 ac_cv_header_stdc=yes
3755 echo "$as_me: failed program was:" >&5
3756 sed 's/^/| /' conftest.$ac_ext >&5
3758 ac_cv_header_stdc=no
3760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3762 if test $ac_cv_header_stdc = yes; then
3763 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3764 cat >conftest.$ac_ext <<_ACEOF
3767 cat confdefs.h >>conftest.$ac_ext
3768 cat >>conftest.$ac_ext <<_ACEOF
3769 /* end confdefs.h. */
3773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3774 $EGREP "memchr" >/dev/null 2>&1; then
3777 ac_cv_header_stdc=no
3783 if test $ac_cv_header_stdc = yes; then
3784 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3785 cat >conftest.$ac_ext <<_ACEOF
3788 cat confdefs.h >>conftest.$ac_ext
3789 cat >>conftest.$ac_ext <<_ACEOF
3790 /* end confdefs.h. */
3794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3795 $EGREP "free" >/dev/null 2>&1; then
3798 ac_cv_header_stdc=no
3804 if test $ac_cv_header_stdc = yes; then
3805 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3806 if test "$cross_compiling" = yes; then
3809 cat >conftest.$ac_ext <<_ACEOF
3812 cat confdefs.h >>conftest.$ac_ext
3813 cat >>conftest.$ac_ext <<_ACEOF
3814 /* end confdefs.h. */
3816 #if ((' ' & 0x0FF) == 0x020)
3817 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3818 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3820 # define ISLOWER(c) \
3821 (('a' <= (c) && (c) <= 'i') \
3822 || ('j' <= (c) && (c) <= 'r') \
3823 || ('s' <= (c) && (c) <= 'z'))
3824 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3827 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3832 for (i = 0; i < 256; i++)
3833 if (XOR (islower (i), ISLOWER (i))
3834 || toupper (i) != TOUPPER (i))
3839 rm -f conftest$ac_exeext
3840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3841 (eval $ac_link) 2>&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849 (exit $ac_status); }; }; then
3852 echo "$as_me: program exited with status $ac_status" >&5
3853 echo "$as_me: failed program was:" >&5
3854 sed 's/^/| /' conftest.$ac_ext >&5
3857 ac_cv_header_stdc=no
3859 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3863 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3864 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3865 if test $ac_cv_header_stdc = yes; then
3867 cat >>confdefs.h <<\_ACEOF
3868 #define STDC_HEADERS 1
3873 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3883 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3884 inttypes.h stdint.h unistd.h
3886 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3887 echo "$as_me:$LINENO: checking for $ac_header" >&5
3888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3890 echo $ECHO_N "(cached) $ECHO_C" >&6
3892 cat >conftest.$ac_ext <<_ACEOF
3895 cat confdefs.h >>conftest.$ac_ext
3896 cat >>conftest.$ac_ext <<_ACEOF
3897 /* end confdefs.h. */
3898 $ac_includes_default
3900 #include <$ac_header>
3902 rm -f conftest.$ac_objext
3903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3904 (eval $ac_compile) 2>conftest.er1
3906 grep -v '^ *+' conftest.er1 >conftest.err
3908 cat conftest.err >&5
3909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910 (exit $ac_status); } &&
3911 { ac_try='test -z "$ac_c_werror_flag"
3912 || test ! -s conftest.err'
3913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917 (exit $ac_status); }; } &&
3918 { ac_try='test -s conftest.$ac_objext'
3919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3923 (exit $ac_status); }; }; then
3924 eval "$as_ac_Header=yes"
3926 echo "$as_me: failed program was:" >&5
3927 sed 's/^/| /' conftest.$ac_ext >&5
3929 eval "$as_ac_Header=no"
3931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3936 cat >>confdefs.h <<_ACEOF
3937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3953 for ac_header in alloca.h paths.h syslog.h string.h unistd.h fcntl.h stdio.h limits.h
3955 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3957 echo "$as_me:$LINENO: checking for $ac_header" >&5
3958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3960 echo $ECHO_N "(cached) $ECHO_C" >&6
3962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3965 # Is the header compilable?
3966 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3968 cat >conftest.$ac_ext <<_ACEOF
3971 cat confdefs.h >>conftest.$ac_ext
3972 cat >>conftest.$ac_ext <<_ACEOF
3973 /* end confdefs.h. */
3974 $ac_includes_default
3975 #include <$ac_header>
3977 rm -f conftest.$ac_objext
3978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3979 (eval $ac_compile) 2>conftest.er1
3981 grep -v '^ *+' conftest.er1 >conftest.err
3983 cat conftest.err >&5
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985 (exit $ac_status); } &&
3986 { ac_try='test -z "$ac_c_werror_flag"
3987 || test ! -s conftest.err'
3988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); }; } &&
3993 { ac_try='test -s conftest.$ac_objext'
3994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998 (exit $ac_status); }; }; then
3999 ac_header_compiler=yes
4001 echo "$as_me: failed program was:" >&5
4002 sed 's/^/| /' conftest.$ac_ext >&5
4004 ac_header_compiler=no
4006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4008 echo "${ECHO_T}$ac_header_compiler" >&6
4010 # Is the header present?
4011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4013 cat >conftest.$ac_ext <<_ACEOF
4016 cat confdefs.h >>conftest.$ac_ext
4017 cat >>conftest.$ac_ext <<_ACEOF
4018 /* end confdefs.h. */
4019 #include <$ac_header>
4021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4024 grep -v '^ *+' conftest.er1 >conftest.err
4026 cat conftest.err >&5
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); } >/dev/null; then
4029 if test -s conftest.err; then
4030 ac_cpp_err=$ac_c_preproc_warn_flag
4031 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4038 if test -z "$ac_cpp_err"; then
4039 ac_header_preproc=yes
4041 echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.$ac_ext >&5
4044 ac_header_preproc=no
4046 rm -f conftest.err conftest.$ac_ext
4047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4048 echo "${ECHO_T}$ac_header_preproc" >&6
4050 # So? What about this header?
4051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4057 ac_header_preproc=yes
4060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4074 ## --------------------------------- ##
4075 ## Report this to the libssp lists. ##
4076 ## --------------------------------- ##
4079 sed "s/^/$as_me: WARNING: /" >&2
4082 echo "$as_me:$LINENO: checking for $ac_header" >&5
4083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4085 echo $ECHO_N "(cached) $ECHO_C" >&6
4087 eval "$as_ac_Header=\$ac_header_preproc"
4089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4094 cat >>confdefs.h <<_ACEOF
4095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4103 if test x$gcc_no_link = xyes; then
4104 # Presume the ISO C functions are available; add target-specific
4105 # configuration here if required.
4106 cat >>confdefs.h <<\_ACEOF
4107 #define HAVE_STRNCPY 1
4110 cat >>confdefs.h <<\_ACEOF
4111 #define HAVE_STRNCAT 1
4118 for ac_func in mempcpy strncpy strncat
4120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4121 echo "$as_me:$LINENO: checking for $ac_func" >&5
4122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4123 if eval "test \"\${$as_ac_var+set}\" = set"; then
4124 echo $ECHO_N "(cached) $ECHO_C" >&6
4126 if test x$gcc_no_link = xyes; then
4127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4129 { (exit 1); exit 1; }; }
4131 cat >conftest.$ac_ext <<_ACEOF
4134 cat confdefs.h >>conftest.$ac_ext
4135 cat >>conftest.$ac_ext <<_ACEOF
4136 /* end confdefs.h. */
4137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4139 #define $ac_func innocuous_$ac_func
4141 /* System header to define __stub macros and hopefully few prototypes,
4142 which can conflict with char $ac_func (); below.
4143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4144 <limits.h> exists even on freestanding compilers. */
4147 # include <limits.h>
4149 # include <assert.h>
4154 /* Override any gcc2 internal prototype to avoid an error. */
4159 /* We use char because int might match the return type of a gcc2
4160 builtin and then its argument prototype would still apply. */
4162 /* The GNU C library defines this for functions which it implements
4163 to always fail with ENOSYS. Some functions are actually named
4164 something starting with __ and the normal name is an alias. */
4165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4168 char (*f) () = $ac_func;
4177 return f != $ac_func;
4182 rm -f conftest.$ac_objext conftest$ac_exeext
4183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4184 (eval $ac_link) 2>conftest.er1
4186 grep -v '^ *+' conftest.er1 >conftest.err
4188 cat conftest.err >&5
4189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190 (exit $ac_status); } &&
4191 { ac_try='test -z "$ac_c_werror_flag"
4192 || test ! -s conftest.err'
4193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4197 (exit $ac_status); }; } &&
4198 { ac_try='test -s conftest$ac_exeext'
4199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); }; }; then
4204 eval "$as_ac_var=yes"
4206 echo "$as_me: failed program was:" >&5
4207 sed 's/^/| /' conftest.$ac_ext >&5
4209 eval "$as_ac_var=no"
4211 rm -f conftest.err conftest.$ac_objext \
4212 conftest$ac_exeext conftest.$ac_ext
4214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4216 if test `eval echo '${'$as_ac_var'}'` = yes; then
4217 cat >>confdefs.h <<_ACEOF
4218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4226 echo "$as_me:$LINENO: checking whether vsnprintf is usable" >&5
4227 echo $ECHO_N "checking whether vsnprintf is usable... $ECHO_C" >&6
4228 if test "$cross_compiling" = yes; then
4229 ssp_have_usable_vsnprintf=undef
4231 cat >conftest.$ac_ext <<_ACEOF
4234 cat confdefs.h >>conftest.$ac_ext
4235 cat >>conftest.$ac_ext <<_ACEOF
4236 /* end confdefs.h. */
4241 int foo (char *buf, size_t n, const char *fmt, ...)
4246 ret = vsnprintf (buf, n, fmt, ap);
4253 char buf[8]; memset (buf, 'A', sizeof (buf));
4254 if (foo (buf, 4, ".%s.", "CDEFG") != 7)
4256 return memcmp (buf, ".CD\0AAAA", sizeof (buf)) != 0;
4261 rm -f conftest$ac_exeext
4262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4263 (eval $ac_link) 2>&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); }; }; then
4272 ssp_have_usable_vsnprintf=define
4274 echo "$as_me: program exited with status $ac_status" >&5
4275 echo "$as_me: failed program was:" >&5
4276 sed 's/^/| /' conftest.$ac_ext >&5
4279 ssp_have_usable_vsnprintf=undef
4281 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4283 if test "x$ssp_have_usable_vsnprintf" = xdefine; then
4284 echo "$as_me:$LINENO: result: yes" >&5
4285 echo "${ECHO_T}yes" >&6
4287 cat >>confdefs.h <<\_ACEOF
4288 #define HAVE_USABLE_VSNPRINTF 1
4292 echo "$as_me:$LINENO: result: no" >&5
4293 echo "${ECHO_T}no" >&6
4299 macro_version='2.1a'
4300 macro_revision='1.2435'
4313 ltmain="$ac_aux_dir/ltmain.sh"
4323 # Check whether --enable-shared or --disable-shared was given.
4324 if test "${enable_shared+set}" = set; then
4325 enableval="$enable_shared"
4326 p=${PACKAGE-default}
4328 yes) enable_shared=yes ;;
4329 no) enable_shared=no ;;
4332 # Look at the argument we got. We use all the common list separators.
4333 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4334 for pkg in $enableval; do
4336 if test "X$pkg" = "X$p"; then
4354 # Check whether --enable-static or --disable-static was given.
4355 if test "${enable_static+set}" = set; then
4356 enableval="$enable_static"
4357 p=${PACKAGE-default}
4359 yes) enable_static=yes ;;
4360 no) enable_static=no ;;
4363 # Look at the argument we got. We use all the common list separators.
4364 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4365 for pkg in $enableval; do
4367 if test "X$pkg" = "X$p"; then
4386 # Check whether --with-pic or --without-pic was given.
4387 if test "${with_pic+set}" = set; then
4394 test -z "$pic_mode" && pic_mode=default
4402 # Check whether --enable-fast-install or --disable-fast-install was given.
4403 if test "${enable_fast_install+set}" = set; then
4404 enableval="$enable_fast_install"
4405 p=${PACKAGE-default}
4407 yes) enable_fast_install=yes ;;
4408 no) enable_fast_install=no ;;
4410 enable_fast_install=no
4411 # Look at the argument we got. We use all the common list separators.
4412 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4413 for pkg in $enableval; do
4415 if test "X$pkg" = "X$p"; then
4416 enable_fast_install=yes
4423 enable_fast_install=yes
4433 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4434 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4435 if test "${lt_cv_path_SED+set}" = set; then
4436 echo $ECHO_N "(cached) $ECHO_C" >&6
4438 # Loop through the user's path and test for sed and gsed.
4439 # Then use that list of sed's as ones to test for truncation.
4440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 test -z "$as_dir" && as_di