]> git.ipfire.org Git - thirdparty/gcc.git/blame - libssp/configure
Makefile.def (target_modules): Add libssp.
[thirdparty/gcc.git] / libssp / configure
CommitLineData
77008252
JJ
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for libssp 1.0.
4#
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## --------------------- ##
11
12# Be Bourne compatible
13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
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+"$@"}'='"$@"'
19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
21fi
22DUALCASE=1; export DUALCASE # for MKS sh
23
24# Support unset when possible.
25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27else
28 as_unset=false
29fi
30
31
32# Work around bugs in pre-3.0 UWIN ksh.
33$as_unset ENV MAIL MAILPATH
34PS1='$ '
35PS2='> '
36PS4='+ '
37
38# NLS nuisances.
39for as_var in \
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 \
42 LC_TELEPHONE LC_TIME
43do
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49done
50
51# Required to use basename.
52if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54else
55 as_expr=false
56fi
57
58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60else
61 as_basename=false
62fi
63
64
65# Name of the executable.
66as_me=`$as_basename "$0" ||
67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76
77
78# PATH needs CR, and LINENO needs CR and PATH.
79# Avoid depending upon Character Ranges.
80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83as_cr_digits='0123456789'
84as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86# The user is always right.
87if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
95 fi
96 rm -f conf$$.sh
97fi
98
99
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
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
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110for as_dir in $PATH
111do
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115done
116
117 ;;
118 esac
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
122 as_myself=$0
123 fi
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; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132do
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
137 /*)
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
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
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152done
153;;
154 esac
155
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 |
165 sed '
166 N
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
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; }; }
177
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).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
184}
185
186
187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192esac
193
194if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196else
197 as_expr=false
198fi
199
200rm -f conf$$ conf$$.exe conf$$.file
201echo >conf$$.file
202if 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
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
210 fi
211elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213else
214 as_ln_s='cp -p'
215fi
216rm -f conf$$ conf$$.exe conf$$.file
217
218if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
223fi
224
225as_executable_p="test -f"
226
227# Sed expression to map a string onto a valid CPP name.
228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230# Sed expression to map a string onto a valid variable name.
231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234# IFS
235# We need space, tab and new line, in precisely that order.
236as_nl='
237'
238IFS=" $as_nl"
239
240# CDPATH.
241$as_unset CDPATH
242
243
244# Name of the host.
245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246# so uname gets run too.
247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249exec 6>&1
250
251#
252# Initializations.
253#
254ac_default_prefix=/usr/local
255ac_config_libobj_dir=.
256cross_compiling=no
257subdirs=
258MFLAGS=
259MAKEFLAGS=
260SHELL=${CONFIG_SHELL-/bin/sh}
261
262# Maximum number of lines to put in a shell here document.
263# This variable seems obsolete. It should probably be removed, and
264# only ac_max_sed_lines should be used.
265: ${ac_max_here_lines=38}
266
267# Identity of this package.
268PACKAGE_NAME='libssp'
269PACKAGE_TARNAME='libssp'
270PACKAGE_VERSION='1.0'
271PACKAGE_STRING='libssp 1.0'
272PACKAGE_BUGREPORT=''
273
274ac_unique_file="ssp.c"
275# Factoring default headers for most tests.
276ac_includes_default="\
277#include <stdio.h>
278#if HAVE_SYS_TYPES_H
279# include <sys/types.h>
280#endif
281#if HAVE_SYS_STAT_H
282# include <sys/stat.h>
283#endif
284#if STDC_HEADERS
285# include <stdlib.h>
286# include <stddef.h>
287#else
288# if HAVE_STDLIB_H
289# include <stdlib.h>
290# endif
291#endif
292#if HAVE_STRING_H
293# if !STDC_HEADERS && HAVE_MEMORY_H
294# include <memory.h>
295# endif
296# include <string.h>
297#endif
298#if HAVE_STRINGS_H
299# include <strings.h>
300#endif
301#if HAVE_INTTYPES_H
302# include <inttypes.h>
303#else
304# if HAVE_STDINT_H
305# include <stdint.h>
306# endif
307#endif
308#if HAVE_UNISTD_H
309# include <unistd.h>
310#endif"
311
312ac_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 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 LN_S RANLIB ac_ct_RANLIB LIBTOOL enable_shared enable_static toolexecdir toolexeclibdir LIBOBJS LTLIBOBJS'
313ac_subst_files=''
314
315# Initialize some variables set by options.
316ac_init_help=
317ac_init_version=false
318# The variables have the same names as the options, with
319# dashes changed to underlines.
320cache_file=/dev/null
321exec_prefix=NONE
322no_create=
323no_recursion=
324prefix=NONE
325program_prefix=NONE
326program_suffix=NONE
327program_transform_name=s,x,x,
328silent=
329site=
330srcdir=
331verbose=
332x_includes=NONE
333x_libraries=NONE
334
335# Installation directory options.
336# These are left unexpanded so users can "make install exec_prefix=/foo"
337# and all the variables that are supposed to be based on exec_prefix
338# by default will actually change.
339# Use braces instead of parens because sh, perl, etc. also accept them.
340bindir='${exec_prefix}/bin'
341sbindir='${exec_prefix}/sbin'
342libexecdir='${exec_prefix}/libexec'
343datadir='${prefix}/share'
344sysconfdir='${prefix}/etc'
345sharedstatedir='${prefix}/com'
346localstatedir='${prefix}/var'
347libdir='${exec_prefix}/lib'
348includedir='${prefix}/include'
349oldincludedir='/usr/include'
350infodir='${prefix}/info'
351mandir='${prefix}/man'
352
353ac_prev=
354for ac_option
355do
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
361 fi
362
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365 # Accept the important Cygnus configure options, so we can diagnose typos.
366
367 case $ac_option in
368
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
373
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
378
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
385
386 --config-cache | -C)
387 cache_file=config.cache ;;
388
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
394
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
403
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
416
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
425
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
429
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
436
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
441
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
448
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
453
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
458
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
465
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
474
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
479
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
483
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
487
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
491
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
500
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
505
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
512
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
519
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
536
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
540
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
546
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
557
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
562
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
567
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
574
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
579
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
582
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
585
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
598
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
607
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
611
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
618
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
625
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
629 ;;
630
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
640
641 *)
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647 ;;
648
649 esac
650done
651
652if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
656fi
657
658# Be sure to have absolute paths.
659for ac_var in exec_prefix prefix
660do
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667done
668
669# Be sure to have absolute paths.
670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
672do
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679done
680
681# There might be people who depend on the old broken behavior: `$host'
682# used to hold the argument of --host etc.
683# FIXME: To remove some day.
684build=$build_alias
685host=$host_alias
686target=$target_alias
687
688# FIXME: To remove some day.
689if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
696 fi
697fi
698
699ac_tool_prefix=
700test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702test "$silent" = yes && exec 6>/dev/null
703
704
705# Find the source files, if location was not specified.
706if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
724 fi
725else
726 ac_srcdir_defaulted=no
727fi
728if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
735 fi
736fi
737(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741ac_env_build_alias_set=${build_alias+set}
742ac_env_build_alias_value=$build_alias
743ac_cv_env_build_alias_set=${build_alias+set}
744ac_cv_env_build_alias_value=$build_alias
745ac_env_host_alias_set=${host_alias+set}
746ac_env_host_alias_value=$host_alias
747ac_cv_env_host_alias_set=${host_alias+set}
748ac_cv_env_host_alias_value=$host_alias
749ac_env_target_alias_set=${target_alias+set}
750ac_env_target_alias_value=$target_alias
751ac_cv_env_target_alias_set=${target_alias+set}
752ac_cv_env_target_alias_value=$target_alias
753ac_env_CPP_set=${CPP+set}
754ac_env_CPP_value=$CPP
755ac_cv_env_CPP_set=${CPP+set}
756ac_cv_env_CPP_value=$CPP
757ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758ac_env_CPPFLAGS_value=$CPPFLAGS
759ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761
762#
763# Report the --help message.
764#
765if test "$ac_init_help" = "long"; then
766 # Omit some internal or obsolete options to make the list less imposing.
767 # This message is too long to be a string in the A/UX 3.1 sh.
768 cat <<_ACEOF
769\`configure' configures libssp 1.0 to adapt to many kinds of systems.
770
771Usage: $0 [OPTION]... [VAR=VALUE]...
772
773To assign environment variables (e.g., CC, CFLAGS...), specify them as
774VAR=VALUE. See below for descriptions of some of the useful variables.
775
776Defaults for the options are specified in brackets.
777
778Configuration:
779 -h, --help display this help and exit
780 --help=short display options specific to this package
781 --help=recursive display the short help of all the included packages
782 -V, --version display version information and exit
783 -q, --quiet, --silent do not print \`checking...' messages
784 --cache-file=FILE cache test results in FILE [disabled]
785 -C, --config-cache alias for \`--cache-file=config.cache'
786 -n, --no-create do not create output files
787 --srcdir=DIR find the sources in DIR [configure dir or \`..']
788
789_ACEOF
790
791 cat <<_ACEOF
792Installation directories:
793 --prefix=PREFIX install architecture-independent files in PREFIX
794 [$ac_default_prefix]
795 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
796 [PREFIX]
797
798By default, \`make install' will install all the files in
799\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
800an installation prefix other than \`$ac_default_prefix' using \`--prefix',
801for instance \`--prefix=\$HOME'.
802
803For better control, use the options below.
804
805Fine tuning of the installation directories:
806 --bindir=DIR user executables [EPREFIX/bin]
807 --sbindir=DIR system admin executables [EPREFIX/sbin]
808 --libexecdir=DIR program executables [EPREFIX/libexec]
809 --datadir=DIR read-only architecture-independent data [PREFIX/share]
810 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
811 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
812 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
813 --libdir=DIR object code libraries [EPREFIX/lib]
814 --includedir=DIR C header files [PREFIX/include]
815 --oldincludedir=DIR C header files for non-gcc [/usr/include]
816 --infodir=DIR info documentation [PREFIX/info]
817 --mandir=DIR man documentation [PREFIX/man]
818_ACEOF
819
820 cat <<\_ACEOF
821
822Program names:
823 --program-prefix=PREFIX prepend PREFIX to installed program names
824 --program-suffix=SUFFIX append SUFFIX to installed program names
825 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
826
827System types:
828 --build=BUILD configure for building on BUILD [guessed]
829 --host=HOST cross-compile to build programs to run on HOST [BUILD]
830 --target=TARGET configure for building compilers for TARGET [HOST]
831_ACEOF
832fi
833
834if test -n "$ac_init_help"; then
835 case $ac_init_help in
836 short | recursive ) echo "Configuration of libssp 1.0:";;
837 esac
838 cat <<\_ACEOF
839
840Optional Features:
841 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
842 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
843 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
844 --enable-maintainer-mode enable make rules and dependencies not useful
845 (and sometimes confusing) to the casual installer
846 --enable-multilib build many library versions (default)
847 --disable-dependency-tracking speeds up one-time build
848 --enable-dependency-tracking do not reject slow dependency extractors
849 --enable-shared=PKGS build shared libraries default=yes
850 --enable-static=PKGS build static libraries default=yes
851 --enable-fast-install=PKGS optimize for fast installation default=yes
852 --disable-libtool-lock avoid locking (might break parallel builds)
853
854Optional Packages:
855 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
856 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
857 --with-gnu-ld assume the C compiler uses GNU ld default=no
858 --with-pic try to use only PIC/non-PIC objects default=use both
859
860Some influential environment variables:
861 CC C compiler command
862 CFLAGS C compiler flags
863 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
864 nonstandard directory <lib dir>
865 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
866 headers in a nonstandard directory <include dir>
867 CPP C preprocessor
868
869Use these variables to override the choices made by `configure' or to help
870it to find libraries and programs with nonstandard names/locations.
871
872_ACEOF
873fi
874
875if test "$ac_init_help" = "recursive"; then
876 # If there are subdirs, report their specific --help.
877 ac_popdir=`pwd`
878 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
879 test -d $ac_dir || continue
880 ac_builddir=.
881
882if test "$ac_dir" != .; then
883 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
884 # A "../" for each directory in $ac_dir_suffix.
885 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
886else
887 ac_dir_suffix= ac_top_builddir=
888fi
889
890case $srcdir in
891 .) # No --srcdir option. We are building in place.
892 ac_srcdir=.
893 if test -z "$ac_top_builddir"; then
894 ac_top_srcdir=.
895 else
896 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
897 fi ;;
898 [\\/]* | ?:[\\/]* ) # Absolute path.
899 ac_srcdir=$srcdir$ac_dir_suffix;
900 ac_top_srcdir=$srcdir ;;
901 *) # Relative path.
902 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
903 ac_top_srcdir=$ac_top_builddir$srcdir ;;
904esac
905
906# Do not use `cd foo && pwd` to compute absolute paths, because
907# the directories may not exist.
908case `pwd` in
909.) ac_abs_builddir="$ac_dir";;
910*)
911 case "$ac_dir" in
912 .) ac_abs_builddir=`pwd`;;
913 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
914 *) ac_abs_builddir=`pwd`/"$ac_dir";;
915 esac;;
916esac
917case $ac_abs_builddir in
918.) ac_abs_top_builddir=${ac_top_builddir}.;;
919*)
920 case ${ac_top_builddir}. in
921 .) ac_abs_top_builddir=$ac_abs_builddir;;
922 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
923 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
924 esac;;
925esac
926case $ac_abs_builddir in
927.) ac_abs_srcdir=$ac_srcdir;;
928*)
929 case $ac_srcdir in
930 .) ac_abs_srcdir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
932 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
933 esac;;
934esac
935case $ac_abs_builddir in
936.) ac_abs_top_srcdir=$ac_top_srcdir;;
937*)
938 case $ac_top_srcdir in
939 .) ac_abs_top_srcdir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
941 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
942 esac;;
943esac
944
945 cd $ac_dir
946 # Check for guested configure; otherwise get Cygnus style configure.
947 if test -f $ac_srcdir/configure.gnu; then
948 echo
949 $SHELL $ac_srcdir/configure.gnu --help=recursive
950 elif test -f $ac_srcdir/configure; then
951 echo
952 $SHELL $ac_srcdir/configure --help=recursive
953 elif test -f $ac_srcdir/configure.ac ||
954 test -f $ac_srcdir/configure.in; then
955 echo
956 $ac_configure --help
957 else
958 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
959 fi
960 cd $ac_popdir
961 done
962fi
963
964test -n "$ac_init_help" && exit 0
965if $ac_init_version; then
966 cat <<\_ACEOF
967libssp configure 1.0
968generated by GNU Autoconf 2.59
969
970Copyright (C) 2003 Free Software Foundation, Inc.
971This configure script is free software; the Free Software Foundation
972gives unlimited permission to copy, distribute and modify it.
973_ACEOF
974 exit 0
975fi
976exec 5>config.log
977cat >&5 <<_ACEOF
978This file contains any messages produced by compilers while
979running configure, to aid debugging if configure makes a mistake.
980
981It was created by libssp $as_me 1.0, which was
982generated by GNU Autoconf 2.59. Invocation command line was
983
984 $ $0 $@
985
986_ACEOF
987{
988cat <<_ASUNAME
989## --------- ##
990## Platform. ##
991## --------- ##
992
993hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
994uname -m = `(uname -m) 2>/dev/null || echo unknown`
995uname -r = `(uname -r) 2>/dev/null || echo unknown`
996uname -s = `(uname -s) 2>/dev/null || echo unknown`
997uname -v = `(uname -v) 2>/dev/null || echo unknown`
998
999/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1000/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1001
1002/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1003/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1004/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1005hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1006/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1007/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1008/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1009
1010_ASUNAME
1011
1012as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1013for as_dir in $PATH
1014do
1015 IFS=$as_save_IFS
1016 test -z "$as_dir" && as_dir=.
1017 echo "PATH: $as_dir"
1018done
1019
1020} >&5
1021
1022cat >&5 <<_ACEOF
1023
1024
1025## ----------- ##
1026## Core tests. ##
1027## ----------- ##
1028
1029_ACEOF
1030
1031
1032# Keep a trace of the command line.
1033# Strip out --no-create and --no-recursion so they do not pile up.
1034# Strip out --silent because we don't want to record it for future runs.
1035# Also quote any args containing shell meta-characters.
1036# Make two passes to allow for proper duplicate-argument suppression.
1037ac_configure_args=
1038ac_configure_args0=
1039ac_configure_args1=
1040ac_sep=
1041ac_must_keep_next=false
1042for ac_pass in 1 2
1043do
1044 for ac_arg
1045 do
1046 case $ac_arg in
1047 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1049 | -silent | --silent | --silen | --sile | --sil)
1050 continue ;;
1051 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1052 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1053 esac
1054 case $ac_pass in
1055 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1056 2)
1057 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1058 if test $ac_must_keep_next = true; then
1059 ac_must_keep_next=false # Got value, back to normal.
1060 else
1061 case $ac_arg in
1062 *=* | --config-cache | -C | -disable-* | --disable-* \
1063 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1064 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1065 | -with-* | --with-* | -without-* | --without-* | --x)
1066 case "$ac_configure_args0 " in
1067 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1068 esac
1069 ;;
1070 -* ) ac_must_keep_next=true ;;
1071 esac
1072 fi
1073 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1074 # Get rid of the leading space.
1075 ac_sep=" "
1076 ;;
1077 esac
1078 done
1079done
1080$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1081$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1082
1083# When interrupted or exit'd, cleanup temporary files, and complete
1084# config.log. We remove comments because anyway the quotes in there
1085# would cause problems or look ugly.
1086# WARNING: Be sure not to use single quotes in there, as some shells,
1087# such as our DU 5.0 friend, will then `close' the trap.
1088trap 'exit_status=$?
1089 # Save into config.log some information that might help in debugging.
1090 {
1091 echo
1092
1093 cat <<\_ASBOX
1094## ---------------- ##
1095## Cache variables. ##
1096## ---------------- ##
1097_ASBOX
1098 echo
1099 # The following way of writing the cache mishandles newlines in values,
1100{
1101 (set) 2>&1 |
1102 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1103 *ac_space=\ *)
1104 sed -n \
1105 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1106 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1107 ;;
1108 *)
1109 sed -n \
1110 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1111 ;;
1112 esac;
1113}
1114 echo
1115
1116 cat <<\_ASBOX
1117## ----------------- ##
1118## Output variables. ##
1119## ----------------- ##
1120_ASBOX
1121 echo
1122 for ac_var in $ac_subst_vars
1123 do
1124 eval ac_val=$`echo $ac_var`
1125 echo "$ac_var='"'"'$ac_val'"'"'"
1126 done | sort
1127 echo
1128
1129 if test -n "$ac_subst_files"; then
1130 cat <<\_ASBOX
1131## ------------- ##
1132## Output files. ##
1133## ------------- ##
1134_ASBOX
1135 echo
1136 for ac_var in $ac_subst_files
1137 do
1138 eval ac_val=$`echo $ac_var`
1139 echo "$ac_var='"'"'$ac_val'"'"'"
1140 done | sort
1141 echo
1142 fi
1143
1144 if test -s confdefs.h; then
1145 cat <<\_ASBOX
1146## ----------- ##
1147## confdefs.h. ##
1148## ----------- ##
1149_ASBOX
1150 echo
1151 sed "/^$/d" confdefs.h | sort
1152 echo
1153 fi
1154 test "$ac_signal" != 0 &&
1155 echo "$as_me: caught signal $ac_signal"
1156 echo "$as_me: exit $exit_status"
1157 } >&5
1158 rm -f core *.core &&
1159 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1160 exit $exit_status
1161 ' 0
1162for ac_signal in 1 2 13 15; do
1163 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1164done
1165ac_signal=0
1166
1167# confdefs.h avoids OS command line length limits that DEFS can exceed.
1168rm -rf conftest* confdefs.h
1169# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1170echo >confdefs.h
1171
1172# Predefined preprocessor variables.
1173
1174cat >>confdefs.h <<_ACEOF
1175#define PACKAGE_NAME "$PACKAGE_NAME"
1176_ACEOF
1177
1178
1179cat >>confdefs.h <<_ACEOF
1180#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1181_ACEOF
1182
1183
1184cat >>confdefs.h <<_ACEOF
1185#define PACKAGE_VERSION "$PACKAGE_VERSION"
1186_ACEOF
1187
1188
1189cat >>confdefs.h <<_ACEOF
1190#define PACKAGE_STRING "$PACKAGE_STRING"
1191_ACEOF
1192
1193
1194cat >>confdefs.h <<_ACEOF
1195#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1196_ACEOF
1197
1198
1199# Let the site file select an alternate cache file if it wants to.
1200# Prefer explicitly selected file to automatically selected ones.
1201if test -z "$CONFIG_SITE"; then
1202 if test "x$prefix" != xNONE; then
1203 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1204 else
1205 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1206 fi
1207fi
1208for ac_site_file in $CONFIG_SITE; do
1209 if test -r "$ac_site_file"; then
1210 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1211echo "$as_me: loading site script $ac_site_file" >&6;}
1212 sed 's/^/| /' "$ac_site_file" >&5
1213 . "$ac_site_file"
1214 fi
1215done
1216
1217if test -r "$cache_file"; then
1218 # Some versions of bash will fail to source /dev/null (special
1219 # files actually), so we avoid doing that.
1220 if test -f "$cache_file"; then
1221 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1222echo "$as_me: loading cache $cache_file" >&6;}
1223 case $cache_file in
1224 [\\/]* | ?:[\\/]* ) . $cache_file;;
1225 *) . ./$cache_file;;
1226 esac
1227 fi
1228else
1229 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1230echo "$as_me: creating cache $cache_file" >&6;}
1231 >$cache_file
1232fi
1233
1234# Check that the precious variables saved in the cache have kept the same
1235# value.
1236ac_cache_corrupted=false
1237for ac_var in `(set) 2>&1 |
1238 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1239 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1240 eval ac_new_set=\$ac_env_${ac_var}_set
1241 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1242 eval ac_new_val="\$ac_env_${ac_var}_value"
1243 case $ac_old_set,$ac_new_set in
1244 set,)
1245 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1246echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1247 ac_cache_corrupted=: ;;
1248 ,set)
1249 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1250echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1251 ac_cache_corrupted=: ;;
1252 ,);;
1253 *)
1254 if test "x$ac_old_val" != "x$ac_new_val"; then
1255 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1256echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1257 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1258echo "$as_me: former value: $ac_old_val" >&2;}
1259 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1260echo "$as_me: current value: $ac_new_val" >&2;}
1261 ac_cache_corrupted=:
1262 fi;;
1263 esac
1264 # Pass precious variables to config.status.
1265 if test "$ac_new_set" = set; then
1266 case $ac_new_val in
1267 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1268 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1269 *) ac_arg=$ac_var=$ac_new_val ;;
1270 esac
1271 case " $ac_configure_args " in
1272 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1273 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1274 esac
1275 fi
1276done
1277if $ac_cache_corrupted; then
1278 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1279echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1280 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1281echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1282 { (exit 1); exit 1; }; }
1283fi
1284
1285ac_ext=c
1286ac_cpp='$CPP $CPPFLAGS'
1287ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1288ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1289ac_compiler_gnu=$ac_cv_c_compiler_gnu
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318ac_aux_dir=
1319for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1320 if test -f $ac_dir/install-sh; then
1321 ac_aux_dir=$ac_dir
1322 ac_install_sh="$ac_aux_dir/install-sh -c"
1323 break
1324 elif test -f $ac_dir/install.sh; then
1325 ac_aux_dir=$ac_dir
1326 ac_install_sh="$ac_aux_dir/install.sh -c"
1327 break
1328 elif test -f $ac_dir/shtool; then
1329 ac_aux_dir=$ac_dir
1330 ac_install_sh="$ac_aux_dir/shtool install -c"
1331 break
1332 fi
1333done
1334if test -z "$ac_aux_dir"; then
1335 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1336echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1337 { (exit 1); exit 1; }; }
1338fi
1339ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1340ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1341ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1342
1343# Make sure we can run config.sub.
1344$ac_config_sub sun4 >/dev/null 2>&1 ||
1345 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1346echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1347 { (exit 1); exit 1; }; }
1348
1349echo "$as_me:$LINENO: checking build system type" >&5
1350echo $ECHO_N "checking build system type... $ECHO_C" >&6
1351if test "${ac_cv_build+set}" = set; then
1352 echo $ECHO_N "(cached) $ECHO_C" >&6
1353else
1354 ac_cv_build_alias=$build_alias
1355test -z "$ac_cv_build_alias" &&
1356 ac_cv_build_alias=`$ac_config_guess`
1357test -z "$ac_cv_build_alias" &&
1358 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1359echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1360 { (exit 1); exit 1; }; }
1361ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1362 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1363echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1364 { (exit 1); exit 1; }; }
1365
1366fi
1367echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1368echo "${ECHO_T}$ac_cv_build" >&6
1369build=$ac_cv_build
1370build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1371build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1372build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1373
1374
1375echo "$as_me:$LINENO: checking host system type" >&5
1376echo $ECHO_N "checking host system type... $ECHO_C" >&6
1377if test "${ac_cv_host+set}" = set; then
1378 echo $ECHO_N "(cached) $ECHO_C" >&6
1379else
1380 ac_cv_host_alias=$host_alias
1381test -z "$ac_cv_host_alias" &&
1382 ac_cv_host_alias=$ac_cv_build_alias
1383ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1384 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1385echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1386 { (exit 1); exit 1; }; }
1387
1388fi
1389echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1390echo "${ECHO_T}$ac_cv_host" >&6
1391host=$ac_cv_host
1392host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1393host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1394host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1395
1396
1397echo "$as_me:$LINENO: checking target system type" >&5
1398echo $ECHO_N "checking target system type... $ECHO_C" >&6
1399if test "${ac_cv_target+set}" = set; then
1400 echo $ECHO_N "(cached) $ECHO_C" >&6
1401else
1402 ac_cv_target_alias=$target_alias
1403test "x$ac_cv_target_alias" = "x" &&
1404 ac_cv_target_alias=$ac_cv_host_alias
1405ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1406 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1407echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1408 { (exit 1); exit 1; }; }
1409
1410fi
1411echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1412echo "${ECHO_T}$ac_cv_target" >&6
1413target=$ac_cv_target
1414target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1415target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1416target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1417
1418
1419# The aliases save the names the user supplied, while $host etc.
1420# will get canonicalized.
1421test -n "$target_alias" &&
1422 test "$program_prefix$program_suffix$program_transform_name" = \
1423 NONENONEs,x,x, &&
1424 program_prefix=${target_alias}-
1425
1426am__api_version="1.9"
1427# Find a good install program. We prefer a C program (faster),
1428# so one script is as good as another. But avoid the broken or
1429# incompatible versions:
1430# SysV /etc/install, /usr/sbin/install
1431# SunOS /usr/etc/install
1432# IRIX /sbin/install
1433# AIX /bin/install
1434# AmigaOS /C/install, which installs bootblocks on floppy discs
1435# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1436# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1437# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1438# OS/2's system install, which has a completely different semantic
1439# ./install, which can be erroneously created by make from ./install.sh.
1440echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1441echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1442if test -z "$INSTALL"; then
1443if test "${ac_cv_path_install+set}" = set; then
1444 echo $ECHO_N "(cached) $ECHO_C" >&6
1445else
1446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1447for as_dir in $PATH
1448do
1449 IFS=$as_save_IFS
1450 test -z "$as_dir" && as_dir=.
1451 # Account for people who put trailing slashes in PATH elements.
1452case $as_dir/ in
1453 ./ | .// | /cC/* | \
1454 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1455 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1456 /usr/ucb/* ) ;;
1457 *)
1458 # OSF1 and SCO ODT 3.0 have their own names for install.
1459 # Don't use installbsd from OSF since it installs stuff as root
1460 # by default.
1461 for ac_prog in ginstall scoinst install; do
1462 for ac_exec_ext in '' $ac_executable_extensions; do
1463 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1464 if test $ac_prog = install &&
1465 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1466 # AIX install. It has an incompatible calling convention.
1467 :
1468 elif test $ac_prog = install &&
1469 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1470 # program-specific install script used by HP pwplus--don't use.
1471 :
1472 else
1473 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1474 break 3
1475 fi
1476 fi
1477 done
1478 done
1479 ;;
1480esac
1481done
1482
1483
1484fi
1485 if test "${ac_cv_path_install+set}" = set; then
1486 INSTALL=$ac_cv_path_install
1487 else
1488 # As a last resort, use the slow shell script. We don't cache a
1489 # path for INSTALL within a source directory, because that will
1490 # break other packages using the cache if that directory is
1491 # removed, or if the path is relative.
1492 INSTALL=$ac_install_sh
1493 fi
1494fi
1495echo "$as_me:$LINENO: result: $INSTALL" >&5
1496echo "${ECHO_T}$INSTALL" >&6
1497
1498# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1499# It thinks the first close brace ends the variable substitution.
1500test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1501
1502test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1503
1504test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1505
1506echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1507echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1508# Just in case
1509sleep 1
1510echo timestamp > conftest.file
1511# Do `set' in a subshell so we don't clobber the current shell's
1512# arguments. Must try -L first in case configure is actually a
1513# symlink; some systems play weird games with the mod time of symlinks
1514# (eg FreeBSD returns the mod time of the symlink's containing
1515# directory).
1516if (
1517 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1518 if test "$*" = "X"; then
1519 # -L didn't work.
1520 set X `ls -t $srcdir/configure conftest.file`
1521 fi
1522 rm -f conftest.file
1523 if test "$*" != "X $srcdir/configure conftest.file" \
1524 && test "$*" != "X conftest.file $srcdir/configure"; then
1525
1526 # If neither matched, then we have a broken ls. This can happen
1527 # if, for instance, CONFIG_SHELL is bash and it inherits a
1528 # broken ls alias from the environment. This has actually
1529 # happened. Such a system could not be considered "sane".
1530 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1531alias in your environment" >&5
1532echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1533alias in your environment" >&2;}
1534 { (exit 1); exit 1; }; }
1535 fi
1536
1537 test "$2" = conftest.file
1538 )
1539then
1540 # Ok.
1541 :
1542else
1543 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1544Check your system clock" >&5
1545echo "$as_me: error: newly created file is older than distributed files!
1546Check your system clock" >&2;}
1547 { (exit 1); exit 1; }; }
1548fi
1549echo "$as_me:$LINENO: result: yes" >&5
1550echo "${ECHO_T}yes" >&6
1551test "$program_prefix" != NONE &&
1552 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1553# Use a double $ so make ignores it.
1554test "$program_suffix" != NONE &&
1555 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1556# Double any \ or $. echo might interpret backslashes.
1557# By default was `s,x,x', remove it if useless.
1558cat <<\_ACEOF >conftest.sed
1559s/[\\$]/&&/g;s/;s,x,x,$//
1560_ACEOF
1561program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1562rm conftest.sed
1563
1564# expand $ac_aux_dir to an absolute path
1565am_aux_dir=`cd $ac_aux_dir && pwd`
1566
1567test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1568# Use eval to expand $SHELL
1569if eval "$MISSING --run true"; then
1570 am_missing_run="$MISSING --run "
1571else
1572 am_missing_run=
1573 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1574echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1575fi
1576
1577if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1578 # We used to keeping the `.' as first argument, in order to
1579 # allow $(mkdir_p) to be used without argument. As in
1580 # $(mkdir_p) $(somedir)
1581 # where $(somedir) is conditionally defined. However this is wrong
1582 # for two reasons:
1583 # 1. if the package is installed by a user who cannot write `.'
1584 # make install will fail,
1585 # 2. the above comment should most certainly read
1586 # $(mkdir_p) $(DESTDIR)$(somedir)
1587 # so it does not work when $(somedir) is undefined and
1588 # $(DESTDIR) is not.
1589 # To support the latter case, we have to write
1590 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1591 # so the `.' trick is pointless.
1592 mkdir_p='mkdir -p --'
1593else
1594 # On NextStep and OpenStep, the `mkdir' command does not
1595 # recognize any option. It will interpret all options as
1596 # directories to create, and then abort because `.' already
1597 # exists.
1598 for d in ./-p ./--version;
1599 do
1600 test -d $d && rmdir $d
1601 done
1602 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1603 if test -f "$ac_aux_dir/mkinstalldirs"; then
1604 mkdir_p='$(mkinstalldirs)'
1605 else
1606 mkdir_p='$(install_sh) -d'
1607 fi
1608fi
1609
1610for ac_prog in gawk mawk nawk awk
1611do
1612 # Extract the first word of "$ac_prog", so it can be a program name with args.
1613set dummy $ac_prog; ac_word=$2
1614echo "$as_me:$LINENO: checking for $ac_word" >&5
1615echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1616if test "${ac_cv_prog_AWK+set}" = set; then
1617 echo $ECHO_N "(cached) $ECHO_C" >&6
1618else
1619 if test -n "$AWK"; then
1620 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1621else
1622as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1623for as_dir in $PATH
1624do
1625 IFS=$as_save_IFS
1626 test -z "$as_dir" && as_dir=.
1627 for ac_exec_ext in '' $ac_executable_extensions; do
1628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1629 ac_cv_prog_AWK="$ac_prog"
1630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1631 break 2
1632 fi
1633done
1634done
1635
1636fi
1637fi
1638AWK=$ac_cv_prog_AWK
1639if test -n "$AWK"; then
1640 echo "$as_me:$LINENO: result: $AWK" >&5
1641echo "${ECHO_T}$AWK" >&6
1642else
1643 echo "$as_me:$LINENO: result: no" >&5
1644echo "${ECHO_T}no" >&6
1645fi
1646
1647 test -n "$AWK" && break
1648done
1649
1650echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1651echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1652set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1653if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1654 echo $ECHO_N "(cached) $ECHO_C" >&6
1655else
1656 cat >conftest.make <<\_ACEOF
1657all:
1658 @echo 'ac_maketemp="$(MAKE)"'
1659_ACEOF
1660# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1661eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1662if test -n "$ac_maketemp"; then
1663 eval ac_cv_prog_make_${ac_make}_set=yes
1664else
1665 eval ac_cv_prog_make_${ac_make}_set=no
1666fi
1667rm -f conftest.make
1668fi
1669if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1670 echo "$as_me:$LINENO: result: yes" >&5
1671echo "${ECHO_T}yes" >&6
1672 SET_MAKE=
1673else
1674 echo "$as_me:$LINENO: result: no" >&5
1675echo "${ECHO_T}no" >&6
1676 SET_MAKE="MAKE=${MAKE-make}"
1677fi
1678
1679rm -rf .tst 2>/dev/null
1680mkdir .tst 2>/dev/null
1681if test -d .tst; then
1682 am__leading_dot=.
1683else
1684 am__leading_dot=_
1685fi
1686rmdir .tst 2>/dev/null
1687
1688# test to see if srcdir already configured
1689if test "`cd $srcdir && pwd`" != "`pwd`" &&
1690 test -f $srcdir/config.status; then
1691 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1692echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1693 { (exit 1); exit 1; }; }
1694fi
1695
1696# test whether we have cygpath
1697if test -z "$CYGPATH_W"; then
1698 if (cygpath --version) >/dev/null 2>/dev/null; then
1699 CYGPATH_W='cygpath -w'
1700 else
1701 CYGPATH_W=echo
1702 fi
1703fi
1704
1705
1706# Define the identity of the package.
1707 PACKAGE='libssp'
1708 VERSION='1.0'
1709
1710
1711cat >>confdefs.h <<_ACEOF
1712#define PACKAGE "$PACKAGE"
1713_ACEOF
1714
1715
1716cat >>confdefs.h <<_ACEOF
1717#define VERSION "$VERSION"
1718_ACEOF
1719
1720# Some tools Automake needs.
1721
1722ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1723
1724
1725AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1726
1727
1728AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1729
1730
1731AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1732
1733
1734MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1735
1736install_sh=${install_sh-"$am_aux_dir/install-sh"}
1737
1738# Installed binaries are usually stripped using `strip' when the user
1739# run `make install-strip'. However `strip' might not be the right
1740# tool to use in cross-compilation environments, therefore Automake
1741# will honor the `STRIP' environment variable to overrule this program.
1742if test "$cross_compiling" != no; then
1743 if test -n "$ac_tool_prefix"; then
1744 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1745set dummy ${ac_tool_prefix}strip; ac_word=$2
1746echo "$as_me:$LINENO: checking for $ac_word" >&5
1747echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1748if test "${ac_cv_prog_STRIP+set}" = set; then
1749 echo $ECHO_N "(cached) $ECHO_C" >&6
1750else
1751 if test -n "$STRIP"; then
1752 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1753else
1754as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1755for as_dir in $PATH
1756do
1757 IFS=$as_save_IFS
1758 test -z "$as_dir" && as_dir=.
1759 for ac_exec_ext in '' $ac_executable_extensions; do
1760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1761 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1763 break 2
1764 fi
1765done
1766done
1767
1768fi
1769fi
1770STRIP=$ac_cv_prog_STRIP
1771if test -n "$STRIP"; then
1772 echo "$as_me:$LINENO: result: $STRIP" >&5
1773echo "${ECHO_T}$STRIP" >&6
1774else
1775 echo "$as_me:$LINENO: result: no" >&5
1776echo "${ECHO_T}no" >&6
1777fi
1778
1779fi
1780if test -z "$ac_cv_prog_STRIP"; then
1781 ac_ct_STRIP=$STRIP
1782 # Extract the first word of "strip", so it can be a program name with args.
1783set dummy strip; ac_word=$2
1784echo "$as_me:$LINENO: checking for $ac_word" >&5
1785echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1786if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1787 echo $ECHO_N "(cached) $ECHO_C" >&6
1788else
1789 if test -n "$ac_ct_STRIP"; then
1790 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1791else
1792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1793for as_dir in $PATH
1794do
1795 IFS=$as_save_IFS
1796 test -z "$as_dir" && as_dir=.
1797 for ac_exec_ext in '' $ac_executable_extensions; do
1798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1799 ac_cv_prog_ac_ct_STRIP="strip"
1800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1801 break 2
1802 fi
1803done
1804done
1805
1806 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1807fi
1808fi
1809ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1810if test -n "$ac_ct_STRIP"; then
1811 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1812echo "${ECHO_T}$ac_ct_STRIP" >&6
1813else
1814 echo "$as_me:$LINENO: result: no" >&5
1815echo "${ECHO_T}no" >&6
1816fi
1817
1818 STRIP=$ac_ct_STRIP
1819else
1820 STRIP="$ac_cv_prog_STRIP"
1821fi
1822
1823fi
1824INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1825
1826# We need awk for the "check" target. The system "awk" is bad on
1827# some platforms.
1828# Always define AMTAR for backward compatibility.
1829
1830AMTAR=${AMTAR-"${am_missing_run}tar"}
1831
1832am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1833
1834
1835
1836
1837
1838
1839echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1840echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1841# Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1842if test "${enable_version_specific_runtime_libs+set}" = set; then
1843 enableval="$enable_version_specific_runtime_libs"
1844 case "$enableval" in
1845 yes) version_specific_libs=yes ;;
1846 no) version_specific_libs=no ;;
1847 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1848echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1849 { (exit 1); exit 1; }; };;
1850 esac
1851else
1852 version_specific_libs=no
1853fi;
1854echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1855echo "${ECHO_T}$version_specific_libs" >&6
1856
1857echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1858echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1859 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1860if test "${enable_maintainer_mode+set}" = set; then
1861 enableval="$enable_maintainer_mode"
1862 USE_MAINTAINER_MODE=$enableval
1863else
1864 USE_MAINTAINER_MODE=no
1865fi;
1866 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1867echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1868
1869
1870if test $USE_MAINTAINER_MODE = yes; then
1871 MAINTAINER_MODE_TRUE=
1872 MAINTAINER_MODE_FALSE='#'
1873else
1874 MAINTAINER_MODE_TRUE='#'
1875 MAINTAINER_MODE_FALSE=
1876fi
1877
1878 MAINT=$MAINTAINER_MODE_TRUE
1879
1880
1881
1882
1883# Default to --enable-multilib
1884# Check whether --enable-multilib or --disable-multilib was given.
1885if test "${enable_multilib+set}" = set; then
1886 enableval="$enable_multilib"
1887 case "$enableval" in
1888 yes) multilib=yes ;;
1889 no) multilib=no ;;
1890 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1891echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1892 { (exit 1); exit 1; }; } ;;
1893 esac
1894else
1895 multilib=yes
1896fi;
1897
1898# We may get other options which we leave undocumented:
1899# --with-target-subdir, --with-multisrctop, --with-multisubdir
1900# See config-ml.in if you want the gory details.
1901
1902if test "$srcdir" = "."; then
1903 if test "$with_target_subdir" != "."; then
1904 multi_basedir="$srcdir/$with_multisrctop../.."
1905 else
1906 multi_basedir="$srcdir/$with_multisrctop.."
1907 fi
1908else
1909 multi_basedir="$srcdir/.."
1910fi
1911
1912
1913 ac_config_commands="$ac_config_commands default-1"
1914
1915
1916target_alias=${target_alias-$host_alias}
1917
1918
1919 ac_config_headers="$ac_config_headers config.h"
1920
1921
1922ac_ext=c
1923ac_cpp='$CPP $CPPFLAGS'
1924ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1925ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1926ac_compiler_gnu=$ac_cv_c_compiler_gnu
1927
1928# The same as in boehm-gc and libstdc++. Have to borrow it from there.
1929# We must force CC to /not/ be precious variables; otherwise
1930# the wrong, non-multilib-adjusted value will be used in multilibs.
1931# As a side effect, we have to subst CFLAGS ourselves.
1932
1933
1934
1935ac_ext=c
1936ac_cpp='$CPP $CPPFLAGS'
1937ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1938ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1939ac_compiler_gnu=$ac_cv_c_compiler_gnu
1940if test -n "$ac_tool_prefix"; then
1941 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1942set dummy ${ac_tool_prefix}gcc; ac_word=$2
1943echo "$as_me:$LINENO: checking for $ac_word" >&5
1944echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1945if test "${ac_cv_prog_CC+set}" = set; then
1946 echo $ECHO_N "(cached) $ECHO_C" >&6
1947else
1948 if test -n "$CC"; then
1949 ac_cv_prog_CC="$CC" # Let the user override the test.
1950else
1951as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1952for as_dir in $PATH
1953do
1954 IFS=$as_save_IFS
1955 test -z "$as_dir" && as_dir=.
1956 for ac_exec_ext in '' $ac_executable_extensions; do
1957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1958 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1960 break 2
1961 fi
1962done
1963done
1964
1965fi
1966fi
1967CC=$ac_cv_prog_CC
1968if test -n "$CC"; then
1969 echo "$as_me:$LINENO: result: $CC" >&5
1970echo "${ECHO_T}$CC" >&6
1971else
1972 echo "$as_me:$LINENO: result: no" >&5
1973echo "${ECHO_T}no" >&6
1974fi
1975
1976fi
1977if test -z "$ac_cv_prog_CC"; then
1978 ac_ct_CC=$CC
1979 # Extract the first word of "gcc", so it can be a program name with args.
1980set dummy gcc; ac_word=$2
1981echo "$as_me:$LINENO: checking for $ac_word" >&5
1982echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1983if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1985else
1986 if test -n "$ac_ct_CC"; then
1987 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1988else
1989as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1990for as_dir in $PATH
1991do
1992 IFS=$as_save_IFS
1993 test -z "$as_dir" && as_dir=.
1994 for ac_exec_ext in '' $ac_executable_extensions; do
1995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1996 ac_cv_prog_ac_ct_CC="gcc"
1997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1998 break 2
1999 fi
2000done
2001done
2002
2003fi
2004fi
2005ac_ct_CC=$ac_cv_prog_ac_ct_CC
2006if test -n "$ac_ct_CC"; then
2007 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2008echo "${ECHO_T}$ac_ct_CC" >&6
2009else
2010 echo "$as_me:$LINENO: result: no" >&5
2011echo "${ECHO_T}no" >&6
2012fi
2013
2014 CC=$ac_ct_CC
2015else
2016 CC="$ac_cv_prog_CC"
2017fi
2018
2019if test -z "$CC"; then
2020 if test -n "$ac_tool_prefix"; then
2021 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2022set dummy ${ac_tool_prefix}cc; ac_word=$2
2023echo "$as_me:$LINENO: checking for $ac_word" >&5
2024echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2025if test "${ac_cv_prog_CC+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2027else
2028 if test -n "$CC"; then
2029 ac_cv_prog_CC="$CC" # Let the user override the test.
2030else
2031as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2032for as_dir in $PATH
2033do
2034 IFS=$as_save_IFS
2035 test -z "$as_dir" && as_dir=.
2036 for ac_exec_ext in '' $ac_executable_extensions; do
2037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2038 ac_cv_prog_CC="${ac_tool_prefix}cc"
2039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 break 2
2041 fi
2042done
2043done
2044
2045fi
2046fi
2047CC=$ac_cv_prog_CC
2048if test -n "$CC"; then
2049 echo "$as_me:$LINENO: result: $CC" >&5
2050echo "${ECHO_T}$CC" >&6
2051else
2052 echo "$as_me:$LINENO: result: no" >&5
2053echo "${ECHO_T}no" >&6
2054fi
2055
2056fi
2057if test -z "$ac_cv_prog_CC"; then
2058 ac_ct_CC=$CC
2059 # Extract the first word of "cc", so it can be a program name with args.
2060set dummy cc; ac_word=$2
2061echo "$as_me:$LINENO: checking for $ac_word" >&5
2062echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2063if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2064 echo $ECHO_N "(cached) $ECHO_C" >&6
2065else
2066 if test -n "$ac_ct_CC"; then
2067 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2068else
2069as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2070for as_dir in $PATH
2071do
2072 IFS=$as_save_IFS
2073 test -z "$as_dir" && as_dir=.
2074 for ac_exec_ext in '' $ac_executable_extensions; do
2075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2076 ac_cv_prog_ac_ct_CC="cc"
2077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2078 break 2
2079 fi
2080done
2081done
2082
2083fi
2084fi
2085ac_ct_CC=$ac_cv_prog_ac_ct_CC
2086if test -n "$ac_ct_CC"; then
2087 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2088echo "${ECHO_T}$ac_ct_CC" >&6
2089else
2090 echo "$as_me:$LINENO: result: no" >&5
2091echo "${ECHO_T}no" >&6
2092fi
2093
2094 CC=$ac_ct_CC
2095else
2096 CC="$ac_cv_prog_CC"
2097fi
2098
2099fi
2100if test -z "$CC"; then
2101 # Extract the first word of "cc", so it can be a program name with args.
2102set dummy cc; ac_word=$2
2103echo "$as_me:$LINENO: checking for $ac_word" >&5
2104echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2105if test "${ac_cv_prog_CC+set}" = set; then
2106 echo $ECHO_N "(cached) $ECHO_C" >&6
2107else
2108 if test -n "$CC"; then
2109 ac_cv_prog_CC="$CC" # Let the user override the test.
2110else
2111 ac_prog_rejected=no
2112as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2113for as_dir in $PATH
2114do
2115 IFS=$as_save_IFS
2116 test -z "$as_dir" && as_dir=.
2117 for ac_exec_ext in '' $ac_executable_extensions; do
2118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2119 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2120 ac_prog_rejected=yes
2121 continue
2122 fi
2123 ac_cv_prog_CC="cc"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2125 break 2
2126 fi
2127done
2128done
2129
2130if test $ac_prog_rejected = yes; then
2131 # We found a bogon in the path, so make sure we never use it.
2132 set dummy $ac_cv_prog_CC
2133 shift
2134 if test $# != 0; then
2135 # We chose a different compiler from the bogus one.
2136 # However, it has the same basename, so the bogon will be chosen
2137 # first if we set CC to just the basename; use the full file name.
2138 shift
2139 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2140 fi
2141fi
2142fi
2143fi
2144CC=$ac_cv_prog_CC
2145if test -n "$CC"; then
2146 echo "$as_me:$LINENO: result: $CC" >&5
2147echo "${ECHO_T}$CC" >&6
2148else
2149 echo "$as_me:$LINENO: result: no" >&5
2150echo "${ECHO_T}no" >&6
2151fi
2152
2153fi
2154if test -z "$CC"; then
2155 if test -n "$ac_tool_prefix"; then
2156 for ac_prog in cl
2157 do
2158 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2159set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2160echo "$as_me:$LINENO: checking for $ac_word" >&5
2161echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2162if test "${ac_cv_prog_CC+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2164else
2165 if test -n "$CC"; then
2166 ac_cv_prog_CC="$CC" # Let the user override the test.
2167else
2168as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2169for as_dir in $PATH
2170do
2171 IFS=$as_save_IFS
2172 test -z "$as_dir" && as_dir=.
2173 for ac_exec_ext in '' $ac_executable_extensions; do
2174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2175 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2177 break 2
2178 fi
2179done
2180done
2181
2182fi
2183fi
2184CC=$ac_cv_prog_CC
2185if test -n "$CC"; then
2186 echo "$as_me:$LINENO: result: $CC" >&5
2187echo "${ECHO_T}$CC" >&6
2188else
2189 echo "$as_me:$LINENO: result: no" >&5
2190echo "${ECHO_T}no" >&6
2191fi
2192
2193 test -n "$CC" && break
2194 done
2195fi
2196if test -z "$CC"; then
2197 ac_ct_CC=$CC
2198 for ac_prog in cl
2199do
2200 # Extract the first word of "$ac_prog", so it can be a program name with args.
2201set dummy $ac_prog; ac_word=$2
2202echo "$as_me:$LINENO: checking for $ac_word" >&5
2203echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2204if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2205 echo $ECHO_N "(cached) $ECHO_C" >&6
2206else
2207 if test -n "$ac_ct_CC"; then
2208 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2209else
2210as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2211for as_dir in $PATH
2212do
2213 IFS=$as_save_IFS
2214 test -z "$as_dir" && as_dir=.
2215 for ac_exec_ext in '' $ac_executable_extensions; do
2216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2217 ac_cv_prog_ac_ct_CC="$ac_prog"
2218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2219 break 2
2220 fi
2221done
2222done
2223
2224fi
2225fi
2226ac_ct_CC=$ac_cv_prog_ac_ct_CC
2227if test -n "$ac_ct_CC"; then
2228 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2229echo "${ECHO_T}$ac_ct_CC" >&6
2230else
2231 echo "$as_me:$LINENO: result: no" >&5
2232echo "${ECHO_T}no" >&6
2233fi
2234
2235 test -n "$ac_ct_CC" && break
2236done
2237
2238 CC=$ac_ct_CC
2239fi
2240
2241fi
2242
2243
2244test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2245See \`config.log' for more details." >&5
2246echo "$as_me: error: no acceptable C compiler found in \$PATH
2247See \`config.log' for more details." >&2;}
2248 { (exit 1); exit 1; }; }
2249
2250# Provide some information about the compiler.
2251echo "$as_me:$LINENO:" \
2252 "checking for C compiler version" >&5
2253ac_compiler=`set X $ac_compile; echo $2`
2254{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2255 (eval $ac_compiler --version </dev/null >&5) 2>&5
2256 ac_status=$?
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); }
2259{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2260 (eval $ac_compiler -v </dev/null >&5) 2>&5
2261 ac_status=$?
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }
2264{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2265 (eval $ac_compiler -V </dev/null >&5) 2>&5
2266 ac_status=$?
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }
2269
2270cat >conftest.$ac_ext <<_ACEOF
2271/* confdefs.h. */
2272_ACEOF
2273cat confdefs.h >>conftest.$ac_ext
2274cat >>conftest.$ac_ext <<_ACEOF
2275/* end confdefs.h. */
2276
2277int
2278main ()
2279{
2280
2281 ;
2282 return 0;
2283}
2284_ACEOF
2285ac_clean_files_save=$ac_clean_files
2286ac_clean_files="$ac_clean_files a.out a.exe b.out"
2287# Try to create an executable without -o first, disregard a.out.
2288# It will help us diagnose broken compilers, and finding out an intuition
2289# of exeext.
2290echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2291echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2292ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2293if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2294 (eval $ac_link_default) 2>&5
2295 ac_status=$?
2296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297 (exit $ac_status); }; then
2298 # Find the output, starting from the most likely. This scheme is
2299# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2300# resort.
2301
2302# Be careful to initialize this variable, since it used to be cached.
2303# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2304ac_cv_exeext=
2305# b.out is created by i960 compilers.
2306for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2307do
2308 test -f "$ac_file" || continue
2309 case $ac_file in
2310 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2311 ;;
2312 conftest.$ac_ext )
2313 # This is the source file.
2314 ;;
2315 [ab].out )
2316 # We found the default executable, but exeext='' is most
2317 # certainly right.
2318 break;;
2319 *.* )
2320 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2321 # FIXME: I believe we export ac_cv_exeext for Libtool,
2322 # but it would be cool to find out if it's true. Does anybody
2323 # maintain Libtool? --akim.
2324 export ac_cv_exeext
2325 break;;
2326 * )
2327 break;;
2328 esac
2329done
2330else
2331 echo "$as_me: failed program was:" >&5
2332sed 's/^/| /' conftest.$ac_ext >&5
2333
2334{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2335See \`config.log' for more details." >&5
2336echo "$as_me: error: C compiler cannot create executables
2337See \`config.log' for more details." >&2;}
2338 { (exit 77); exit 77; }; }
2339fi
2340
2341ac_exeext=$ac_cv_exeext
2342echo "$as_me:$LINENO: result: $ac_file" >&5
2343echo "${ECHO_T}$ac_file" >&6
2344
2345# Check the compiler produces executables we can run. If not, either
2346# the compiler is broken, or we cross compile.
2347echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2348echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2349# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2350# If not cross compiling, check that we can run a simple program.
2351if test "$cross_compiling" != yes; then
2352 if { ac_try='./$ac_file'
2353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2354 (eval $ac_try) 2>&5
2355 ac_status=$?
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }; }; then
2358 cross_compiling=no
2359 else
2360 if test "$cross_compiling" = maybe; then
2361 cross_compiling=yes
2362 else
2363 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2364If you meant to cross compile, use \`--host'.
2365See \`config.log' for more details." >&5
2366echo "$as_me: error: cannot run C compiled programs.
2367If you meant to cross compile, use \`--host'.
2368See \`config.log' for more details." >&2;}
2369 { (exit 1); exit 1; }; }
2370 fi
2371 fi
2372fi
2373echo "$as_me:$LINENO: result: yes" >&5
2374echo "${ECHO_T}yes" >&6
2375
2376rm -f a.out a.exe conftest$ac_cv_exeext b.out
2377ac_clean_files=$ac_clean_files_save
2378# Check the compiler produces executables we can run. If not, either
2379# the compiler is broken, or we cross compile.
2380echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2381echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2382echo "$as_me:$LINENO: result: $cross_compiling" >&5
2383echo "${ECHO_T}$cross_compiling" >&6
2384
2385echo "$as_me:$LINENO: checking for suffix of executables" >&5
2386echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2387if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2388 (eval $ac_link) 2>&5
2389 ac_status=$?
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); }; then
2392 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2393# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2394# work properly (i.e., refer to `conftest.exe'), while it won't with
2395# `rm'.
2396for ac_file in conftest.exe conftest conftest.*; do
2397 test -f "$ac_file" || continue
2398 case $ac_file in
2399 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2400 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2401 export ac_cv_exeext
2402 break;;
2403 * ) break;;
2404 esac
2405done
2406else
2407 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2408See \`config.log' for more details." >&5
2409echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2410See \`config.log' for more details." >&2;}
2411 { (exit 1); exit 1; }; }
2412fi
2413
2414rm -f conftest$ac_cv_exeext
2415echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2416echo "${ECHO_T}$ac_cv_exeext" >&6
2417
2418rm -f conftest.$ac_ext
2419EXEEXT=$ac_cv_exeext
2420ac_exeext=$EXEEXT
2421echo "$as_me:$LINENO: checking for suffix of object files" >&5
2422echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2423if test "${ac_cv_objext+set}" = set; then
2424 echo $ECHO_N "(cached) $ECHO_C" >&6
2425else
2426 cat >conftest.$ac_ext <<_ACEOF
2427/* confdefs.h. */
2428_ACEOF
2429cat confdefs.h >>conftest.$ac_ext
2430cat >>conftest.$ac_ext <<_ACEOF
2431/* end confdefs.h. */
2432
2433int
2434main ()
2435{
2436
2437 ;
2438 return 0;
2439}
2440_ACEOF
2441rm -f conftest.o conftest.obj
2442if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2443 (eval $ac_compile) 2>&5
2444 ac_status=$?
2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); }; then
2447 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2448 case $ac_file in
2449 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2450 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2451 break;;
2452 esac
2453done
2454else
2455 echo "$as_me: failed program was:" >&5
2456sed 's/^/| /' conftest.$ac_ext >&5
2457
2458{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2459See \`config.log' for more details." >&5
2460echo "$as_me: error: cannot compute suffix of object files: cannot compile
2461See \`config.log' for more details." >&2;}
2462 { (exit 1); exit 1; }; }
2463fi
2464
2465rm -f conftest.$ac_cv_objext conftest.$ac_ext
2466fi
2467echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2468echo "${ECHO_T}$ac_cv_objext" >&6
2469OBJEXT=$ac_cv_objext
2470ac_objext=$OBJEXT
2471echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2472echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2473if test "${ac_cv_c_compiler_gnu+set}" = set; then
2474 echo $ECHO_N "(cached) $ECHO_C" >&6
2475else
2476 cat >conftest.$ac_ext <<_ACEOF
2477/* confdefs.h. */
2478_ACEOF
2479cat confdefs.h >>conftest.$ac_ext
2480cat >>conftest.$ac_ext <<_ACEOF
2481/* end confdefs.h. */
2482
2483int
2484main ()
2485{
2486#ifndef __GNUC__
2487 choke me
2488#endif
2489
2490 ;
2491 return 0;
2492}
2493_ACEOF
2494rm -f conftest.$ac_objext
2495if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2496 (eval $ac_compile) 2>conftest.er1
2497 ac_status=$?
2498 grep -v '^ *+' conftest.er1 >conftest.err
2499 rm -f conftest.er1
2500 cat conftest.err >&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); } &&
2503 { ac_try='test -z "$ac_c_werror_flag"
2504 || test ! -s conftest.err'
2505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2506 (eval $ac_try) 2>&5
2507 ac_status=$?
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }; } &&
2510 { ac_try='test -s conftest.$ac_objext'
2511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2512 (eval $ac_try) 2>&5
2513 ac_status=$?
2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); }; }; then
2516 ac_compiler_gnu=yes
2517else
2518 echo "$as_me: failed program was:" >&5
2519sed 's/^/| /' conftest.$ac_ext >&5
2520
2521ac_compiler_gnu=no
2522fi
2523rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2524ac_cv_c_compiler_gnu=$ac_compiler_gnu
2525
2526fi
2527echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2528echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2529GCC=`test $ac_compiler_gnu = yes && echo yes`
2530ac_test_CFLAGS=${CFLAGS+set}
2531ac_save_CFLAGS=$CFLAGS
2532CFLAGS="-g"
2533echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2534echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2535if test "${ac_cv_prog_cc_g+set}" = set; then
2536 echo $ECHO_N "(cached) $ECHO_C" >&6
2537else
2538 cat >conftest.$ac_ext <<_ACEOF
2539/* confdefs.h. */
2540_ACEOF
2541cat confdefs.h >>conftest.$ac_ext
2542cat >>conftest.$ac_ext <<_ACEOF
2543/* end confdefs.h. */
2544
2545int
2546main ()
2547{
2548
2549 ;
2550 return 0;
2551}
2552_ACEOF
2553rm -f conftest.$ac_objext
2554if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2555 (eval $ac_compile) 2>conftest.er1
2556 ac_status=$?
2557 grep -v '^ *+' conftest.er1 >conftest.err
2558 rm -f conftest.er1
2559 cat conftest.err >&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); } &&
2562 { ac_try='test -z "$ac_c_werror_flag"
2563 || test ! -s conftest.err'
2564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565 (eval $ac_try) 2>&5
2566 ac_status=$?
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }; } &&
2569 { ac_try='test -s conftest.$ac_objext'
2570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571 (eval $ac_try) 2>&5
2572 ac_status=$?
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); }; }; then
2575 ac_cv_prog_cc_g=yes
2576else
2577 echo "$as_me: failed program was:" >&5
2578sed 's/^/| /' conftest.$ac_ext >&5
2579
2580ac_cv_prog_cc_g=no
2581fi
2582rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2583fi
2584echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2585echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2586if test "$ac_test_CFLAGS" = set; then
2587 CFLAGS=$ac_save_CFLAGS
2588elif test $ac_cv_prog_cc_g = yes; then
2589 if test "$GCC" = yes; then
2590 CFLAGS="-g -O2"
2591 else
2592 CFLAGS="-g"
2593 fi
2594else
2595 if test "$GCC" = yes; then
2596 CFLAGS="-O2"
2597 else
2598 CFLAGS=
2599 fi
2600fi
2601echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2602echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2603if test "${ac_cv_prog_cc_stdc+set}" = set; then
2604 echo $ECHO_N "(cached) $ECHO_C" >&6
2605else
2606 ac_cv_prog_cc_stdc=no
2607ac_save_CC=$CC
2608cat >conftest.$ac_ext <<_ACEOF
2609/* confdefs.h. */
2610_ACEOF
2611cat confdefs.h >>conftest.$ac_ext
2612cat >>conftest.$ac_ext <<_ACEOF
2613/* end confdefs.h. */
2614#include <stdarg.h>
2615#include <stdio.h>
2616#include <sys/types.h>
2617#include <sys/stat.h>
2618/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2619struct buf { int x; };
2620FILE * (*rcsopen) (struct buf *, struct stat *, int);
2621static char *e (p, i)
2622 char **p;
2623 int i;
2624{
2625 return p[i];
2626}
2627static char *f (char * (*g) (char **, int), char **p, ...)
2628{
2629 char *s;
2630 va_list v;
2631 va_start (v,p);
2632 s = g (p, va_arg (v,int));
2633 va_end (v);
2634 return s;
2635}
2636
2637/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2638 function prototypes and stuff, but not '\xHH' hex character constants.
2639 These don't provoke an error unfortunately, instead are silently treated
2640 as 'x'. The following induces an error, until -std1 is added to get
2641 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2642 array size at least. It's necessary to write '\x00'==0 to get something
2643 that's true only with -std1. */
2644int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2645
2646int test (int i, double x);
2647struct s1 {int (*f) (int a);};
2648struct s2 {int (*f) (double a);};
2649int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2650int argc;
2651char **argv;
2652int
2653main ()
2654{
2655return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2656 ;
2657 return 0;
2658}
2659_ACEOF
2660# Don't try gcc -ansi; that turns off useful extensions and
2661# breaks some systems' header files.
2662# AIX -qlanglvl=ansi
2663# Ultrix and OSF/1 -std1
2664# HP-UX 10.20 and later -Ae
2665# HP-UX older versions -Aa -D_HPUX_SOURCE
2666# SVR4 -Xc -D__EXTENSIONS__
2667for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2668do
2669 CC="$ac_save_CC $ac_arg"
2670 rm -f conftest.$ac_objext
2671if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2672 (eval $ac_compile) 2>conftest.er1
2673 ac_status=$?
2674 grep -v '^ *+' conftest.er1 >conftest.err
2675 rm -f conftest.er1
2676 cat conftest.err >&5
2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678 (exit $ac_status); } &&
2679 { ac_try='test -z "$ac_c_werror_flag"
2680 || test ! -s conftest.err'
2681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2682 (eval $ac_try) 2>&5
2683 ac_status=$?
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }; } &&
2686 { ac_try='test -s conftest.$ac_objext'
2687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2688 (eval $ac_try) 2>&5
2689 ac_status=$?
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); }; }; then
2692 ac_cv_prog_cc_stdc=$ac_arg
2693break
2694else
2695 echo "$as_me: failed program was:" >&5
2696sed 's/^/| /' conftest.$ac_ext >&5
2697
2698fi
2699rm -f conftest.err conftest.$ac_objext
2700done
2701rm -f conftest.$ac_ext conftest.$ac_objext
2702CC=$ac_save_CC
2703
2704fi
2705
2706case "x$ac_cv_prog_cc_stdc" in
2707 x|xno)
2708 echo "$as_me:$LINENO: result: none needed" >&5
2709echo "${ECHO_T}none needed" >&6 ;;
2710 *)
2711 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2712echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2713 CC="$CC $ac_cv_prog_cc_stdc" ;;
2714esac
2715
2716# Some people use a C++ compiler to compile C. Since we use `exit',
2717# in C++ we need to declare it. In case someone uses the same compiler
2718# for both compiling C and C++ we need to have the C++ compiler decide
2719# the declaration of exit, since it's the most demanding environment.
2720cat >conftest.$ac_ext <<_ACEOF
2721#ifndef __cplusplus
2722 choke me
2723#endif
2724_ACEOF
2725rm -f conftest.$ac_objext
2726if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2727 (eval $ac_compile) 2>conftest.er1
2728 ac_status=$?
2729 grep -v '^ *+' conftest.er1 >conftest.err
2730 rm -f conftest.er1
2731 cat conftest.err >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); } &&
2734 { ac_try='test -z "$ac_c_werror_flag"
2735 || test ! -s conftest.err'
2736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2737 (eval $ac_try) 2>&5
2738 ac_status=$?
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }; } &&
2741 { ac_try='test -s conftest.$ac_objext'
2742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2743 (eval $ac_try) 2>&5
2744 ac_status=$?
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); }; }; then
2747 for ac_declaration in \
2748 '' \
2749 'extern "C" void std::exit (int) throw (); using std::exit;' \
2750 'extern "C" void std::exit (int); using std::exit;' \
2751 'extern "C" void exit (int) throw ();' \
2752 'extern "C" void exit (int);' \
2753 'void exit (int);'
2754do
2755 cat >conftest.$ac_ext <<_ACEOF
2756/* confdefs.h. */
2757_ACEOF
2758cat confdefs.h >>conftest.$ac_ext
2759cat >>conftest.$ac_ext <<_ACEOF
2760/* end confdefs.h. */
2761$ac_declaration
2762#include <stdlib.h>
2763int
2764main ()
2765{
2766exit (42);
2767 ;
2768 return 0;
2769}
2770_ACEOF
2771rm -f conftest.$ac_objext
2772if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2773 (eval $ac_compile) 2>conftest.er1
2774 ac_status=$?
2775 grep -v '^ *+' conftest.er1 >conftest.err
2776 rm -f conftest.er1
2777 cat conftest.err >&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); } &&
2780 { ac_try='test -z "$ac_c_werror_flag"
2781 || test ! -s conftest.err'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2783 (eval $ac_try) 2>&5
2784 ac_status=$?
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; } &&
2787 { ac_try='test -s conftest.$ac_objext'
2788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2789 (eval $ac_try) 2>&5
2790 ac_status=$?
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }; }; then
2793 :
2794else
2795 echo "$as_me: failed program was:" >&5
2796sed 's/^/| /' conftest.$ac_ext >&5
2797
2798continue
2799fi
2800rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2801 cat >conftest.$ac_ext <<_ACEOF
2802/* confdefs.h. */
2803_ACEOF
2804cat confdefs.h >>conftest.$ac_ext
2805cat >>conftest.$ac_ext <<_ACEOF
2806/* end confdefs.h. */
2807$ac_declaration
2808int
2809main ()
2810{
2811exit (42);
2812 ;
2813 return 0;
2814}
2815_ACEOF
2816rm -f conftest.$ac_objext
2817if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2818 (eval $ac_compile) 2>conftest.er1
2819 ac_status=$?
2820 grep -v '^ *+' conftest.er1 >conftest.err
2821 rm -f conftest.er1
2822 cat conftest.err >&5
2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); } &&
2825 { ac_try='test -z "$ac_c_werror_flag"
2826 || test ! -s conftest.err'
2827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2828 (eval $ac_try) 2>&5
2829 ac_status=$?
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); }; } &&
2832 { ac_try='test -s conftest.$ac_objext'
2833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2834 (eval $ac_try) 2>&5
2835 ac_status=$?
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; }; then
2838 break
2839else
2840 echo "$as_me: failed program was:" >&5
2841sed 's/^/| /' conftest.$ac_ext >&5
2842
2843fi
2844rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2845done
2846rm -f conftest*
2847if test -n "$ac_declaration"; then
2848 echo '#ifdef __cplusplus' >>confdefs.h
2849 echo $ac_declaration >>confdefs.h
2850 echo '#endif' >>confdefs.h
2851fi
2852
2853else
2854 echo "$as_me: failed program was:" >&5
2855sed 's/^/| /' conftest.$ac_ext >&5
2856
2857fi
2858rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2859ac_ext=c
2860ac_cpp='$CPP $CPPFLAGS'
2861ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2862ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2863ac_compiler_gnu=$ac_cv_c_compiler_gnu
2864DEPDIR="${am__leading_dot}deps"
2865
2866 ac_config_commands="$ac_config_commands depfiles"
2867
2868
2869am_make=${MAKE-make}
2870cat > confinc << 'END'
2871am__doit:
2872 @echo done
2873.PHONY: am__doit
2874END
2875# If we don't find an include directive, just comment out the code.
2876echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2877echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2878am__include="#"
2879am__quote=
2880_am_result=none
2881# First try GNU make style include.
2882echo "include confinc" > confmf
2883# We grep out `Entering directory' and `Leaving directory'
2884# messages which can occur if `w' ends up in MAKEFLAGS.
2885# In particular we don't look at `^make:' because GNU make might
2886# be invoked under some other name (usually "gmake"), in which
2887# case it prints its new name instead of `make'.
2888if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2889 am__include=include
2890 am__quote=
2891 _am_result=GNU
2892fi
2893# Now try BSD make style include.
2894if test "$am__include" = "#"; then
2895 echo '.include "confinc"' > confmf
2896 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2897 am__include=.include
2898 am__quote="\""
2899 _am_result=BSD
2900 fi
2901fi
2902
2903
2904echo "$as_me:$LINENO: result: $_am_result" >&5
2905echo "${ECHO_T}$_am_result" >&6
2906rm -f confinc confmf
2907
2908# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2909if test "${enable_dependency_tracking+set}" = set; then
2910 enableval="$enable_dependency_tracking"
2911
2912fi;
2913if test "x$enable_dependency_tracking" != xno; then
2914 am_depcomp="$ac_aux_dir/depcomp"
2915 AMDEPBACKSLASH='\'
2916fi
2917
2918
2919if test "x$enable_dependency_tracking" != xno; then
2920 AMDEP_TRUE=
2921 AMDEP_FALSE='#'
2922else
2923 AMDEP_TRUE='#'
2924 AMDEP_FALSE=
2925fi
2926
2927
2928
2929
2930depcc="$CC" am_compiler_list=
2931
2932echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2933echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2934if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2935 echo $ECHO_N "(cached) $ECHO_C" >&6
2936else
2937 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2938 # We make a subdir and do the tests there. Otherwise we can end up
2939 # making bogus files that we don't know about and never remove. For
2940 # instance it was reported that on HP-UX the gcc test will end up
2941 # making a dummy file named `D' -- because `-MD' means `put the output
2942 # in D'.
2943 mkdir conftest.dir
2944 # Copy depcomp to subdir because otherwise we won't find it if we're
2945 # using a relative directory.
2946 cp "$am_depcomp" conftest.dir
2947 cd conftest.dir
2948 # We will build objects and dependencies in a subdirectory because
2949 # it helps to detect inapplicable dependency modes. For instance
2950 # both Tru64's cc and ICC support -MD to output dependencies as a
2951 # side effect of compilation, but ICC will put the dependencies in
2952 # the current directory while Tru64 will put them in the object
2953 # directory.
2954 mkdir sub
2955
2956 am_cv_CC_dependencies_compiler_type=none
2957 if test "$am_compiler_list" = ""; then
2958 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2959 fi
2960 for depmode in $am_compiler_list; do
2961 # Setup a source with many dependencies, because some compilers
2962 # like to wrap large dependency lists on column 80 (with \), and
2963 # we should not choose a depcomp mode which is confused by this.
2964 #
2965 # We need to recreate these files for each test, as the compiler may
2966 # overwrite some of them when testing with obscure command lines.
2967 # This happens at least with the AIX C compiler.
2968 : > sub/conftest.c
2969 for i in 1 2 3 4 5 6; do
2970 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2971 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2972 # Solaris 8's {/usr,}/bin/sh.
2973 touch sub/conftst$i.h
2974 done
2975 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2976
2977 case $depmode in
2978 nosideeffect)
2979 # after this tag, mechanisms are not by side-effect, so they'll
2980 # only be used when explicitly requested
2981 if test "x$enable_dependency_tracking" = xyes; then
2982 continue
2983 else
2984 break
2985 fi
2986 ;;
2987 none) break ;;
2988 esac
2989 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2990 # mode. It turns out that the SunPro C++ compiler does not properly
2991 # handle `-M -o', and we need to detect this.
2992 if depmode=$depmode \
2993 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2994 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2995 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2996 >/dev/null 2>conftest.err &&
2997 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2998 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2999 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3000 # icc doesn't choke on unknown options, it will just issue warnings
3001 # or remarks (even with -Werror). So we grep stderr for any message
3002 # that says an option was ignored or not supported.
3003 # When given -MP, icc 7.0 and 7.1 complain thusly:
3004 # icc: Command line warning: ignoring option '-M'; no argument required
3005 # The diagnosis changed in icc 8.0:
3006 # icc: Command line remark: option '-MP' not supported
3007 if (grep 'ignoring option' conftest.err ||
3008 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3009 am_cv_CC_dependencies_compiler_type=$depmode
3010 break
3011 fi
3012 fi
3013 done
3014
3015 cd ..
3016 rm -rf conftest.dir
3017else
3018 am_cv_CC_dependencies_compiler_type=none
3019fi
3020
3021fi
3022echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3023echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3024CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3025
3026
3027
3028if
3029 test "x$enable_dependency_tracking" != xno \
3030 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3031 am__fastdepCC_TRUE=
3032 am__fastdepCC_FALSE='#'
3033else
3034 am__fastdepCC_TRUE='#'
3035 am__fastdepCC_FALSE=
3036fi
3037
3038
3039
3040
3041
3042
3043if test "x$GCC" != "xyes"; then
3044 { { echo "$as_me:$LINENO: error: libssp must be built with GCC" >&5
3045echo "$as_me: error: libssp must be built with GCC" >&2;}
3046 { (exit 1); exit 1; }; }
3047fi
3048ac_ext=c
3049ac_cpp='$CPP $CPPFLAGS'
3050ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3051ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3052ac_compiler_gnu=$ac_cv_c_compiler_gnu
3053echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3054echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3055# On Suns, sometimes $CPP names a directory.
3056if test -n "$CPP" && test -d "$CPP"; then
3057 CPP=
3058fi
3059if test -z "$CPP"; then
3060 if test "${ac_cv_prog_CPP+set}" = set; then
3061 echo $ECHO_N "(cached) $ECHO_C" >&6
3062else
3063 # Double quotes because CPP needs to be expanded
3064 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3065 do
3066 ac_preproc_ok=false
3067for ac_c_preproc_warn_flag in '' yes
3068do
3069 # Use a header file that comes with gcc, so configuring glibc
3070 # with a fresh cross-compiler works.
3071 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3072 # <limits.h> exists even on freestanding compilers.
3073 # On the NeXT, cc -E runs the code through the compiler's parser,
3074 # not just through cpp. "Syntax error" is here to catch this case.
3075 cat >conftest.$ac_ext <<_ACEOF
3076/* confdefs.h. */
3077_ACEOF
3078cat confdefs.h >>conftest.$ac_ext
3079cat >>conftest.$ac_ext <<_ACEOF
3080/* end confdefs.h. */
3081#ifdef __STDC__
3082# include <limits.h>
3083#else
3084# include <assert.h>
3085#endif
3086 Syntax error
3087_ACEOF
3088if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3089 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3090 ac_status=$?
3091 grep -v '^ *+' conftest.er1 >conftest.err
3092 rm -f conftest.er1
3093 cat conftest.err >&5
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); } >/dev/null; then
3096 if test -s conftest.err; then
3097 ac_cpp_err=$ac_c_preproc_warn_flag
3098 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3099 else
3100 ac_cpp_err=
3101 fi
3102else
3103 ac_cpp_err=yes
3104fi
3105if test -z "$ac_cpp_err"; then
3106 :
3107else
3108 echo "$as_me: failed program was:" >&5
3109sed 's/^/| /' conftest.$ac_ext >&5
3110
3111 # Broken: fails on valid input.
3112continue
3113fi
3114rm -f conftest.err conftest.$ac_ext
3115
3116 # OK, works on sane cases. Now check whether non-existent headers
3117 # can be detected and how.
3118 cat >conftest.$ac_ext <<_ACEOF
3119/* confdefs.h. */
3120_ACEOF
3121cat confdefs.h >>conftest.$ac_ext
3122cat >>conftest.$ac_ext <<_ACEOF
3123/* end confdefs.h. */
3124#include <ac_nonexistent.h>
3125_ACEOF
3126if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3127 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3128 ac_status=$?
3129 grep -v '^ *+' conftest.er1 >conftest.err
3130 rm -f conftest.er1
3131 cat conftest.err >&5
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); } >/dev/null; then
3134 if test -s conftest.err; then
3135 ac_cpp_err=$ac_c_preproc_warn_flag
3136 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3137 else
3138 ac_cpp_err=
3139 fi
3140else
3141 ac_cpp_err=yes
3142fi
3143if test -z "$ac_cpp_err"; then
3144 # Broken: success on invalid input.
3145continue
3146else
3147 echo "$as_me: failed program was:" >&5
3148sed 's/^/| /' conftest.$ac_ext >&5
3149
3150 # Passes both tests.
3151ac_preproc_ok=:
3152break
3153fi
3154rm -f conftest.err conftest.$ac_ext
3155
3156done
3157# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3158rm -f conftest.err conftest.$ac_ext
3159if $ac_preproc_ok; then
3160 break
3161fi
3162
3163 done
3164 ac_cv_prog_CPP=$CPP
3165
3166fi
3167 CPP=$ac_cv_prog_CPP
3168else
3169 ac_cv_prog_CPP=$CPP
3170fi
3171echo "$as_me:$LINENO: result: $CPP" >&5
3172echo "${ECHO_T}$CPP" >&6
3173ac_preproc_ok=false
3174for ac_c_preproc_warn_flag in '' yes
3175do
3176 # Use a header file that comes with gcc, so configuring glibc
3177 # with a fresh cross-compiler works.
3178 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3179 # <limits.h> exists even on freestanding compilers.
3180 # On the NeXT, cc -E runs the code through the compiler's parser,
3181 # not just through cpp. "Syntax error" is here to catch this case.
3182 cat >conftest.$ac_ext <<_ACEOF
3183/* confdefs.h. */
3184_ACEOF
3185cat confdefs.h >>conftest.$ac_ext
3186cat >>conftest.$ac_ext <<_ACEOF
3187/* end confdefs.h. */
3188#ifdef __STDC__
3189# include <limits.h>
3190#else
3191# include <assert.h>
3192#endif
3193 Syntax error
3194_ACEOF
3195if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3196 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3197 ac_status=$?
3198 grep -v '^ *+' conftest.er1 >conftest.err
3199 rm -f conftest.er1
3200 cat conftest.err >&5
3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202 (exit $ac_status); } >/dev/null; then
3203 if test -s conftest.err; then
3204 ac_cpp_err=$ac_c_preproc_warn_flag
3205 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3206 else
3207 ac_cpp_err=
3208 fi
3209else
3210 ac_cpp_err=yes
3211fi
3212if test -z "$ac_cpp_err"; then
3213 :
3214else
3215 echo "$as_me: failed program was:" >&5
3216sed 's/^/| /' conftest.$ac_ext >&5
3217
3218 # Broken: fails on valid input.
3219continue
3220fi
3221rm -f conftest.err conftest.$ac_ext
3222
3223 # OK, works on sane cases. Now check whether non-existent headers
3224 # can be detected and how.
3225 cat >conftest.$ac_ext <<_ACEOF
3226/* confdefs.h. */
3227_ACEOF
3228cat confdefs.h >>conftest.$ac_ext
3229cat >>conftest.$ac_ext <<_ACEOF
3230/* end confdefs.h. */
3231#include <ac_nonexistent.h>
3232_ACEOF
3233if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3234 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3235 ac_status=$?
3236 grep -v '^ *+' conftest.er1 >conftest.err
3237 rm -f conftest.er1
3238 cat conftest.err >&5
3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240 (exit $ac_status); } >/dev/null; then
3241 if test -s conftest.err; then
3242 ac_cpp_err=$ac_c_preproc_warn_flag
3243 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3244 else
3245 ac_cpp_err=
3246 fi
3247else
3248 ac_cpp_err=yes
3249fi
3250if test -z "$ac_cpp_err"; then
3251 # Broken: success on invalid input.
3252continue
3253else
3254 echo "$as_me: failed program was:" >&5
3255sed 's/^/| /' conftest.$ac_ext >&5
3256
3257 # Passes both tests.
3258ac_preproc_ok=:
3259break
3260fi
3261rm -f conftest.err conftest.$ac_ext
3262
3263done
3264# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3265rm -f conftest.err conftest.$ac_ext
3266if $ac_preproc_ok; then
3267 :
3268else
3269 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3270See \`config.log' for more details." >&5
3271echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3272See \`config.log' for more details." >&2;}
3273 { (exit 1); exit 1; }; }
3274fi
3275
3276ac_ext=c
3277ac_cpp='$CPP $CPPFLAGS'
3278ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3279ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3280ac_compiler_gnu=$ac_cv_c_compiler_gnu
3281
3282
3283echo "$as_me:$LINENO: checking whether -fstack-protector works" >&5
3284echo $ECHO_N "checking whether -fstack-protector works... $ECHO_C" >&6
3285save_CFLAGS="$CFLAGS"
3286CFLAGS="$CFLAGS -fstack-protector -Werror"
3287
3288cat >conftest.$ac_ext <<_ACEOF
3289/* confdefs.h. */
3290_ACEOF
3291cat confdefs.h >>conftest.$ac_ext
3292cat >>conftest.$ac_ext <<_ACEOF
3293/* end confdefs.h. */
3294
3295void __attribute__((noinline)) bar (char *x)
3296{
3297 __builtin_memset (x, 0, 64);
3298}
3299int
3300main ()
3301{
3302char buf[64]; bar (buf);
3303 ;
3304 return 0;
3305}
3306_ACEOF
3307rm -f conftest.$ac_objext
3308if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3309 (eval $ac_compile) 2>conftest.er1
3310 ac_status=$?
3311 grep -v '^ *+' conftest.er1 >conftest.err
3312 rm -f conftest.er1
3313 cat conftest.err >&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); } &&
3316 { ac_try='test -z "$ac_c_werror_flag"
3317 || test ! -s conftest.err'
3318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3319 (eval $ac_try) 2>&5
3320 ac_status=$?
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); }; } &&
3323 { ac_try='test -s conftest.$ac_objext'
3324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3325 (eval $ac_try) 2>&5
3326 ac_status=$?
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); }; }; then
3329 echo "$as_me:$LINENO: result: yes" >&5
3330echo "${ECHO_T}yes" >&6
3331else
3332 echo "$as_me: failed program was:" >&5
3333sed 's/^/| /' conftest.$ac_ext >&5
3334
3335echo "$as_me:$LINENO: result: no" >&5
3336echo "${ECHO_T}no" >&6
3337fi
3338rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3339CFLAGS="$save_CFLAGS"
3340
3341echo "$as_me:$LINENO: checking whether hidden visibility is supported" >&5
3342echo $ECHO_N "checking whether hidden visibility is supported... $ECHO_C" >&6
3343cat >conftest.$ac_ext <<_ACEOF
3344/* confdefs.h. */
3345_ACEOF
3346cat confdefs.h >>conftest.$ac_ext
3347cat >>conftest.$ac_ext <<_ACEOF
3348/* end confdefs.h. */
3349
3350void __attribute__((visibility ("hidden"))) bar (void) {}
3351int
3352main ()
3353{
3354
3355 ;
3356 return 0;
3357}
3358_ACEOF
3359rm -f conftest.$ac_objext
3360if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3361 (eval $ac_compile) 2>conftest.er1
3362 ac_status=$?
3363 grep -v '^ *+' conftest.er1 >conftest.err
3364 rm -f conftest.er1
3365 cat conftest.err >&5
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); } &&
3368 { ac_try='test -z "$ac_c_werror_flag"
3369 || test ! -s conftest.err'
3370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3371 (eval $ac_try) 2>&5
3372 ac_status=$?
3373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); }; } &&
3375 { ac_try='test -s conftest.$ac_objext'
3376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3377 (eval $ac_try) 2>&5
3378 ac_status=$?
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); }; }; then
3381 ssp_hidden=yes
3382else
3383 echo "$as_me: failed program was:" >&5
3384sed 's/^/| /' conftest.$ac_ext >&5
3385
3386ssp_hidden=no
3387fi
3388rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3389echo "$as_me:$LINENO: result: $ssp_hidden" >&5
3390echo "${ECHO_T}$ssp_hidden" >&6
3391if test x$ssp_hidden = xyes; then
3392
3393cat >>confdefs.h <<\_ACEOF
3394#define HAVE_HIDDEN_VISIBILITY 1
3395_ACEOF
3396
3397fi
3398
3399echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3400echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3401cat > conftest.map <<EOF
3402FOO_1.0 {
3403 global: *foo*; bar; local: *;
3404};
3405EOF
3406save_LDFLAGS="$LDFLAGS"
3407LDFLAGS="$LDFLAGS -shared -Wl,--version-script,./conftest.map"
3408cat >conftest.$ac_ext <<_ACEOF
3409/* confdefs.h. */
3410_ACEOF
3411cat confdefs.h >>conftest.$ac_ext
3412cat >>conftest.$ac_ext <<_ACEOF
3413/* end confdefs.h. */
3414int foo;
3415int
3416main ()
3417{
3418
3419 ;
3420 return 0;
3421}
3422_ACEOF
3423rm -f conftest.$ac_objext conftest$ac_exeext
3424if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3425 (eval $ac_link) 2>conftest.er1
3426 ac_status=$?
3427 grep -v '^ *+' conftest.er1 >conftest.err
3428 rm -f conftest.er1
3429 cat conftest.err >&5
3430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431 (exit $ac_status); } &&
3432 { ac_try='test -z "$ac_c_werror_flag"
3433 || test ! -s conftest.err'
3434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3435 (eval $ac_try) 2>&5
3436 ac_status=$?
3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); }; } &&
3439 { ac_try='test -s conftest$ac_exeext'
3440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3441 (eval $ac_try) 2>&5
3442 ac_status=$?
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); }; }; then
3445 ssp_use_symver=yes
3446else
3447 echo "$as_me: failed program was:" >&5
3448sed 's/^/| /' conftest.$ac_ext >&5
3449
3450ssp_use_symver=no
3451fi
3452rm -f conftest.err conftest.$ac_objext \
3453 conftest$ac_exeext conftest.$ac_ext
3454LDFLAGS="$save_LDFLAGS"
3455echo "$as_me:$LINENO: result: $ssp_use_symver" >&5
3456echo "${ECHO_T}$ssp_use_symver" >&6
3457
3458
3459if test "x$ssp_use_symver" = xyes; then
3460 LIBSSP_USE_SYMVER_TRUE=
3461 LIBSSP_USE_SYMVER_FALSE='#'
3462else
3463 LIBSSP_USE_SYMVER_TRUE='#'
3464 LIBSSP_USE_SYMVER_FALSE=
3465fi
3466
3467
3468
3469echo "$as_me:$LINENO: checking for egrep" >&5
3470echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3471if test "${ac_cv_prog_egrep+set}" = set; then
3472 echo $ECHO_N "(cached) $ECHO_C" >&6
3473else
3474 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3475 then ac_cv_prog_egrep='grep -E'
3476 else ac_cv_prog_egrep='egrep'
3477 fi
3478fi
3479echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3480echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3481 EGREP=$ac_cv_prog_egrep
3482
3483
3484echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3485echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3486if test "${ac_cv_header_stdc+set}" = set; then
3487 echo $ECHO_N "(cached) $ECHO_C" >&6
3488else
3489 cat >conftest.$ac_ext <<_ACEOF
3490/* confdefs.h. */
3491_ACEOF
3492cat confdefs.h >>conftest.$ac_ext
3493cat >>conftest.$ac_ext <<_ACEOF
3494/* end confdefs.h. */
3495#include <stdlib.h>
3496#include <stdarg.h>
3497#include <string.h>
3498#include <float.h>
3499
3500int
3501main ()
3502{
3503
3504 ;
3505 return 0;
3506}
3507_ACEOF
3508rm -f conftest.$ac_objext
3509if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3510 (eval $ac_compile) 2>conftest.er1
3511 ac_status=$?
3512 grep -v '^ *+' conftest.er1 >conftest.err
3513 rm -f conftest.er1
3514 cat conftest.err >&5
3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516 (exit $ac_status); } &&
3517 { ac_try='test -z "$ac_c_werror_flag"
3518 || test ! -s conftest.err'
3519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3520 (eval $ac_try) 2>&5
3521 ac_status=$?
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); }; } &&
3524 { ac_try='test -s conftest.$ac_objext'
3525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3526 (eval $ac_try) 2>&5
3527 ac_status=$?
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); }; }; then
3530 ac_cv_header_stdc=yes
3531else
3532 echo "$as_me: failed program was:" >&5
3533sed 's/^/| /' conftest.$ac_ext >&5
3534
3535ac_cv_header_stdc=no
3536fi
3537rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3538
3539if test $ac_cv_header_stdc = yes; then
3540 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3541 cat >conftest.$ac_ext <<_ACEOF
3542/* confdefs.h. */
3543_ACEOF
3544cat confdefs.h >>conftest.$ac_ext
3545cat >>conftest.$ac_ext <<_ACEOF
3546/* end confdefs.h. */
3547#include <string.h>
3548
3549_ACEOF
3550if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3551 $EGREP "memchr" >/dev/null 2>&1; then
3552 :
3553else
3554 ac_cv_header_stdc=no
3555fi
3556rm -f conftest*
3557
3558fi
3559
3560if test $ac_cv_header_stdc = yes; then
3561 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3562 cat >conftest.$ac_ext <<_ACEOF
3563/* confdefs.h. */
3564_ACEOF
3565cat confdefs.h >>conftest.$ac_ext
3566cat >>conftest.$ac_ext <<_ACEOF
3567/* end confdefs.h. */
3568#include <stdlib.h>
3569
3570_ACEOF
3571if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3572 $EGREP "free" >/dev/null 2>&1; then
3573 :
3574else
3575 ac_cv_header_stdc=no
3576fi
3577rm -f conftest*
3578
3579fi
3580
3581if test $ac_cv_header_stdc = yes; then
3582 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3583 if test "$cross_compiling" = yes; then
3584 :
3585else
3586 cat >conftest.$ac_ext <<_ACEOF
3587/* confdefs.h. */
3588_ACEOF
3589cat confdefs.h >>conftest.$ac_ext
3590cat >>conftest.$ac_ext <<_ACEOF
3591/* end confdefs.h. */
3592#include <ctype.h>
3593#if ((' ' & 0x0FF) == 0x020)
3594# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3595# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3596#else
3597# define ISLOWER(c) \
3598 (('a' <= (c) && (c) <= 'i') \
3599 || ('j' <= (c) && (c) <= 'r') \
3600 || ('s' <= (c) && (c) <= 'z'))
3601# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3602#endif
3603
3604#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3605int
3606main ()
3607{
3608 int i;
3609 for (i = 0; i < 256; i++)
3610 if (XOR (islower (i), ISLOWER (i))
3611 || toupper (i) != TOUPPER (i))
3612 exit(2);
3613 exit (0);
3614}
3615_ACEOF
3616rm -f conftest$ac_exeext
3617if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3618 (eval $ac_link) 2>&5
3619 ac_status=$?
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3623 (eval $ac_try) 2>&5
3624 ac_status=$?
3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); }; }; then
3627 :
3628else
3629 echo "$as_me: program exited with status $ac_status" >&5
3630echo "$as_me: failed program was:" >&5
3631sed 's/^/| /' conftest.$ac_ext >&5
3632
3633( exit $ac_status )
3634ac_cv_header_stdc=no
3635fi
3636rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3637fi
3638fi
3639fi
3640echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3641echo "${ECHO_T}$ac_cv_header_stdc" >&6
3642if test $ac_cv_header_stdc = yes; then
3643
3644cat >>confdefs.h <<\_ACEOF
3645#define STDC_HEADERS 1
3646_ACEOF
3647
3648fi
3649
3650# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3661 inttypes.h stdint.h unistd.h
3662do
3663as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3664echo "$as_me:$LINENO: checking for $ac_header" >&5
3665echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3666if eval "test \"\${$as_ac_Header+set}\" = set"; then
3667 echo $ECHO_N "(cached) $ECHO_C" >&6
3668else
3669 cat >conftest.$ac_ext <<_ACEOF
3670/* confdefs.h. */
3671_ACEOF
3672cat confdefs.h >>conftest.$ac_ext
3673cat >>conftest.$ac_ext <<_ACEOF
3674/* end confdefs.h. */
3675$ac_includes_default
3676
3677#include <$ac_header>
3678_ACEOF
3679rm -f conftest.$ac_objext
3680if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3681 (eval $ac_compile) 2>conftest.er1
3682 ac_status=$?
3683 grep -v '^ *+' conftest.er1 >conftest.err
3684 rm -f conftest.er1
3685 cat conftest.err >&5
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); } &&
3688 { ac_try='test -z "$ac_c_werror_flag"
3689 || test ! -s conftest.err'
3690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3691 (eval $ac_try) 2>&5
3692 ac_status=$?
3693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3694 (exit $ac_status); }; } &&
3695 { ac_try='test -s conftest.$ac_objext'
3696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3697 (eval $ac_try) 2>&5
3698 ac_status=$?
3699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700 (exit $ac_status); }; }; then
3701 eval "$as_ac_Header=yes"
3702else
3703 echo "$as_me: failed program was:" >&5
3704sed 's/^/| /' conftest.$ac_ext >&5
3705
3706eval "$as_ac_Header=no"
3707fi
3708rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3709fi
3710echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3711echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3712if test `eval echo '${'$as_ac_Header'}'` = yes; then
3713 cat >>confdefs.h <<_ACEOF
3714#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3715_ACEOF
3716
3717fi
3718
3719done
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730for ac_header in alloca.h paths.h syslog.h string.h unistd.h fcntl.h stdio.h limits.h
3731do
3732as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3733if eval "test \"\${$as_ac_Header+set}\" = set"; then
3734 echo "$as_me:$LINENO: checking for $ac_header" >&5
3735echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3736if eval "test \"\${$as_ac_Header+set}\" = set"; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3738fi
3739echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3740echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3741else
3742 # Is the header compilable?
3743echo "$as_me:$LINENO: checking $ac_header usability" >&5
3744echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3745cat >conftest.$ac_ext <<_ACEOF
3746/* confdefs.h. */
3747_ACEOF
3748cat confdefs.h >>conftest.$ac_ext
3749cat >>conftest.$ac_ext <<_ACEOF
3750/* end confdefs.h. */
3751$ac_includes_default
3752#include <$ac_header>
3753_ACEOF
3754rm -f conftest.$ac_objext
3755if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3756 (eval $ac_compile) 2>conftest.er1
3757 ac_status=$?
3758 grep -v '^ *+' conftest.er1 >conftest.err
3759 rm -f conftest.er1
3760 cat conftest.err >&5
3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); } &&
3763 { ac_try='test -z "$ac_c_werror_flag"
3764 || test ! -s conftest.err'
3765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3766 (eval $ac_try) 2>&5
3767 ac_status=$?
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); }; } &&
3770 { ac_try='test -s conftest.$ac_objext'
3771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3772 (eval $ac_try) 2>&5
3773 ac_status=$?
3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775 (exit $ac_status); }; }; then
3776 ac_header_compiler=yes
3777else
3778 echo "$as_me: failed program was:" >&5
3779sed 's/^/| /' conftest.$ac_ext >&5
3780
3781ac_header_compiler=no
3782fi
3783rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3784echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3785echo "${ECHO_T}$ac_header_compiler" >&6
3786
3787# Is the header present?
3788echo "$as_me:$LINENO: checking $ac_header presence" >&5
3789echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3790cat >conftest.$ac_ext <<_ACEOF
3791/* confdefs.h. */
3792_ACEOF
3793cat confdefs.h >>conftest.$ac_ext
3794cat >>conftest.$ac_ext <<_ACEOF
3795/* end confdefs.h. */
3796#include <$ac_header>
3797_ACEOF
3798if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3799 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3800 ac_status=$?
3801 grep -v '^ *+' conftest.er1 >conftest.err
3802 rm -f conftest.er1
3803 cat conftest.err >&5
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); } >/dev/null; then
3806 if test -s conftest.err; then
3807 ac_cpp_err=$ac_c_preproc_warn_flag
3808 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3809 else
3810 ac_cpp_err=
3811 fi
3812else
3813 ac_cpp_err=yes
3814fi
3815if test -z "$ac_cpp_err"; then
3816 ac_header_preproc=yes
3817else
3818 echo "$as_me: failed program was:" >&5
3819sed 's/^/| /' conftest.$ac_ext >&5
3820
3821 ac_header_preproc=no
3822fi
3823rm -f conftest.err conftest.$ac_ext
3824echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3825echo "${ECHO_T}$ac_header_preproc" >&6
3826
3827# So? What about this header?
3828case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3829 yes:no: )
3830 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3831echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3832 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3833echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3834 ac_header_preproc=yes
3835 ;;
3836 no:yes:* )
3837 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3838echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3839 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3840echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3841 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3842echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3843 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3844echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3846echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3847 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3848echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3849 (
3850 cat <<\_ASBOX
3851## --------------------------------- ##
3852## Report this to the libssp lists. ##
3853## --------------------------------- ##
3854_ASBOX
3855 ) |
3856 sed "s/^/$as_me: WARNING: /" >&2
3857 ;;
3858esac
3859echo "$as_me:$LINENO: checking for $ac_header" >&5
3860echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3861if eval "test \"\${$as_ac_Header+set}\" = set"; then
3862 echo $ECHO_N "(cached) $ECHO_C" >&6
3863else
3864 eval "$as_ac_Header=\$ac_header_preproc"
3865fi
3866echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3867echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3868
3869fi
3870if test `eval echo '${'$as_ac_Header'}'` = yes; then
3871 cat >>confdefs.h <<_ACEOF
3872#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3873_ACEOF
3874
3875fi
3876
3877done
3878
3879
3880
3881
3882
3883for ac_func in mempcpy strncpy strncat
3884do
3885as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3886echo "$as_me:$LINENO: checking for $ac_func" >&5
3887echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3888if eval "test \"\${$as_ac_var+set}\" = set"; then
3889 echo $ECHO_N "(cached) $ECHO_C" >&6
3890else
3891 cat >conftest.$ac_ext <<_ACEOF
3892/* confdefs.h. */
3893_ACEOF
3894cat confdefs.h >>conftest.$ac_ext
3895cat >>conftest.$ac_ext <<_ACEOF
3896/* end confdefs.h. */
3897/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3899#define $ac_func innocuous_$ac_func
3900
3901/* System header to define __stub macros and hopefully few prototypes,
3902 which can conflict with char $ac_func (); below.
3903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3904 <limits.h> exists even on freestanding compilers. */
3905
3906#ifdef __STDC__
3907# include <limits.h>
3908#else
3909# include <assert.h>
3910#endif
3911
3912#undef $ac_func
3913
3914/* Override any gcc2 internal prototype to avoid an error. */
3915#ifdef __cplusplus
3916extern "C"
3917{
3918#endif
3919/* We use char because int might match the return type of a gcc2
3920 builtin and then its argument prototype would still apply. */
3921char $ac_func ();
3922/* The GNU C library defines this for functions which it implements
3923 to always fail with ENOSYS. Some functions are actually named
3924 something starting with __ and the normal name is an alias. */
3925#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3926choke me
3927#else
3928char (*f) () = $ac_func;
3929#endif
3930#ifdef __cplusplus
3931}
3932#endif
3933
3934int
3935main ()
3936{
3937return f != $ac_func;
3938 ;
3939 return 0;
3940}
3941_ACEOF
3942rm -f conftest.$ac_objext conftest$ac_exeext
3943if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3944 (eval $ac_link) 2>conftest.er1
3945 ac_status=$?
3946 grep -v '^ *+' conftest.er1 >conftest.err
3947 rm -f conftest.er1
3948 cat conftest.err >&5
3949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3950 (exit $ac_status); } &&
3951 { ac_try='test -z "$ac_c_werror_flag"
3952 || test ! -s conftest.err'
3953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3954 (eval $ac_try) 2>&5
3955 ac_status=$?
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); }; } &&
3958 { ac_try='test -s conftest$ac_exeext'
3959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3960 (eval $ac_try) 2>&5
3961 ac_status=$?
3962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963 (exit $ac_status); }; }; then
3964 eval "$as_ac_var=yes"
3965else
3966 echo "$as_me: failed program was:" >&5
3967sed 's/^/| /' conftest.$ac_ext >&5
3968
3969eval "$as_ac_var=no"
3970fi
3971rm -f conftest.err conftest.$ac_objext \
3972 conftest$ac_exeext conftest.$ac_ext
3973fi
3974echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3975echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3976if test `eval echo '${'$as_ac_var'}'` = yes; then
3977 cat >>confdefs.h <<_ACEOF
3978#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3979_ACEOF
3980
3981fi
3982done
3983
3984
3985echo "$as_me:$LINENO: checking whether vsnprintf is usable" >&5
3986echo $ECHO_N "checking whether vsnprintf is usable... $ECHO_C" >&6
3987if test "$cross_compiling" = yes; then
3988 ssp_have_usable_vsnprintf=undef
3989else
3990 cat >conftest.$ac_ext <<_ACEOF
3991/* confdefs.h. */
3992_ACEOF
3993cat confdefs.h >>conftest.$ac_ext
3994cat >>conftest.$ac_ext <<_ACEOF
3995/* end confdefs.h. */
3996
3997#include <stdarg.h>
3998#include <string.h>
3999#include <stdio.h>
4000int foo (char *buf, size_t n, const char *fmt, ...)
4001{
4002 va_list ap;
4003 int ret;
4004 va_start (ap, fmt);
4005 ret = vsnprintf (buf, n, fmt, ap);
4006 va_end (ap);
4007 return ret;
4008}
4009int
4010main ()
4011{
4012char buf[8]; memset (buf, 'A', sizeof (buf));
4013 if (foo (buf, 4, ".%s.", "CDEFG") != 7)
4014 return 1;
4015 return memcmp (buf, ".CD\0AAAA", sizeof (buf)) != 0;
4016 ;
4017 return 0;
4018}
4019_ACEOF
4020rm -f conftest$ac_exeext
4021if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4022 (eval $ac_link) 2>&5
4023 ac_status=$?
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4027 (eval $ac_try) 2>&5
4028 ac_status=$?
4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030 (exit $ac_status); }; }; then
4031 ssp_have_usable_vsnprintf=define
4032else
4033 echo "$as_me: program exited with status $ac_status" >&5
4034echo "$as_me: failed program was:" >&5
4035sed 's/^/| /' conftest.$ac_ext >&5
4036
4037( exit $ac_status )
4038ssp_have_usable_vsnprintf=undef
4039fi
4040rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4041fi
4042if test "x$ssp_have_usable_vsnprintf" = xdefine; then
4043 echo "$as_me:$LINENO: result: yes" >&5
4044echo "${ECHO_T}yes" >&6
4045
4046cat >>confdefs.h <<\_ACEOF
4047#define HAVE_USABLE_VSNPRINTF 1
4048_ACEOF
4049
4050else
4051 echo "$as_me:$LINENO: result: no" >&5
4052echo "${ECHO_T}no" >&6
4053fi
4054
4055
4056# Check whether --enable-shared or --disable-shared was given.
4057if test "${enable_shared+set}" = set; then
4058 enableval="$enable_shared"
4059 p=${PACKAGE-default}
4060case $enableval in
4061yes) enable_shared=yes ;;
4062no) enable_shared=no ;;
4063*)
4064 enable_shared=no
4065 # Look at the argument we got. We use all the common list separators.
4066 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4067 for pkg in $enableval; do
4068 if test "X$pkg" = "X$p"; then
4069 enable_shared=yes
4070 fi
4071 done
4072 IFS="$ac_save_ifs"
4073 ;;
4074esac
4075else
4076 enable_shared=yes
4077fi;
4078# Check whether --enable-static or --disable-static was given.
4079if test "${enable_static+set}" = set; then
4080 enableval="$enable_static"
4081 p=${PACKAGE-default}
4082case $enableval in
4083yes) enable_static=yes ;;
4084no) enable_static=no ;;
4085*)
4086 enable_static=no
4087 # Look at the argument we got. We use all the common list separators.
4088 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4089 for pkg in $enableval; do
4090 if test "X$pkg" = "X$p"; then
4091 enable_static=yes
4092 fi
4093 done
4094 IFS="$ac_save_ifs"
4095 ;;
4096esac
4097else
4098 enable_static=yes
4099fi;
4100# Check whether --enable-fast-install or --disable-fast-install was given.
4101if test "${enable_fast_install+set}" = set; then
4102 enableval="$enable_fast_install"
4103 p=${PACKAGE-default}
4104case $enableval in
4105yes) enable_fast_install=yes ;;
4106no) enable_fast_install=no ;;
4107*)
4108 enable_fast_install=no
4109 # Look at the argument we got. We use all the common list separators.
4110 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4111 for pkg in $enableval; do
4112 if test "X$pkg" = "X$p"; then
4113 enable_fast_install=yes
4114 fi
4115 done
4116 IFS="$ac_save_ifs"
4117 ;;
4118esac
4119else
4120 enable_fast_install=yes
4121fi;
4122
4123# Check whether --with-gnu-ld or --without-gnu-ld was given.
4124if test "${with_gnu_ld+set}" = set; then
4125 withval="$with_gnu_ld"
4126 test "$withval" = no || with_gnu_ld=yes
4127else
4128 with_gnu_ld=no
4129fi;
4130ac_prog=ld
4131if test "$GCC" = yes; then
4132 # Check if gcc -print-prog-name=ld gives a path.
4133 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4134echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4135 case $host in
4136 *-*-mingw*)
4137 # gcc leaves a trailing carriage return which upsets mingw
4138 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4139 *)
4140 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4141 esac
4142 case $ac_prog in
4143 # Accept absolute paths.
4144 [\\/]* | [A-Za-z]:[\\/]*)
4145 re_direlt='/[^/][^/]*/\.\./'
4146 # Canonicalize the path of ld
4147 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4148 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4149 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4150 done
4151 test -z "$LD" && LD="$ac_prog"
4152 ;;
4153 "")
4154 # If it fails, then pretend we aren't using GCC.
4155 ac_prog=ld
4156 ;;
4157 *)
4158 # If it is relative, then search for the first ld in PATH.
4159 with_gnu_ld=unknown
4160 ;;
4161 esac
4162elif test "$with_gnu_ld" = yes; then
4163 echo "$as_me:$LINENO: checking for GNU ld" >&5
4164echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4165else
4166 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4167echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4168fi
4169if test "${lt_cv_path_LD+set}" = set; then
4170 echo $ECHO_N "(cached) $ECHO_C" >&6
4171else
4172 if test -z "$LD"; then
4173 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4174 for ac_dir in $PATH; do
4175 test -z "$ac_dir" && ac_dir=.
4176 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4177 lt_cv_path_LD="$ac_dir/$ac_prog"
4178 # Check to see if the program is GNU ld. I'd rather use --version,
4179 # but apparently some GNU ld's only accept -v.
4180 # Break only if it was the GNU/non-GNU ld that we prefer.
4181 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4182 test "$with_gnu_ld" != no && break
4183 else
4184 test "$with_gnu_ld" != yes && break
4185 fi
4186 fi
4187 done
4188 IFS="$ac_save_ifs"
4189else
4190 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4191fi
4192fi
4193
4194LD="$lt_cv_path_LD"
4195if test -n "$LD"; then
4196 echo "$as_me:$LINENO: result: $LD" >&5
4197echo "${ECHO_T}$LD" >&6
4198else
4199 echo "$as_me:$LINENO: result: no" >&5
4200echo "${ECHO_T}no" >&6
4201fi
4202test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4203echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4204 { (exit 1); exit 1; }; }
4205echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4206echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4207if test "${lt_cv_prog_gnu_ld+set}" = set; then
4208 echo $ECHO_N "(cached) $ECHO_C" >&6
4209else
4210 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4211if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4212 lt_cv_prog_gnu_ld=yes
4213else
4214 lt_cv_prog_gnu_ld=no
4215fi
4216fi
4217echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4218echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4219with_gnu_ld=$lt_cv_prog_gnu_ld
4220
4221
4222echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4223echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4224if test "${lt_cv_ld_reload_flag+set}" = set; then
4225 echo $ECHO_N "(cached) $ECHO_C" >&6
4226else
4227 lt_cv_ld_reload_flag='-r'
4228fi
4229echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4230echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4231reload_flag=$lt_cv_ld_reload_flag
4232test -n "$reload_flag" && reload_flag=" $reload_flag"
4233
4234echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4235echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4236if test "${lt_cv_path_NM+set}" = set; then
4237 echo $ECHO_N "(cached) $ECHO_C" >&6
4238else
4239 if test -n "$NM"; then
4240 # Let the user override the test.
4241 lt_cv_path_NM="$NM"
4242else
4243 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4244 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4245 test -z "$ac_dir" && ac_dir=.
4246 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4247 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4248 # Check to see if the nm accepts a BSD-compat flag.
4249 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4250 # nm: unknown option "B" ignored
4251 # Tru64's nm complains that /dev/null is an invalid object file
4252 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4253 lt_cv_path_NM="$tmp_nm -B"
4254 break
4255 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4256 lt_cv_path_NM="$tmp_nm -p"
4257 break
4258 else
4259 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4260 continue # so that we can try to find one that supports BSD flags
4261 fi
4262 fi
4263 done
4264 IFS="$ac_save_ifs"
4265 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4266fi
4267fi
4268
4269NM="$lt_cv_path_NM"
4270echo "$as_me:$LINENO: result: $NM" >&5
4271echo "${ECHO_T}$NM" >&6
4272
4273echo "$as_me:$LINENO: checking whether ln -s works" >&5
4274echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4275LN_S=$as_ln_s
4276if test "$LN_S" = "ln -s"; then
4277 echo "$as_me:$LINENO: result: yes" >&5
4278echo "${ECHO_T}yes" >&6
4279else
4280 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4281echo "${ECHO_T}no, using $LN_S" >&6
4282fi
4283
4284echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4285echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4286if test "${lt_cv_deplibs_check_method+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4288else
4289 lt_cv_file_magic_cmd='$MAGIC_CMD'
4290lt_cv_file_magic_test_file=
4291lt_cv_deplibs_check_method='unknown'
4292# Need to set the preceding variable on all platforms that support
4293# interlibrary dependencies.
4294# 'none' -- dependencies not supported.
4295# `unknown' -- same as none, but documents that we really don't know.
4296# 'pass_all' -- all dependencies passed with no checks.
4297# 'test_compile' -- check by making test program.
4298# 'file_magic [regex]' -- check by looking for files in library path
4299# which responds to the $file_magic_cmd with a given egrep regex.
4300# If you have `file' or equivalent on your system and you're not sure
4301# whether `pass_all' will *always* work, you probably want this one.
4302
4303case $host_os in
4304aix*)
4305 lt_cv_deplibs_check_method=pass_all
4306 ;;
4307
4308beos*)
4309 lt_cv_deplibs_check_method=pass_all
4310 ;;
4311
4312bsdi4*)
4313 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4314 lt_cv_file_magic_cmd='/usr/bin/file -L'
4315 lt_cv_file_magic_test_file=/shlib/libc.so
4316 ;;
4317
4318cygwin* | mingw* |pw32*)
4319 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4320 lt_cv_file_magic_cmd='$OBJDUMP -f'
4321 ;;
4322
4323darwin* | rhapsody*)
4324 # this will be overwritten by pass_all, but leave it in just in case
4325 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4326 lt_cv_file_magic_cmd='/usr/bin/file -L'
4327 case "$host_os" in
4328 rhapsody* | darwin1.012)
4329 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4330 ;;
4331 *) # Darwin 1.3 on
4332 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4333 ;;
4334 esac
4335 lt_cv_deplibs_check_method=pass_all
4336 ;;
4337
4338freebsd* | kfreebsd*-gnu)
4339 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4340 case $host_cpu in
4341 i*86 )
4342 # Not sure whether the presence of OpenBSD here was a mistake.
4343 # Let's accept both of them until this is cleared up.
4344 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4345 lt_cv_file_magic_cmd=/usr/bin/file
4346 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4347 ;;
4348 esac
4349 else
4350 lt_cv_deplibs_check_method=pass_all
4351 fi
4352 ;;
4353
4354gnu*)
4355 lt_cv_deplibs_check_method=pass_all
4356 ;;
4357
4358hpux10.20*|hpux11*)
4359 case $host_cpu in
4360 hppa*)
4361 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4362 lt_cv_file_magic_cmd=/usr/bin/file
4363 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4364 ;;
4365 ia64*)
4366 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4367 lt_cv_file_magic_cmd=/usr/bin/file
4368 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4369 ;;
4370 esac
4371 ;;
4372
4373irix5* | irix6*)
4374 case $host_os in
4375 irix5*)
4376 # this will be overridden with pass_all, but let us keep it just in case
4377 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4378 ;;
4379 *)
4380 case $LD in
4381 *-32|*"-32 ") libmagic=32-bit;;
4382 *-n32|*"-n32 ") libmagic=N32;;
4383 *-64|*"-64 ") libmagic=64-bit;;
4384 *) libmagic=never-match;;
4385 esac
4386 # this will be overridden with pass_all, but let us keep it just in case
4387 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4388 ;;
4389 esac
4390 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4391 lt_cv_deplibs_check_method=pass_all
4392 ;;
4393
4394# This must be Linux ELF.
4395linux-gnu*)
4396 lt_cv_deplibs_check_method=pass_all
4397 ;;
4398
4399netbsd* | knetbsd*-gnu)
4400 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4401 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4402 else
4403 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4404 fi
4405 ;;
4406
4407newsos6)
4408 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4409 lt_cv_file_magic_cmd=/usr/bin/file
4410 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4411 ;;
4412
4413osf3* | osf4* | osf5*)
4414 # this will be overridden with pass_all, but let us keep it just in case
4415 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4416 lt_cv_file_magic_test_file=/shlib/libc.so
4417 lt_cv_deplibs_check_method=pass_all
4418 ;;
4419
4420sco3.2v5*)
4421 lt_cv_deplibs_check_method=pass_all
4422 ;;
4423
4424solaris*)
4425 lt_cv_deplibs_check_method=pass_all
4426 lt_cv_file_magic_test_file=/lib/libc.so
4427 ;;
4428
4429sysv5uw[78]* | sysv4*uw2*)
4430 lt_cv_deplibs_check_method=pass_all
4431 ;;
4432
4433sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4434 case $host_vendor in
4435 ncr)
4436 lt_cv_deplibs_check_method=pass_all
4437 ;;
4438 motorola)
4439 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4440 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4441 ;;
4442 esac
4443 ;;
4444esac
4445
4446fi
4447echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4448echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4449file_magic_cmd=$lt_cv_file_magic_cmd
4450deplibs_check_method=$lt_cv_deplibs_check_method
4451
4452
4453
4454# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4455
4456# find the maximum length of command line arguments
4457echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4458echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4459if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4460 echo $ECHO_N "(cached) $ECHO_C" >&6
4461else
4462 i=0
4463 teststring="ABCD"
4464
4465 case $build_os in
4466 msdosdjgpp*)
4467 # On DJGPP, this test can blow up pretty badly due to problems in libc
4468 # (any single argument exceeding 2000 bytes causes a buffer overrun
4469 # during glob expansion). Even if it were fixed, the result of this
4470 # check would be larger than it should be.
4471 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4472 ;;
4473
4474 cygwin* | mingw*)
4475 # On Win9x/ME, this test blows up -- it succeeds, but takes
4476 # about 5 minutes as the teststring grows exponentially.
4477 # Worse, since 9x/ME are not pre-emptively multitasking,
4478 # you end up with a "frozen" computer, even though with patience
4479 # the test eventually succeeds (with a max line length of 256k).
4480 # Instead, let's just punt: use the minimum linelength reported by
4481 # all of the supported platforms: 8192 (on NT/2K/XP).
4482 lt_cv_sys_max_cmd_len=8192;
4483 ;;
4484
4485 amigaos*)
4486 # On AmigaOS with pdksh, this test takes hours, literally.
4487 # So we just punt and use a minimum line length of 8192.
4488 lt_cv_sys_max_cmd_len=8192;
4489 ;;
4490
4491 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4492 # This has been around since 386BSD, at least. Likely further.
4493 if test -x /sbin/sysctl; then
4494 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4495 elif test -x /usr/sbin/sysctl; then
4496 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4497 else
4498 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4499 fi
4500 # And add a safety zone
4501 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4502 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4503 ;;
4504 esac
4505
4506fi
4507
4508if test -n "$lt_cv_sys_max_cmd_len" ; then
4509 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4510echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4511else
4512 echo "$as_me:$LINENO: result: none" >&5
4513echo "${ECHO_T}none" >&6
4514fi
4515
4516
4517# Only perform the check for file, if the check method requires it
4518case $deplibs_check_method in
4519file_magic*)
4520 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4521 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4522echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4523if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4524 echo $ECHO_N "(cached) $ECHO_C" >&6
4525else
4526 case $MAGIC_CMD in
4527 /*)
4528 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4529 ;;
4530 ?:/*)
4531 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4532 ;;
4533 *)
4534 ac_save_MAGIC_CMD="$MAGIC_CMD"
4535 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4536 ac_dummy="/usr/bin:$PATH"
4537 for ac_dir in $ac_dummy; do
4538 test -z "$ac_dir" && ac_dir=.
4539 if test -f $ac_dir/${ac_tool_prefix}file; then
4540 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4541 if test -n "$file_magic_test_file"; then
4542 case $deplibs_check_method in
4543 "file_magic "*)
4544 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4545 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4546 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4547 egrep "$file_magic_regex" > /dev/null; then
4548 :
4549 else
4550 cat <<EOF 1>&2
4551
4552*** Warning: the command libtool uses to detect shared libraries,
4553*** $file_magic_cmd, produces output that libtool cannot recognize.
4554*** The result is that libtool may fail to recognize shared libraries
4555*** as such. This will affect the creation of libtool libraries that
4556*** depend on shared libraries, but programs linked with such libtool
4557*** libraries will work regardless of this problem. Nevertheless, you
4558*** may want to report the problem to your system manager and/or to
4559*** bug-libtool@gnu.org
4560
4561EOF
4562 fi ;;
4563 esac
4564 fi
4565 break
4566 fi
4567 done
4568 IFS="$ac_save_ifs"
4569 MAGIC_CMD="$ac_save_MAGIC_CMD"
4570 ;;
4571esac
4572fi
4573
4574MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4575if test -n "$MAGIC_CMD"; then
4576 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4577echo "${ECHO_T}$MAGIC_CMD" >&6
4578else
4579 echo "$as_me:$LINENO: result: no" >&5
4580echo "${ECHO_T}no" >&6
4581fi
4582
4583if test -z "$lt_cv_path_MAGIC_CMD"; then
4584 if test -n "$ac_tool_prefix"; then
4585 echo "$as_me:$LINENO: checking for file" >&5
4586echo $ECHO_N "checking for file... $ECHO_C" >&6
4587if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4588 echo $ECHO_N "(cached) $ECHO_C" >&6
4589else
4590 case $MAGIC_CMD in
4591 /*)
4592 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4593 ;;
4594 ?:/*)
4595 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4596 ;;
4597 *)
4598 ac_save_MAGIC_CMD="$MAGIC_CMD"
4599 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4600 ac_dummy="/usr/bin:$PATH"
4601 for ac_dir in $ac_dummy; do
4602 test -z "$ac_dir" && ac_dir=.
4603 if test -f $ac_dir/file; then
4604 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4605 if test -n "$file_magic_test_file"; then
4606 case $deplibs_check_method in
4607 "file_magic "*)
4608 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4609 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4610 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4611 egrep "$file_magic_regex" > /dev/null; then
4612 :
4613 else
4614 cat <<EOF 1>&2
4615
4616*** Warning: the command libtool uses to detect shared libraries,
4617*** $file_magic_cmd, produces output that libtool cannot recognize.
4618*** The result is that libtool may fail to recognize shared libraries
4619*** as such. This will affect the creation of libtool libraries that
4620*** depend on shared libraries, but programs linked with such libtool
4621*** libraries will work regardless of this problem. Nevertheless, you
4622*** may want to report the problem to your system manager and/or to
4623*** bug-libtool@gnu.org
4624
4625EOF
4626 fi ;;
4627 esac
4628 fi
4629 break
4630 fi
4631 done
4632 IFS="$ac_save_ifs"
4633 MAGIC_CMD="$ac_save_MAGIC_CMD"
4634 ;;
4635esac
4636fi
4637
4638MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4639if test -n "$MAGIC_CMD"; then
4640 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4641echo "${ECHO_T}$MAGIC_CMD" >&6
4642else
4643 echo "$as_me:$LINENO: result: no" >&5
4644echo "${ECHO_T}no" >&6
4645fi
4646
4647 else
4648 MAGIC_CMD=:
4649 fi
4650fi
4651
4652 fi
4653 ;;
4654esac
4655
4656if test -n "$ac_tool_prefix"; then
4657 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4658set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4659echo "$as_me:$LINENO: checking for $ac_word" >&5
4660echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4661if test "${ac_cv_prog_RANLIB+set}" = set; then
4662 echo $ECHO_N "(cached) $ECHO_C" >&6
4663else
4664 if test -n "$RANLIB"; then
4665 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4666else
4667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4668for as_dir in $PATH
4669do
4670 IFS=$as_save_IFS
4671 test -z "$as_dir" && as_dir=.
4672 for ac_exec_ext in '' $ac_executable_extensions; do
4673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4674 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 break 2
4677 fi
4678done
4679done
4680
4681fi
4682fi
4683RANLIB=$ac_cv_prog_RANLIB
4684if test -n "$RANLIB"; then
4685 echo "$as_me:$LINENO: result: $RANLIB" >&5
4686echo "${ECHO_T}$RANLIB" >&6
4687else
4688 echo "$as_me:$LINENO: result: no" >&5
4689echo "${ECHO_T}no" >&6
4690fi
4691
4692fi
4693if test -z "$ac_cv_prog_RANLIB"; then
4694 ac_ct_RANLIB=$RANLIB
4695 # Extract the first word of "ranlib", so it can be a program name with args.
4696set dummy ranlib; ac_word=$2
4697echo "$as_me:$LINENO: checking for $ac_word" >&5
4698echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4699if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4701else
4702 if test -n "$ac_ct_RANLIB"; then
4703 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4704else
4705as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4706for as_dir in $PATH
4707do
4708 IFS=$as_save_IFS
4709 test -z "$as_dir" && as_dir=.
4710 for ac_exec_ext in '' $ac_executable_extensions; do
4711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4712 ac_cv_prog_ac_ct_RANLIB="ranlib"
4713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4714 break 2
4715 fi
4716done
4717done
4718
4719 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4720fi
4721fi
4722ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4723if test -n "$ac_ct_RANLIB"; then
4724 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4725echo "${ECHO_T}$ac_ct_RANLIB" >&6
4726else
4727 echo "$as_me:$LINENO: result: no" >&5
4728echo "${ECHO_T}no" >&6
4729fi
4730
4731 RANLIB=$ac_ct_RANLIB
4732else
4733 RANLIB="$ac_cv_prog_RANLIB"
4734fi
4735
4736if test -n "$ac_tool_prefix"; then
4737 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4738set dummy ${ac_tool_prefix}strip; ac_word=$2
4739echo "$as_me:$LINENO: checking for $ac_word" >&5
4740echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4741if test "${ac_cv_prog_STRIP+set}" = set; then
4742 echo $ECHO_N "(cached) $ECHO_C" >&6
4743else
4744 if test -n "$STRIP"; then
4745 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4746else
4747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4748for as_dir in $PATH
4749do
4750 IFS=$as_save_IFS
4751 test -z "$as_dir" && as_dir=.
4752 for ac_exec_ext in '' $ac_executable_extensions; do
4753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4754 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4756 break 2
4757 fi
4758done
4759done
4760
4761fi
4762fi
4763STRIP=$ac_cv_prog_STRIP
4764if test -n "$STRIP"; then
4765 echo "$as_me:$LINENO: result: $STRIP" >&5
4766echo "${ECHO_T}$STRIP" >&6
4767else
4768 echo "$as_me:$LINENO: result: no" >&5
4769echo "${ECHO_T}no" >&6
4770fi
4771
4772fi
4773if test -z "$ac_cv_prog_STRIP"; then
4774 ac_ct_STRIP=$STRIP
4775 # Extract the first word of "strip", so it can be a program name with args.
4776set dummy strip; ac_word=$2
4777echo "$as_me:$LINENO: checking for $ac_word" >&5
4778echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4779if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4780 echo $ECHO_N "(cached) $ECHO_C" >&6
4781else
4782 if test -n "$ac_ct_STRIP"; then
4783 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4784else
4785as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4786for as_dir in $PATH
4787do
4788 IFS=$as_save_IFS
4789 test -z "$as_dir" && as_dir=.
4790 for ac_exec_ext in '' $ac_executable_extensions; do
4791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4792 ac_cv_prog_ac_ct_STRIP="strip"
4793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4794 break 2
4795 fi
4796done
4797done
4798
4799 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4800fi
4801fi
4802ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4803if test -n "$ac_ct_STRIP"; then
4804 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4805echo "${ECHO_T}$ac_ct_STRIP" >&6
4806else
4807 echo "$as_me:$LINENO: result: no" >&5
4808echo "${ECHO_T}no" >&6
4809fi
4810
4811 STRIP=$ac_ct_STRIP
4812else
4813 STRIP="$ac_cv_prog_STRIP"
4814fi
4815
4816
4817# Check for any special flags to pass to ltconfig.
4818libtool_flags="--cache-file=$cache_file"
4819test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4820test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4821test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4822test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4823test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4824
4825
4826# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4827if test "${enable_libtool_lock+set}" = set; then
4828 enableval="$enable_libtool_lock"
4829
4830fi;
4831test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4832test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4833
4834
4835# Check whether --with-pic or --without-pic was given.
4836if test "${with_pic+set}" = set; then
4837 withval="$with_pic"
4838 pic_mode="$withval"
4839else
4840 pic_mode=default
4841fi;
4842test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4843test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4844
4845# Some flags need to be propagated to the compiler or linker for good
4846# libtool support.
4847case $host in
4848*-*-irix6*)
4849 # Find out which ABI we are using.
4850 echo '#line 4850 "configure"' > conftest.$ac_ext
4851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4852 (eval $ac_compile) 2>&5
4853 ac_status=$?
4854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855 (exit $ac_status); }; then
4856 if test "$lt_cv_prog_gnu_ld" = yes; then
4857 case `/usr/bin/file conftest.$ac_objext` in
4858 *32-bit*)
4859 LD="${LD-ld} -melf32bsmip"
4860 ;;
4861 *N32*)
4862 LD="${LD-ld} -melf32bmipn32"
4863 ;;
4864 *64-bit*)
4865 LD="${LD-ld} -melf64bmip"
4866 ;;
4867 esac
4868 else
4869 case `/usr/bin/file conftest.$ac_objext` in
4870 *32-bit*)
4871 LD="${LD-ld} -32"
4872 ;;
4873 *N32*)
4874 LD="${LD-ld} -n32"
4875 ;;
4876 *64-bit*)
4877 LD="${LD-ld} -64"
4878 ;;
4879 esac
4880 fi
4881 fi
4882 rm -rf conftest*
4883 ;;
4884
4885ia64-*-hpux*)
4886 # Find out which ABI we are using.
4887 echo 'int i;' > conftest.$ac_ext
4888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4889 (eval $ac_compile) 2>&5
4890 ac_status=$?
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); }; then
4893 case "`/usr/bin/file conftest.o`" in
4894 *ELF-32*)
4895 HPUX_IA64_MODE="32"
4896 ;;
4897 *ELF-64*)
4898 HPUX_IA64_MODE="64"
4899 ;;
4900 esac
4901 fi
4902 rm -rf conftest*
4903 ;;
4904
4905x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4906 # Find out which ABI we are using.
4907 echo 'int i;' > conftest.$ac_ext
4908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4909 (eval $ac_compile) 2>&5
4910 ac_status=$?
4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); }; then
4913 case "`/usr/bin/file conftest.o`" in
4914 *32-bit*)
4915 case $host in
4916 x86_64-*linux*)
4917 LD="${LD-ld} -m elf_i386"
4918 ;;
4919 ppc64-*linux*|powerpc64-*linux*)
4920 LD="${LD-ld} -m elf32ppclinux"
4921 ;;
4922 s390x-*linux*)
4923 LD="${LD-ld} -m elf_s390"
4924 ;;
4925 sparc64-*linux*)
4926 LD="${LD-ld} -m elf32_sparc"
4927 ;;
4928 esac
4929 ;;
4930 *64-bit*)
4931 case $host in
4932 x86_64-*linux*)
4933 LD="${LD-ld} -m elf_x86_64"
4934 ;;
4935 ppc*-*linux*|powerpc*-*linux*)
4936 LD="${LD-ld} -m elf64ppc"
4937 ;;
4938 s390*-*linux*)
4939 LD="${LD-ld} -m elf64_s390"
4940 ;;
4941 sparc*-*linux*)
4942 LD="${LD-ld} -m elf64_sparc"
4943 ;;
4944 esac
4945 ;;
4946 esac
4947 fi
4948 rm -rf conftest*
4949 ;;
4950
4951*-*-sco3.2v5*)
4952 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4953 SAVE_CFLAGS="$CFLAGS"
4954 CFLAGS="$CFLAGS -belf"
4955 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4956echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4957if test "${lt_cv_cc_needs_belf+set}" = set; then
4958 echo $ECHO_N "(cached) $ECHO_C" >&6
4959else
4960
4961
4962 ac_ext=c
4963ac_cpp='$CPP $CPPFLAGS'
4964ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4965ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4966ac_compiler_gnu=$ac_cv_c_compiler_gnu
4967
4968 cat >conftest.$ac_ext <<_ACEOF
4969/* confdefs.h. */
4970_ACEOF
4971cat confdefs.h >>conftest.$ac_ext
4972cat >>conftest.$ac_ext <<_ACEOF
4973/* end confdefs.h. */
4974
4975int
4976main ()
4977{
4978
4979 ;
4980 return 0;
4981}
4982_ACEOF
4983rm -f conftest.$ac_objext conftest$ac_exeext
4984if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4985 (eval $ac_link) 2>conftest.er1
4986 ac_status=$?
4987 grep -v '^ *+' conftest.er1 >conftest.err
4988 rm -f conftest.er1
4989 cat conftest.err >&5
4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991 (exit $ac_status); } &&
4992 { ac_try='test -z "$ac_c_werror_flag"
4993 || test ! -s conftest.err'
4994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4995 (eval $ac_try) 2>&5
4996 ac_status=$?
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); }; } &&
4999 { ac_try='test -s conftest$ac_exeext'
5000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5001 (eval $ac_try) 2>&5
5002 ac_status=$?
5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); }; }; then
5005 lt_cv_cc_needs_belf=yes
5006else
5007 echo "$as_me: failed program was:" >&5
5008sed 's/^/| /' conftest.$ac_ext >&5
5009
5010lt_cv_cc_needs_belf=no
5011fi
5012rm -f conftest.err conftest.$ac_objext \
5013 conftest$ac_exeext conftest.$ac_ext
5014 ac_ext=c
5015ac_cpp='$CPP $CPPFLAGS'
5016ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5017ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5018ac_compiler_gnu=$ac_cv_c_compiler_gnu
5019
5020fi
5021echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5022echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5023 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5024 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5025 CFLAGS="$SAVE_CFLAGS"
5026 fi
5027 ;;
5028
5029
5030esac
5031
5032
5033# Save cache, so that ltconfig can load it
5034cat >confcache <<\_ACEOF
5035# This file is a shell script that caches the results of configure
5036# tests run on this system so they can be shared between configure
5037# scripts and configure runs, see configure's option --config-cache.
5038# It is not useful on other systems. If it contains results you don't
5039# want to keep, you may remove or edit it.
5040#
5041# config.status only pays attention to the cache file if you give it
5042# the --recheck option to rerun configure.
5043#
5044# `ac_cv_env_foo' variables (set or unset) will be overridden when
5045# loading this file, other *unset* `ac_cv_foo' will be assigned the
5046# following values.
5047
5048_ACEOF
5049
5050# The following way of writing the cache mishandles newlines in values,
5051# but we know of no workaround that is simple, portable, and efficient.
5052# So, don't put newlines in cache variables' values.
5053# Ultrix sh set writes to stderr and can't be redirected directly,
5054# and sets the high bit in the cache file unless we assign to the vars.
5055{
5056 (set) 2>&1 |
5057 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5058 *ac_space=\ *)
5059 # `set' does not quote correctly, so add quotes (double-quote
5060 # substitution turns \\\\ into \\, and sed turns \\ into \).
5061 sed -n \
5062 "s/'/'\\\\''/g;
5063 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5064 ;;
5065 *)
5066 # `set' quotes correctly as required by POSIX, so do not add quotes.
5067 sed -n \
5068 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5069 ;;
5070 esac;
5071} |
5072 sed '
5073 t clear
5074 : clear
5075 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5076 t end
5077 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5078 : end' >>confcache
5079if diff $cache_file confcache >/dev/null 2>&1; then :; else
5080 if test -w $cache_file; then
5081 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5082 cat confcache >$cache_file
5083 else
5084 echo "not updating unwritable cache $cache_file"
5085 fi
5086fi
5087rm -f confcache
5088
5089# Actually configure libtool. ac_aux_dir is where install-sh is found.
5090AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
5091MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5092LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5093AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5094objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5095deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
5096${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
5097$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
5098|| { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5099echo "$as_me: error: libtool configure failed" >&2;}
5100 { (exit 1); exit 1; }; }
5101
5102# Reload cache, that may have been modified by ltconfig
5103if test -r "$cache_file"; then
5104 # Some versions of bash will fail to source /dev/null (special
5105 # files actually), so we avoid doing that.
5106 if test -f "$cache_file"; then
5107 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5108echo "$as_me: loading cache $cache_file" >&6;}
5109 case $cache_file in
5110 [\\/]* | ?:[\\/]* ) . $cache_file;;
5111 *) . ./$cache_file;;
5112 esac
5113 fi
5114else
5115 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5116echo "$as_me: creating cache $cache_file" >&6;}
5117 >$cache_file
5118fi
5119
5120
5121# This can be used to rebuild libtool when needed
5122LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5123
5124# Always use our own libtool.
5125LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5126
5127# Redirect the config.log output again, so that the ltconfig log is not
5128# clobbered by the next message.
5129exec 5>>./config.log
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139# Calculate toolexeclibdir
5140# Also toolexecdir, though it's only used in toolexeclibdir
5141case ${version_specific_libs} in
5142 yes)
5143 # Need the gcc compiler version to know where to install libraries
5144 # and header files if --enable-version-specific-runtime-libs option
5145 # is selected.
5146 toolexecdir='$(libdir)/gcc/$(target_alias)'
5147 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5148 ;;
5149 no)
5150 if test -n "$with_cross_host" &&
5151 test x"$with_cross_host" != x"no"; then
5152 # Install a library built with a cross compiler in tooldir, not libdir.
5153 toolexecdir='$(exec_prefix)/$(target_alias)'
5154 toolexeclibdir='$(toolexecdir)/lib'
5155 else
5156 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
5157 toolexeclibdir='$(libdir)'
5158 fi
5159 multi_os_directory=`$CC -print-multi-os-directory`
5160 case $multi_os_directory in
5161 .) ;; # Avoid trailing /.
5162 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5163 esac
5164 ;;
5165esac
5166
5167
5168
5169if test ${multilib} = yes; then
5170 multilib_arg="--enable-multilib"
5171else
5172 multilib_arg=
5173fi
5174
5175 ac_config_files="$ac_config_files Makefile ssp/ssp.h"
5176
5177cat >confcache <<\_ACEOF
5178# This file is a shell script that caches the results of configure
5179# tests run on this system so they can be shared between configure
5180# scripts and configure runs, see configure's option --config-cache.
5181# It is not useful on other systems. If it contains results you don't
5182# want to keep, you may remove or edit it.
5183#
5184# config.status only pays attention to the cache file if you give it
5185# the --recheck option to rerun configure.
5186#
5187# `ac_cv_env_foo' variables (set or unset) will be overridden when
5188# loading this file, other *unset* `ac_cv_foo' will be assigned the
5189# following values.
5190
5191_ACEOF
5192
5193# The following way of writing the cache mishandles newlines in values,
5194# but we know of no workaround that is simple, portable, and efficient.
5195# So, don't put newlines in cache variables' values.
5196# Ultrix sh set writes to stderr and can't be redirected directly,
5197# and sets the high bit in the cache file unless we assign to the vars.
5198{
5199 (set) 2>&1 |
5200 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5201 *ac_space=\ *)
5202 # `set' does not quote correctly, so add quotes (double-quote
5203 # substitution turns \\\\ into \\, and sed turns \\ into \).
5204 sed -n \
5205 "s/'/'\\\\''/g;
5206 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5207 ;;
5208 *)
5209 # `set' quotes correctly as required by POSIX, so do not add quotes.
5210 sed -n \
5211 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5212 ;;
5213 esac;
5214} |
5215 sed '
5216 t clear
5217 : clear
5218 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5219 t end
5220 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5221 : end' >>confcache
5222if diff $cache_file confcache >/dev/null 2>&1; then :; else
5223 if test -w $cache_file; then
5224 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5225 cat confcache >$cache_file
5226 else
5227 echo "not updating unwritable cache $cache_file"
5228 fi
5229fi
5230rm -f confcache
5231
5232test "x$prefix" = xNONE && prefix=$ac_default_prefix
5233# Let make expand exec_prefix.
5234test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5235
5236# VPATH may cause trouble with some makes, so we remove $(srcdir),
5237# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5238# trailing colons and then remove the whole line if VPATH becomes empty
5239# (actually we leave an empty line to preserve line numbers).
5240if test "x$srcdir" = x.; then
5241 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5242s/:*\$(srcdir):*/:/;
5243s/:*\${srcdir}:*/:/;
5244s/:*@srcdir@:*/:/;
5245s/^\([^=]*=[ ]*\):*/\1/;
5246s/:*$//;
5247s/^[^=]*=[ ]*$//;
5248}'
5249fi
5250
5251DEFS=-DHAVE_CONFIG_H
5252
5253ac_libobjs=
5254ac_ltlibobjs=
5255for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5256 # 1. Remove the extension, and $U if already installed.
5257 ac_i=`echo "$ac_i" |
5258 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5259 # 2. Add them.
5260 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5261 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5262done
5263LIBOBJS=$ac_libobjs
5264
5265LTLIBOBJS=$ac_ltlibobjs
5266
5267
5268if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5269 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5270Usually this means the macro was only invoked conditionally." >&5
5271echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5272Usually this means the macro was only invoked conditionally." >&2;}
5273 { (exit 1); exit 1; }; }
5274fi
5275if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5276 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5277Usually this means the macro was only invoked conditionally." >&5
5278echo "$as_me: error: conditional \"AMDEP\" was never defined.
5279Usually this means the macro was only invoked conditionally." >&2;}
5280 { (exit 1); exit 1; }; }
5281fi
5282if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5283 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5284Usually this means the macro was only invoked conditionally." >&5
5285echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5286Usually this means the macro was only invoked conditionally." >&2;}
5287 { (exit 1); exit 1; }; }
5288fi
5289if test -z "${LIBSSP_USE_SYMVER_TRUE}" && test -z "${LIBSSP_USE_SYMVER_FALSE}"; then
5290 { { echo "$as_me:$LINENO: error: conditional \"LIBSSP_USE_SYMVER\" was never defined.
5291Usually this means the macro was only invoked conditionally." >&5
5292echo "$as_me: error: conditional \"LIBSSP_USE_SYMVER\" was never defined.
5293Usually this means the macro was only invoked conditionally." >&2;}
5294 { (exit 1); exit 1; }; }
5295fi
5296
5297: ${CONFIG_STATUS=./config.status}
5298ac_clean_files_save=$ac_clean_files
5299ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5300{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5301echo "$as_me: creating $CONFIG_STATUS" >&6;}
5302cat >$CONFIG_STATUS <<_ACEOF
5303#! $SHELL
5304# Generated by $as_me.
5305# Run this file to recreate the current configuration.
5306# Compiler output produced by configure, useful for debugging
5307# configure, is in config.log if it exists.
5308
5309debug=false
5310ac_cs_recheck=false
5311ac_cs_silent=false
5312SHELL=\${CONFIG_SHELL-$SHELL}
5313_ACEOF
5314
5315cat >>$CONFIG_STATUS <<\_ACEOF
5316## --------------------- ##
5317## M4sh Initialization. ##
5318## --------------------- ##
5319
5320# Be Bourne compatible
5321if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5322 emulate sh
5323 NULLCMD=:
5324 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5325 # is contrary to our usage. Disable this feature.
5326 alias -g '${1+"$@"}'='"$@"'
5327elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5328 set -o posix
5329fi
5330DUALCASE=1; export DUALCASE # for MKS sh
5331
5332# Support unset when possible.
5333if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5334 as_unset=unset
5335else
5336 as_unset=false
5337fi
5338
5339
5340# Work around bugs in pre-3.0 UWIN ksh.
5341$as_unset ENV MAIL MAILPATH
5342PS1='$ '
5343PS2='> '
5344PS4='+ '
5345
5346# NLS nuisances.
5347for as_var in \
5348 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5349 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5350 LC_TELEPHONE LC_TIME
5351do
5352 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5353 eval $as_var=C; export $as_var
5354 else
5355 $as_unset $as_var
5356 fi
5357done
5358
5359# Required to use basename.
5360if expr a : '\(a\)' >/dev/null 2>&1; then
5361 as_expr=expr
5362else
5363 as_expr=false
5364fi
5365
5366if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5367 as_basename=basename
5368else
5369 as_basename=false
5370fi
5371
5372
5373# Name of the executable.
5374as_me=`$as_basename "$0" ||
5375$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5376 X"$0" : 'X\(//\)$' \| \
5377 X"$0" : 'X\(/\)$' \| \
5378 . : '\(.\)' 2>/dev/null ||
5379echo X/"$0" |
5380 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5381 /^X\/\(\/\/\)$/{ s//\1/; q; }
5382 /^X\/\(\/\).*/{ s//\1/; q; }
5383 s/.*/./; q'`
5384
5385
5386# PATH needs CR, and LINENO needs CR and PATH.
5387# Avoid depending upon Character Ranges.
5388as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5389as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5390as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5391as_cr_digits='0123456789'
5392as_cr_alnum=$as_cr_Letters$as_cr_digits
5393
5394# The user is always right.
5395if test "${PATH_SEPARATOR+set}" != set; then
5396 echo "#! /bin/sh" >conf$$.sh
5397 echo "exit 0" >>conf$$.sh
5398 chmod +x conf$$.sh
5399 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5400 PATH_SEPARATOR=';'
5401 else
5402 PATH_SEPARATOR=:
5403 fi
5404 rm -f conf$$.sh
5405fi
5406
5407
5408 as_lineno_1=$LINENO
5409 as_lineno_2=$LINENO
5410 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5411 test "x$as_lineno_1" != "x$as_lineno_2" &&
5412 test "x$as_lineno_3" = "x$as_lineno_2" || {
5413 # Find who we are. Look in the path if we contain no path at all
5414 # relative or not.
5415 case $0 in
5416 *[\\/]* ) as_myself=$0 ;;
5417 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5418for as_dir in $PATH
5419do
5420 IFS=$as_save_IFS
5421 test -z "$as_dir" && as_dir=.
5422 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5423done
5424
5425 ;;
5426 esac
5427 # We did not find ourselves, most probably we were run as `sh COMMAND'
5428 # in which case we are not to be found in the path.
5429 if test "x$as_myself" = x; then
5430 as_myself=$0
5431 fi
5432 if test ! -f "$as_myself"; then
5433 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5434echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5435 { (exit 1); exit 1; }; }
5436 fi
5437 case $CONFIG_SHELL in
5438 '')
5439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5441do
5442 IFS=$as_save_IFS
5443 test -z "$as_dir" && as_dir=.
5444 for as_base in sh bash ksh sh5; do
5445 case $as_dir in
5446 /*)
5447 if ("$as_dir/$as_base" -c '
5448 as_lineno_1=$LINENO
5449 as_lineno_2=$LINENO
5450 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5451 test "x$as_lineno_1" != "x$as_lineno_2" &&
5452 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5453 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5454 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5455 CONFIG_SHELL=$as_dir/$as_base
5456 export CONFIG_SHELL
5457 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5458 fi;;
5459 esac
5460 done
5461done
5462;;
5463 esac
5464
5465 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5466 # uniformly replaced by the line number. The first 'sed' inserts a
5467 # line-number line before each line; the second 'sed' does the real
5468 # work. The second script uses 'N' to pair each line-number line
5469 # with the numbered line, and appends trailing '-' during
5470 # substitution so that $LINENO is not a special case at line end.
5471 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5472 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5473 sed '=' <$as_myself |
5474 sed '
5475 N
5476 s,$,-,
5477 : loop
5478 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5479 t loop
5480 s,-$,,
5481 s,^['$as_cr_digits']*\n,,
5482 ' >$as_me.lineno &&
5483 chmod +x $as_me.lineno ||
5484 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5485echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5486 { (exit 1); exit 1; }; }
5487
5488 # Don't try to exec as it changes $[0], causing all sort of problems
5489 # (the dirname of $[0] is not the place where we might find the
5490 # original and so on. Autoconf is especially sensible to this).
5491 . ./$as_me.lineno
5492 # Exit status is that of the last command.
5493 exit
5494}
5495
5496
5497case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5498 *c*,-n*) ECHO_N= ECHO_C='
5499' ECHO_T=' ' ;;
5500 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5501 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5502esac
5503
5504if expr a : '\(a\)' >/dev/null 2>&1; then
5505 as_expr=expr
5506else
5507 as_expr=false
5508fi
5509
5510rm -f conf$$ conf$$.exe conf$$.file
5511echo >conf$$.file
5512if ln -s conf$$.file conf$$ 2>/dev/null; then
5513 # We could just check for DJGPP; but this test a) works b) is more generic
5514 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5515 if test -f conf$$.exe; then
5516 # Don't use ln at all; we don't have any links
5517 as_ln_s='cp -p'
5518 else
5519 as_ln_s='ln -s'
5520 fi
5521elif ln conf$$.file conf$$ 2>/dev/null; then
5522 as_ln_s=ln
5523else
5524 as_ln_s='cp -p'
5525fi
5526rm -f conf$$ conf$$.exe conf$$.file
5527
5528if mkdir -p . 2>/dev/null; then
5529 as_mkdir_p=:
5530else
5531 test -d ./-p && rmdir ./-p
5532 as_mkdir_p=false
5533fi
5534
5535as_executable_p="test -f"
5536
5537# Sed expression to map a string onto a valid CPP name.
5538as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5539
5540# Sed expression to map a string onto a valid variable name.
5541as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5542
5543
5544# IFS
5545# We need space, tab and new line, in precisely that order.
5546as_nl='
5547'
5548IFS=" $as_nl"
5549
5550# CDPATH.
5551$as_unset CDPATH
5552
5553exec 6>&1
5554
5555# Open the log real soon, to keep \$[0] and so on meaningful, and to
5556# report actual input values of CONFIG_FILES etc. instead of their
5557# values after options handling. Logging --version etc. is OK.
5558exec 5>>config.log
5559{
5560 echo
5561 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5562## Running $as_me. ##
5563_ASBOX
5564} >&5
5565cat >&5 <<_CSEOF
5566
5567This file was extended by libssp $as_me 1.0, which was
5568generated by GNU Autoconf 2.59. Invocation command line was
5569
5570 CONFIG_FILES = $CONFIG_FILES
5571 CONFIG_HEADERS = $CONFIG_HEADERS
5572 CONFIG_LINKS = $CONFIG_LINKS
5573 CONFIG_COMMANDS = $CONFIG_COMMANDS
5574 $ $0 $@
5575
5576_CSEOF
5577echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5578echo >&5
5579_ACEOF
5580
5581# Files that config.status was made for.
5582if test -n "$ac_config_files"; then
5583 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5584fi
5585
5586if test -n "$ac_config_headers"; then
5587 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5588fi
5589
5590if test -n "$ac_config_links"; then
5591 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5592fi
5593
5594if test -n "$ac_config_commands"; then
5595 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5596fi
5597
5598cat >>$CONFIG_STATUS <<\_ACEOF
5599
5600ac_cs_usage="\
5601\`$as_me' instantiates files from templates according to the
5602current configuration.
5603
5604Usage: $0 [OPTIONS] [FILE]...
5605
5606 -h, --help print this help, then exit
5607 -V, --version print version number, then exit
5608 -q, --quiet do not print progress messages
5609 -d, --debug don't remove temporary files
5610 --recheck update $as_me by reconfiguring in the same conditions
5611 --file=FILE[:TEMPLATE]
5612 instantiate the configuration file FILE
5613 --header=FILE[:TEMPLATE]
5614 instantiate the configuration header FILE
5615
5616Configuration files:
5617$config_files
5618
5619Configuration headers:
5620$config_headers
5621
5622Configuration commands:
5623$config_commands
5624
5625Report bugs to <bug-autoconf@gnu.org>."
5626_ACEOF
5627
5628cat >>$CONFIG_STATUS <<_ACEOF
5629ac_cs_version="\\
5630libssp config.status 1.0
5631configured by $0, generated by GNU Autoconf 2.59,
5632 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5633
5634Copyright (C) 2003 Free Software Foundation, Inc.
5635This config.status script is free software; the Free Software Foundation
5636gives unlimited permission to copy, distribute and modify it."
5637srcdir=$srcdir
5638INSTALL="$INSTALL"
5639_ACEOF
5640
5641cat >>$CONFIG_STATUS <<\_ACEOF
5642# If no file are specified by the user, then we need to provide default
5643# value. By we need to know if files were specified by the user.
5644ac_need_defaults=:
5645while test $# != 0
5646do
5647 case $1 in
5648 --*=*)
5649 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5650 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5651 ac_shift=:
5652 ;;
5653 -*)
5654 ac_option=$1
5655 ac_optarg=$2
5656 ac_shift=shift
5657 ;;
5658 *) # This is not an option, so the user has probably given explicit
5659 # arguments.
5660 ac_option=$1
5661 ac_need_defaults=false;;
5662 esac
5663
5664 case $ac_option in
5665 # Handling of the options.
5666_ACEOF
5667cat >>$CONFIG_STATUS <<\_ACEOF
5668 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5669 ac_cs_recheck=: ;;
5670 --version | --vers* | -V )
5671 echo "$ac_cs_version"; exit 0 ;;
5672 --he | --h)
5673 # Conflict between --help and --header
5674 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5675Try \`$0 --help' for more information." >&5
5676echo "$as_me: error: ambiguous option: $1
5677Try \`$0 --help' for more information." >&2;}
5678 { (exit 1); exit 1; }; };;
5679 --help | --hel | -h )
5680 echo "$ac_cs_usage"; exit 0 ;;
5681 --debug | --d* | -d )
5682 debug=: ;;
5683 --file | --fil | --fi | --f )
5684 $ac_shift
5685 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5686 ac_need_defaults=false;;
5687 --header | --heade | --head | --hea )
5688 $ac_shift
5689 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5690 ac_need_defaults=false;;
5691 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5692 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5693 ac_cs_silent=: ;;
5694
5695 # This is an error.
5696 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5697Try \`$0 --help' for more information." >&5
5698echo "$as_me: error: unrecognized option: $1
5699Try \`$0 --help' for more information." >&2;}
5700 { (exit 1); exit 1; }; } ;;
5701
5702 *) ac_config_targets="$ac_config_targets $1" ;;
5703
5704 esac
5705 shift
5706done
5707
5708ac_configure_extra_args=
5709
5710if $ac_cs_silent; then
5711 exec 6>/dev/null
5712 ac_configure_extra_args="$ac_configure_extra_args --silent"
5713fi
5714
5715_ACEOF
5716cat >>$CONFIG_STATUS <<_ACEOF
5717if \$ac_cs_recheck; then
5718 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5719 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5720fi
5721
5722_ACEOF
5723
5724cat >>$CONFIG_STATUS <<_ACEOF
5725#
5726# INIT-COMMANDS section.
5727#
5728
5729
5730srcdir="$srcdir"
5731host="$host"
5732target="$target"
5733with_multisubdir="$with_multisubdir"
5734with_multisrctop="$with_multisrctop"
5735with_target_subdir="$with_target_subdir"
5736ac_configure_args="${multilib_arg} ${ac_configure_args}"
5737multi_basedir="$multi_basedir"
5738CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
5739CC="$CC"
5740AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5741
5742_ACEOF
5743
5744
5745
5746cat >>$CONFIG_STATUS <<\_ACEOF
5747for ac_config_target in $ac_config_targets
5748do
5749 case "$ac_config_target" in
5750 # Handling of arguments.
5751 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5752 "ssp/ssp.h" ) CONFIG_FILES="$CONFIG_FILES ssp/ssp.h" ;;
5753 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
5754 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5755 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5756 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5757echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5758 { (exit 1); exit 1; }; };;
5759 esac
5760done
5761
5762# If the user did not use the arguments to specify the items to instantiate,
5763# then the envvar interface is used. Set only those that are not.
5764# We use the long form for the default assignment because of an extremely
5765# bizarre bug on SunOS 4.1.3.
5766if $ac_need_defaults; then
5767 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5768 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5769 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5770fi
5771
5772# Have a temporary directory for convenience. Make it in the build tree
5773# simply because there is no reason to put it here, and in addition,
5774# creating and moving files from /tmp can sometimes cause problems.
5775# Create a temporary directory, and hook for its removal unless debugging.
5776$debug ||
5777{
5778 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5779 trap '{ (exit 1); exit 1; }' 1 2 13 15
5780}
5781
5782# Create a (secure) tmp directory for tmp files.
5783
5784{
5785 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5786 test -n "$tmp" && test -d "$tmp"
5787} ||
5788{
5789 tmp=./confstat$$-$RANDOM
5790 (umask 077 && mkdir $tmp)
5791} ||
5792{
5793 echo "$me: cannot create a temporary directory in ." >&2
5794 { (exit 1); exit 1; }
5795}
5796
5797_ACEOF
5798
5799cat >>$CONFIG_STATUS <<_ACEOF
5800
5801#
5802# CONFIG_FILES section.
5803#
5804
5805# No need to generate the scripts if there are no CONFIG_FILES.
5806# This happens for instance when ./config.status config.h
5807if test -n "\$CONFIG_FILES"; then
5808 # Protect against being on the right side of a sed subst in config.status.
5809 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5810 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5811s,@SHELL@,$SHELL,;t t
5812s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5813s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5814s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5815s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5816s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5817s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5818s,@exec_prefix@,$exec_prefix,;t t
5819s,@prefix@,$prefix,;t t
5820s,@program_transform_name@,$program_transform_name,;t t
5821s,@bindir@,$bindir,;t t
5822s,@sbindir@,$sbindir,;t t
5823s,@libexecdir@,$libexecdir,;t t
5824s,@datadir@,$datadir,;t t
5825s,@sysconfdir@,$sysconfdir,;t t
5826s,@sharedstatedir@,$sharedstatedir,;t t
5827s,@localstatedir@,$localstatedir,;t t
5828s,@libdir@,$libdir,;t t
5829s,@includedir@,$includedir,;t t
5830s,@oldincludedir@,$oldincludedir,;t t
5831s,@infodir@,$infodir,;t t
5832s,@mandir@,$mandir,;t t
5833s,@build_alias@,$build_alias,;t t
5834s,@host_alias@,$host_alias,;t t
5835s,@target_alias@,$target_alias,;t t
5836s,@DEFS@,$DEFS,;t t
5837s,@ECHO_C@,$ECHO_C,;t t
5838s,@ECHO_N@,$ECHO_N,;t t
5839s,@ECHO_T@,$ECHO_T,;t t
5840s,@LIBS@,$LIBS,;t t
5841s,@build@,$build,;t t
5842s,@build_cpu@,$build_cpu,;t t
5843s,@build_vendor@,$build_vendor,;t t
5844s,@build_os@,$build_os,;t t
5845s,@host@,$host,;t t
5846s,@host_cpu@,$host_cpu,;t t
5847s,@host_vendor@,$host_vendor,;t t
5848s,@host_os@,$host_os,;t t
5849s,@target@,$target,;t t
5850s,@target_cpu@,$target_cpu,;t t
5851s,@target_vendor@,$target_vendor,;t t
5852s,@target_os@,$target_os,;t t
5853s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5854s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5855s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5856s,@CYGPATH_W@,$CYGPATH_W,;t t
5857s,@PACKAGE@,$PACKAGE,;t t
5858s,@VERSION@,$VERSION,;t t
5859s,@ACLOCAL@,$ACLOCAL,;t t
5860s,@AUTOCONF@,$AUTOCONF,;t t
5861s,@AUTOMAKE@,$AUTOMAKE,;t t
5862s,@AUTOHEADER@,$AUTOHEADER,;t t
5863s,@MAKEINFO@,$MAKEINFO,;t t
5864s,@install_sh@,$install_sh,;t t
5865s,@STRIP@,$STRIP,;t t
5866s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5867s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5868s,@mkdir_p@,$mkdir_p,;t t
5869s,@AWK@,$AWK,;t t
5870s,@SET_MAKE@,$SET_MAKE,;t t
5871s,@am__leading_dot@,$am__leading_dot,;t t
5872s,@AMTAR@,$AMTAR,;t t
5873s,@am__tar@,$am__tar,;t t
5874s,@am__untar@,$am__untar,;t t
5875s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5876s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5877s,@MAINT@,$MAINT,;t t
5878s,@multi_basedir@,$multi_basedir,;t t
5879s,@CC@,$CC,;t t
5880s,@ac_ct_CC@,$ac_ct_CC,;t t
5881s,@EXEEXT@,$EXEEXT,;t t
5882s,@OBJEXT@,$OBJEXT,;t t
5883s,@DEPDIR@,$DEPDIR,;t t
5884s,@am__include@,$am__include,;t t
5885s,@am__quote@,$am__quote,;t t
5886s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5887s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5888s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5889s,@CCDEPMODE@,$CCDEPMODE,;t t
5890s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5891s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5892s,@CFLAGS@,$CFLAGS,;t t
5893s,@CPP@,$CPP,;t t
5894s,@CPPFLAGS@,$CPPFLAGS,;t t
5895s,@LIBSSP_USE_SYMVER_TRUE@,$LIBSSP_USE_SYMVER_TRUE,;t t
5896s,@LIBSSP_USE_SYMVER_FALSE@,$LIBSSP_USE_SYMVER_FALSE,;t t
5897s,@EGREP@,$EGREP,;t t
5898s,@ssp_have_usable_vsnprintf@,$ssp_have_usable_vsnprintf,;t t
5899s,@LN_S@,$LN_S,;t t
5900s,@RANLIB@,$RANLIB,;t t
5901s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5902s,@LIBTOOL@,$LIBTOOL,;t t
5903s,@enable_shared@,$enable_shared,;t t
5904s,@enable_static@,$enable_static,;t t
5905s,@toolexecdir@,$toolexecdir,;t t
5906s,@toolexeclibdir@,$toolexeclibdir,;t t
5907s,@LIBOBJS@,$LIBOBJS,;t t
5908s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5909CEOF
5910
5911_ACEOF
5912
5913 cat >>$CONFIG_STATUS <<\_ACEOF
5914 # Split the substitutions into bite-sized pieces for seds with
5915 # small command number limits, like on Digital OSF/1 and HP-UX.
5916 ac_max_sed_lines=48
5917 ac_sed_frag=1 # Number of current file.
5918 ac_beg=1 # First line for current file.
5919 ac_end=$ac_max_sed_lines # Line after last line for current file.
5920 ac_more_lines=:
5921 ac_sed_cmds=
5922 while $ac_more_lines; do
5923 if test $ac_beg -gt 1; then
5924 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5925 else
5926 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5927 fi
5928 if test ! -s $tmp/subs.frag; then
5929 ac_more_lines=false
5930 else
5931 # The purpose of the label and of the branching condition is to
5932 # speed up the sed processing (if there are no `@' at all, there
5933 # is no need to browse any of the substitutions).
5934 # These are the two extra sed commands mentioned above.
5935 (echo ':t
5936 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5937 if test -z "$ac_sed_cmds"; then
5938 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5939 else
5940 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5941 fi
5942 ac_sed_frag=`expr $ac_sed_frag + 1`
5943 ac_beg=$ac_end
5944 ac_end=`expr $ac_end + $ac_max_sed_lines`
5945 fi
5946 done
5947 if test -z "$ac_sed_cmds"; then
5948 ac_sed_cmds=cat
5949 fi
5950fi # test -n "$CONFIG_FILES"
5951
5952_ACEOF
5953cat >>$CONFIG_STATUS <<\_ACEOF
5954for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5955 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5956 case $ac_file in
5957 - | *:- | *:-:* ) # input from stdin
5958 cat >$tmp/stdin
5959 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5960 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5961 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5962 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5963 * ) ac_file_in=$ac_file.in ;;
5964 esac
5965
5966 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5967 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5968$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5969 X"$ac_file" : 'X\(//\)[^/]' \| \
5970 X"$ac_file" : 'X\(//\)$' \| \
5971 X"$ac_file" : 'X\(/\)' \| \
5972 . : '\(.\)' 2>/dev/null ||
5973echo X"$ac_file" |
5974 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5975 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5976 /^X\(\/\/\)$/{ s//\1/; q; }
5977 /^X\(\/\).*/{ s//\1/; q; }
5978 s/.*/./; q'`
5979 { if $as_mkdir_p; then
5980 mkdir -p "$ac_dir"
5981 else
5982 as_dir="$ac_dir"
5983 as_dirs=
5984 while test ! -d "$as_dir"; do
5985 as_dirs="$as_dir $as_dirs"
5986 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5987$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5988 X"$as_dir" : 'X\(//\)[^/]' \| \
5989 X"$as_dir" : 'X\(//\)$' \| \
5990 X"$as_dir" : 'X\(/\)' \| \
5991 . : '\(.\)' 2>/dev/null ||
5992echo X"$as_dir" |
5993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5994 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5995 /^X\(\/\/\)$/{ s//\1/; q; }
5996 /^X\(\/\).*/{ s//\1/; q; }
5997 s/.*/./; q'`
5998 done
5999 test ! -n "$as_dirs" || mkdir $as_dirs
6000 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6001echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6002 { (exit 1); exit 1; }; }; }
6003
6004 ac_builddir=.
6005
6006if test "$ac_dir" != .; then
6007 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6008 # A "../" for each directory in $ac_dir_suffix.
6009 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6010else
6011 ac_dir_suffix= ac_top_builddir=
6012fi
6013
6014case $srcdir in
6015 .) # No --srcdir option. We are building in place.
6016 ac_srcdir=.
6017 if test -z "$ac_top_builddir"; then
6018 ac_top_srcdir=.
6019 else
6020 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6021 fi ;;
6022 [\\/]* | ?:[\\/]* ) # Absolute path.
6023 ac_srcdir=$srcdir$ac_dir_suffix;
6024 ac_top_srcdir=$srcdir ;;
6025 *) # Relative path.
6026 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6027 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6028esac
6029
6030# Do not use `cd foo && pwd` to compute absolute paths, because
6031# the directories may not exist.
6032case `pwd` in
6033.) ac_abs_builddir="$ac_dir";;
6034*)
6035 case "$ac_dir" in
6036 .) ac_abs_builddir=`pwd`;;
6037 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6038 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6039 esac;;
6040esac
6041case $ac_abs_builddir in
6042.) ac_abs_top_builddir=${ac_top_builddir}.;;
6043*)
6044 case ${ac_top_builddir}. in
6045 .) ac_abs_top_builddir=$ac_abs_builddir;;
6046 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6047 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6048 esac;;
6049esac
6050case $ac_abs_builddir in
6051.) ac_abs_srcdir=$ac_srcdir;;
6052*)
6053 case $ac_srcdir in
6054 .) ac_abs_srcdir=$ac_abs_builddir;;
6055 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6056 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6057 esac;;
6058esac
6059case $ac_abs_builddir in
6060.) ac_abs_top_srcdir=$ac_top_srcdir;;
6061*)
6062 case $ac_top_srcdir in
6063 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6064 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6065 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6066 esac;;
6067esac
6068
6069
6070 case $INSTALL in
6071 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6072 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6073 esac
6074
6075 if test x"$ac_file" != x-; then
6076 { echo "$as_me:$LINENO: creating $ac_file" >&5
6077echo "$as_me: creating $ac_file" >&6;}
6078 rm -f "$ac_file"
6079 fi
6080 # Let's still pretend it is `configure' which instantiates (i.e., don't
6081 # use $as_me), people would be surprised to read:
6082 # /* config.h. Generated by config.status. */
6083 if test x"$ac_file" = x-; then
6084 configure_input=
6085 else
6086 configure_input="$ac_file. "
6087 fi
6088 configure_input=$configure_input"Generated from `echo $ac_file_in |
6089 sed 's,.*/,,'` by configure."
6090
6091 # First look for the input files in the build tree, otherwise in the
6092 # src tree.
6093 ac_file_inputs=`IFS=:
6094 for f in $ac_file_in; do
6095 case $f in
6096 -) echo $tmp/stdin ;;
6097 [\\/$]*)
6098 # Absolute (can't be DOS-style, as IFS=:)
6099 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6100echo "$as_me: error: cannot find input file: $f" >&2;}
6101 { (exit 1); exit 1; }; }
6102 echo "$f";;
6103 *) # Relative
6104 if test -f "$f"; then
6105 # Build tree
6106 echo "$f"
6107 elif test -f "$srcdir/$f"; then
6108 # Source tree
6109 echo "$srcdir/$f"
6110 else
6111 # /dev/null tree
6112 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6113echo "$as_me: error: cannot find input file: $f" >&2;}
6114 { (exit 1); exit 1; }; }
6115 fi;;
6116 esac
6117 done` || { (exit 1); exit 1; }
6118_ACEOF
6119cat >>$CONFIG_STATUS <<_ACEOF
6120 sed "$ac_vpsub
6121$extrasub
6122_ACEOF
6123cat >>$CONFIG_STATUS <<\_ACEOF
6124:t
6125/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6126s,@configure_input@,$configure_input,;t t
6127s,@srcdir@,$ac_srcdir,;t t
6128s,@abs_srcdir@,$ac_abs_srcdir,;t t
6129s,@top_srcdir@,$ac_top_srcdir,;t t
6130s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6131s,@builddir@,$ac_builddir,;t t
6132s,@abs_builddir@,$ac_abs_builddir,;t t
6133s,@top_builddir@,$ac_top_builddir,;t t
6134s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6135s,@INSTALL@,$ac_INSTALL,;t t
6136" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6137 rm -f $tmp/stdin
6138 if test x"$ac_file" != x-; then
6139 mv $tmp/out $ac_file
6140 else
6141 cat $tmp/out
6142 rm -f $tmp/out
6143 fi
6144
6145done
6146_ACEOF
6147cat >>$CONFIG_STATUS <<\_ACEOF
6148
6149#
6150# CONFIG_HEADER section.
6151#
6152
6153# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6154# NAME is the cpp macro being defined and VALUE is the value it is being given.
6155#
6156# ac_d sets the value in "#define NAME VALUE" lines.
6157ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6158ac_dB='[ ].*$,\1#\2'
6159ac_dC=' '
6160ac_dD=',;t'
6161# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6162ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6163ac_uB='$,\1#\2define\3'
6164ac_uC=' '
6165ac_uD=',;t'
6166
6167for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6168 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6169 case $ac_file in
6170 - | *:- | *:-:* ) # input from stdin
6171 cat >$tmp/stdin
6172 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6173 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6174 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6175 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6176 * ) ac_file_in=$ac_file.in ;;
6177 esac
6178
6179 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6180echo "$as_me: creating $ac_file" >&6;}
6181
6182 # First look for the input files in the build tree, otherwise in the
6183 # src tree.
6184 ac_file_inputs=`IFS=:
6185 for f in $ac_file_in; do
6186 case $f in
6187 -) echo $tmp/stdin ;;
6188 [\\/$]*)
6189 # Absolute (can't be DOS-style, as IFS=:)
6190 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6191echo "$as_me: error: cannot find input file: $f" >&2;}
6192 { (exit 1); exit 1; }; }
6193 # Do quote $f, to prevent DOS paths from being IFS'd.
6194 echo "$f";;
6195 *) # Relative
6196 if test -f "$f"; then
6197 # Build tree
6198 echo "$f"
6199 elif test -f "$srcdir/$f"; then
6200 # Source tree
6201 echo "$srcdir/$f"
6202 else
6203 # /dev/null tree
6204 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6205echo "$as_me: error: cannot find input file: $f" >&2;}
6206 { (exit 1); exit 1; }; }
6207 fi;;
6208 esac
6209 done` || { (exit 1); exit 1; }
6210 # Remove the trailing spaces.
6211 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6212
6213_ACEOF
6214
6215# Transform confdefs.h into two sed scripts, `conftest.defines' and
6216# `conftest.undefs', that substitutes the proper values into
6217# config.h.in to produce config.h. The first handles `#define'
6218# templates, and the second `#undef' templates.
6219# And first: Protect against being on the right side of a sed subst in
6220# config.status. Protect against being in an unquoted here document
6221# in config.status.
6222rm -f conftest.defines conftest.undefs
6223# Using a here document instead of a string reduces the quoting nightmare.
6224# Putting comments in sed scripts is not portable.
6225#
6226# `end' is used to avoid that the second main sed command (meant for
6227# 0-ary CPP macros) applies to n-ary macro definitions.
6228# See the Autoconf documentation for `clear'.
6229cat >confdef2sed.sed <<\_ACEOF
6230s/[\\&,]/\\&/g
6231s,[\\$`],\\&,g
6232t clear
6233: clear
6234s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6235t end
6236s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6237: end
6238_ACEOF
6239# If some macros were called several times there might be several times
6240# the same #defines, which is useless. Nevertheless, we may not want to
6241# sort them, since we want the *last* AC-DEFINE to be honored.
6242uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6243sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6244rm -f confdef2sed.sed
6245
6246# This sed command replaces #undef with comments. This is necessary, for
6247# example, in the case of _POSIX_SOURCE, which is predefined and required
6248# on some systems where configure will not decide to define it.
6249cat >>conftest.undefs <<\_ACEOF
6250s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6251_ACEOF
6252
6253# Break up conftest.defines because some shells have a limit on the size
6254# of here documents, and old seds have small limits too (100 cmds).
6255echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6256echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6257echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6258echo ' :' >>$CONFIG_STATUS
6259rm -f conftest.tail
6260while grep . conftest.defines >/dev/null
6261do
6262 # Write a limited-size here document to $tmp/defines.sed.
6263 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6264 # Speed up: don't consider the non `#define' lines.
6265 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6266 # Work around the forget-to-reset-the-flag bug.
6267 echo 't clr' >>$CONFIG_STATUS
6268 echo ': clr' >>$CONFIG_STATUS
6269 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6270 echo 'CEOF
6271 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6272 rm -f $tmp/in
6273 mv $tmp/out $tmp/in
6274' >>$CONFIG_STATUS
6275 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6276 rm -f conftest.defines
6277 mv conftest.tail conftest.defines
6278done
6279rm -f conftest.defines
6280echo ' fi # grep' >>$CONFIG_STATUS
6281echo >>$CONFIG_STATUS
6282
6283# Break up conftest.undefs because some shells have a limit on the size
6284# of here documents, and old seds have small limits too (100 cmds).
6285echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6286rm -f conftest.tail
6287while grep . conftest.undefs >/dev/null
6288do
6289 # Write a limited-size here document to $tmp/undefs.sed.
6290 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6291 # Speed up: don't consider the non `#undef'
6292 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6293 # Work around the forget-to-reset-the-flag bug.
6294 echo 't clr' >>$CONFIG_STATUS
6295 echo ': clr' >>$CONFIG_STATUS
6296 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6297 echo 'CEOF
6298 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6299 rm -f $tmp/in
6300 mv $tmp/out $tmp/in
6301' >>$CONFIG_STATUS
6302 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6303 rm -f conftest.undefs
6304 mv conftest.tail conftest.undefs
6305done
6306rm -f conftest.undefs
6307
6308cat >>$CONFIG_STATUS <<\_ACEOF
6309 # Let's still pretend it is `configure' which instantiates (i.e., don't
6310 # use $as_me), people would be surprised to read:
6311 # /* config.h. Generated by config.status. */
6312 if test x"$ac_file" = x-; then
6313 echo "/* Generated by configure. */" >$tmp/config.h
6314 else
6315 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6316 fi
6317 cat $tmp/in >>$tmp/config.h
6318 rm -f $tmp/in
6319 if test x"$ac_file" != x-; then
6320 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6321 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6322echo "$as_me: $ac_file is unchanged" >&6;}
6323 else
6324 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6325$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6326 X"$ac_file" : 'X\(//\)[^/]' \| \
6327 X"$ac_file" : 'X\(//\)$' \| \
6328 X"$ac_file" : 'X\(/\)' \| \
6329 . : '\(.\)' 2>/dev/null ||
6330echo X"$ac_file" |
6331 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6332 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6333 /^X\(\/\/\)$/{ s//\1/; q; }
6334 /^X\(\/\).*/{ s//\1/; q; }
6335 s/.*/./; q'`
6336 { if $as_mkdir_p; then
6337 mkdir -p "$ac_dir"
6338 else
6339 as_dir="$ac_dir"
6340 as_dirs=
6341 while test ! -d "$as_dir"; do
6342 as_dirs="$as_dir $as_dirs"
6343 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6344$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6345 X"$as_dir" : 'X\(//\)[^/]' \| \
6346 X"$as_dir" : 'X\(//\)$' \| \
6347 X"$as_dir" : 'X\(/\)' \| \
6348 . : '\(.\)' 2>/dev/null ||
6349echo X"$as_dir" |
6350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6351 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6352 /^X\(\/\/\)$/{ s//\1/; q; }
6353 /^X\(\/\).*/{ s//\1/; q; }
6354 s/.*/./; q'`
6355 done
6356 test ! -n "$as_dirs" || mkdir $as_dirs
6357 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6358echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6359 { (exit 1); exit 1; }; }; }
6360
6361 rm -f $ac_file
6362 mv $tmp/config.h $ac_file
6363 fi
6364 else
6365 cat $tmp/config.h
6366 rm -f $tmp/config.h
6367 fi
6368# Compute $ac_file's index in $config_headers.
6369_am_stamp_count=1
6370for _am_header in $config_headers :; do
6371 case $_am_header in
6372 $ac_file | $ac_file:* )
6373 break ;;
6374 * )
6375 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6376 esac
6377done
6378echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6379$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6380 X$ac_file : 'X\(//\)[^/]' \| \
6381 X$ac_file : 'X\(//\)$' \| \
6382 X$ac_file : 'X\(/\)' \| \
6383 . : '\(.\)' 2>/dev/null ||
6384echo X$ac_file |
6385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6386 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6387 /^X\(\/\/\)$/{ s//\1/; q; }
6388 /^X\(\/\).*/{ s//\1/; q; }
6389 s/.*/./; q'`/stamp-h$_am_stamp_count
6390done
6391_ACEOF
6392cat >>$CONFIG_STATUS <<\_ACEOF
6393
6394#
6395# CONFIG_COMMANDS section.
6396#
6397for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6398 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6399 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6400 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6401$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6402 X"$ac_dest" : 'X\(//\)[^/]' \| \
6403 X"$ac_dest" : 'X\(//\)$' \| \
6404 X"$ac_dest" : 'X\(/\)' \| \
6405 . : '\(.\)' 2>/dev/null ||
6406echo X"$ac_dest" |
6407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6408 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6409 /^X\(\/\/\)$/{ s//\1/; q; }
6410 /^X\(\/\).*/{ s//\1/; q; }
6411 s/.*/./; q'`
6412 { if $as_mkdir_p; then
6413 mkdir -p "$ac_dir"
6414 else
6415 as_dir="$ac_dir"
6416 as_dirs=
6417 while test ! -d "$as_dir"; do
6418 as_dirs="$as_dir $as_dirs"
6419 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6420$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6421 X"$as_dir" : 'X\(//\)[^/]' \| \
6422 X"$as_dir" : 'X\(//\)$' \| \
6423 X"$as_dir" : 'X\(/\)' \| \
6424 . : '\(.\)' 2>/dev/null ||
6425echo X"$as_dir" |
6426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6427 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6428 /^X\(\/\/\)$/{ s//\1/; q; }
6429 /^X\(\/\).*/{ s//\1/; q; }
6430 s/.*/./; q'`
6431 done
6432 test ! -n "$as_dirs" || mkdir $as_dirs
6433 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6434echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6435 { (exit 1); exit 1; }; }; }
6436
6437 ac_builddir=.
6438
6439if test "$ac_dir" != .; then
6440 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6441 # A "../" for each directory in $ac_dir_suffix.
6442 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6443else
6444 ac_dir_suffix= ac_top_builddir=
6445fi
6446
6447case $srcdir in
6448 .) # No --srcdir option. We are building in place.
6449 ac_srcdir=.
6450 if test -z "$ac_top_builddir"; then
6451 ac_top_srcdir=.
6452 else
6453 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6454 fi ;;
6455 [\\/]* | ?:[\\/]* ) # Absolute path.
6456 ac_srcdir=$srcdir$ac_dir_suffix;
6457 ac_top_srcdir=$srcdir ;;
6458 *) # Relative path.
6459 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6460 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6461esac
6462
6463# Do not use `cd foo && pwd` to compute absolute paths, because
6464# the directories may not exist.
6465case `pwd` in
6466.) ac_abs_builddir="$ac_dir";;
6467*)
6468 case "$ac_dir" in
6469 .) ac_abs_builddir=`pwd`;;
6470 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6471 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6472 esac;;
6473esac
6474case $ac_abs_builddir in
6475.) ac_abs_top_builddir=${ac_top_builddir}.;;
6476*)
6477 case ${ac_top_builddir}. in
6478 .) ac_abs_top_builddir=$ac_abs_builddir;;
6479 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6480 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6481 esac;;
6482esac
6483case $ac_abs_builddir in
6484.) ac_abs_srcdir=$ac_srcdir;;
6485*)
6486 case $ac_srcdir in
6487 .) ac_abs_srcdir=$ac_abs_builddir;;
6488 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6489 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6490 esac;;
6491esac
6492case $ac_abs_builddir in
6493.) ac_abs_top_srcdir=$ac_top_srcdir;;
6494*)
6495 case $ac_top_srcdir in
6496 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6497 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6498 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6499 esac;;
6500esac
6501
6502
6503 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6504echo "$as_me: executing $ac_dest commands" >&6;}
6505 case $ac_dest in
6506 default-1 )
6507# Only add multilib support code if we just rebuilt the top-level
6508# Makefile.
6509case " $CONFIG_FILES " in
6510 *" Makefile "*)
6511 ac_file=Makefile . ${multi_basedir}/config-ml.in
6512 ;;
6513esac ;;
6514 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6515 # Strip MF so we end up with the name of the file.
6516 mf=`echo "$mf" | sed -e 's/:.*$//'`
6517 # Check whether this is an Automake generated Makefile or not.
6518 # We used to match only the files named `Makefile.in', but
6519 # some people rename them; so instead we look at the file content.
6520 # Grep'ing the first line is not enough: some people post-process
6521 # each Makefile.in and add a new line on top of each file to say so.
6522 # So let's grep whole file.
6523 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6524 dirpart=`(dirname "$mf") 2>/dev/null ||
6525$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6526 X"$mf" : 'X\(//\)[^/]' \| \
6527 X"$mf" : 'X\(//\)$' \| \
6528 X"$mf" : 'X\(/\)' \| \
6529 . : '\(.\)' 2>/dev/null ||
6530echo X"$mf" |
6531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6532 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6533 /^X\(\/\/\)$/{ s//\1/; q; }
6534 /^X\(\/\).*/{ s//\1/; q; }
6535 s/.*/./; q'`
6536 else
6537 continue
6538 fi
6539 # Extract the definition of DEPDIR, am__include, and am__quote
6540 # from the Makefile without running `make'.
6541 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6542 test -z "$DEPDIR" && continue
6543 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6544 test -z "am__include" && continue
6545 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6546 # When using ansi2knr, U may be empty or an underscore; expand it
6547 U=`sed -n 's/^U = //p' < "$mf"`
6548 # Find all dependency output files, they are included files with
6549 # $(DEPDIR) in their names. We invoke sed twice because it is the
6550 # simplest approach to changing $(DEPDIR) to its actual value in the
6551 # expansion.
6552 for file in `sed -n "
6553 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6554 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6555 # Make sure the directory exists.
6556 test -f "$dirpart/$file" && continue
6557 fdir=`(dirname "$file") 2>/dev/null ||
6558$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6559 X"$file" : 'X\(//\)[^/]' \| \
6560 X"$file" : 'X\(//\)$' \| \
6561 X"$file" : 'X\(/\)' \| \
6562 . : '\(.\)' 2>/dev/null ||
6563echo X"$file" |
6564 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6565 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6566 /^X\(\/\/\)$/{ s//\1/; q; }
6567 /^X\(\/\).*/{ s//\1/; q; }
6568 s/.*/./; q'`
6569 { if $as_mkdir_p; then
6570 mkdir -p $dirpart/$fdir
6571 else
6572 as_dir=$dirpart/$fdir
6573 as_dirs=
6574 while test ! -d "$as_dir"; do
6575 as_dirs="$as_dir $as_dirs"
6576 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6577$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6578 X"$as_dir" : 'X\(//\)[^/]' \| \
6579 X"$as_dir" : 'X\(//\)$' \| \
6580 X"$as_dir" : 'X\(/\)' \| \
6581 . : '\(.\)' 2>/dev/null ||
6582echo X"$as_dir" |
6583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6584 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6585 /^X\(\/\/\)$/{ s//\1/; q; }
6586 /^X\(\/\).*/{ s//\1/; q; }
6587 s/.*/./; q'`
6588 done
6589 test ! -n "$as_dirs" || mkdir $as_dirs
6590 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6591echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6592 { (exit 1); exit 1; }; }; }
6593
6594 # echo "creating $dirpart/$file"
6595 echo '# dummy' > "$dirpart/$file"
6596 done
6597done
6598 ;;
6599 esac
6600done
6601_ACEOF
6602
6603cat >>$CONFIG_STATUS <<\_ACEOF
6604
6605{ (exit 0); exit 0; }
6606_ACEOF
6607chmod +x $CONFIG_STATUS
6608ac_clean_files=$ac_clean_files_save
6609
6610
6611# configure is writing to config.log, and then calls config.status.
6612# config.status does its own redirection, appending to config.log.
6613# Unfortunately, on DOS this fails, as config.log is still kept open
6614# by configure, so config.status won't be able to write to it; its
6615# output is simply discarded. So we exec the FD to /dev/null,
6616# effectively closing config.log, so it can be properly (re)opened and
6617# appended to by config.status. When coming back to configure, we
6618# need to make the FD available again.
6619if test "$no_create" != yes; then
6620 ac_cs_success=:
6621 ac_config_status_args=
6622 test "$silent" = yes &&
6623 ac_config_status_args="$ac_config_status_args --quiet"
6624 exec 5>/dev/null
6625 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6626 exec 5>>config.log
6627 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6628 # would make configure fail if this is the last instruction.
6629 $ac_cs_success || { (exit 1); exit 1; }
6630fi
6631