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 # Reject install programs that cannot install multiple files.
1611 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1612 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1613 if test -z "$INSTALL"; then
1614 if test "${ac_cv_path_install+set}" = set; then
1615 echo $ECHO_N "(cached) $ECHO_C" >&6
1617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1621 test -z "$as_dir" && as_dir=.
1622 # Account for people who put trailing slashes in PATH elements.
1624 ./ | .// | /cC/* | \
1625 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1626 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1629 # OSF1 and SCO ODT 3.0 have their own names for install.
1630 # Don't use installbsd from OSF since it installs stuff as root
1632 for ac_prog in ginstall scoinst install; do
1633 for ac_exec_ext in '' $ac_executable_extensions; do
1634 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1635 if test $ac_prog = install &&
1636 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1637 # AIX install. It has an incompatible calling convention.
1639 elif test $ac_prog = install &&
1640 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1641 # program-specific install script used by HP pwplus--don't use.
1644 rm -rf conftest.one conftest.two conftest.dir
1645 echo one > conftest.one
1646 echo two > conftest.two
1648 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1649 test -s conftest.one && test -s conftest.two &&
1650 test -s conftest.dir/conftest.one &&
1651 test -s conftest.dir/conftest.two
1653 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1664 rm -rf conftest.one conftest.two conftest.dir
1667 if test "${ac_cv_path_install+set}" = set; then
1668 INSTALL=$ac_cv_path_install
1670 # As a last resort, use the slow shell script. Don't cache a
1671 # value for INSTALL within a source directory, because that will
1672 # break other packages using the cache if that directory is
1673 # removed, or if the value is a relative name.
1674 INSTALL=$ac_install_sh
1677 echo "$as_me:$LINENO: result: $INSTALL" >&5
1678 echo "${ECHO_T}$INSTALL" >&6
1680 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1681 # It thinks the first close brace ends the variable substitution.
1682 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1684 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1686 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1688 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1689 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1692 echo timestamp > conftest.file
1693 # Do `set' in a subshell so we don't clobber the current shell's
1694 # arguments. Must try -L first in case configure is actually a
1695 # symlink; some systems play weird games with the mod time of symlinks
1696 # (eg FreeBSD returns the mod time of the symlink's containing
1699 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1700 if test "$*" = "X"; then
1702 set X `ls -t $srcdir/configure conftest.file`
1705 if test "$*" != "X $srcdir/configure conftest.file" \
1706 && test "$*" != "X conftest.file $srcdir/configure"; then
1708 # If neither matched, then we have a broken ls. This can happen
1709 # if, for instance, CONFIG_SHELL is bash and it inherits a
1710 # broken ls alias from the environment. This has actually
1711 # happened. Such a system could not be considered "sane".
1712 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1713 alias in your environment" >&5
1714 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1715 alias in your environment" >&2;}
1716 { (exit 1); exit 1; }; }
1719 test "$2" = conftest.file
1725 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1726 Check your system clock" >&5
1727 echo "$as_me: error: newly created file is older than distributed files!
1728 Check your system clock" >&2;}
1729 { (exit 1); exit 1; }; }
1731 echo "$as_me:$LINENO: result: yes" >&5
1732 echo "${ECHO_T}yes" >&6
1733 test "$program_prefix" != NONE &&
1734 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1735 # Use a double $ so make ignores it.
1736 test "$program_suffix" != NONE &&
1737 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1738 # Double any \ or $. echo might interpret backslashes.
1739 # By default was `s,x,x', remove it if useless.
1740 cat <<\_ACEOF >conftest.sed
1741 s/[\\$]/&&/g;s/;s,x,x,$//
1743 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1746 # expand $ac_aux_dir to an absolute path
1747 am_aux_dir=`cd $ac_aux_dir && pwd`
1749 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1750 # Use eval to expand $SHELL
1751 if eval "$MISSING --run true"; then
1752 am_missing_run="$MISSING --run "
1755 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1756 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1759 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1760 # We used to keeping the `.' as first argument, in order to
1761 # allow $(mkdir_p) to be used without argument. As in
1762 # $(mkdir_p) $(somedir)
1763 # where $(somedir) is conditionally defined. However this is wrong
1765 # 1. if the package is installed by a user who cannot write `.'
1766 # make install will fail,
1767 # 2. the above comment should most certainly read
1768 # $(mkdir_p) $(DESTDIR)$(somedir)
1769 # so it does not work when $(somedir) is undefined and
1770 # $(DESTDIR) is not.
1771 # To support the latter case, we have to write
1772 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1773 # so the `.' trick is pointless.
1774 mkdir_p='mkdir -p --'
1776 # On NextStep and OpenStep, the `mkdir' command does not
1777 # recognize any option. It will interpret all options as
1778 # directories to create, and then abort because `.' already
1780 for d in ./-p ./--version;
1782 test -d $d && rmdir $d
1784 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1785 if test -f "$ac_aux_dir/mkinstalldirs"; then
1786 mkdir_p='$(mkinstalldirs)'
1788 mkdir_p='$(install_sh) -d'
1792 for ac_prog in gawk mawk nawk awk
1794 # Extract the first word of "$ac_prog", so it can be a program name with args.
1795 set dummy $ac_prog; ac_word=$2
1796 echo "$as_me:$LINENO: checking for $ac_word" >&5
1797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1798 if test "${ac_cv_prog_AWK+set}" = set; then
1799 echo $ECHO_N "(cached) $ECHO_C" >&6
1801 if test -n "$AWK"; then
1802 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1808 test -z "$as_dir" && as_dir=.
1809 for ac_exec_ext in '' $ac_executable_extensions; do
1810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1811 ac_cv_prog_AWK="$ac_prog"
1812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1821 if test -n "$AWK"; then
1822 echo "$as_me:$LINENO: result: $AWK" >&5
1823 echo "${ECHO_T}$AWK" >&6
1825 echo "$as_me:$LINENO: result: no" >&5
1826 echo "${ECHO_T}no" >&6
1829 test -n "$AWK" && break
1832 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1833 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1834 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1835 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1836 echo $ECHO_N "(cached) $ECHO_C" >&6
1838 cat >conftest.make <<\_ACEOF
1840 @echo 'ac_maketemp="$(MAKE)"'
1842 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1843 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1844 if test -n "$ac_maketemp"; then
1845 eval ac_cv_prog_make_${ac_make}_set=yes
1847 eval ac_cv_prog_make_${ac_make}_set=no
1851 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1852 echo "$as_me:$LINENO: result: yes" >&5
1853 echo "${ECHO_T}yes" >&6
1856 echo "$as_me:$LINENO: result: no" >&5
1857 echo "${ECHO_T}no" >&6
1858 SET_MAKE="MAKE=${MAKE-make}"
1861 rm -rf .tst 2>/dev/null
1862 mkdir .tst 2>/dev/null
1863 if test -d .tst; then
1868 rmdir .tst 2>/dev/null
1870 # test to see if srcdir already configured
1871 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1872 test -f $srcdir/config.status; then
1873 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1874 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1875 { (exit 1); exit 1; }; }
1878 # test whether we have cygpath
1879 if test -z "$CYGPATH_W"; then
1880 if (cygpath --version) >/dev/null 2>/dev/null; then
1881 CYGPATH_W='cygpath -w'
1888 # Define the identity of the package.
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE "$PACKAGE"
1898 cat >>confdefs.h <<_ACEOF
1899 #define VERSION "$VERSION"
1902 # Some tools Automake needs.
1904 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1907 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1910 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1913 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1916 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1918 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1920 # Installed binaries are usually stripped using `strip' when the user
1921 # run `make install-strip'. However `strip' might not be the right
1922 # tool to use in cross-compilation environments, therefore Automake
1923 # will honor the `STRIP' environment variable to overrule this program.
1924 if test "$cross_compiling" != no; then
1925 if test -n "$ac_tool_prefix"; then
1926 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1927 set dummy ${ac_tool_prefix}strip; ac_word=$2
1928 echo "$as_me:$LINENO: checking for $ac_word" >&5
1929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1930 if test "${ac_cv_prog_STRIP+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 if test -n "$STRIP"; then
1934 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1940 test -z "$as_dir" && as_dir=.
1941 for ac_exec_ext in '' $ac_executable_extensions; do
1942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1943 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1952 STRIP=$ac_cv_prog_STRIP
1953 if test -n "$STRIP"; then
1954 echo "$as_me:$LINENO: result: $STRIP" >&5
1955 echo "${ECHO_T}$STRIP" >&6
1957 echo "$as_me:$LINENO: result: no" >&5
1958 echo "${ECHO_T}no" >&6
1962 if test -z "$ac_cv_prog_STRIP"; then
1964 # Extract the first word of "strip", so it can be a program name with args.
1965 set dummy strip; ac_word=$2
1966 echo "$as_me:$LINENO: checking for $ac_word" >&5
1967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1968 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1969 echo $ECHO_N "(cached) $ECHO_C" >&6
1971 if test -n "$ac_ct_STRIP"; then
1972 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1978 test -z "$as_dir" && as_dir=.
1979 for ac_exec_ext in '' $ac_executable_extensions; do
1980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1981 ac_cv_prog_ac_ct_STRIP="strip"
1982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1988 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1991 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1992 if test -n "$ac_ct_STRIP"; then
1993 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1994 echo "${ECHO_T}$ac_ct_STRIP" >&6
1996 echo "$as_me:$LINENO: result: no" >&5
1997 echo "${ECHO_T}no" >&6
2002 STRIP="$ac_cv_prog_STRIP"
2006 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2008 # We need awk for the "check" target. The system "awk" is bad on
2010 # Always define AMTAR for backward compatibility.
2012 AMTAR=${AMTAR-"${am_missing_run}tar"}
2014 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2021 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
2022 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
2023 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
2024 if test "${enable_version_specific_runtime_libs+set}" = set; then
2025 enableval="$enable_version_specific_runtime_libs"
2026 case "$enableval" in
2027 yes) version_specific_libs=yes ;;
2028 no) version_specific_libs=no ;;
2029 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
2030 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
2031 { (exit 1); exit 1; }; };;
2034 version_specific_libs=no
2036 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
2037 echo "${ECHO_T}$version_specific_libs" >&6
2039 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2040 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2041 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2042 if test "${enable_maintainer_mode+set}" = set; then
2043 enableval="$enable_maintainer_mode"
2044 USE_MAINTAINER_MODE=$enableval
2046 USE_MAINTAINER_MODE=no
2048 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2049 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2052 if test $USE_MAINTAINER_MODE = yes; then
2053 MAINTAINER_MODE_TRUE=
2054 MAINTAINER_MODE_FALSE='#'
2056 MAINTAINER_MODE_TRUE='#'
2057 MAINTAINER_MODE_FALSE=
2060 MAINT=$MAINTAINER_MODE_TRUE
2066 # Default to --enable-multilib
2067 # Check whether --enable-multilib or --disable-multilib was given.
2068 if test "${enable_multilib+set}" = set; then
2069 enableval="$enable_multilib"
2070 case "$enableval" in
2071 yes) multilib=yes ;;
2073 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2074 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2075 { (exit 1); exit 1; }; } ;;
2081 # We may get other options which we leave undocumented:
2082 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2083 # See config-ml.in if you want the gory details.
2085 if test "$srcdir" = "."; then
2086 if test "$with_target_subdir" != "."; then
2087 multi_basedir="$srcdir/$with_multisrctop../.."
2089 multi_basedir="$srcdir/$with_multisrctop.."
2092 multi_basedir="$srcdir/.."
2096 # Even if the default multilib is not a cross compilation,
2097 # it may be that some of the other multilibs are.
2098 if test $cross_compiling = no && test $multilib = yes \
2099 && test "x${with_multisubdir}" != x ; then
2100 cross_compiling=maybe
2103 ac_config_commands="$ac_config_commands default-1"
2106 target_alias=${target_alias-$host_alias}
2109 ac_config_headers="$ac_config_headers config.h"
2113 ac_cpp='$CPP $CPPFLAGS'
2114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2118 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2119 # We must force CC to /not/ be precious variables; otherwise
2120 # the wrong, non-multilib-adjusted value will be used in multilibs.
2121 # As a side effect, we have to subst CFLAGS ourselves.
2126 ac_cpp='$CPP $CPPFLAGS'
2127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2130 if test -n "$ac_tool_prefix"; then
2131 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2132 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2133 echo "$as_me:$LINENO: checking for $ac_word" >&5
2134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2135 if test "${ac_cv_prog_CC+set}" = set; then
2136 echo $ECHO_N "(cached) $ECHO_C" >&6
2138 if test -n "$CC"; then
2139 ac_cv_prog_CC="$CC" # Let the user override the test.
2141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 test -z "$as_dir" && as_dir=.
2146 for ac_exec_ext in '' $ac_executable_extensions; do
2147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2148 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2158 if test -n "$CC"; then
2159 echo "$as_me:$LINENO: result: $CC" >&5
2160 echo "${ECHO_T}$CC" >&6
2162 echo "$as_me:$LINENO: result: no" >&5
2163 echo "${ECHO_T}no" >&6
2167 if test -z "$ac_cv_prog_CC"; then
2169 # Extract the first word of "gcc", so it can be a program name with args.
2170 set dummy gcc; ac_word=$2
2171 echo "$as_me:$LINENO: checking for $ac_word" >&5
2172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2173 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2176 if test -n "$ac_ct_CC"; then
2177 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2183 test -z "$as_dir" && as_dir=.
2184 for ac_exec_ext in '' $ac_executable_extensions; do
2185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2186 ac_cv_prog_ac_ct_CC="gcc"
2187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2195 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2196 if test -n "$ac_ct_CC"; then
2197 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2198 echo "${ECHO_T}$ac_ct_CC" >&6
2200 echo "$as_me:$LINENO: result: no" >&5
2201 echo "${ECHO_T}no" >&6
2209 if test -z "$CC"; then
2210 if test -n "$ac_tool_prefix"; then
2211 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2212 set dummy ${ac_tool_prefix}cc; ac_word=$2
2213 echo "$as_me:$LINENO: checking for $ac_word" >&5
2214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2215 if test "${ac_cv_prog_CC+set}" = set; then
2216 echo $ECHO_N "(cached) $ECHO_C" >&6
2218 if test -n "$CC"; then
2219 ac_cv_prog_CC="$CC" # Let the user override the test.
2221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2225 test -z "$as_dir" && as_dir=.
2226 for ac_exec_ext in '' $ac_executable_extensions; do
2227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2228 ac_cv_prog_CC="${ac_tool_prefix}cc"
2229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2238 if test -n "$CC"; then
2239 echo "$as_me:$LINENO: result: $CC" >&5
2240 echo "${ECHO_T}$CC" >&6
2242 echo "$as_me:$LINENO: result: no" >&5
2243 echo "${ECHO_T}no" >&6
2247 if test -z "$ac_cv_prog_CC"; then
2249 # Extract the first word of "cc", so it can be a program name with args.
2250 set dummy cc; ac_word=$2
2251 echo "$as_me:$LINENO: checking for $ac_word" >&5
2252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2253 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2254 echo $ECHO_N "(cached) $ECHO_C" >&6
2256 if test -n "$ac_ct_CC"; then
2257 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2263 test -z "$as_dir" && as_dir=.
2264 for ac_exec_ext in '' $ac_executable_extensions; do
2265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2266 ac_cv_prog_ac_ct_CC="cc"
2267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2275 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2276 if test -n "$ac_ct_CC"; then
2277 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2278 echo "${ECHO_T}$ac_ct_CC" >&6
2280 echo "$as_me:$LINENO: result: no" >&5
2281 echo "${ECHO_T}no" >&6
2290 if test -z "$CC"; then
2291 # Extract the first word of "cc", so it can be a program name with args.
2292 set dummy cc; ac_word=$2
2293 echo "$as_me:$LINENO: checking for $ac_word" >&5
2294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2295 if test "${ac_cv_prog_CC+set}" = set; then
2296 echo $ECHO_N "(cached) $ECHO_C" >&6
2298 if test -n "$CC"; then
2299 ac_cv_prog_CC="$CC" # Let the user override the test.
2302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2306 test -z "$as_dir" && as_dir=.
2307 for ac_exec_ext in '' $ac_executable_extensions; do
2308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2309 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2310 ac_prog_rejected=yes
2314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2320 if test $ac_prog_rejected = yes; then
2321 # We found a bogon in the path, so make sure we never use it.
2322 set dummy $ac_cv_prog_CC
2324 if test $# != 0; then
2325 # We chose a different compiler from the bogus one.
2326 # However, it has the same basename, so the bogon will be chosen
2327 # first if we set CC to just the basename; use the full file name.
2329 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2335 if test -n "$CC"; then
2336 echo "$as_me:$LINENO: result: $CC" >&5
2337 echo "${ECHO_T}$CC" >&6
2339 echo "$as_me:$LINENO: result: no" >&5
2340 echo "${ECHO_T}no" >&6
2344 if test -z "$CC"; then
2345 if test -n "$ac_tool_prefix"; then
2348 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2349 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2350 echo "$as_me:$LINENO: checking for $ac_word" >&5
2351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2352 if test "${ac_cv_prog_CC+set}" = set; then
2353 echo $ECHO_N "(cached) $ECHO_C" >&6
2355 if test -n "$CC"; then
2356 ac_cv_prog_CC="$CC" # Let the user override the test.
2358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2362 test -z "$as_dir" && as_dir=.
2363 for ac_exec_ext in '' $ac_executable_extensions; do
2364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2365 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2375 if test -n "$CC"; then
2376 echo "$as_me:$LINENO: result: $CC" >&5
2377 echo "${ECHO_T}$CC" >&6
2379 echo "$as_me:$LINENO: result: no" >&5
2380 echo "${ECHO_T}no" >&6
2383 test -n "$CC" && break
2386 if test -z "$CC"; then
2390 # Extract the first word of "$ac_prog", so it can be a program name with args.
2391 set dummy $ac_prog; ac_word=$2
2392 echo "$as_me:$LINENO: checking for $ac_word" >&5
2393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2394 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2395 echo $ECHO_N "(cached) $ECHO_C" >&6
2397 if test -n "$ac_ct_CC"; then
2398 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404 test -z "$as_dir" && as_dir=.
2405 for ac_exec_ext in '' $ac_executable_extensions; do
2406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2407 ac_cv_prog_ac_ct_CC="$ac_prog"
2408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2416 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2417 if test -n "$ac_ct_CC"; then
2418 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2419 echo "${ECHO_T}$ac_ct_CC" >&6
2421 echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6
2425 test -n "$ac_ct_CC" && break
2434 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2435 See \`config.log' for more details." >&5
2436 echo "$as_me: error: no acceptable C compiler found in \$PATH
2437 See \`config.log' for more details." >&2;}
2438 { (exit 1); exit 1; }; }
2440 # Provide some information about the compiler.
2441 echo "$as_me:$LINENO:" \
2442 "checking for C compiler version" >&5
2443 ac_compiler=`set X $ac_compile; echo $2`
2444 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2445 (eval $ac_compiler --version </dev/null >&5) 2>&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); }
2449 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2450 (eval $ac_compiler -v </dev/null >&5) 2>&5
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); }
2454 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2455 (eval $ac_compiler -V </dev/null >&5) 2>&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); }
2460 cat >conftest.$ac_ext <<_ACEOF
2463 cat confdefs.h >>conftest.$ac_ext
2464 cat >>conftest.$ac_ext <<_ACEOF
2465 /* end confdefs.h. */
2476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2477 (eval $ac_link) 2>&5
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); }; then
2486 if test x$gcc_no_link = xyes; then
2487 # Setting cross_compile will disable run tests; it will
2488 # also disable AC_CHECK_FILE but that's generally
2489 # correct if we can't link.
2493 cat >conftest.$ac_ext <<_ACEOF
2496 cat confdefs.h >>conftest.$ac_ext
2497 cat >>conftest.$ac_ext <<_ACEOF
2498 /* end confdefs.h. */
2508 ac_clean_files_save=$ac_clean_files
2509 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2510 # Try to create an executable without -o first, disregard a.out.
2511 # It will help us diagnose broken compilers, and finding out an intuition
2513 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2514 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2515 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2516 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2517 (eval $ac_link_default) 2>&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }; then
2521 # Find the output, starting from the most likely. This scheme is
2522 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2525 # Be careful to initialize this variable, since it used to be cached.
2526 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2528 # b.out is created by i960 compilers.
2529 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2531 test -f "$ac_file" || continue
2533 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2536 # This is the source file.
2539 # We found the default executable, but exeext='' is most
2543 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2544 # FIXME: I believe we export ac_cv_exeext for Libtool,
2545 # but it would be cool to find out if it's true. Does anybody
2546 # maintain Libtool? --akim.
2554 echo "$as_me: failed program was:" >&5
2555 sed 's/^/| /' conftest.$ac_ext >&5
2557 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2558 See \`config.log' for more details." >&5
2559 echo "$as_me: error: C compiler cannot create executables
2560 See \`config.log' for more details." >&2;}
2561 { (exit 77); exit 77; }; }
2564 ac_exeext=$ac_cv_exeext
2565 echo "$as_me:$LINENO: result: $ac_file" >&5
2566 echo "${ECHO_T}$ac_file" >&6
2568 # Check the compiler produces executables we can run. If not, either
2569 # the compiler is broken, or we cross compile.
2570 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2571 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2572 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2573 # If not cross compiling, check that we can run a simple program.
2574 if test "$cross_compiling" != yes; then
2575 if { ac_try='./$ac_file'
2576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); }; }; then
2583 if test "$cross_compiling" = maybe; then
2586 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2587 If you meant to cross compile, use \`--host'.
2588 See \`config.log' for more details." >&5
2589 echo "$as_me: error: cannot run C compiled programs.
2590 If you meant to cross compile, use \`--host'.
2591 See \`config.log' for more details." >&2;}
2592 { (exit 1); exit 1; }; }
2596 echo "$as_me:$LINENO: result: yes" >&5
2597 echo "${ECHO_T}yes" >&6
2599 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2600 ac_clean_files=$ac_clean_files_save
2601 # Check the compiler produces executables we can run. If not, either
2602 # the compiler is broken, or we cross compile.
2603 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2604 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2605 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2606 echo "${ECHO_T}$cross_compiling" >&6
2608 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2609 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2611 (eval $ac_link) 2>&5
2613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 (exit $ac_status); }; then
2615 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2616 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2617 # work properly (i.e., refer to `conftest.exe'), while it won't with
2619 for ac_file in conftest.exe conftest conftest.*; do
2620 test -f "$ac_file" || continue
2622 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2623 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2630 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2631 See \`config.log' for more details." >&5
2632 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2633 See \`config.log' for more details." >&2;}
2634 { (exit 1); exit 1; }; }
2637 rm -f conftest$ac_cv_exeext
2638 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2639 echo "${ECHO_T}$ac_cv_exeext" >&6
2641 rm -f conftest.$ac_ext
2642 EXEEXT=$ac_cv_exeext
2645 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2646 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2647 if test "${ac_cv_objext+set}" = set; then
2648 echo $ECHO_N "(cached) $ECHO_C" >&6
2650 cat >conftest.$ac_ext <<_ACEOF
2653 cat confdefs.h >>conftest.$ac_ext
2654 cat >>conftest.$ac_ext <<_ACEOF
2655 /* end confdefs.h. */
2665 rm -f conftest.o conftest.obj
2666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2667 (eval $ac_compile) 2>&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; then
2671 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2673 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2674 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2679 echo "$as_me: failed program was:" >&5
2680 sed 's/^/| /' conftest.$ac_ext >&5
2682 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2683 See \`config.log' for more details." >&5
2684 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2685 See \`config.log' for more details." >&2;}
2686 { (exit 1); exit 1; }; }
2689 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2691 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2692 echo "${ECHO_T}$ac_cv_objext" >&6
2693 OBJEXT=$ac_cv_objext
2695 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2696 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2697 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2698 echo $ECHO_N "(cached) $ECHO_C" >&6
2700 cat >conftest.$ac_ext <<_ACEOF
2703 cat confdefs.h >>conftest.$ac_ext
2704 cat >>conftest.$ac_ext <<_ACEOF
2705 /* end confdefs.h. */
2718 rm -f conftest.$ac_objext
2719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2720 (eval $ac_compile) 2>conftest.er1
2722 grep -v '^ *+' conftest.er1 >conftest.err
2724 cat conftest.err >&5
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); } &&
2727 { ac_try='test -z "$ac_c_werror_flag"
2728 || test ! -s conftest.err'
2729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; } &&
2734 { ac_try='test -s conftest.$ac_objext'
2735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739 (exit $ac_status); }; }; then
2742 echo "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.$ac_ext >&5
2747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2748 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2751 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2752 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2753 GCC=`test $ac_compiler_gnu = yes && echo yes`
2754 ac_test_CFLAGS=${CFLAGS+set}
2755 ac_save_CFLAGS=$CFLAGS
2757 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2758 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2759 if test "${ac_cv_prog_cc_g+set}" = set; then
2760 echo $ECHO_N "(cached) $ECHO_C" >&6
2762 cat >conftest.$ac_ext <<_ACEOF
2765 cat confdefs.h >>conftest.$ac_ext
2766 cat >>conftest.$ac_ext <<_ACEOF
2767 /* end confdefs.h. */
2777 rm -f conftest.$ac_objext
2778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2779 (eval $ac_compile) 2>conftest.er1
2781 grep -v '^ *+' conftest.er1 >conftest.err
2783 cat conftest.err >&5
2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); } &&
2786 { ac_try='test -z "$ac_c_werror_flag"
2787 || test ! -s conftest.err'
2788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }; } &&
2793 { ac_try='test -s conftest.$ac_objext'
2794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); }; }; then
2801 echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.$ac_ext >&5
2806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2808 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2809 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2810 if test "$ac_test_CFLAGS" = set; then
2811 CFLAGS=$ac_save_CFLAGS
2812 elif test $ac_cv_prog_cc_g = yes; then
2813 if test "$GCC" = yes; then
2819 if test "$GCC" = yes; then
2825 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2826 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2827 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2828 echo $ECHO_N "(cached) $ECHO_C" >&6
2830 ac_cv_prog_cc_stdc=no
2832 cat >conftest.$ac_ext <<_ACEOF
2835 cat confdefs.h >>conftest.$ac_ext
2836 cat >>conftest.$ac_ext <<_ACEOF
2837 /* end confdefs.h. */
2840 #include <sys/types.h>
2841 #include <sys/stat.h>
2842 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2843 struct buf { int x; };
2844 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2845 static char *e (p, i)
2851 static char *f (char * (*g) (char **, int), char **p, ...)
2856 s = g (p, va_arg (v,int));
2861 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2862 function prototypes and stuff, but not '\xHH' hex character constants.
2863 These don't provoke an error unfortunately, instead are silently treated
2864 as 'x'. The following induces an error, until -std1 is added to get
2865 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2866 array size at least. It's necessary to write '\x00'==0 to get something
2867 that's true only with -std1. */
2868 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2870 int test (int i, double x);
2871 struct s1 {int (*f) (int a);};
2872 struct s2 {int (*f) (double a);};
2873 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2879 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2884 # Don't try gcc -ansi; that turns off useful extensions and
2885 # breaks some systems' header files.
2886 # AIX -qlanglvl=ansi
2887 # Ultrix and OSF/1 -std1
2888 # HP-UX 10.20 and later -Ae
2889 # HP-UX older versions -Aa -D_HPUX_SOURCE
2890 # SVR4 -Xc -D__EXTENSIONS__
2891 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2893 CC="$ac_save_CC $ac_arg"
2894 rm -f conftest.$ac_objext
2895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2896 (eval $ac_compile) 2>conftest.er1
2898 grep -v '^ *+' conftest.er1 >conftest.err
2900 cat conftest.err >&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); } &&
2903 { ac_try='test -z "$ac_c_werror_flag"
2904 || test ! -s conftest.err'
2905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); }; } &&
2910 { ac_try='test -s conftest.$ac_objext'
2911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }; }; then
2916 ac_cv_prog_cc_stdc=$ac_arg
2919 echo "$as_me: failed program was:" >&5
2920 sed 's/^/| /' conftest.$ac_ext >&5
2923 rm -f conftest.err conftest.$ac_objext
2925 rm -f conftest.$ac_ext conftest.$ac_objext
2930 case "x$ac_cv_prog_cc_stdc" in
2932 echo "$as_me:$LINENO: result: none needed" >&5
2933 echo "${ECHO_T}none needed" >&6 ;;
2935 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2936 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2937 CC="$CC $ac_cv_prog_cc_stdc" ;;
2940 # Some people use a C++ compiler to compile C. Since we use `exit',
2941 # in C++ we need to declare it. In case someone uses the same compiler
2942 # for both compiling C and C++ we need to have the C++ compiler decide
2943 # the declaration of exit, since it's the most demanding environment.
2944 cat >conftest.$ac_ext <<_ACEOF
2949 rm -f conftest.$ac_objext
2950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2951 (eval $ac_compile) 2>conftest.er1
2953 grep -v '^ *+' conftest.er1 >conftest.err
2955 cat conftest.err >&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); } &&
2958 { ac_try='test -z "$ac_c_werror_flag"
2959 || test ! -s conftest.err'
2960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); }; } &&
2965 { ac_try='test -s conftest.$ac_objext'
2966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); }; }; then
2971 for ac_declaration in \
2973 'extern "C" void std::exit (int) throw (); using std::exit;' \
2974 'extern "C" void std::exit (int); using std::exit;' \
2975 'extern "C" void exit (int) throw ();' \
2976 'extern "C" void exit (int);' \
2979 cat >conftest.$ac_ext <<_ACEOF
2982 cat confdefs.h >>conftest.$ac_ext
2983 cat >>conftest.$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2995 rm -f conftest.$ac_objext
2996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2997 (eval $ac_compile) 2>conftest.er1
2999 grep -v '^ *+' conftest.er1 >conftest.err
3001 cat conftest.err >&5
3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); } &&
3004 { ac_try='test -z "$ac_c_werror_flag"
3005 || test ! -s conftest.err'
3006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010 (exit $ac_status); }; } &&
3011 { ac_try='test -s conftest.$ac_objext'
3012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); }; }; then
3019 echo "$as_me: failed program was:" >&5
3020 sed 's/^/| /' conftest.$ac_ext >&5
3024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3025 cat >conftest.$ac_ext <<_ACEOF
3028 cat confdefs.h >>conftest.$ac_ext
3029 cat >>conftest.$ac_ext <<_ACEOF
3030 /* end confdefs.h. */
3040 rm -f conftest.$ac_objext
3041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3042 (eval $ac_compile) 2>conftest.er1
3044 grep -v '^ *+' conftest.er1 >conftest.err
3046 cat conftest.err >&5
3047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3048 (exit $ac_status); } &&
3049 { ac_try='test -z "$ac_c_werror_flag"
3050 || test ! -s conftest.err'
3051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); }; } &&
3056 { ac_try='test -s conftest.$ac_objext'
3057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061 (exit $ac_status); }; }; then
3064 echo "$as_me: failed program was:" >&5
3065 sed 's/^/| /' conftest.$ac_ext >&5
3068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3071 if test -n "$ac_declaration"; then
3072 echo '#ifdef __cplusplus' >>confdefs.h
3073 echo $ac_declaration >>confdefs.h
3074 echo '#endif' >>confdefs.h
3078 echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3084 ac_cpp='$CPP $CPPFLAGS'
3085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3088 DEPDIR="${am__leading_dot}deps"
3090 ac_config_commands="$ac_config_commands depfiles"
3093 am_make=${MAKE-make}
3094 cat > confinc << 'END'
3099 # If we don't find an include directive, just comment out the code.
3100 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3101 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3105 # First try GNU make style include.
3106 echo "include confinc" > confmf
3107 # We grep out `Entering directory' and `Leaving directory'
3108 # messages which can occur if `w' ends up in MAKEFLAGS.
3109 # In particular we don't look at `^make:' because GNU make might
3110 # be invoked under some other name (usually "gmake"), in which
3111 # case it prints its new name instead of `make'.
3112 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3117 # Now try BSD make style include.
3118 if test "$am__include" = "#"; then
3119 echo '.include "confinc"' > confmf
3120 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3121 am__include=.include
3128 echo "$as_me:$LINENO: result: $_am_result" >&5
3129 echo "${ECHO_T}$_am_result" >&6
3130 rm -f confinc confmf
3132 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3133 if test "${enable_dependency_tracking+set}" = set; then
3134 enableval="$enable_dependency_tracking"
3137 if test "x$enable_dependency_tracking" != xno; then
3138 am_depcomp="$ac_aux_dir/depcomp"
3143 if test "x$enable_dependency_tracking" != xno; then
3154 depcc="$CC" am_compiler_list=
3156 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3157 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3158 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3159 echo $ECHO_N "(cached) $ECHO_C" >&6
3161 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3162 # We make a subdir and do the tests there. Otherwise we can end up
3163 # making bogus files that we don't know about and never remove. For
3164 # instance it was reported that on HP-UX the gcc test will end up
3165 # making a dummy file named `D' -- because `-MD' means `put the output
3168 # Copy depcomp to subdir because otherwise we won't find it if we're
3169 # using a relative directory.
3170 cp "$am_depcomp" conftest.dir
3172 # We will build objects and dependencies in a subdirectory because
3173 # it helps to detect inapplicable dependency modes. For instance
3174 # both Tru64's cc and ICC support -MD to output dependencies as a
3175 # side effect of compilation, but ICC will put the dependencies in
3176 # the current directory while Tru64 will put them in the object
3180 am_cv_CC_dependencies_compiler_type=none
3181 if test "$am_compiler_list" = ""; then
3182 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3184 for depmode in $am_compiler_list; do
3185 # Setup a source with many dependencies, because some compilers
3186 # like to wrap large dependency lists on column 80 (with \), and
3187 # we should not choose a depcomp mode which is confused by this.
3189 # We need to recreate these files for each test, as the compiler may
3190 # overwrite some of them when testing with obscure command lines.
3191 # This happens at least with the AIX C compiler.
3193 for i in 1 2 3 4 5 6; do
3194 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3195 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3196 # Solaris 8's {/usr,}/bin/sh.
3197 touch sub/conftst$i.h
3199 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3203 # after this tag, mechanisms are not by side-effect, so they'll
3204 # only be used when explicitly requested
3205 if test "x$enable_dependency_tracking" = xyes; then
3213 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3214 # mode. It turns out that the SunPro C++ compiler does not properly
3215 # handle `-M -o', and we need to detect this.
3216 if depmode=$depmode \
3217 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3218 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3219 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3220 >/dev/null 2>conftest.err &&
3221 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3222 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3223 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3224 # icc doesn't choke on unknown options, it will just issue warnings
3225 # or remarks (even with -Werror). So we grep stderr for any message
3226 # that says an option was ignored or not supported.
3227 # When given -MP, icc 7.0 and 7.1 complain thusly:
3228 # icc: Command line warning: ignoring option '-M'; no argument required
3229 # The diagnosis changed in icc 8.0:
3230 # icc: Command line remark: option '-MP' not supported
3231 if (grep 'ignoring option' conftest.err ||
3232 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3233 am_cv_CC_dependencies_compiler_type=$depmode
3242 am_cv_CC_dependencies_compiler_type=none
3246 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3247 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3248 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3253 test "x$enable_dependency_tracking" != xno \
3254 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3256 am__fastdepCC_FALSE='#'
3258 am__fastdepCC_TRUE='#'
3259 am__fastdepCC_FALSE=
3267 if test "x$GCC" != "xyes"; then
3268 { { echo "$as_me:$LINENO: error: libssp must be built with GCC" >&5
3269 echo "$as_me: error: libssp must be built with GCC" >&2;}
3270 { (exit 1); exit 1; }; }
3273 ac_cpp='$CPP $CPPFLAGS'
3274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3277 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3278 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3279 # On Suns, sometimes $CPP names a directory.
3280 if test -n "$CPP" && test -d "$CPP"; then
3283 if test -z "$CPP"; then
3284 if test "${ac_cv_prog_CPP+set}" = set; then
3285 echo $ECHO_N "(cached) $ECHO_C" >&6
3287 # Double quotes because CPP needs to be expanded
3288 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3291 for ac_c_preproc_warn_flag in '' yes
3293 # Use a header file that comes with gcc, so configuring glibc
3294 # with a fresh cross-compiler works.
3295 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3296 # <limits.h> exists even on freestanding compilers.
3297 # On the NeXT, cc -E runs the code through the compiler's parser,
3298 # not just through cpp. "Syntax error" is here to catch this case.
3299 cat >conftest.$ac_ext <<_ACEOF
3302 cat confdefs.h >>conftest.$ac_ext
3303 cat >>conftest.$ac_ext <<_ACEOF
3304 /* end confdefs.h. */
3306 # include <limits.h>
3308 # include <assert.h>
3312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3313 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3315 grep -v '^ *+' conftest.er1 >conftest.err
3317 cat conftest.err >&5
3318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3319 (exit $ac_status); } >/dev/null; then
3320 if test -s conftest.err; then
3321 ac_cpp_err=$ac_c_preproc_warn_flag
3322 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3329 if test -z "$ac_cpp_err"; then
3332 echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.$ac_ext >&5
3335 # Broken: fails on valid input.
3338 rm -f conftest.err conftest.$ac_ext
3340 # OK, works on sane cases. Now check whether non-existent headers
3341 # can be detected and how.
3342 cat >conftest.$ac_ext <<_ACEOF
3345 cat confdefs.h >>conftest.$ac_ext
3346 cat >>conftest.$ac_ext <<_ACEOF
3347 /* end confdefs.h. */
3348 #include <ac_nonexistent.h>
3350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3351 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3353 grep -v '^ *+' conftest.er1 >conftest.err
3355 cat conftest.err >&5
3356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); } >/dev/null; then
3358 if test -s conftest.err; then
3359 ac_cpp_err=$ac_c_preproc_warn_flag
3360 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3367 if test -z "$ac_cpp_err"; then
3368 # Broken: success on invalid input.
3371 echo "$as_me: failed program was:" >&5
3372 sed 's/^/| /' conftest.$ac_ext >&5
3374 # Passes both tests.
3378 rm -f conftest.err conftest.$ac_ext
3381 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3382 rm -f conftest.err conftest.$ac_ext
3383 if $ac_preproc_ok; then
3395 echo "$as_me:$LINENO: result: $CPP" >&5
3396 echo "${ECHO_T}$CPP" >&6
3398 for ac_c_preproc_warn_flag in '' yes
3400 # Use a header file that comes with gcc, so configuring glibc
3401 # with a fresh cross-compiler works.
3402 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3403 # <limits.h> exists even on freestanding compilers.
3404 # On the NeXT, cc -E runs the code through the compiler's parser,
3405 # not just through cpp. "Syntax error" is here to catch this case.
3406 cat >conftest.$ac_ext <<_ACEOF
3409 cat confdefs.h >>conftest.$ac_ext
3410 cat >>conftest.$ac_ext <<_ACEOF
3411 /* end confdefs.h. */
3413 # include <limits.h>
3415 # include <assert.h>
3419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3420 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3422 grep -v '^ *+' conftest.er1 >conftest.err
3424 cat conftest.err >&5
3425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 (exit $ac_status); } >/dev/null; then
3427 if test -s conftest.err; then
3428 ac_cpp_err=$ac_c_preproc_warn_flag
3429 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3436 if test -z "$ac_cpp_err"; then
3439 echo "$as_me: failed program was:" >&5
3440 sed 's/^/| /' conftest.$ac_ext >&5
3442 # Broken: fails on valid input.
3445 rm -f conftest.err conftest.$ac_ext
3447 # OK, works on sane cases. Now check whether non-existent headers
3448 # can be detected and how.
3449 cat >conftest.$ac_ext <<_ACEOF
3452 cat confdefs.h >>conftest.$ac_ext
3453 cat >>conftest.$ac_ext <<_ACEOF
3454 /* end confdefs.h. */
3455 #include <ac_nonexistent.h>
3457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3458 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3460 grep -v '^ *+' conftest.er1 >conftest.err
3462 cat conftest.err >&5
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); } >/dev/null; then
3465 if test -s conftest.err; then
3466 ac_cpp_err=$ac_c_preproc_warn_flag
3467 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3474 if test -z "$ac_cpp_err"; then
3475 # Broken: success on invalid input.
3478 echo "$as_me: failed program was:" >&5
3479 sed 's/^/| /' conftest.$ac_ext >&5
3481 # Passes both tests.
3485 rm -f conftest.err conftest.$ac_ext
3488 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3489 rm -f conftest.err conftest.$ac_ext
3490 if $ac_preproc_ok; then
3493 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3494 See \`config.log' for more details." >&5
3495 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3496 See \`config.log' for more details." >&2;}
3497 { (exit 1); exit 1; }; }
3501 ac_cpp='$CPP $CPPFLAGS'
3502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3507 echo "$as_me:$LINENO: checking whether -fstack-protector works" >&5
3508 echo $ECHO_N "checking whether -fstack-protector works... $ECHO_C" >&6
3509 save_CFLAGS="$CFLAGS"
3510 CFLAGS="$CFLAGS -fstack-protector -Werror"
3512 cat >conftest.$ac_ext <<_ACEOF
3515 cat confdefs.h >>conftest.$ac_ext
3516 cat >>conftest.$ac_ext <<_ACEOF
3517 /* end confdefs.h. */
3519 void __attribute__((noinline)) bar (char *x)
3521 __builtin_memset (x, 0, 64);
3526 char buf[64]; bar (buf);
3531 rm -f conftest.$ac_objext
3532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3533 (eval $ac_compile) 2>conftest.er1
3535 grep -v '^ *+' conftest.er1 >conftest.err
3537 cat conftest.err >&5
3538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539 (exit $ac_status); } &&
3540 { ac_try='test -z "$ac_c_werror_flag"
3541 || test ! -s conftest.err'
3542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546 (exit $ac_status); }; } &&
3547 { ac_try='test -s conftest.$ac_objext'
3548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); }; }; then
3553 echo "$as_me:$LINENO: result: yes" >&5
3554 echo "${ECHO_T}yes" >&6
3556 echo "$as_me: failed program was:" >&5
3557 sed 's/^/| /' conftest.$ac_ext >&5
3559 echo "$as_me:$LINENO: result: no" >&5
3560 echo "${ECHO_T}no" >&6
3562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3563 CFLAGS="$save_CFLAGS"
3565 echo "$as_me:$LINENO: checking whether hidden visibility is supported" >&5
3566 echo $ECHO_N "checking whether hidden visibility is supported... $ECHO_C" >&6
3567 cat >conftest.$ac_ext <<_ACEOF
3570 cat confdefs.h >>conftest.$ac_ext
3571 cat >>conftest.$ac_ext <<_ACEOF
3572 /* end confdefs.h. */
3574 void __attribute__((visibility ("hidden"))) bar (void) {}
3583 rm -f conftest.$ac_objext
3584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3585 (eval $ac_compile) 2>conftest.er1
3587 grep -v '^ *+' conftest.er1 >conftest.err
3589 cat conftest.err >&5
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); } &&
3592 { ac_try='test -z "$ac_c_werror_flag"
3593 || test ! -s conftest.err'
3594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); }; } &&
3599 { ac_try='test -s conftest.$ac_objext'
3600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); }; }; then
3607 echo "$as_me: failed program was:" >&5
3608 sed 's/^/| /' conftest.$ac_ext >&5
3612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3613 echo "$as_me:$LINENO: result: $ssp_hidden" >&5
3614 echo "${ECHO_T}$ssp_hidden" >&6
3615 if test x$ssp_hidden = xyes; then
3617 cat >>confdefs.h <<\_ACEOF
3618 #define HAVE_HIDDEN_VISIBILITY 1
3623 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3624 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3625 cat > conftest.map <<EOF
3627 global: *foo*; bar; local: *;
3630 save_LDFLAGS="$LDFLAGS"
3631 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3632 if test x$gcc_no_link = xyes; then
3633 # If we cannot link, we cannot build shared libraries, so do not use
3634 # symbol versioning.
3637 if test x$gcc_no_link = xyes; then
3638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3640 { (exit 1); exit 1; }; }
3642 cat >conftest.$ac_ext <<_ACEOF
3645 cat confdefs.h >>conftest.$ac_ext
3646 cat >>conftest.$ac_ext <<_ACEOF
3647 /* end confdefs.h. */
3657 rm -f conftest.$ac_objext conftest$ac_exeext
3658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3659 (eval $ac_link) 2>conftest.er1
3661 grep -v '^ *+' conftest.er1 >conftest.err
3663 cat conftest.err >&5
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); } &&
3666 { ac_try='test -z "$ac_c_werror_flag"
3667 || test ! -s conftest.err'
3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; } &&
3673 { ac_try='test -s conftest$ac_exeext'
3674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); }; }; then
3681 echo "$as_me: failed program was:" >&5
3682 sed 's/^/| /' conftest.$ac_ext >&5
3686 rm -f conftest.err conftest.$ac_objext \
3687 conftest$ac_exeext conftest.$ac_ext
3689 LDFLAGS="$save_LDFLAGS"
3690 echo "$as_me:$LINENO: result: $ssp_use_symver" >&5
3691 echo "${ECHO_T}$ssp_use_symver" >&6
3694 if test "x$ssp_use_symver" = xyes; then
3695 LIBSSP_USE_SYMVER_TRUE=
3696 LIBSSP_USE_SYMVER_FALSE='#'
3698 LIBSSP_USE_SYMVER_TRUE='#'
3699 LIBSSP_USE_SYMVER_FALSE=
3704 echo "$as_me:$LINENO: checking for egrep" >&5
3705 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3706 if test "${ac_cv_prog_egrep+set}" = set; then
3707 echo $ECHO_N "(cached) $ECHO_C" >&6
3709 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3710 then ac_cv_prog_egrep='grep -E'
3711 else ac_cv_prog_egrep='egrep'
3714 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3715 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3716 EGREP=$ac_cv_prog_egrep
3719 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3720 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3721 if test "${ac_cv_header_stdc+set}" = set; then
3722 echo $ECHO_N "(cached) $ECHO_C" >&6
3724 cat >conftest.$ac_ext <<_ACEOF
3727 cat confdefs.h >>conftest.$ac_ext
3728 cat >>conftest.$ac_ext <<_ACEOF
3729 /* end confdefs.h. */
3743 rm -f conftest.$ac_objext
3744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3745 (eval $ac_compile) 2>conftest.er1
3747 grep -v '^ *+' conftest.er1 >conftest.err
3749 cat conftest.err >&5
3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751 (exit $ac_status); } &&
3752 { ac_try='test -z "$ac_c_werror_flag"
3753 || test ! -s conftest.err'
3754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); }; } &&
3759 { ac_try='test -s conftest.$ac_objext'
3760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764 (exit $ac_status); }; }; then
3765 ac_cv_header_stdc=yes
3767 echo "$as_me: failed program was:" >&5
3768 sed 's/^/| /' conftest.$ac_ext >&5
3770 ac_cv_header_stdc=no
3772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3774 if test $ac_cv_header_stdc = yes; then
3775 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3776 cat >conftest.$ac_ext <<_ACEOF
3779 cat confdefs.h >>conftest.$ac_ext
3780 cat >>conftest.$ac_ext <<_ACEOF
3781 /* end confdefs.h. */
3785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3786 $EGREP "memchr" >/dev/null 2>&1; then
3789 ac_cv_header_stdc=no
3795 if test $ac_cv_header_stdc = yes; then
3796 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3797 cat >conftest.$ac_ext <<_ACEOF
3800 cat confdefs.h >>conftest.$ac_ext
3801 cat >>conftest.$ac_ext <<_ACEOF
3802 /* end confdefs.h. */
3806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3807 $EGREP "free" >/dev/null 2>&1; then
3810 ac_cv_header_stdc=no
3816 if test $ac_cv_header_stdc = yes; then
3817 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3818 if test "$cross_compiling" = yes; then
3821 cat >conftest.$ac_ext <<_ACEOF
3824 cat confdefs.h >>conftest.$ac_ext
3825 cat >>conftest.$ac_ext <<_ACEOF
3826 /* end confdefs.h. */
3828 #if ((' ' & 0x0FF) == 0x020)
3829 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3830 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3832 # define ISLOWER(c) \
3833 (('a' <= (c) && (c) <= 'i') \
3834 || ('j' <= (c) && (c) <= 'r') \
3835 || ('s' <= (c) && (c) <= 'z'))
3836 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3839 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3844 for (i = 0; i < 256; i++)
3845 if (XOR (islower (i), ISLOWER (i))
3846 || toupper (i) != TOUPPER (i))
3851 rm -f conftest$ac_exeext
3852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3853 (eval $ac_link) 2>&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); }; }; then
3864 echo "$as_me: program exited with status $ac_status" >&5
3865 echo "$as_me: failed program was:" >&5
3866 sed 's/^/| /' conftest.$ac_ext >&5
3869 ac_cv_header_stdc=no
3871 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3875 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3876 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3877 if test $ac_cv_header_stdc = yes; then
3879 cat >>confdefs.h <<\_ACEOF
3880 #define STDC_HEADERS 1
3885 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3895 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3896 inttypes.h stdint.h unistd.h
3898 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3899 echo "$as_me:$LINENO: checking for $ac_header" >&5
3900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3902 echo $ECHO_N "(cached) $ECHO_C" >&6
3904 cat >conftest.$ac_ext <<_ACEOF
3907 cat confdefs.h >>conftest.$ac_ext
3908 cat >>conftest.$ac_ext <<_ACEOF
3909 /* end confdefs.h. */
3910 $ac_includes_default
3912 #include <$ac_header>
3914 rm -f conftest.$ac_objext
3915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3916 (eval $ac_compile) 2>conftest.er1
3918 grep -v '^ *+' conftest.er1 >conftest.err
3920 cat conftest.err >&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); } &&
3923 { ac_try='test -z "$ac_c_werror_flag"
3924 || test ! -s conftest.err'
3925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929 (exit $ac_status); }; } &&
3930 { ac_try='test -s conftest.$ac_objext'
3931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); }; }; then
3936 eval "$as_ac_Header=yes"
3938 echo "$as_me: failed program was:" >&5
3939 sed 's/^/| /' conftest.$ac_ext >&5
3941 eval "$as_ac_Header=no"
3943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3948 cat >>confdefs.h <<_ACEOF
3949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3965 for ac_header in alloca.h paths.h syslog.h string.h unistd.h fcntl.h stdio.h limits.h
3967 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3969 echo "$as_me:$LINENO: checking for $ac_header" >&5
3970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3972 echo $ECHO_N "(cached) $ECHO_C" >&6
3974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3977 # Is the header compilable?
3978 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3979 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3980 cat >conftest.$ac_ext <<_ACEOF
3983 cat confdefs.h >>conftest.$ac_ext
3984 cat >>conftest.$ac_ext <<_ACEOF
3985 /* end confdefs.h. */
3986 $ac_includes_default
3987 #include <$ac_header>
3989 rm -f conftest.$ac_objext
3990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3991 (eval $ac_compile) 2>conftest.er1
3993 grep -v '^ *+' conftest.er1 >conftest.err
3995 cat conftest.err >&5
3996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3997 (exit $ac_status); } &&
3998 { ac_try='test -z "$ac_c_werror_flag"
3999 || test ! -s conftest.err'
4000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004 (exit $ac_status); }; } &&
4005 { ac_try='test -s conftest.$ac_objext'
4006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); }; }; then
4011 ac_header_compiler=yes
4013 echo "$as_me: failed program was:" >&5
4014 sed 's/^/| /' conftest.$ac_ext >&5
4016 ac_header_compiler=no
4018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4019 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4020 echo "${ECHO_T}$ac_header_compiler" >&6
4022 # Is the header present?
4023 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4024 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4025 cat >conftest.$ac_ext <<_ACEOF
4028 cat confdefs.h >>conftest.$ac_ext
4029 cat >>conftest.$ac_ext <<_ACEOF
4030 /* end confdefs.h. */
4031 #include <$ac_header>
4033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4034 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4036 grep -v '^ *+' conftest.er1 >conftest.err
4038 cat conftest.err >&5
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); } >/dev/null; then
4041 if test -s conftest.err; then
4042 ac_cpp_err=$ac_c_preproc_warn_flag
4043 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4050 if test -z "$ac_cpp_err"; then
4051 ac_header_preproc=yes
4053 echo "$as_me: failed program was:" >&5
4054 sed 's/^/| /' conftest.$ac_ext >&5
4056 ac_header_preproc=no
4058 rm -f conftest.err conftest.$ac_ext
4059 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4060 echo "${ECHO_T}$ac_header_preproc" >&6
4062 # So? What about this header?
4063 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4065 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4066 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4068 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4069 ac_header_preproc=yes
4072 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4073 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4074 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4075 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4076 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4077 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4078 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4079 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4081 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4082 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4083 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4086 ## --------------------------------- ##
4087 ## Report this to the libssp lists. ##
4088 ## --------------------------------- ##
4091 sed "s/^/$as_me: WARNING: /" >&2
4094 echo "$as_me:$LINENO: checking for $ac_header" >&5
4095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4097 echo $ECHO_N "(cached) $ECHO_C" >&6
4099 eval "$as_ac_Header=\$ac_header_preproc"
4101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4105 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4106 cat >>confdefs.h <<_ACEOF
4107 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4115 if test x$gcc_no_link = xyes; then
4116 # Presume the ISO C functions are available; add target-specific
4117 # configuration here if required.
4118 cat >>confdefs.h <<\_ACEOF
4119 #define HAVE_STRNCPY 1
4122 cat >>confdefs.h <<\_ACEOF
4123 #define HAVE_STRNCAT 1
4130 for ac_func in mempcpy strncpy strncat
4132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4133 echo "$as_me:$LINENO: checking for $ac_func" >&5
4134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4135 if eval "test \"\${$as_ac_var+set}\" = set"; then
4136 echo $ECHO_N "(cached) $ECHO_C" >&6
4138 if test x$gcc_no_link = xyes; then
4139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4141 { (exit 1); exit 1; }; }
4143 cat >conftest.$ac_ext <<_ACEOF
4146 cat confdefs.h >>conftest.$ac_ext
4147 cat >>conftest.$ac_ext <<_ACEOF
4148 /* end confdefs.h. */
4149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4151 #define $ac_func innocuous_$ac_func
4153 /* System header to define __stub macros and hopefully few prototypes,
4154 which can conflict with char $ac_func (); below.
4155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4156 <limits.h> exists even on freestanding compilers. */
4159 # include <limits.h>
4161 # include <assert.h>
4166 /* Override any gcc2 internal prototype to avoid an error. */
4171 /* We use char because int might match the return type of a gcc2
4172 builtin and then its argument prototype would still apply. */
4174 /* The GNU C library defines this for functions which it implements
4175 to always fail with ENOSYS. Some functions are actually named
4176 something starting with __ and the normal name is an alias. */
4177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4180 char (*f) () = $ac_func;
4189 return f != $ac_func;
4194 rm -f conftest.$ac_objext conftest$ac_exeext
4195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4196 (eval $ac_link) 2>conftest.er1
4198 grep -v '^ *+' conftest.er1 >conftest.err
4200 cat conftest.err >&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); } &&
4203 { ac_try='test -z "$ac_c_werror_flag"
4204 || test ! -s conftest.err'
4205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4209 (exit $ac_status); }; } &&
4210 { ac_try='test -s conftest$ac_exeext'
4211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); }; }; then
4216 eval "$as_ac_var=yes"
4218 echo "$as_me: failed program was:" >&5
4219 sed 's/^/| /' conftest.$ac_ext >&5
4221 eval "$as_ac_var=no"
4223 rm -f conftest.err conftest.$ac_objext \
4224 conftest$ac_exeext conftest.$ac_ext
4226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4228 if test `eval echo '${'$as_ac_var'}'` = yes; then
4229 cat >>confdefs.h <<_ACEOF
4230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4238 echo "$as_me:$LINENO: checking whether vsnprintf is usable" >&5
4239 echo $ECHO_N "checking whether vsnprintf is usable... $ECHO_C" >&6
4240 if test "$cross_compiling" = yes; then
4241 ssp_have_usable_vsnprintf=undef
4243 cat >conftest.$ac_ext <<_ACEOF
4246 cat confdefs.h >>conftest.$ac_ext
4247 cat >>conftest.$ac_ext <<_ACEOF
4248 /* end confdefs.h. */
4253 int foo (char *buf, size_t n, const char *fmt, ...)
4258 ret = vsnprintf (buf, n, fmt, ap);
4265 char buf[8]; memset (buf, 'A', sizeof (buf));
4266 if (foo (buf, 4, ".%s.", "CDEFG") != 7)
4268 return memcmp (buf, ".CD\0AAAA", sizeof (buf)) != 0;
4273 rm -f conftest$ac_exeext
4274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4275 (eval $ac_link) 2>&5
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); }; }; then
4284 ssp_have_usable_vsnprintf=define
4286 echo "$as_me: program exited with status $ac_status" >&5
4287 echo "$as_me: failed program was:" >&5
4288 sed 's/^/| /' conftest.$ac_ext >&5
4291 ssp_have_usable_vsnprintf=undef
4293 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4295 if test "x$ssp_have_usable_vsnprintf" = xdefine; then
4296 echo "$as_me:$LINENO: result: yes" >&5
4297 echo "${ECHO_T}yes" >&6
4299 cat >>confdefs.h <<\_ACEOF
4300 #define HAVE_USABLE_VSNPRINTF 1
4304 echo "$as_me:$LINENO: result: no" >&5
4305 echo "${ECHO_T}no" >&6
4311 macro_version='2.1a'
4312 macro_revision='1.2435'
4325 ltmain="$ac_aux_dir/ltmain.sh"
4335 # Check whether --enable-shared or --disable-shared was given.
4336 if test "${enable_shared+set}" = set; then
4337 enableval="$enable_shared"
4338 p=${PACKAGE-default}
4340 yes) enable_shared=yes ;;
4341 no) enable_shared=no ;;
4344 # Look at the argument we got. We use all the common list separators.
4345 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4346 for pkg in $enableval; do
4348 if test "X$pkg" = "X$p"; then
4366 # Check whether --enable-static or --disable-static was given.
4367 if test "${enable_static+set}" = set; then
4368 enableval="$enable_static"
4369 p=${PACKAGE-default}
4371 yes) enable_static=yes ;;
4372 no) enable_static=no ;;
4375 # Look at the argument we got. We use all the common list separators.
4376 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4377 for pkg in $enableval; do
4379 if test "X$pkg" = "X$p"; then
4398 # Check whether --with-pic or --without-pic was given.
4399 if test "${with_pic+set}" = set; then
4406 test -z "$pic_mode" && pic_mode=default
4414 # Check whether --enable-fast-install or --disable-fast-install was given.
4415 if test "${enable_fast_install+set}" = set; then
4416 enableval="$enable_fast_install"