OSDN Git Service

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