rsa.c: Check public key length.
[secnet] / configure
CommitLineData
94759fd3
IJ
1#! /bin/sh
2# From configure.in Id: configure.in.
3# Guess values for system-dependent variables and create Makefiles.
00152558 4# Generated by GNU Autoconf 2.67 for secnet 0.1.18+.
94759fd3
IJ
5#
6# Report bugs to <secnet@chiark.greenend.org.uk>.
7#
8#
9# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11# Foundation, Inc.
12#
13#
14# This configure script is free software; the Free Software Foundation
15# gives unlimited permission to copy, distribute and modify it.
16## -------------------- ##
17## M4sh Initialization. ##
18## -------------------- ##
19
20# Be more Bourne compatible
21DUALCASE=1; export DUALCASE # for MKS sh
22if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29else
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
34 ;;
35esac
36fi
37
38
39as_nl='
40'
41export as_nl
42# Printing a long string crashes Solaris 7 /usr/bin/printf.
43as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46# Prefer a ksh shell builtin over an external printf program on Solaris,
47# but without wasting forks for bash or zsh.
48if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='print -r --'
51 as_echo_n='print -rn --'
52elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 as_echo='printf %s\n'
54 as_echo_n='printf %s'
55else
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58 as_echo_n='/usr/ucb/echo -n'
59 else
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61 as_echo_n_body='eval
62 arg=$1;
63 case $arg in #(
64 *"$as_nl"*)
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 esac;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 '
70 export as_echo_n_body
71 as_echo_n='sh -c $as_echo_n_body as_echo'
72 fi
73 export as_echo_body
74 as_echo='sh -c $as_echo_body as_echo'
75fi
76
77# The user is always right.
78if test "${PATH_SEPARATOR+set}" != set; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84fi
85
86
87# IFS
88# We need space, tab and new line, in precisely that order. Quoting is
89# there to prevent editors from complaining about space-tab.
90# (If _AS_PATH_WALK were called with IFS unset, it would disable word
91# splitting by setting IFS to empty value.)
92IFS=" "" $as_nl"
93
94# Find who we are. Look in the path if we contain no directory separator.
95case $0 in #((
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100 IFS=$as_save_IFS
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
104IFS=$as_save_IFS
105
106 ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111 as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there. '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
152 ;;
153esac
154fi
155"
156 as_required="as_fn_return () { (exit \$1); }
157as_fn_success () { as_fn_return 0; }
158as_fn_failure () { as_fn_return 1; }
159as_fn_ret_success () { return 0; }
160as_fn_ret_failure () { return 1; }
161
162exitcode=0
163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169else
170 exitcode=1; echo positional parameters were not saved.
171fi
172test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
179 as_have_required=yes
180else
181 as_have_required=no
182fi
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185else
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187as_found=false
188for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189do
190 IFS=$as_save_IFS
191 test -z "$as_dir" && as_dir=.
192 as_found=:
193 case $as_dir in #(
194 /*)
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202 break 2
203fi
204fi
205 done;;
206 esac
207 as_found=false
208done
209$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
212fi; }
213IFS=$as_save_IFS
214
215
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 BASH_ENV=/dev/null
221 ENV=/dev/null
222 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 export CONFIG_SHELL
224 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
225fi
226
227 if test x$as_have_required = xno; then :
228 $as_echo "$0: This script requires a shell more modern than all"
229 $as_echo "$0: the shells that I found on your system."
230 if test x${ZSH_VERSION+set} = xset ; then
231 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
232 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 else
234 $as_echo "$0: Please tell bug-autoconf@gnu.org and
235$0: secnet@chiark.greenend.org.uk about your system,
236$0: including any error possibly output before this
237$0: message. Then install a modern shell, or manually run
238$0: the script under such a shell if you do have one."
239 fi
240 exit 1
241fi
242fi
243fi
244SHELL=${CONFIG_SHELL-/bin/sh}
245export SHELL
246# Unset more variables known to interfere with behavior of common tools.
247CLICOLOR_FORCE= GREP_OPTIONS=
248unset CLICOLOR_FORCE GREP_OPTIONS
249
250## --------------------- ##
251## M4sh Shell Functions. ##
252## --------------------- ##
253# as_fn_unset VAR
254# ---------------
255# Portably unset VAR.
256as_fn_unset ()
257{
258 { eval $1=; unset $1;}
259}
260as_unset=as_fn_unset
261
262# as_fn_set_status STATUS
263# -----------------------
264# Set $? to STATUS, without forking.
265as_fn_set_status ()
266{
267 return $1
268} # as_fn_set_status
269
270# as_fn_exit STATUS
271# -----------------
272# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
273as_fn_exit ()
274{
275 set +e
276 as_fn_set_status $1
277 exit $1
278} # as_fn_exit
279
280# as_fn_mkdir_p
281# -------------
282# Create "$as_dir" as a directory, including parents if necessary.
283as_fn_mkdir_p ()
284{
285
286 case $as_dir in #(
287 -*) as_dir=./$as_dir;;
288 esac
289 test -d "$as_dir" || eval $as_mkdir_p || {
290 as_dirs=
291 while :; do
292 case $as_dir in #(
293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294 *) as_qdir=$as_dir;;
295 esac
296 as_dirs="'$as_qdir' $as_dirs"
297 as_dir=`$as_dirname -- "$as_dir" ||
298$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 X"$as_dir" : 'X\(//\)[^/]' \| \
300 X"$as_dir" : 'X\(//\)$' \| \
301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302$as_echo X"$as_dir" |
303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
304 s//\1/
305 q
306 }
307 /^X\(\/\/\)[^/].*/{
308 s//\1/
309 q
310 }
311 /^X\(\/\/\)$/{
312 s//\1/
313 q
314 }
315 /^X\(\/\).*/{
316 s//\1/
317 q
318 }
319 s/.*/./; q'`
320 test -d "$as_dir" && break
321 done
322 test -z "$as_dirs" || eval "mkdir $as_dirs"
323 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
324
325
326} # as_fn_mkdir_p
327# as_fn_append VAR VALUE
328# ----------------------
329# Append the text in VALUE to the end of the definition contained in VAR. Take
330# advantage of any shell optimizations that allow amortized linear growth over
331# repeated appends, instead of the typical quadratic growth present in naive
332# implementations.
333if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334 eval 'as_fn_append ()
335 {
336 eval $1+=\$2
337 }'
338else
339 as_fn_append ()
340 {
341 eval $1=\$$1\$2
342 }
343fi # as_fn_append
344
345# as_fn_arith ARG...
346# ------------------
347# Perform arithmetic evaluation on the ARGs, and store the result in the
348# global $as_val. Take advantage of shells that can avoid forks. The arguments
349# must be portable across $(()) and expr.
350if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
351 eval 'as_fn_arith ()
352 {
353 as_val=$(( $* ))
354 }'
355else
356 as_fn_arith ()
357 {
358 as_val=`expr "$@" || test $? -eq 1`
359 }
360fi # as_fn_arith
361
362
363# as_fn_error STATUS ERROR [LINENO LOG_FD]
364# ----------------------------------------
365# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367# script with STATUS, using 1 if that was 0.
368as_fn_error ()
369{
370 as_status=$1; test $as_status -eq 0 && as_status=1
371 if test "$4"; then
372 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 fi
375 $as_echo "$as_me: error: $2" >&2
376 as_fn_exit $as_status
377} # as_fn_error
378
379if expr a : '\(a\)' >/dev/null 2>&1 &&
380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
381 as_expr=expr
382else
383 as_expr=false
384fi
385
386if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387 as_basename=basename
388else
389 as_basename=false
390fi
391
392if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393 as_dirname=dirname
394else
395 as_dirname=false
396fi
397
398as_me=`$as_basename -- "$0" ||
399$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400 X"$0" : 'X\(//\)$' \| \
401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402$as_echo X/"$0" |
403 sed '/^.*\/\([^/][^/]*\)\/*$/{
404 s//\1/
405 q
406 }
407 /^X\/\(\/\/\)$/{
408 s//\1/
409 q
410 }
411 /^X\/\(\/\).*/{
412 s//\1/
413 q
414 }
415 s/.*/./; q'`
416
417# Avoid depending upon Character Ranges.
418as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421as_cr_digits='0123456789'
422as_cr_alnum=$as_cr_Letters$as_cr_digits
423
424
425 as_lineno_1=$LINENO as_lineno_1a=$LINENO
426 as_lineno_2=$LINENO as_lineno_2a=$LINENO
427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
430 sed -n '
431 p
432 /[$]LINENO/=
433 ' <$as_myself |
434 sed '
435 s/[$]LINENO.*/&-/
436 t lineno
437 b
438 :lineno
439 N
440 :loop
441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442 t loop
443 s/-\n.*//
444 ' >$as_me.lineno &&
445 chmod +x "$as_me.lineno" ||
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447
448 # Don't try to exec as it changes $[0], causing all sort of problems
449 # (the dirname of $[0] is not the place where we might find the
450 # original and so on. Autoconf is especially sensitive to this).
451 . "./$as_me.lineno"
452 # Exit status is that of the last command.
453 exit
454}
455
456ECHO_C= ECHO_N= ECHO_T=
457case `echo -n x` in #(((((
458-n*)
459 case `echo 'xy\c'` in
460 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 xy) ECHO_C='\c';;
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
463 ECHO_T=' ';;
464 esac;;
465*)
466 ECHO_N='-n';;
467esac
468
469rm -f conf$$ conf$$.exe conf$$.file
470if test -d conf$$.dir; then
471 rm -f conf$$.dir/conf$$.file
472else
473 rm -f conf$$.dir
474 mkdir conf$$.dir 2>/dev/null
475fi
476if (echo >conf$$.file) 2>/dev/null; then
477 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 as_ln_s='ln -s'
479 # ... but there are two gotchas:
480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482 # In both cases, we have to default to `cp -p'.
483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 as_ln_s='cp -p'
485 elif ln conf$$.file conf$$ 2>/dev/null; then
486 as_ln_s=ln
487 else
488 as_ln_s='cp -p'
489 fi
490else
491 as_ln_s='cp -p'
492fi
493rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494rmdir conf$$.dir 2>/dev/null
495
496if mkdir -p . 2>/dev/null; then
497 as_mkdir_p='mkdir -p "$as_dir"'
498else
499 test -d ./-p && rmdir ./-p
500 as_mkdir_p=false
501fi
502
503if test -x / >/dev/null 2>&1; then
504 as_test_x='test -x'
505else
506 if ls -dL / >/dev/null 2>&1; then
507 as_ls_L_option=L
508 else
509 as_ls_L_option=
510 fi
511 as_test_x='
512 eval sh -c '\''
513 if test -d "$1"; then
514 test -d "$1/.";
515 else
516 case $1 in #(
517 -*)set "./$1";;
518 esac;
519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 ???[sx]*):;;*)false;;esac;fi
521 '\'' sh
522 '
523fi
524as_executable_p=$as_test_x
525
526# Sed expression to map a string onto a valid CPP name.
527as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
529# Sed expression to map a string onto a valid variable name.
530as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531
532
533test -n "$DJDIR" || exec 7<&0 </dev/null
534exec 6>&1
535
536# Name of the host.
537# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
538# so uname gets run too.
539ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540
541#
542# Initializations.
543#
544ac_default_prefix=/usr/local
545ac_clean_files=
546ac_config_libobj_dir=.
547LIBOBJS=
548cross_compiling=no
549subdirs=
550MFLAGS=
551MAKEFLAGS=
552
553# Identity of this package.
554PACKAGE_NAME='secnet'
555PACKAGE_TARNAME='secnet'
00152558
RK
556PACKAGE_VERSION='0.1.18+'
557PACKAGE_STRING='secnet 0.1.18+'
94759fd3
IJ
558PACKAGE_BUGREPORT='secnet@chiark.greenend.org.uk'
559PACKAGE_URL=''
560
561ac_unique_file="secnet.c"
562# Factoring default headers for most tests.
563ac_includes_default="\
564#include <stdio.h>
565#ifdef HAVE_SYS_TYPES_H
566# include <sys/types.h>
567#endif
568#ifdef HAVE_SYS_STAT_H
569# include <sys/stat.h>
570#endif
571#ifdef STDC_HEADERS
572# include <stdlib.h>
573# include <stddef.h>
574#else
575# ifdef HAVE_STDLIB_H
576# include <stdlib.h>
577# endif
578#endif
579#ifdef HAVE_STRING_H
580# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581# include <memory.h>
582# endif
583# include <string.h>
584#endif
585#ifdef HAVE_STRINGS_H
586# include <strings.h>
587#endif
588#ifdef HAVE_INTTYPES_H
589# include <inttypes.h>
590#endif
591#ifdef HAVE_STDINT_H
592# include <stdint.h>
593#endif
594#ifdef HAVE_UNISTD_H
595# include <unistd.h>
596#endif"
597
598ac_subst_vars='LTLIBOBJS
599LIBOBJS
600WRITESTRINGS
601EGREP
602GREP
603CPP
604RM
605INSTALL_DATA
606INSTALL_SCRIPT
607INSTALL_PROGRAM
608OBJEXT
609EXEEXT
610ac_ct_CC
611CPPFLAGS
612LDFLAGS
613CFLAGS
614CC
615SET_MAKE
44bdf5ac 616FINK
94759fd3
IJ
617target_alias
618host_alias
619build_alias
620LIBS
621ECHO_T
622ECHO_N
623ECHO_C
624DEFS
625mandir
626localedir
627libdir
628psdir
629pdfdir
630dvidir
631htmldir
632infodir
633docdir
634oldincludedir
635includedir
636localstatedir
637sharedstatedir
638sysconfdir
639datadir
640datarootdir
641libexecdir
642sbindir
643bindir
644program_transform_name
645prefix
646exec_prefix
647PACKAGE_URL
648PACKAGE_BUGREPORT
649PACKAGE_STRING
650PACKAGE_VERSION
651PACKAGE_TARNAME
652PACKAGE_NAME
653PATH_SEPARATOR
654SHELL'
655ac_subst_files=''
656ac_user_opts='
657enable_option_checking
e1b81bd6 658enable_hacky_parallel
94759fd3
IJ
659'
660 ac_precious_vars='build_alias
661host_alias
662target_alias
663CC
664CFLAGS
665LDFLAGS
666LIBS
667CPPFLAGS
668CPP'
669
670
671# Initialize some variables set by options.
672ac_init_help=
673ac_init_version=false
674ac_unrecognized_opts=
675ac_unrecognized_sep=
676# The variables have the same names as the options, with
677# dashes changed to underlines.
678cache_file=/dev/null
679exec_prefix=NONE
680no_create=
681no_recursion=
682prefix=NONE
683program_prefix=NONE
684program_suffix=NONE
685program_transform_name=s,x,x,
686silent=
687site=
688srcdir=
689verbose=
690x_includes=NONE
691x_libraries=NONE
692
693# Installation directory options.
694# These are left unexpanded so users can "make install exec_prefix=/foo"
695# and all the variables that are supposed to be based on exec_prefix
696# by default will actually change.
697# Use braces instead of parens because sh, perl, etc. also accept them.
698# (The list follows the same order as the GNU Coding Standards.)
699bindir='${exec_prefix}/bin'
700sbindir='${exec_prefix}/sbin'
701libexecdir='${exec_prefix}/libexec'
702datarootdir='${prefix}/share'
703datadir='${datarootdir}'
704sysconfdir='${prefix}/etc'
705sharedstatedir='${prefix}/com'
706localstatedir='${prefix}/var'
707includedir='${prefix}/include'
708oldincludedir='/usr/include'
709docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
710infodir='${datarootdir}/info'
711htmldir='${docdir}'
712dvidir='${docdir}'
713pdfdir='${docdir}'
714psdir='${docdir}'
715libdir='${exec_prefix}/lib'
716localedir='${datarootdir}/locale'
717mandir='${datarootdir}/man'
718
719ac_prev=
720ac_dashdash=
721for ac_option
722do
723 # If the previous option needs an argument, assign it.
724 if test -n "$ac_prev"; then
725 eval $ac_prev=\$ac_option
726 ac_prev=
727 continue
728 fi
729
730 case $ac_option in
731 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
732 *=) ac_optarg= ;;
733 *) ac_optarg=yes ;;
734 esac
735
736 # Accept the important Cygnus configure options, so we can diagnose typos.
737
738 case $ac_dashdash$ac_option in
739 --)
740 ac_dashdash=yes ;;
741
742 -bindir | --bindir | --bindi | --bind | --bin | --bi)
743 ac_prev=bindir ;;
744 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
745 bindir=$ac_optarg ;;
746
747 -build | --build | --buil | --bui | --bu)
748 ac_prev=build_alias ;;
749 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
750 build_alias=$ac_optarg ;;
751
752 -cache-file | --cache-file | --cache-fil | --cache-fi \
753 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
754 ac_prev=cache_file ;;
755 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
756 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
757 cache_file=$ac_optarg ;;
758
759 --config-cache | -C)
760 cache_file=config.cache ;;
761
762 -datadir | --datadir | --datadi | --datad)
763 ac_prev=datadir ;;
764 -datadir=* | --datadir=* | --datadi=* | --datad=*)
765 datadir=$ac_optarg ;;
766
767 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
768 | --dataroo | --dataro | --datar)
769 ac_prev=datarootdir ;;
770 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
771 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
772 datarootdir=$ac_optarg ;;
773
774 -disable-* | --disable-*)
775 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
776 # Reject names that are not valid shell variable names.
777 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
778 as_fn_error $? "invalid feature name: $ac_useropt"
779 ac_useropt_orig=$ac_useropt
780 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
781 case $ac_user_opts in
782 *"
783"enable_$ac_useropt"
784"*) ;;
785 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
786 ac_unrecognized_sep=', ';;
787 esac
788 eval enable_$ac_useropt=no ;;
789
790 -docdir | --docdir | --docdi | --doc | --do)
791 ac_prev=docdir ;;
792 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
793 docdir=$ac_optarg ;;
794
795 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
796 ac_prev=dvidir ;;
797 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
798 dvidir=$ac_optarg ;;
799
800 -enable-* | --enable-*)
801 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
802 # Reject names that are not valid shell variable names.
803 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
804 as_fn_error $? "invalid feature name: $ac_useropt"
805 ac_useropt_orig=$ac_useropt
806 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
807 case $ac_user_opts in
808 *"
809"enable_$ac_useropt"
810"*) ;;
811 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
812 ac_unrecognized_sep=', ';;
813 esac
814 eval enable_$ac_useropt=\$ac_optarg ;;
815
816 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
817 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
818 | --exec | --exe | --ex)
819 ac_prev=exec_prefix ;;
820 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
821 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
822 | --exec=* | --exe=* | --ex=*)
823 exec_prefix=$ac_optarg ;;
824
825 -gas | --gas | --ga | --g)
826 # Obsolete; use --with-gas.
827 with_gas=yes ;;
828
829 -help | --help | --hel | --he | -h)
830 ac_init_help=long ;;
831 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
832 ac_init_help=recursive ;;
833 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
834 ac_init_help=short ;;
835
836 -host | --host | --hos | --ho)
837 ac_prev=host_alias ;;
838 -host=* | --host=* | --hos=* | --ho=*)
839 host_alias=$ac_optarg ;;
840
841 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
842 ac_prev=htmldir ;;
843 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
844 | --ht=*)
845 htmldir=$ac_optarg ;;
846
847 -includedir | --includedir | --includedi | --included | --include \
848 | --includ | --inclu | --incl | --inc)
849 ac_prev=includedir ;;
850 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
851 | --includ=* | --inclu=* | --incl=* | --inc=*)
852 includedir=$ac_optarg ;;
853
854 -infodir | --infodir | --infodi | --infod | --info | --inf)
855 ac_prev=infodir ;;
856 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
857 infodir=$ac_optarg ;;
858
859 -libdir | --libdir | --libdi | --libd)
860 ac_prev=libdir ;;
861 -libdir=* | --libdir=* | --libdi=* | --libd=*)
862 libdir=$ac_optarg ;;
863
864 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
865 | --libexe | --libex | --libe)
866 ac_prev=libexecdir ;;
867 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
868 | --libexe=* | --libex=* | --libe=*)
869 libexecdir=$ac_optarg ;;
870
871 -localedir | --localedir | --localedi | --localed | --locale)
872 ac_prev=localedir ;;
873 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
874 localedir=$ac_optarg ;;
875
876 -localstatedir | --localstatedir | --localstatedi | --localstated \
877 | --localstate | --localstat | --localsta | --localst | --locals)
878 ac_prev=localstatedir ;;
879 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
880 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
881 localstatedir=$ac_optarg ;;
882
883 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
884 ac_prev=mandir ;;
885 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
886 mandir=$ac_optarg ;;
887
888 -nfp | --nfp | --nf)
889 # Obsolete; use --without-fp.
890 with_fp=no ;;
891
892 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
893 | --no-cr | --no-c | -n)
894 no_create=yes ;;
895
896 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
897 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
898 no_recursion=yes ;;
899
900 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
901 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
902 | --oldin | --oldi | --old | --ol | --o)
903 ac_prev=oldincludedir ;;
904 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
905 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
906 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
907 oldincludedir=$ac_optarg ;;
908
909 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
910 ac_prev=prefix ;;
911 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
912 prefix=$ac_optarg ;;
913
914 -program-prefix | --program-prefix | --program-prefi | --program-pref \
915 | --program-pre | --program-pr | --program-p)
916 ac_prev=program_prefix ;;
917 -program-prefix=* | --program-prefix=* | --program-prefi=* \
918 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
919 program_prefix=$ac_optarg ;;
920
921 -program-suffix | --program-suffix | --program-suffi | --program-suff \
922 | --program-suf | --program-su | --program-s)
923 ac_prev=program_suffix ;;
924 -program-suffix=* | --program-suffix=* | --program-suffi=* \
925 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
926 program_suffix=$ac_optarg ;;
927
928 -program-transform-name | --program-transform-name \
929 | --program-transform-nam | --program-transform-na \
930 | --program-transform-n | --program-transform- \
931 | --program-transform | --program-transfor \
932 | --program-transfo | --program-transf \
933 | --program-trans | --program-tran \
934 | --progr-tra | --program-tr | --program-t)
935 ac_prev=program_transform_name ;;
936 -program-transform-name=* | --program-transform-name=* \
937 | --program-transform-nam=* | --program-transform-na=* \
938 | --program-transform-n=* | --program-transform-=* \
939 | --program-transform=* | --program-transfor=* \
940 | --program-transfo=* | --program-transf=* \
941 | --program-trans=* | --program-tran=* \
942 | --progr-tra=* | --program-tr=* | --program-t=*)
943 program_transform_name=$ac_optarg ;;
944
945 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
946 ac_prev=pdfdir ;;
947 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
948 pdfdir=$ac_optarg ;;
949
950 -psdir | --psdir | --psdi | --psd | --ps)
951 ac_prev=psdir ;;
952 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
953 psdir=$ac_optarg ;;
954
955 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
956 | -silent | --silent | --silen | --sile | --sil)
957 silent=yes ;;
958
959 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
960 ac_prev=sbindir ;;
961 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
962 | --sbi=* | --sb=*)
963 sbindir=$ac_optarg ;;
964
965 -sharedstatedir | --sharedstatedir | --sharedstatedi \
966 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
967 | --sharedst | --shareds | --shared | --share | --shar \
968 | --sha | --sh)
969 ac_prev=sharedstatedir ;;
970 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
971 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
972 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
973 | --sha=* | --sh=*)
974 sharedstatedir=$ac_optarg ;;
975
976 -site | --site | --sit)
977 ac_prev=site ;;
978 -site=* | --site=* | --sit=*)
979 site=$ac_optarg ;;
980
981 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
982 ac_prev=srcdir ;;
983 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
984 srcdir=$ac_optarg ;;
985
986 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
987 | --syscon | --sysco | --sysc | --sys | --sy)
988 ac_prev=sysconfdir ;;
989 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
990 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
991 sysconfdir=$ac_optarg ;;
992
993 -target | --target | --targe | --targ | --tar | --ta | --t)
994 ac_prev=target_alias ;;
995 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
996 target_alias=$ac_optarg ;;
997
998 -v | -verbose | --verbose | --verbos | --verbo | --verb)
999 verbose=yes ;;
1000
1001 -version | --version | --versio | --versi | --vers | -V)
1002 ac_init_version=: ;;
1003
1004 -with-* | --with-*)
1005 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1008 as_fn_error $? "invalid package name: $ac_useropt"
1009 ac_useropt_orig=$ac_useropt
1010 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1011 case $ac_user_opts in
1012 *"
1013"with_$ac_useropt"
1014"*) ;;
1015 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1016 ac_unrecognized_sep=', ';;
1017 esac
1018 eval with_$ac_useropt=\$ac_optarg ;;
1019
1020 -without-* | --without-*)
1021 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024 as_fn_error $? "invalid package name: $ac_useropt"
1025 ac_useropt_orig=$ac_useropt
1026 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027 case $ac_user_opts in
1028 *"
1029"with_$ac_useropt"
1030"*) ;;
1031 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1032 ac_unrecognized_sep=', ';;
1033 esac
1034 eval with_$ac_useropt=no ;;
1035
1036 --x)
1037 # Obsolete; use --with-x.
1038 with_x=yes ;;
1039
1040 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1041 | --x-incl | --x-inc | --x-in | --x-i)
1042 ac_prev=x_includes ;;
1043 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1044 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1045 x_includes=$ac_optarg ;;
1046
1047 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1048 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1049 ac_prev=x_libraries ;;
1050 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1051 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1052 x_libraries=$ac_optarg ;;
1053
1054 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1055Try \`$0 --help' for more information"
1056 ;;
1057
1058 *=*)
1059 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1060 # Reject names that are not valid shell variable names.
1061 case $ac_envvar in #(
1062 '' | [0-9]* | *[!_$as_cr_alnum]* )
1063 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1064 esac
1065 eval $ac_envvar=\$ac_optarg
1066 export $ac_envvar ;;
1067
1068 *)
1069 # FIXME: should be removed in autoconf 3.0.
1070 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1071 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1072 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1073 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1074 ;;
1075
1076 esac
1077done
1078
1079if test -n "$ac_prev"; then
1080 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1081 as_fn_error $? "missing argument to $ac_option"
1082fi
1083
1084if test -n "$ac_unrecognized_opts"; then
1085 case $enable_option_checking in
1086 no) ;;
1087 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1088 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1089 esac
1090fi
1091
1092# Check all directory arguments for consistency.
1093for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1094 datadir sysconfdir sharedstatedir localstatedir includedir \
1095 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1096 libdir localedir mandir
1097do
1098 eval ac_val=\$$ac_var
1099 # Remove trailing slashes.
1100 case $ac_val in
1101 */ )
1102 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1103 eval $ac_var=\$ac_val;;
1104 esac
1105 # Be sure to have absolute directory names.
1106 case $ac_val in
1107 [\\/$]* | ?:[\\/]* ) continue;;
1108 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1109 esac
1110 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1111done
1112
1113# There might be people who depend on the old broken behavior: `$host'
1114# used to hold the argument of --host etc.
1115# FIXME: To remove some day.
1116build=$build_alias
1117host=$host_alias
1118target=$target_alias
1119
1120# FIXME: To remove some day.
1121if test "x$host_alias" != x; then
1122 if test "x$build_alias" = x; then
1123 cross_compiling=maybe
1124 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1125 If a cross compiler is detected then cross compile mode will be used" >&2
1126 elif test "x$build_alias" != "x$host_alias"; then
1127 cross_compiling=yes
1128 fi
1129fi
1130
1131ac_tool_prefix=
1132test -n "$host_alias" && ac_tool_prefix=$host_alias-
1133
1134test "$silent" = yes && exec 6>/dev/null
1135
1136
1137ac_pwd=`pwd` && test -n "$ac_pwd" &&
1138ac_ls_di=`ls -di .` &&
1139ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1140 as_fn_error $? "working directory cannot be determined"
1141test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1142 as_fn_error $? "pwd does not report name of working directory"
1143
1144
1145# Find the source files, if location was not specified.
1146if test -z "$srcdir"; then
1147 ac_srcdir_defaulted=yes
1148 # Try the directory containing this script, then the parent directory.
1149 ac_confdir=`$as_dirname -- "$as_myself" ||
1150$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1151 X"$as_myself" : 'X\(//\)[^/]' \| \
1152 X"$as_myself" : 'X\(//\)$' \| \
1153 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1154$as_echo X"$as_myself" |
1155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1156 s//\1/
1157 q
1158 }
1159 /^X\(\/\/\)[^/].*/{
1160 s//\1/
1161 q
1162 }
1163 /^X\(\/\/\)$/{
1164 s//\1/
1165 q
1166 }
1167 /^X\(\/\).*/{
1168 s//\1/
1169 q
1170 }
1171 s/.*/./; q'`
1172 srcdir=$ac_confdir
1173 if test ! -r "$srcdir/$ac_unique_file"; then
1174 srcdir=..
1175 fi
1176else
1177 ac_srcdir_defaulted=no
1178fi
1179if test ! -r "$srcdir/$ac_unique_file"; then
1180 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1181 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1182fi
1183ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1184ac_abs_confdir=`(
1185 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1186 pwd)`
1187# When building in place, set srcdir=.
1188if test "$ac_abs_confdir" = "$ac_pwd"; then
1189 srcdir=.
1190fi
1191# Remove unnecessary trailing slashes from srcdir.
1192# Double slashes in file names in object file debugging info
1193# mess up M-x gdb in Emacs.
1194case $srcdir in
1195*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1196esac
1197for ac_var in $ac_precious_vars; do
1198 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1199 eval ac_env_${ac_var}_value=\$${ac_var}
1200 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1201 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1202done
1203
1204#
1205# Report the --help message.
1206#
1207if test "$ac_init_help" = "long"; then
1208 # Omit some internal or obsolete options to make the list less imposing.
1209 # This message is too long to be a string in the A/UX 3.1 sh.
1210 cat <<_ACEOF
00152558 1211\`configure' configures secnet 0.1.18+ to adapt to many kinds of systems.
94759fd3
IJ
1212
1213Usage: $0 [OPTION]... [VAR=VALUE]...
1214
1215To assign environment variables (e.g., CC, CFLAGS...), specify them as
1216VAR=VALUE. See below for descriptions of some of the useful variables.
1217
1218Defaults for the options are specified in brackets.
1219
1220Configuration:
1221 -h, --help display this help and exit
1222 --help=short display options specific to this package
1223 --help=recursive display the short help of all the included packages
1224 -V, --version display version information and exit
1225 -q, --quiet, --silent do not print \`checking ...' messages
1226 --cache-file=FILE cache test results in FILE [disabled]
1227 -C, --config-cache alias for \`--cache-file=config.cache'
1228 -n, --no-create do not create output files
1229 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1230
1231Installation directories:
1232 --prefix=PREFIX install architecture-independent files in PREFIX
1233 [$ac_default_prefix]
1234 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1235 [PREFIX]
1236
1237By default, \`make install' will install all the files in
1238\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1239an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1240for instance \`--prefix=\$HOME'.
1241
1242For better control, use the options below.
1243
1244Fine tuning of the installation directories:
1245 --bindir=DIR user executables [EPREFIX/bin]
1246 --sbindir=DIR system admin executables [EPREFIX/sbin]
1247 --libexecdir=DIR program executables [EPREFIX/libexec]
1248 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1249 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1250 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1251 --libdir=DIR object code libraries [EPREFIX/lib]
1252 --includedir=DIR C header files [PREFIX/include]
1253 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1254 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1255 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1256 --infodir=DIR info documentation [DATAROOTDIR/info]
1257 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1258 --mandir=DIR man documentation [DATAROOTDIR/man]
1259 --docdir=DIR documentation root [DATAROOTDIR/doc/secnet]
1260 --htmldir=DIR html documentation [DOCDIR]
1261 --dvidir=DIR dvi documentation [DOCDIR]
1262 --pdfdir=DIR pdf documentation [DOCDIR]
1263 --psdir=DIR ps documentation [DOCDIR]
1264_ACEOF
1265
1266 cat <<\_ACEOF
1267_ACEOF
1268fi
1269
1270if test -n "$ac_init_help"; then
1271 case $ac_init_help in
00152558 1272 short | recursive ) echo "Configuration of secnet 0.1.18+:";;
94759fd3
IJ
1273 esac
1274 cat <<\_ACEOF
1275
e1b81bd6
IJ
1276Optional Features:
1277 --disable-option-checking ignore unrecognized --enable/--with options
1278 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1279 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1280 --enable-hacky-parallel parallelise slow cryptography (default is no)
1281
94759fd3
IJ
1282Some influential environment variables:
1283 CC C compiler command
1284 CFLAGS C compiler flags
1285 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1286 nonstandard directory <lib dir>
1287 LIBS libraries to pass to the linker, e.g. -l<library>
1288 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1289 you have headers in a nonstandard directory <include dir>
1290 CPP C preprocessor
1291
1292Use these variables to override the choices made by `configure' or to help
1293it to find libraries and programs with nonstandard names/locations.
1294
1295Report bugs to <secnet@chiark.greenend.org.uk>.
1296_ACEOF
1297ac_status=$?
1298fi
1299
1300if test "$ac_init_help" = "recursive"; then
1301 # If there are subdirs, report their specific --help.
1302 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1303 test -d "$ac_dir" ||
1304 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1305 continue
1306 ac_builddir=.
1307
1308case "$ac_dir" in
1309.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1310*)
1311 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1312 # A ".." for each directory in $ac_dir_suffix.
1313 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1314 case $ac_top_builddir_sub in
1315 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1316 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1317 esac ;;
1318esac
1319ac_abs_top_builddir=$ac_pwd
1320ac_abs_builddir=$ac_pwd$ac_dir_suffix
1321# for backward compatibility:
1322ac_top_builddir=$ac_top_build_prefix
1323
1324case $srcdir in
1325 .) # We are building in place.
1326 ac_srcdir=.
1327 ac_top_srcdir=$ac_top_builddir_sub
1328 ac_abs_top_srcdir=$ac_pwd ;;
1329 [\\/]* | ?:[\\/]* ) # Absolute name.
1330 ac_srcdir=$srcdir$ac_dir_suffix;
1331 ac_top_srcdir=$srcdir
1332 ac_abs_top_srcdir=$srcdir ;;
1333 *) # Relative name.
1334 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1335 ac_top_srcdir=$ac_top_build_prefix$srcdir
1336 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1337esac
1338ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1339
1340 cd "$ac_dir" || { ac_status=$?; continue; }
1341 # Check for guested configure.
1342 if test -f "$ac_srcdir/configure.gnu"; then
1343 echo &&
1344 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1345 elif test -f "$ac_srcdir/configure"; then
1346 echo &&
1347 $SHELL "$ac_srcdir/configure" --help=recursive
1348 else
1349 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1350 fi || ac_status=$?
1351 cd "$ac_pwd" || { ac_status=$?; break; }
1352 done
1353fi
1354
1355test -n "$ac_init_help" && exit $ac_status
1356if $ac_init_version; then
1357 cat <<\_ACEOF
00152558 1358secnet configure 0.1.18+
94759fd3
IJ
1359generated by GNU Autoconf 2.67
1360
1361Copyright (C) 2010 Free Software Foundation, Inc.
1362This configure script is free software; the Free Software Foundation
1363gives unlimited permission to copy, distribute and modify it.
1364_ACEOF
1365 exit
1366fi
1367
1368## ------------------------ ##
1369## Autoconf initialization. ##
1370## ------------------------ ##
1371
1372# ac_fn_c_try_compile LINENO
1373# --------------------------
1374# Try to compile conftest.$ac_ext, and return whether this succeeded.
1375ac_fn_c_try_compile ()
1376{
1377 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1378 rm -f conftest.$ac_objext
1379 if { { ac_try="$ac_compile"
1380case "(($ac_try" in
1381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1382 *) ac_try_echo=$ac_try;;
1383esac
1384eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1385$as_echo "$ac_try_echo"; } >&5
1386 (eval "$ac_compile") 2>conftest.err
1387 ac_status=$?
1388 if test -s conftest.err; then
1389 grep -v '^ *+' conftest.err >conftest.er1
1390 cat conftest.er1 >&5
1391 mv -f conftest.er1 conftest.err
1392 fi
1393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1394 test $ac_status = 0; } && {
1395 test -z "$ac_c_werror_flag" ||
1396 test ! -s conftest.err
1397 } && test -s conftest.$ac_objext; then :
1398 ac_retval=0
1399else
1400 $as_echo "$as_me: failed program was:" >&5
1401sed 's/^/| /' conftest.$ac_ext >&5
1402
1403 ac_retval=1
1404fi
1405 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1406 as_fn_set_status $ac_retval
1407
1408} # ac_fn_c_try_compile
1409
1410# ac_fn_c_try_cpp LINENO
1411# ----------------------
1412# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1413ac_fn_c_try_cpp ()
1414{
1415 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1416 if { { ac_try="$ac_cpp conftest.$ac_ext"
1417case "(($ac_try" in
1418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1419 *) ac_try_echo=$ac_try;;
1420esac
1421eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1422$as_echo "$ac_try_echo"; } >&5
1423 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1424 ac_status=$?
1425 if test -s conftest.err; then
1426 grep -v '^ *+' conftest.err >conftest.er1
1427 cat conftest.er1 >&5
1428 mv -f conftest.er1 conftest.err
1429 fi
1430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1431 test $ac_status = 0; } > conftest.i && {
1432 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1433 test ! -s conftest.err
1434 }; then :
1435 ac_retval=0
1436else
1437 $as_echo "$as_me: failed program was:" >&5
1438sed 's/^/| /' conftest.$ac_ext >&5
1439
1440 ac_retval=1
1441fi
1442 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1443 as_fn_set_status $ac_retval
1444
1445} # ac_fn_c_try_cpp
1446
1447# ac_fn_c_try_run LINENO
1448# ----------------------
1449# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1450# that executables *can* be run.
1451ac_fn_c_try_run ()
1452{
1453 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1454 if { { ac_try="$ac_link"
1455case "(($ac_try" in
1456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1457 *) ac_try_echo=$ac_try;;
1458esac
1459eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1460$as_echo "$ac_try_echo"; } >&5
1461 (eval "$ac_link") 2>&5
1462 ac_status=$?
1463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1464 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1465 { { case "(($ac_try" in
1466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1467 *) ac_try_echo=$ac_try;;
1468esac
1469eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1470$as_echo "$ac_try_echo"; } >&5
1471 (eval "$ac_try") 2>&5
1472 ac_status=$?
1473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1474 test $ac_status = 0; }; }; then :
1475 ac_retval=0
1476else
1477 $as_echo "$as_me: program exited with status $ac_status" >&5
1478 $as_echo "$as_me: failed program was:" >&5
1479sed 's/^/| /' conftest.$ac_ext >&5
1480
1481 ac_retval=$ac_status
1482fi
1483 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1484 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1485 as_fn_set_status $ac_retval
1486
1487} # ac_fn_c_try_run
1488
1489# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1490# -------------------------------------------------------
1491# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1492# the include files in INCLUDES and setting the cache variable VAR
1493# accordingly.
1494ac_fn_c_check_header_mongrel ()
1495{
1496 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1497 if eval "test \"\${$3+set}\"" = set; then :
1498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1499$as_echo_n "checking for $2... " >&6; }
1500if eval "test \"\${$3+set}\"" = set; then :
1501 $as_echo_n "(cached) " >&6
1502fi
1503eval ac_res=\$$3
1504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1505$as_echo "$ac_res" >&6; }
1506else
1507 # Is the header compilable?
1508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1509$as_echo_n "checking $2 usability... " >&6; }
1510cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1511/* end confdefs.h. */
1512$4
1513#include <$2>
1514_ACEOF
1515if ac_fn_c_try_compile "$LINENO"; then :
1516 ac_header_compiler=yes
1517else
1518 ac_header_compiler=no
1519fi
1520rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1522$as_echo "$ac_header_compiler" >&6; }
1523
1524# Is the header present?
1525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1526$as_echo_n "checking $2 presence... " >&6; }
1527cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1528/* end confdefs.h. */
1529#include <$2>
1530_ACEOF
1531if ac_fn_c_try_cpp "$LINENO"; then :
1532 ac_header_preproc=yes
1533else
1534 ac_header_preproc=no
1535fi
1536rm -f conftest.err conftest.i conftest.$ac_ext
1537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1538$as_echo "$ac_header_preproc" >&6; }
1539
1540# So? What about this header?
1541case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1542 yes:no: )
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1544$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1546$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1547 ;;
1548 no:yes:* )
1549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1550$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1552$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1554$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1556$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1558$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1559( $as_echo "## -------------------------------------------- ##
1560## Report this to secnet@chiark.greenend.org.uk ##
1561## -------------------------------------------- ##"
1562 ) | sed "s/^/$as_me: WARNING: /" >&2
1563 ;;
1564esac
1565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1566$as_echo_n "checking for $2... " >&6; }
1567if eval "test \"\${$3+set}\"" = set; then :
1568 $as_echo_n "(cached) " >&6
1569else
1570 eval "$3=\$ac_header_compiler"
1571fi
1572eval ac_res=\$$3
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1574$as_echo "$ac_res" >&6; }
1575fi
1576 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1577
1578} # ac_fn_c_check_header_mongrel
1579
1580# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1581# -------------------------------------------------------
1582# Tests whether HEADER exists and can be compiled using the include files in
1583# INCLUDES, setting the cache variable VAR accordingly.
1584ac_fn_c_check_header_compile ()
1585{
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1588$as_echo_n "checking for $2... " >&6; }
1589if eval "test \"\${$3+set}\"" = set; then :
1590 $as_echo_n "(cached) " >&6
1591else
1592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1593/* end confdefs.h. */
1594$4
1595#include <$2>
1596_ACEOF
1597if ac_fn_c_try_compile "$LINENO"; then :
1598 eval "$3=yes"
1599else
1600 eval "$3=no"
1601fi
1602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1603fi
1604eval ac_res=\$$3
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1606$as_echo "$ac_res" >&6; }
1607 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1608
1609} # ac_fn_c_check_header_compile
1610
1611# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1612# --------------------------------------------
1613# Tries to find the compile-time value of EXPR in a program that includes
1614# INCLUDES, setting VAR accordingly. Returns whether the value could be
1615# computed
1616ac_fn_c_compute_int ()
1617{
1618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619 if test "$cross_compiling" = yes; then
1620 # Depending upon the size, compute the lo and hi bounds.
1621cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1622/* end confdefs.h. */
1623$4
1624int
1625main ()
1626{
1627static int test_array [1 - 2 * !(($2) >= 0)];
1628test_array [0] = 0
1629
1630 ;
1631 return 0;
1632}
1633_ACEOF
1634if ac_fn_c_try_compile "$LINENO"; then :
1635 ac_lo=0 ac_mid=0
1636 while :; do
1637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1638/* end confdefs.h. */
1639$4
1640int
1641main ()
1642{
1643static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1644test_array [0] = 0
1645
1646 ;
1647 return 0;
1648}
1649_ACEOF
1650if ac_fn_c_try_compile "$LINENO"; then :
1651 ac_hi=$ac_mid; break
1652else
1653 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1654 if test $ac_lo -le $ac_mid; then
1655 ac_lo= ac_hi=
1656 break
1657 fi
1658 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1659fi
1660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1661 done
1662else
1663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1664/* end confdefs.h. */
1665$4
1666int
1667main ()
1668{
1669static int test_array [1 - 2 * !(($2) < 0)];
1670test_array [0] = 0
1671
1672 ;
1673 return 0;
1674}
1675_ACEOF
1676if ac_fn_c_try_compile "$LINENO"; then :
1677 ac_hi=-1 ac_mid=-1
1678 while :; do
1679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1680/* end confdefs.h. */
1681$4
1682int
1683main ()
1684{
1685static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1686test_array [0] = 0
1687
1688 ;
1689 return 0;
1690}
1691_ACEOF
1692if ac_fn_c_try_compile "$LINENO"; then :
1693 ac_lo=$ac_mid; break
1694else
1695 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1696 if test $ac_mid -le $ac_hi; then
1697 ac_lo= ac_hi=
1698 break
1699 fi
1700 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1701fi
1702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1703 done
1704else
1705 ac_lo= ac_hi=
1706fi
1707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1708fi
1709rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1710# Binary search between lo and hi bounds.
1711while test "x$ac_lo" != "x$ac_hi"; do
1712 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1714/* end confdefs.h. */
1715$4
1716int
1717main ()
1718{
1719static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1720test_array [0] = 0
1721
1722 ;
1723 return 0;
1724}
1725_ACEOF
1726if ac_fn_c_try_compile "$LINENO"; then :
1727 ac_hi=$ac_mid
1728else
1729 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1730fi
1731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1732done
1733case $ac_lo in #((
1734?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1735'') ac_retval=1 ;;
1736esac
1737 else
1738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1739/* end confdefs.h. */
1740$4
1741static long int longval () { return $2; }
1742static unsigned long int ulongval () { return $2; }
1743#include <stdio.h>
1744#include <stdlib.h>
1745int
1746main ()
1747{
1748
1749 FILE *f = fopen ("conftest.val", "w");
1750 if (! f)
1751 return 1;
1752 if (($2) < 0)
1753 {
1754 long int i = longval ();
1755 if (i != ($2))
1756 return 1;
1757 fprintf (f, "%ld", i);
1758 }
1759 else
1760 {
1761 unsigned long int i = ulongval ();
1762 if (i != ($2))
1763 return 1;
1764 fprintf (f, "%lu", i);
1765 }
1766 /* Do not output a trailing newline, as this causes \r\n confusion
1767 on some platforms. */
1768 return ferror (f) || fclose (f) != 0;
1769
1770 ;
1771 return 0;
1772}
1773_ACEOF
1774if ac_fn_c_try_run "$LINENO"; then :
1775 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1776else
1777 ac_retval=1
1778fi
1779rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1780 conftest.$ac_objext conftest.beam conftest.$ac_ext
1781rm -f conftest.val
1782
1783 fi
1784 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1785 as_fn_set_status $ac_retval
1786
1787} # ac_fn_c_compute_int
1788
1789# ac_fn_c_try_link LINENO
1790# -----------------------
1791# Try to link conftest.$ac_ext, and return whether this succeeded.
1792ac_fn_c_try_link ()
1793{
1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795 rm -f conftest.$ac_objext conftest$ac_exeext
1796 if { { ac_try="$ac_link"
1797case "(($ac_try" in
1798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1799 *) ac_try_echo=$ac_try;;
1800esac
1801eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802$as_echo "$ac_try_echo"; } >&5
1803 (eval "$ac_link") 2>conftest.err
1804 ac_status=$?
1805 if test -s conftest.err; then
1806 grep -v '^ *+' conftest.err >conftest.er1
1807 cat conftest.er1 >&5
1808 mv -f conftest.er1 conftest.err
1809 fi
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; } && {
1812 test -z "$ac_c_werror_flag" ||
1813 test ! -s conftest.err
1814 } && test -s conftest$ac_exeext && {
1815 test "$cross_compiling" = yes ||
1816 $as_test_x conftest$ac_exeext
1817 }; then :
1818 ac_retval=0
1819else
1820 $as_echo "$as_me: failed program was:" >&5
1821sed 's/^/| /' conftest.$ac_ext >&5
1822
1823 ac_retval=1
1824fi
1825 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1826 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1827 # interfere with the next link command; also delete a directory that is
1828 # left behind by Apple's compiler. We do this before executing the actions.
1829 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1830 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1831 as_fn_set_status $ac_retval
1832
1833} # ac_fn_c_try_link
94759fd3
IJ
1834cat >config.log <<_ACEOF
1835This file contains any messages produced by compilers while
1836running configure, to aid debugging if configure makes a mistake.
1837
00152558 1838It was created by secnet $as_me 0.1.18+, which was
94759fd3
IJ
1839generated by GNU Autoconf 2.67. Invocation command line was
1840
1841 $ $0 $@
1842
1843_ACEOF
1844exec 5>>config.log
1845{
1846cat <<_ASUNAME
1847## --------- ##
1848## Platform. ##
1849## --------- ##
1850
1851hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1852uname -m = `(uname -m) 2>/dev/null || echo unknown`
1853uname -r = `(uname -r) 2>/dev/null || echo unknown`
1854uname -s = `(uname -s) 2>/dev/null || echo unknown`
1855uname -v = `(uname -v) 2>/dev/null || echo unknown`
1856
1857/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1858/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1859
1860/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1861/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1862/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1863/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1864/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1865/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1866/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1867
1868_ASUNAME
1869
1870as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1871for as_dir in $PATH
1872do
1873 IFS=$as_save_IFS
1874 test -z "$as_dir" && as_dir=.
1875 $as_echo "PATH: $as_dir"
1876 done
1877IFS=$as_save_IFS
1878
1879} >&5
1880
1881cat >&5 <<_ACEOF
1882
1883
1884## ----------- ##
1885## Core tests. ##
1886## ----------- ##
1887
1888_ACEOF
1889
1890
1891# Keep a trace of the command line.
1892# Strip out --no-create and --no-recursion so they do not pile up.
1893# Strip out --silent because we don't want to record it for future runs.
1894# Also quote any args containing shell meta-characters.
1895# Make two passes to allow for proper duplicate-argument suppression.
1896ac_configure_args=
1897ac_configure_args0=
1898ac_configure_args1=
1899ac_must_keep_next=false
1900for ac_pass in 1 2
1901do
1902 for ac_arg
1903 do
1904 case $ac_arg in
1905 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1906 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1907 | -silent | --silent | --silen | --sile | --sil)
1908 continue ;;
1909 *\'*)
1910 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1911 esac
1912 case $ac_pass in
1913 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1914 2)
1915 as_fn_append ac_configure_args1 " '$ac_arg'"
1916 if test $ac_must_keep_next = true; then
1917 ac_must_keep_next=false # Got value, back to normal.
1918 else
1919 case $ac_arg in
1920 *=* | --config-cache | -C | -disable-* | --disable-* \
1921 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1922 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1923 | -with-* | --with-* | -without-* | --without-* | --x)
1924 case "$ac_configure_args0 " in
1925 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1926 esac
1927 ;;
1928 -* ) ac_must_keep_next=true ;;
1929 esac
1930 fi
1931 as_fn_append ac_configure_args " '$ac_arg'"
1932 ;;
1933 esac
1934 done
1935done
1936{ ac_configure_args0=; unset ac_configure_args0;}
1937{ ac_configure_args1=; unset ac_configure_args1;}
1938
1939# When interrupted or exit'd, cleanup temporary files, and complete
1940# config.log. We remove comments because anyway the quotes in there
1941# would cause problems or look ugly.
1942# WARNING: Use '\'' to represent an apostrophe within the trap.
1943# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1944trap 'exit_status=$?
1945 # Save into config.log some information that might help in debugging.
1946 {
1947 echo
1948
1949 $as_echo "## ---------------- ##
1950## Cache variables. ##
1951## ---------------- ##"
1952 echo
1953 # The following way of writing the cache mishandles newlines in values,
1954(
1955 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1956 eval ac_val=\$$ac_var
1957 case $ac_val in #(
1958 *${as_nl}*)
1959 case $ac_var in #(
1960 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1961$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1962 esac
1963 case $ac_var in #(
1964 _ | IFS | as_nl) ;; #(
1965 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1966 *) { eval $ac_var=; unset $ac_var;} ;;
1967 esac ;;
1968 esac
1969 done
1970 (set) 2>&1 |
1971 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1972 *${as_nl}ac_space=\ *)
1973 sed -n \
1974 "s/'\''/'\''\\\\'\'''\''/g;
1975 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1976 ;; #(
1977 *)
1978 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1979 ;;
1980 esac |
1981 sort
1982)
1983 echo
1984
1985 $as_echo "## ----------------- ##
1986## Output variables. ##
1987## ----------------- ##"
1988 echo
1989 for ac_var in $ac_subst_vars
1990 do
1991 eval ac_val=\$$ac_var
1992 case $ac_val in
1993 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1994 esac
1995 $as_echo "$ac_var='\''$ac_val'\''"
1996 done | sort
1997 echo
1998
1999 if test -n "$ac_subst_files"; then
2000 $as_echo "## ------------------- ##
2001## File substitutions. ##
2002## ------------------- ##"
2003 echo
2004 for ac_var in $ac_subst_files
2005 do
2006 eval ac_val=\$$ac_var
2007 case $ac_val in
2008 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2009 esac
2010 $as_echo "$ac_var='\''$ac_val'\''"
2011 done | sort
2012 echo
2013 fi
2014
2015 if test -s confdefs.h; then
2016 $as_echo "## ----------- ##
2017## confdefs.h. ##
2018## ----------- ##"
2019 echo
2020 cat confdefs.h
2021 echo
2022 fi
2023 test "$ac_signal" != 0 &&
2024 $as_echo "$as_me: caught signal $ac_signal"
2025 $as_echo "$as_me: exit $exit_status"
2026 } >&5
2027 rm -f core *.core core.conftest.* &&
2028 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2029 exit $exit_status
2030' 0
2031for ac_signal in 1 2 13 15; do
2032 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2033done
2034ac_signal=0
2035
2036# confdefs.h avoids OS command line length limits that DEFS can exceed.
2037rm -f -r conftest* confdefs.h
2038
2039$as_echo "/* confdefs.h */" > confdefs.h
2040
2041# Predefined preprocessor variables.
2042
2043cat >>confdefs.h <<_ACEOF
2044#define PACKAGE_NAME "$PACKAGE_NAME"
2045_ACEOF
2046
2047cat >>confdefs.h <<_ACEOF
2048#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2049_ACEOF
2050
2051cat >>confdefs.h <<_ACEOF
2052#define PACKAGE_VERSION "$PACKAGE_VERSION"
2053_ACEOF
2054
2055cat >>confdefs.h <<_ACEOF
2056#define PACKAGE_STRING "$PACKAGE_STRING"
2057_ACEOF
2058
2059cat >>confdefs.h <<_ACEOF
2060#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2061_ACEOF
2062
2063cat >>confdefs.h <<_ACEOF
2064#define PACKAGE_URL "$PACKAGE_URL"
2065_ACEOF
2066
2067
2068# Let the site file select an alternate cache file if it wants to.
2069# Prefer an explicitly selected file to automatically selected ones.
2070ac_site_file1=NONE
2071ac_site_file2=NONE
2072if test -n "$CONFIG_SITE"; then
2073 # We do not want a PATH search for config.site.
2074 case $CONFIG_SITE in #((
2075 -*) ac_site_file1=./$CONFIG_SITE;;
2076 */*) ac_site_file1=$CONFIG_SITE;;
2077 *) ac_site_file1=./$CONFIG_SITE;;
2078 esac
2079elif test "x$prefix" != xNONE; then
2080 ac_site_file1=$prefix/share/config.site
2081 ac_site_file2=$prefix/etc/config.site
2082else
2083 ac_site_file1=$ac_default_prefix/share/config.site
2084 ac_site_file2=$ac_default_prefix/etc/config.site
2085fi
2086for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2087do
2088 test "x$ac_site_file" = xNONE && continue
2089 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2091$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2092 sed 's/^/| /' "$ac_site_file" >&5
2093 . "$ac_site_file" \
2094 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2095$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2096as_fn_error $? "failed to load site script $ac_site_file
2097See \`config.log' for more details" "$LINENO" 5 ; }
2098 fi
2099done
2100
2101if test -r "$cache_file"; then
2102 # Some versions of bash will fail to source /dev/null (special files
2103 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2104 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2106$as_echo "$as_me: loading cache $cache_file" >&6;}
2107 case $cache_file in
2108 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2109 *) . "./$cache_file";;
2110 esac
2111 fi
2112else
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2114$as_echo "$as_me: creating cache $cache_file" >&6;}
2115 >$cache_file
2116fi
2117
2118# Check that the precious variables saved in the cache have kept the same
2119# value.
2120ac_cache_corrupted=false
2121for ac_var in $ac_precious_vars; do
2122 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2123 eval ac_new_set=\$ac_env_${ac_var}_set
2124 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2125 eval ac_new_val=\$ac_env_${ac_var}_value
2126 case $ac_old_set,$ac_new_set in
2127 set,)
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2129$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2130 ac_cache_corrupted=: ;;
2131 ,set)
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2133$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2134 ac_cache_corrupted=: ;;
2135 ,);;
2136 *)
2137 if test "x$ac_old_val" != "x$ac_new_val"; then
2138 # differences in whitespace do not lead to failure.
2139 ac_old_val_w=`echo x $ac_old_val`
2140 ac_new_val_w=`echo x $ac_new_val`
2141 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2143$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2144 ac_cache_corrupted=:
2145 else
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2147$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2148 eval $ac_var=\$ac_old_val
2149 fi
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2151$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2153$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2154 fi;;
2155 esac
2156 # Pass precious variables to config.status.
2157 if test "$ac_new_set" = set; then
2158 case $ac_new_val in
2159 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2160 *) ac_arg=$ac_var=$ac_new_val ;;
2161 esac
2162 case " $ac_configure_args " in
2163 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2164 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2165 esac
2166 fi
2167done
2168if $ac_cache_corrupted; then
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2170$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2172$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2173 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2174fi
2175## -------------------- ##
2176## Main body of script. ##
2177## -------------------- ##
2178
2179ac_ext=c
2180ac_cpp='$CPP $CPPFLAGS'
2181ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2182ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2183ac_compiler_gnu=$ac_cv_c_compiler_gnu
2184
2185
2186
2187ac_config_headers="$ac_config_headers config.h"
2188
2189
2190
2191
2192
2193ac_ext=c
2194ac_cpp='$CPP $CPPFLAGS'
2195ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2196ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2197ac_compiler_gnu=$ac_cv_c_compiler_gnu
2198
2199
44bdf5ac
RK
2200# If fink is on the path then it is assumed we should use it.
2201# Extract the first word of "fink", so it can be a program name with args.
2202set dummy fink; ac_word=$2
2203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2204$as_echo_n "checking for $ac_word... " >&6; }
2205if test "${ac_cv_path_FINK+set}" = set; then :
2206 $as_echo_n "(cached) " >&6
2207else
2208 case $FINK in
2209 [\\/]* | ?:[\\/]*)
2210 ac_cv_path_FINK="$FINK" # Let the user override the test with a path.
2211 ;;
2212 *)
2213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2214for as_dir in $PATH
2215do
2216 IFS=$as_save_IFS
2217 test -z "$as_dir" && as_dir=.
2218 for ac_exec_ext in '' $ac_executable_extensions; do
2219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2220 ac_cv_path_FINK="$as_dir/$ac_word$ac_exec_ext"
2221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2222 break 2
2223 fi
2224done
2225 done
2226IFS=$as_save_IFS
2227
2228 ;;
2229esac
2230fi
2231FINK=$ac_cv_path_FINK
2232if test -n "$FINK"; then
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FINK" >&5
2234$as_echo "$FINK" >&6; }
2235else
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2237$as_echo "no" >&6; }
2238fi
2239
2240
2241if test "x$FINK" != x; then
2242 finkdir=`echo $FINK|sed 's,/[^/]*/[^/]*$,,'`
2243 CPPFLAGS="-I$finkdir/include ${CPPFLAGS}"
2244 LDFLAGS="-L$finkdir/lib ${LDFLAGS}"
2245fi
2246
94759fd3
IJ
2247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2248$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2249set x ${MAKE-make}
2250ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2251if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2252 $as_echo_n "(cached) " >&6
2253else
2254 cat >conftest.make <<\_ACEOF
2255SHELL = /bin/sh
2256all:
2257 @echo '@@@%%%=$(MAKE)=@@@%%%'
2258_ACEOF
2259# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2260case `${MAKE-make} -f conftest.make 2>/dev/null` in
2261 *@@@%%%=?*=@@@%%%*)
2262 eval ac_cv_prog_make_${ac_make}_set=yes;;
2263 *)
2264 eval ac_cv_prog_make_${ac_make}_set=no;;
2265esac
2266rm -f conftest.make
2267fi
2268if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2270$as_echo "yes" >&6; }
2271 SET_MAKE=
2272else
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2274$as_echo "no" >&6; }
2275 SET_MAKE="MAKE=${MAKE-make}"
2276fi
2277
2278ac_ext=c
2279ac_cpp='$CPP $CPPFLAGS'
2280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2282ac_compiler_gnu=$ac_cv_c_compiler_gnu
2283if test -n "$ac_tool_prefix"; then
2284 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2285set dummy ${ac_tool_prefix}gcc; ac_word=$2
2286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2287$as_echo_n "checking for $ac_word... " >&6; }
2288if test "${ac_cv_prog_CC+set}" = set; then :
2289 $as_echo_n "(cached) " >&6
2290else
2291 if test -n "$CC"; then
2292 ac_cv_prog_CC="$CC" # Let the user override the test.
2293else
2294as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2295for as_dir in $PATH
2296do
2297 IFS=$as_save_IFS
2298 test -z "$as_dir" && as_dir=.
2299 for ac_exec_ext in '' $ac_executable_extensions; do
2300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2301 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2303 break 2
2304 fi
2305done
2306 done
2307IFS=$as_save_IFS
2308
2309fi
2310fi
2311CC=$ac_cv_prog_CC
2312if test -n "$CC"; then
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2314$as_echo "$CC" >&6; }
2315else
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2317$as_echo "no" >&6; }
2318fi
2319
2320
2321fi
2322if test -z "$ac_cv_prog_CC"; then
2323 ac_ct_CC=$CC
2324 # Extract the first word of "gcc", so it can be a program name with args.
2325set dummy gcc; ac_word=$2
2326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2327$as_echo_n "checking for $ac_word... " >&6; }
2328if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2329 $as_echo_n "(cached) " >&6
2330else
2331 if test -n "$ac_ct_CC"; then
2332 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2333else
2334as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2335for as_dir in $PATH
2336do
2337 IFS=$as_save_IFS
2338 test -z "$as_dir" && as_dir=.
2339 for ac_exec_ext in '' $ac_executable_extensions; do
2340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2341 ac_cv_prog_ac_ct_CC="gcc"
2342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2343 break 2
2344 fi
2345done
2346 done
2347IFS=$as_save_IFS
2348
2349fi
2350fi
2351ac_ct_CC=$ac_cv_prog_ac_ct_CC
2352if test -n "$ac_ct_CC"; then
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2354$as_echo "$ac_ct_CC" >&6; }
2355else
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2357$as_echo "no" >&6; }
2358fi
2359
2360 if test "x$ac_ct_CC" = x; then
2361 CC=""
2362 else
2363 case $cross_compiling:$ac_tool_warned in
2364yes:)
2365{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2366$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2367ac_tool_warned=yes ;;
2368esac
2369 CC=$ac_ct_CC
2370 fi
2371else
2372 CC="$ac_cv_prog_CC"
2373fi
2374
2375if test -z "$CC"; then
2376 if test -n "$ac_tool_prefix"; then
2377 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2378set dummy ${ac_tool_prefix}cc; ac_word=$2
2379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2380$as_echo_n "checking for $ac_word... " >&6; }
2381if test "${ac_cv_prog_CC+set}" = set; then :
2382 $as_echo_n "(cached) " >&6
2383else
2384 if test -n "$CC"; then
2385 ac_cv_prog_CC="$CC" # Let the user override the test.
2386else
2387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2388for as_dir in $PATH
2389do
2390 IFS=$as_save_IFS
2391 test -z "$as_dir" && as_dir=.
2392 for ac_exec_ext in '' $ac_executable_extensions; do
2393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2394 ac_cv_prog_CC="${ac_tool_prefix}cc"
2395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2396 break 2
2397 fi
2398done
2399 done
2400IFS=$as_save_IFS
2401
2402fi
2403fi
2404CC=$ac_cv_prog_CC
2405if test -n "$CC"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2407$as_echo "$CC" >&6; }
2408else
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2410$as_echo "no" >&6; }
2411fi
2412
2413
2414 fi
2415fi
2416if test -z "$CC"; then
2417 # Extract the first word of "cc", so it can be a program name with args.
2418set dummy cc; ac_word=$2
2419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2420$as_echo_n "checking for $ac_word... " >&6; }
2421if test "${ac_cv_prog_CC+set}" = set; then :
2422 $as_echo_n "(cached) " >&6
2423else
2424 if test -n "$CC"; then
2425 ac_cv_prog_CC="$CC" # Let the user override the test.
2426else
2427 ac_prog_rejected=no
2428as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2429for as_dir in $PATH
2430do
2431 IFS=$as_save_IFS
2432 test -z "$as_dir" && as_dir=.
2433 for ac_exec_ext in '' $ac_executable_extensions; do
2434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2435 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2436 ac_prog_rejected=yes
2437 continue
2438 fi
2439 ac_cv_prog_CC="cc"
2440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2441 break 2
2442 fi
2443done
2444 done
2445IFS=$as_save_IFS
2446
2447if test $ac_prog_rejected = yes; then
2448 # We found a bogon in the path, so make sure we never use it.
2449 set dummy $ac_cv_prog_CC
2450 shift
2451 if test $# != 0; then
2452 # We chose a different compiler from the bogus one.
2453 # However, it has the same basename, so the bogon will be chosen
2454 # first if we set CC to just the basename; use the full file name.
2455 shift
2456 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2457 fi
2458fi
2459fi
2460fi
2461CC=$ac_cv_prog_CC
2462if test -n "$CC"; then
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2464$as_echo "$CC" >&6; }
2465else
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2467$as_echo "no" >&6; }
2468fi
2469
2470
2471fi
2472if test -z "$CC"; then
2473 if test -n "$ac_tool_prefix"; then
2474 for ac_prog in cl.exe
2475 do
2476 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2477set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2478{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2479$as_echo_n "checking for $ac_word... " >&6; }
2480if test "${ac_cv_prog_CC+set}" = set; then :
2481 $as_echo_n "(cached) " >&6
2482else
2483 if test -n "$CC"; then
2484 ac_cv_prog_CC="$CC" # Let the user override the test.
2485else
2486as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2487for as_dir in $PATH
2488do
2489 IFS=$as_save_IFS
2490 test -z "$as_dir" && as_dir=.
2491 for ac_exec_ext in '' $ac_executable_extensions; do
2492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2493 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2495 break 2
2496 fi
2497done
2498 done
2499IFS=$as_save_IFS
2500
2501fi
2502fi
2503CC=$ac_cv_prog_CC
2504if test -n "$CC"; then
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2506$as_echo "$CC" >&6; }
2507else
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2509$as_echo "no" >&6; }
2510fi
2511
2512
2513 test -n "$CC" && break
2514 done
2515fi
2516if test -z "$CC"; then
2517 ac_ct_CC=$CC
2518 for ac_prog in cl.exe
2519do
2520 # Extract the first word of "$ac_prog", so it can be a program name with args.
2521set dummy $ac_prog; ac_word=$2
2522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2523$as_echo_n "checking for $ac_word... " >&6; }
2524if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2525 $as_echo_n "(cached) " >&6
2526else
2527 if test -n "$ac_ct_CC"; then
2528 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2529else
2530as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2531for as_dir in $PATH
2532do
2533 IFS=$as_save_IFS
2534 test -z "$as_dir" && as_dir=.
2535 for ac_exec_ext in '' $ac_executable_extensions; do
2536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2537 ac_cv_prog_ac_ct_CC="$ac_prog"
2538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2539 break 2
2540 fi
2541done
2542 done
2543IFS=$as_save_IFS
2544
2545fi
2546fi
2547ac_ct_CC=$ac_cv_prog_ac_ct_CC
2548if test -n "$ac_ct_CC"; then
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2550$as_echo "$ac_ct_CC" >&6; }
2551else
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2553$as_echo "no" >&6; }
2554fi
2555
2556
2557 test -n "$ac_ct_CC" && break
2558done
2559
2560 if test "x$ac_ct_CC" = x; then
2561 CC=""
2562 else
2563 case $cross_compiling:$ac_tool_warned in
2564yes:)
2565{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2566$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2567ac_tool_warned=yes ;;
2568esac
2569 CC=$ac_ct_CC
2570 fi
2571fi
2572
2573fi
2574
2575
2576test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2577$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2578as_fn_error $? "no acceptable C compiler found in \$PATH
2579See \`config.log' for more details" "$LINENO" 5 ; }
2580
2581# Provide some information about the compiler.
2582$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2583set X $ac_compile
2584ac_compiler=$2
2585for ac_option in --version -v -V -qversion; do
2586 { { ac_try="$ac_compiler $ac_option >&5"
2587case "(($ac_try" in
2588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2589 *) ac_try_echo=$ac_try;;
2590esac
2591eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2592$as_echo "$ac_try_echo"; } >&5
2593 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2594 ac_status=$?
2595 if test -s conftest.err; then
2596 sed '10a\
2597... rest of stderr output deleted ...
2598 10q' conftest.err >conftest.er1
2599 cat conftest.er1 >&5
2600 fi
2601 rm -f conftest.er1 conftest.err
2602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2603 test $ac_status = 0; }
2604done
2605
2606cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2607/* end confdefs.h. */
2608
2609int
2610main ()
2611{
2612
2613 ;
2614 return 0;
2615}
2616_ACEOF
2617ac_clean_files_save=$ac_clean_files
2618ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2619# Try to create an executable without -o first, disregard a.out.
2620# It will help us diagnose broken compilers, and finding out an intuition
2621# of exeext.
2622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2623$as_echo_n "checking whether the C compiler works... " >&6; }
2624ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2625
2626# The possible output files:
2627ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2628
2629ac_rmfiles=
2630for ac_file in $ac_files
2631do
2632 case $ac_file in
2633 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2634 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2635 esac
2636done
2637rm -f $ac_rmfiles
2638
2639if { { ac_try="$ac_link_default"
2640case "(($ac_try" in
2641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2642 *) ac_try_echo=$ac_try;;
2643esac
2644eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2645$as_echo "$ac_try_echo"; } >&5
2646 (eval "$ac_link_default") 2>&5
2647 ac_status=$?
2648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2649 test $ac_status = 0; }; then :
2650 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2651# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2652# in a Makefile. We should not override ac_cv_exeext if it was cached,
2653# so that the user can short-circuit this test for compilers unknown to
2654# Autoconf.
2655for ac_file in $ac_files ''
2656do
2657 test -f "$ac_file" || continue
2658 case $ac_file in
2659 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2660 ;;
2661 [ab].out )
2662 # We found the default executable, but exeext='' is most
2663 # certainly right.
2664 break;;
2665 *.* )
2666 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2667 then :; else
2668 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2669 fi
2670 # We set ac_cv_exeext here because the later test for it is not
2671 # safe: cross compilers may not add the suffix if given an `-o'
2672 # argument, so we may need to know it at that point already.
2673 # Even if this section looks crufty: it has the advantage of
2674 # actually working.
2675 break;;
2676 * )
2677 break;;
2678 esac
2679done
2680test "$ac_cv_exeext" = no && ac_cv_exeext=
2681
2682else
2683 ac_file=''
2684fi
2685if test -z "$ac_file"; then :
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2687$as_echo "no" >&6; }
2688$as_echo "$as_me: failed program was:" >&5
2689sed 's/^/| /' conftest.$ac_ext >&5
2690
2691{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2692$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2693as_fn_error 77 "C compiler cannot create executables
2694See \`config.log' for more details" "$LINENO" 5 ; }
2695else
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2697$as_echo "yes" >&6; }
2698fi
2699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2700$as_echo_n "checking for C compiler default output file name... " >&6; }
2701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2702$as_echo "$ac_file" >&6; }
2703ac_exeext=$ac_cv_exeext
2704
2705rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2706ac_clean_files=$ac_clean_files_save
2707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2708$as_echo_n "checking for suffix of executables... " >&6; }
2709if { { ac_try="$ac_link"
2710case "(($ac_try" in
2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2713esac
2714eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2715$as_echo "$ac_try_echo"; } >&5
2716 (eval "$ac_link") 2>&5
2717 ac_status=$?
2718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2719 test $ac_status = 0; }; then :
2720 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2721# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2722# work properly (i.e., refer to `conftest.exe'), while it won't with
2723# `rm'.
2724for ac_file in conftest.exe conftest conftest.*; do
2725 test -f "$ac_file" || continue
2726 case $ac_file in
2727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2728 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2729 break;;
2730 * ) break;;
2731 esac
2732done
2733else
2734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2735$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2736as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2737See \`config.log' for more details" "$LINENO" 5 ; }
2738fi
2739rm -f conftest conftest$ac_cv_exeext
2740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2741$as_echo "$ac_cv_exeext" >&6; }
2742
2743rm -f conftest.$ac_ext
2744EXEEXT=$ac_cv_exeext
2745ac_exeext=$EXEEXT
2746cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2747/* end confdefs.h. */
2748#include <stdio.h>
2749int
2750main ()
2751{
2752FILE *f = fopen ("conftest.out", "w");
2753 return ferror (f) || fclose (f) != 0;
2754
2755 ;
2756 return 0;
2757}
2758_ACEOF
2759ac_clean_files="$ac_clean_files conftest.out"
2760# Check that the compiler produces executables we can run. If not, either
2761# the compiler is broken, or we cross compile.
2762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2763$as_echo_n "checking whether we are cross compiling... " >&6; }
2764if test "$cross_compiling" != yes; then
2765 { { ac_try="$ac_link"
2766case "(($ac_try" in
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2769esac
2770eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2771$as_echo "$ac_try_echo"; } >&5
2772 (eval "$ac_link") 2>&5
2773 ac_status=$?
2774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2775 test $ac_status = 0; }
2776 if { ac_try='./conftest$ac_cv_exeext'
2777 { { case "(($ac_try" in
2778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2779 *) ac_try_echo=$ac_try;;
2780esac
2781eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2782$as_echo "$ac_try_echo"; } >&5
2783 (eval "$ac_try") 2>&5
2784 ac_status=$?
2785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2786 test $ac_status = 0; }; }; then
2787 cross_compiling=no
2788 else
2789 if test "$cross_compiling" = maybe; then
2790 cross_compiling=yes
2791 else
2792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2793$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2794as_fn_error $? "cannot run C compiled programs.
2795If you meant to cross compile, use \`--host'.
2796See \`config.log' for more details" "$LINENO" 5 ; }
2797 fi
2798 fi
2799fi
2800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2801$as_echo "$cross_compiling" >&6; }
2802
2803rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2804ac_clean_files=$ac_clean_files_save
2805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2806$as_echo_n "checking for suffix of object files... " >&6; }
2807if test "${ac_cv_objext+set}" = set; then :
2808 $as_echo_n "(cached) " >&6
2809else
2810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2811/* end confdefs.h. */
2812
2813int
2814main ()
2815{
2816
2817 ;
2818 return 0;
2819}
2820_ACEOF
2821rm -f conftest.o conftest.obj
2822if { { ac_try="$ac_compile"
2823case "(($ac_try" in
2824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825 *) ac_try_echo=$ac_try;;
2826esac
2827eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2828$as_echo "$ac_try_echo"; } >&5
2829 (eval "$ac_compile") 2>&5
2830 ac_status=$?
2831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2832 test $ac_status = 0; }; then :
2833 for ac_file in conftest.o conftest.obj conftest.*; do
2834 test -f "$ac_file" || continue;
2835 case $ac_file in
2836 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2837 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2838 break;;
2839 esac
2840done
2841else
2842 $as_echo "$as_me: failed program was:" >&5
2843sed 's/^/| /' conftest.$ac_ext >&5
2844
2845{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2846$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2847as_fn_error $? "cannot compute suffix of object files: cannot compile
2848See \`config.log' for more details" "$LINENO" 5 ; }
2849fi
2850rm -f conftest.$ac_cv_objext conftest.$ac_ext
2851fi
2852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2853$as_echo "$ac_cv_objext" >&6; }
2854OBJEXT=$ac_cv_objext
2855ac_objext=$OBJEXT
2856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2857$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2858if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2859 $as_echo_n "(cached) " >&6
2860else
2861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2862/* end confdefs.h. */
2863
2864int
2865main ()
2866{
2867#ifndef __GNUC__
2868 choke me
2869#endif
2870
2871 ;
2872 return 0;
2873}
2874_ACEOF
2875if ac_fn_c_try_compile "$LINENO"; then :
2876 ac_compiler_gnu=yes
2877else
2878 ac_compiler_gnu=no
2879fi
2880rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2881ac_cv_c_compiler_gnu=$ac_compiler_gnu
2882
2883fi
2884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2885$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2886if test $ac_compiler_gnu = yes; then
2887 GCC=yes
2888else
2889 GCC=
2890fi
2891ac_test_CFLAGS=${CFLAGS+set}
2892ac_save_CFLAGS=$CFLAGS
2893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2894$as_echo_n "checking whether $CC accepts -g... " >&6; }
2895if test "${ac_cv_prog_cc_g+set}" = set; then :
2896 $as_echo_n "(cached) " >&6
2897else
2898 ac_save_c_werror_flag=$ac_c_werror_flag
2899 ac_c_werror_flag=yes
2900 ac_cv_prog_cc_g=no
2901 CFLAGS="-g"
2902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2903/* end confdefs.h. */
2904
2905int
2906main ()
2907{
2908
2909 ;
2910 return 0;
2911}
2912_ACEOF
2913if ac_fn_c_try_compile "$LINENO"; then :
2914 ac_cv_prog_cc_g=yes
2915else
2916 CFLAGS=""
2917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2918/* end confdefs.h. */
2919
2920int
2921main ()
2922{
2923
2924 ;
2925 return 0;
2926}
2927_ACEOF
2928if ac_fn_c_try_compile "$LINENO"; then :
2929
2930else
2931 ac_c_werror_flag=$ac_save_c_werror_flag
2932 CFLAGS="-g"
2933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2934/* end confdefs.h. */
2935
2936int
2937main ()
2938{
2939
2940 ;
2941 return 0;
2942}
2943_ACEOF
2944if ac_fn_c_try_compile "$LINENO"; then :
2945 ac_cv_prog_cc_g=yes
2946fi
2947rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2948fi
2949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2950fi
2951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2952 ac_c_werror_flag=$ac_save_c_werror_flag
2953fi
2954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2955$as_echo "$ac_cv_prog_cc_g" >&6; }
2956if test "$ac_test_CFLAGS" = set; then
2957 CFLAGS=$ac_save_CFLAGS
2958elif test $ac_cv_prog_cc_g = yes; then
2959 if test "$GCC" = yes; then
2960 CFLAGS="-g -O2"
2961 else
2962 CFLAGS="-g"
2963 fi
2964else
2965 if test "$GCC" = yes; then
2966 CFLAGS="-O2"
2967 else
2968 CFLAGS=
2969 fi
2970fi
2971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2972$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2973if test "${ac_cv_prog_cc_c89+set}" = set; then :
2974 $as_echo_n "(cached) " >&6
2975else
2976 ac_cv_prog_cc_c89=no
2977ac_save_CC=$CC
2978cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2979/* end confdefs.h. */
2980#include <stdarg.h>
2981#include <stdio.h>
2982#include <sys/types.h>
2983#include <sys/stat.h>
2984/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2985struct buf { int x; };
2986FILE * (*rcsopen) (struct buf *, struct stat *, int);
2987static char *e (p, i)
2988 char **p;
2989 int i;
2990{
2991 return p[i];
2992}
2993static char *f (char * (*g) (char **, int), char **p, ...)
2994{
2995 char *s;
2996 va_list v;
2997 va_start (v,p);
2998 s = g (p, va_arg (v,int));
2999 va_end (v);
3000 return s;
3001}
3002
3003/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3004 function prototypes and stuff, but not '\xHH' hex character constants.
3005 These don't provoke an error unfortunately, instead are silently treated
3006 as 'x'. The following induces an error, until -std is added to get
3007 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3008 array size at least. It's necessary to write '\x00'==0 to get something
3009 that's true only with -std. */
3010int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3011
3012/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3013 inside strings and character constants. */
3014#define FOO(x) 'x'
3015int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3016
3017int test (int i, double x);
3018struct s1 {int (*f) (int a);};
3019struct s2 {int (*f) (double a);};
3020int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3021int argc;
3022char **argv;
3023int
3024main ()
3025{
3026return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3027 ;
3028 return 0;
3029}
3030_ACEOF
3031for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3032 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3033do
3034 CC="$ac_save_CC $ac_arg"
3035 if ac_fn_c_try_compile "$LINENO"; then :
3036 ac_cv_prog_cc_c89=$ac_arg
3037fi
3038rm -f core conftest.err conftest.$ac_objext
3039 test "x$ac_cv_prog_cc_c89" != "xno" && break
3040done
3041rm -f conftest.$ac_ext
3042CC=$ac_save_CC
3043
3044fi
3045# AC_CACHE_VAL
3046case "x$ac_cv_prog_cc_c89" in
3047 x)
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3049$as_echo "none needed" >&6; } ;;
3050 xno)
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3052$as_echo "unsupported" >&6; } ;;
3053 *)
3054 CC="$CC $ac_cv_prog_cc_c89"
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3056$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3057esac
3058if test "x$ac_cv_prog_cc_c89" != xno; then :
3059
3060fi
3061
3062ac_ext=c
3063ac_cpp='$CPP $CPPFLAGS'
3064ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3065ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3066ac_compiler_gnu=$ac_cv_c_compiler_gnu
3067
3068ac_aux_dir=
3069for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3070 if test -f "$ac_dir/install-sh"; then
3071 ac_aux_dir=$ac_dir
3072 ac_install_sh="$ac_aux_dir/install-sh -c"
3073 break
3074 elif test -f "$ac_dir/install.sh"; then
3075 ac_aux_dir=$ac_dir
3076 ac_install_sh="$ac_aux_dir/install.sh -c"
3077 break
3078 elif test -f "$ac_dir/shtool"; then
3079 ac_aux_dir=$ac_dir
3080 ac_install_sh="$ac_aux_dir/shtool install -c"
3081 break
3082 fi
3083done
3084if test -z "$ac_aux_dir"; then
3085 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3086fi
3087
3088# These three variables are undocumented and unsupported,
3089# and are intended to be withdrawn in a future Autoconf release.
3090# They can cause serious problems if a builder's source tree is in a directory
3091# whose full name contains unusual characters.
3092ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3093ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3094ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3095
3096
3097# Find a good install program. We prefer a C program (faster),
3098# so one script is as good as another. But avoid the broken or
3099# incompatible versions:
3100# SysV /etc/install, /usr/sbin/install
3101# SunOS /usr/etc/install
3102# IRIX /sbin/install
3103# AIX /bin/install
3104# AmigaOS /C/install, which installs bootblocks on floppy discs
3105# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3106# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3107# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3108# OS/2's system install, which has a completely different semantic
3109# ./install, which can be erroneously created by make from ./install.sh.
3110# Reject install programs that cannot install multiple files.
3111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3112$as_echo_n "checking for a BSD-compatible install... " >&6; }
3113if test -z "$INSTALL"; then
3114if test "${ac_cv_path_install+set}" = set; then :
3115 $as_echo_n "(cached) " >&6
3116else
3117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3118for as_dir in $PATH
3119do
3120 IFS=$as_save_IFS
3121 test -z "$as_dir" && as_dir=.
3122 # Account for people who put trailing slashes in PATH elements.
3123case $as_dir/ in #((
3124 ./ | .// | /[cC]/* | \
3125 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3126 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3127 /usr/ucb/* ) ;;
3128 *)
3129 # OSF1 and SCO ODT 3.0 have their own names for install.
3130 # Don't use installbsd from OSF since it installs stuff as root
3131 # by default.
3132 for ac_prog in ginstall scoinst install; do
3133 for ac_exec_ext in '' $ac_executable_extensions; do
3134 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3135 if test $ac_prog = install &&
3136 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3137 # AIX install. It has an incompatible calling convention.
3138 :
3139 elif test $ac_prog = install &&
3140 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3141 # program-specific install script used by HP pwplus--don't use.
3142 :
3143 else
3144 rm -rf conftest.one conftest.two conftest.dir
3145 echo one > conftest.one
3146 echo two > conftest.two
3147 mkdir conftest.dir
3148 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3149 test -s conftest.one && test -s conftest.two &&
3150 test -s conftest.dir/conftest.one &&
3151 test -s conftest.dir/conftest.two
3152 then
3153 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3154 break 3
3155 fi
3156 fi
3157 fi
3158 done
3159 done
3160 ;;
3161esac
3162
3163 done
3164IFS=$as_save_IFS
3165
3166rm -rf conftest.one conftest.two conftest.dir
3167
3168fi
3169 if test "${ac_cv_path_install+set}" = set; then
3170 INSTALL=$ac_cv_path_install
3171 else
3172 # As a last resort, use the slow shell script. Don't cache a
3173 # value for INSTALL within a source directory, because that will
3174 # break other packages using the cache if that directory is
3175 # removed, or if the value is a relative name.
3176 INSTALL=$ac_install_sh
3177 fi
3178fi
3179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3180$as_echo "$INSTALL" >&6; }
3181
3182# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3183# It thinks the first close brace ends the variable substitution.
3184test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3185
3186test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3187
3188test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3189
3190# Extract the first word of "rm", so it can be a program name with args.
3191set dummy rm; ac_word=$2
3192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3193$as_echo_n "checking for $ac_word... " >&6; }
3194if test "${ac_cv_path_RM+set}" = set; then :
3195 $as_echo_n "(cached) " >&6
3196else
3197 case $RM in
3198 [\\/]* | ?:[\\/]*)
3199 ac_cv_path_RM="$RM" # Let the user override the test with a path.
3200 ;;
3201 *)
3202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203for as_dir in $PATH
3204do
3205 IFS=$as_save_IFS
3206 test -z "$as_dir" && as_dir=.
3207 for ac_exec_ext in '' $ac_executable_extensions; do
3208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
3210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3211 break 2
3212 fi
3213done
3214 done
3215IFS=$as_save_IFS
3216
3217 ;;
3218esac
3219fi
3220RM=$ac_cv_path_RM
3221if test -n "$RM"; then
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
3223$as_echo "$RM" >&6; }
3224else
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226$as_echo "no" >&6; }
3227fi
3228
3229
3230
3231ac_ext=c
3232ac_cpp='$CPP $CPPFLAGS'
3233ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3234ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3235ac_compiler_gnu=$ac_cv_c_compiler_gnu
3236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3237$as_echo_n "checking how to run the C preprocessor... " >&6; }
3238# On Suns, sometimes $CPP names a directory.
3239if test -n "$CPP" && test -d "$CPP"; then
3240 CPP=
3241fi
3242if test -z "$CPP"; then
3243 if test "${ac_cv_prog_CPP+set}" = set; then :
3244 $as_echo_n "(cached) " >&6
3245else
3246 # Double quotes because CPP needs to be expanded
3247 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3248 do
3249 ac_preproc_ok=false
3250for ac_c_preproc_warn_flag in '' yes
3251do
3252 # Use a header file that comes with gcc, so configuring glibc
3253 # with a fresh cross-compiler works.
3254 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3255 # <limits.h> exists even on freestanding compilers.
3256 # On the NeXT, cc -E runs the code through the compiler's parser,
3257 # not just through cpp. "Syntax error" is here to catch this case.
3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259/* end confdefs.h. */
3260#ifdef __STDC__
3261# include <limits.h>
3262#else
3263# include <assert.h>
3264#endif
3265 Syntax error
3266_ACEOF
3267if ac_fn_c_try_cpp "$LINENO"; then :
3268
3269else
3270 # Broken: fails on valid input.
3271continue
3272fi
3273rm -f conftest.err conftest.i conftest.$ac_ext
3274
3275 # OK, works on sane cases. Now check whether nonexistent headers
3276 # can be detected and how.
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278/* end confdefs.h. */
3279#include <ac_nonexistent.h>
3280_ACEOF
3281if ac_fn_c_try_cpp "$LINENO"; then :
3282 # Broken: success on invalid input.
3283continue
3284else
3285 # Passes both tests.
3286ac_preproc_ok=:
3287break
3288fi
3289rm -f conftest.err conftest.i conftest.$ac_ext
3290
3291done
3292# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3293rm -f conftest.i conftest.err conftest.$ac_ext
3294if $ac_preproc_ok; then :
3295 break
3296fi
3297
3298 done
3299 ac_cv_prog_CPP=$CPP
3300
3301fi
3302 CPP=$ac_cv_prog_CPP
3303else
3304 ac_cv_prog_CPP=$CPP
3305fi
3306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3307$as_echo "$CPP" >&6; }
3308ac_preproc_ok=false
3309for ac_c_preproc_warn_flag in '' yes
3310do
3311 # Use a header file that comes with gcc, so configuring glibc
3312 # with a fresh cross-compiler works.
3313 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3314 # <limits.h> exists even on freestanding compilers.
3315 # On the NeXT, cc -E runs the code through the compiler's parser,
3316 # not just through cpp. "Syntax error" is here to catch this case.
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318/* end confdefs.h. */
3319#ifdef __STDC__
3320# include <limits.h>
3321#else
3322# include <assert.h>
3323#endif
3324 Syntax error
3325_ACEOF
3326if ac_fn_c_try_cpp "$LINENO"; then :
3327
3328else
3329 # Broken: fails on valid input.
3330continue
3331fi
3332rm -f conftest.err conftest.i conftest.$ac_ext
3333
3334 # OK, works on sane cases. Now check whether nonexistent headers
3335 # can be detected and how.
3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337/* end confdefs.h. */
3338#include <ac_nonexistent.h>
3339_ACEOF
3340if ac_fn_c_try_cpp "$LINENO"; then :
3341 # Broken: success on invalid input.
3342continue
3343else
3344 # Passes both tests.
3345ac_preproc_ok=:
3346break
3347fi
3348rm -f conftest.err conftest.i conftest.$ac_ext
3349
3350done
3351# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3352rm -f conftest.i conftest.err conftest.$ac_ext
3353if $ac_preproc_ok; then :
3354
3355else
3356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3358as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3359See \`config.log' for more details" "$LINENO" 5 ; }
3360fi
3361
3362ac_ext=c
3363ac_cpp='$CPP $CPPFLAGS'
3364ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3365ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3366ac_compiler_gnu=$ac_cv_c_compiler_gnu
3367
3368
3369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3370$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3371if test "${ac_cv_path_GREP+set}" = set; then :
3372 $as_echo_n "(cached) " >&6
3373else
3374 if test -z "$GREP"; then
3375 ac_path_GREP_found=false
3376 # Loop through the user's path and test for each of PROGNAME-LIST
3377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3378for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3379do
3380 IFS=$as_save_IFS
3381 test -z "$as_dir" && as_dir=.
3382 for ac_prog in grep ggrep; do
3383 for ac_exec_ext in '' $ac_executable_extensions; do
3384 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3385 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3386# Check for GNU ac_path_GREP and select it if it is found.
3387 # Check for GNU $ac_path_GREP
3388case `"$ac_path_GREP" --version 2>&1` in
3389*GNU*)
3390 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3391*)
3392 ac_count=0
3393 $as_echo_n 0123456789 >"conftest.in"
3394 while :
3395 do
3396 cat "conftest.in" "conftest.in" >"conftest.tmp"
3397 mv "conftest.tmp" "conftest.in"
3398 cp "conftest.in" "conftest.nl"
3399 $as_echo 'GREP' >> "conftest.nl"
3400 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3401 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3402 as_fn_arith $ac_count + 1 && ac_count=$as_val
3403 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3404 # Best one so far, save it but keep looking for a better one
3405 ac_cv_path_GREP="$ac_path_GREP"
3406 ac_path_GREP_max=$ac_count
3407 fi
3408 # 10*(2^10) chars as input seems more than enough
3409 test $ac_count -gt 10 && break
3410 done
3411 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3412esac
3413
3414 $ac_path_GREP_found && break 3
3415 done
3416 done
3417 done
3418IFS=$as_save_IFS
3419 if test -z "$ac_cv_path_GREP"; then
3420 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3421 fi
3422else
3423 ac_cv_path_GREP=$GREP
3424fi
3425
3426fi
3427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3428$as_echo "$ac_cv_path_GREP" >&6; }
3429 GREP="$ac_cv_path_GREP"
3430
3431
3432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3433$as_echo_n "checking for egrep... " >&6; }
3434if test "${ac_cv_path_EGREP+set}" = set; then :
3435 $as_echo_n "(cached) " >&6
3436else
3437 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3438 then ac_cv_path_EGREP="$GREP -E"
3439 else
3440 if test -z "$EGREP"; then
3441 ac_path_EGREP_found=false
3442 # Loop through the user's path and test for each of PROGNAME-LIST
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3445do
3446 IFS=$as_save_IFS
3447 test -z "$as_dir" && as_dir=.
3448 for ac_prog in egrep; do
3449 for ac_exec_ext in '' $ac_executable_extensions; do
3450 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3451 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3452# Check for GNU ac_path_EGREP and select it if it is found.
3453 # Check for GNU $ac_path_EGREP
3454case `"$ac_path_EGREP" --version 2>&1` in
3455*GNU*)
3456 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3457*)
3458 ac_count=0
3459 $as_echo_n 0123456789 >"conftest.in"
3460 while :
3461 do
3462 cat "conftest.in" "conftest.in" >"conftest.tmp"
3463 mv "conftest.tmp" "conftest.in"
3464 cp "conftest.in" "conftest.nl"
3465 $as_echo 'EGREP' >> "conftest.nl"
3466 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3467 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3468 as_fn_arith $ac_count + 1 && ac_count=$as_val
3469 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3470 # Best one so far, save it but keep looking for a better one
3471 ac_cv_path_EGREP="$ac_path_EGREP"
3472 ac_path_EGREP_max=$ac_count
3473 fi
3474 # 10*(2^10) chars as input seems more than enough
3475 test $ac_count -gt 10 && break
3476 done
3477 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3478esac
3479
3480 $ac_path_EGREP_found && break 3
3481 done
3482 done
3483 done
3484IFS=$as_save_IFS
3485 if test -z "$ac_cv_path_EGREP"; then
3486 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3487 fi
3488else
3489 ac_cv_path_EGREP=$EGREP
3490fi
3491
3492 fi
3493fi
3494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3495$as_echo "$ac_cv_path_EGREP" >&6; }
3496 EGREP="$ac_cv_path_EGREP"
3497
3498
3499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3500$as_echo_n "checking for ANSI C header files... " >&6; }
3501if test "${ac_cv_header_stdc+set}" = set; then :
3502 $as_echo_n "(cached) " >&6
3503else
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505/* end confdefs.h. */
3506#include <stdlib.h>
3507#include <stdarg.h>
3508#include <string.h>
3509#include <float.h>
3510
3511int
3512main ()
3513{
3514
3515 ;
3516 return 0;
3517}
3518_ACEOF
3519if ac_fn_c_try_compile "$LINENO"; then :
3520 ac_cv_header_stdc=yes
3521else
3522 ac_cv_header_stdc=no
3523fi
3524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3525
3526if test $ac_cv_header_stdc = yes; then
3527 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529/* end confdefs.h. */
3530#include <string.h>
3531
3532_ACEOF
3533if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3534 $EGREP "memchr" >/dev/null 2>&1; then :
3535
3536else
3537 ac_cv_header_stdc=no
3538fi
3539rm -f conftest*
3540
3541fi
3542
3543if test $ac_cv_header_stdc = yes; then
3544 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3546/* end confdefs.h. */
3547#include <stdlib.h>
3548
3549_ACEOF
3550if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3551 $EGREP "free" >/dev/null 2>&1; then :
3552
3553else
3554 ac_cv_header_stdc=no
3555fi
3556rm -f conftest*
3557
3558fi
3559
3560if test $ac_cv_header_stdc = yes; then
3561 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3562 if test "$cross_compiling" = yes; then :
3563 :
3564else
3565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566/* end confdefs.h. */
3567#include <ctype.h>
3568#include <stdlib.h>
3569#if ((' ' & 0x0FF) == 0x020)
3570# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3571# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3572#else
3573# define ISLOWER(c) \
3574 (('a' <= (c) && (c) <= 'i') \
3575 || ('j' <= (c) && (c) <= 'r') \
3576 || ('s' <= (c) && (c) <= 'z'))
3577# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3578#endif
3579
3580#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3581int
3582main ()
3583{
3584 int i;
3585 for (i = 0; i < 256; i++)
3586 if (XOR (islower (i), ISLOWER (i))
3587 || toupper (i) != TOUPPER (i))
3588 return 2;
3589 return 0;
3590}
3591_ACEOF
3592if ac_fn_c_try_run "$LINENO"; then :
3593
3594else
3595 ac_cv_header_stdc=no
3596fi
3597rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3598 conftest.$ac_objext conftest.beam conftest.$ac_ext
3599fi
3600
3601fi
3602fi
3603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3604$as_echo "$ac_cv_header_stdc" >&6; }
3605if test $ac_cv_header_stdc = yes; then
3606
3607$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3608
3609fi
3610
3611# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3612for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3613 inttypes.h stdint.h unistd.h
3614do :
3615 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3616ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3617"
3618if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3619 cat >>confdefs.h <<_ACEOF
3620#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3621_ACEOF
3622
3623fi
3624
3625done
3626
3627
3628for ac_header in stdint.h inttypes.h
3629do :
3630 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3631ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3632if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3633 cat >>confdefs.h <<_ACEOF
3634#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3635_ACEOF
3636
3637fi
3638
3639done
3640
3641for ac_header in net/if.h net/route.h
3642do :
3643 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3644ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3645if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3646 cat >>confdefs.h <<_ACEOF
3647#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3648_ACEOF
3649
3650fi
3651
3652done
3653
3654for ac_header in sys/socket.h
3655do :
3656 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
3657if test "x$ac_cv_header_sys_socket_h" = x""yes; then :
3658 cat >>confdefs.h <<_ACEOF
3659#define HAVE_SYS_SOCKET_H 1
3660_ACEOF
3661
3662fi
3663
3664done
3665
3666for ac_header in linux/if.h
3667do :
3668 ac_fn_c_check_header_compile "$LINENO" "linux/if.h" "ac_cv_header_linux_if_h" "#if HAVE_SYS_SOCKET_H
3669# include <sys/socket.h>
3670#endif
3671
3672"
3673if test "x$ac_cv_header_linux_if_h" = x""yes; then :
3674 cat >>confdefs.h <<_ACEOF
3675#define HAVE_LINUX_IF_H 1
3676_ACEOF
3677
3678fi
3679
3680done
3681
3682for ac_header in stropts.h sys/sockio.h net/if_tun.h
3683do :
3684 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3685ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3686if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3687 cat >>confdefs.h <<_ACEOF
3688#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3689_ACEOF
3690
3691fi
3692
3693done
3694
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3696$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3697if test "${ac_cv_c_bigendian+set}" = set; then :
3698 $as_echo_n "(cached) " >&6
3699else
3700 ac_cv_c_bigendian=unknown
3701 # See if we're dealing with a universal compiler.
3702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3703/* end confdefs.h. */
3704#ifndef __APPLE_CC__
3705 not a universal capable compiler
3706 #endif
3707 typedef int dummy;
3708
3709_ACEOF
3710if ac_fn_c_try_compile "$LINENO"; then :
3711
3712 # Check for potential -arch flags. It is not universal unless
3713 # there are at least two -arch flags with different values.
3714 ac_arch=
3715 ac_prev=
3716 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3717 if test -n "$ac_prev"; then
3718 case $ac_word in
3719 i?86 | x86_64 | ppc | ppc64)
3720 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
3721 ac_arch=$ac_word
3722 else
3723 ac_cv_c_bigendian=universal
3724 break
3725 fi
3726 ;;
3727 esac
3728 ac_prev=
3729 elif test "x$ac_word" = "x-arch"; then
3730 ac_prev=arch
3731 fi
3732 done
3733fi
3734rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3735 if test $ac_cv_c_bigendian = unknown; then
3736 # See if sys/param.h defines the BYTE_ORDER macro.
3737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3738/* end confdefs.h. */
3739#include <sys/types.h>
3740 #include <sys/param.h>
3741
3742int
3743main ()
3744{
3745#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3746 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3747 && LITTLE_ENDIAN)
3748 bogus endian macros
3749 #endif
3750
3751 ;
3752 return 0;
3753}
3754_ACEOF
3755if ac_fn_c_try_compile "$LINENO"; then :
3756 # It does; now see whether it defined to BIG_ENDIAN or not.
3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758/* end confdefs.h. */
3759#include <sys/types.h>
3760 #include <sys/param.h>
3761
3762int
3763main ()
3764{
3765#if BYTE_ORDER != BIG_ENDIAN
3766 not big endian
3767 #endif
3768
3769 ;
3770 return 0;
3771}
3772_ACEOF
3773if ac_fn_c_try_compile "$LINENO"; then :
3774 ac_cv_c_bigendian=yes
3775else
3776 ac_cv_c_bigendian=no
3777fi
3778rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3779fi
3780rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3781 fi
3782 if test $ac_cv_c_bigendian = unknown; then
3783 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3785/* end confdefs.h. */
3786#include <limits.h>
3787
3788int
3789main ()
3790{
3791#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3792 bogus endian macros
3793 #endif
3794
3795 ;
3796 return 0;
3797}
3798_ACEOF
3799if ac_fn_c_try_compile "$LINENO"; then :
3800 # It does; now see whether it defined to _BIG_ENDIAN or not.
3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3802/* end confdefs.h. */
3803#include <limits.h>
3804
3805int
3806main ()
3807{
3808#ifndef _BIG_ENDIAN
3809 not big endian
3810 #endif
3811
3812 ;
3813 return 0;
3814}
3815_ACEOF
3816if ac_fn_c_try_compile "$LINENO"; then :
3817 ac_cv_c_bigendian=yes
3818else
3819 ac_cv_c_bigendian=no
3820fi
3821rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3822fi
3823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3824 fi
3825 if test $ac_cv_c_bigendian = unknown; then
3826 # Compile a test program.
3827 if test "$cross_compiling" = yes; then :
3828 # Try to guess by grepping values from an object file.
3829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830/* end confdefs.h. */
3831short int ascii_mm[] =
3832 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3833 short int ascii_ii[] =
3834 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3835 int use_ascii (int i) {
3836 return ascii_mm[i] + ascii_ii[i];
3837 }
3838 short int ebcdic_ii[] =
3839 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3840 short int ebcdic_mm[] =
3841 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3842 int use_ebcdic (int i) {
3843 return ebcdic_mm[i] + ebcdic_ii[i];
3844 }
3845 extern int foo;
3846
3847int
3848main ()
3849{
3850return use_ascii (foo) == use_ebcdic (foo);
3851 ;
3852 return 0;
3853}
3854_ACEOF
3855if ac_fn_c_try_compile "$LINENO"; then :
3856 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
3857 ac_cv_c_bigendian=yes
3858 fi
3859 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
3860 if test "$ac_cv_c_bigendian" = unknown; then
3861 ac_cv_c_bigendian=no
3862 else
3863 # finding both strings is unlikely to happen, but who knows?
3864 ac_cv_c_bigendian=unknown
3865 fi
3866 fi
3867fi
3868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3869else
3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3871/* end confdefs.h. */
3872$ac_includes_default
3873int
3874main ()
3875{
3876
3877 /* Are we little or big endian? From Harbison&Steele. */
3878 union
3879 {
3880 long int l;
3881 char c[sizeof (long int)];
3882 } u;
3883 u.l = 1;
3884 return u.c[sizeof (long int) - 1] == 1;
3885
3886 ;
3887 return 0;
3888}
3889_ACEOF
3890if ac_fn_c_try_run "$LINENO"; then :
3891 ac_cv_c_bigendian=no
3892else
3893 ac_cv_c_bigendian=yes
3894fi
3895rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3896 conftest.$ac_objext conftest.beam conftest.$ac_ext
3897fi
3898
3899 fi
3900fi
3901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
3902$as_echo "$ac_cv_c_bigendian" >&6; }
3903 case $ac_cv_c_bigendian in #(
3904 yes)
3905 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
3906;; #(
3907 no)
3908 ;; #(
3909 universal)
3910
3911$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
3912
3913 ;; #(
3914 *)
3915 as_fn_error $? "unknown endianness
3916 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
3917 esac
3918
3919# The cast to long int works around a bug in the HP C Compiler
3920# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3921# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3922# This bug is HP SR number 8606223364.
3923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long long" >&5
3924$as_echo_n "checking size of unsigned long long... " >&6; }
3925if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then :
3926 $as_echo_n "(cached) " >&6
3927else
3928 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long long))" "ac_cv_sizeof_unsigned_long_long" "$ac_includes_default"; then :
3929
3930else
3931 if test "$ac_cv_type_unsigned_long_long" = yes; then
3932 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3933$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3934as_fn_error 77 "cannot compute sizeof (unsigned long long)
3935See \`config.log' for more details" "$LINENO" 5 ; }
3936 else
3937 ac_cv_sizeof_unsigned_long_long=0
3938 fi
3939fi
3940
3941fi
3942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long_long" >&5
3943$as_echo "$ac_cv_sizeof_unsigned_long_long" >&6; }
3944
3945
3946
3947cat >>confdefs.h <<_ACEOF
3948#define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
3949_ACEOF
3950
3951
3952# The cast to long int works around a bug in the HP C Compiler
3953# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3954# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3955# This bug is HP SR number 8606223364.
3956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
3957$as_echo_n "checking size of unsigned long... " >&6; }
3958if test "${ac_cv_sizeof_unsigned_long+set}" = set; then :
3959 $as_echo_n "(cached) " >&6
3960else
3961 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
3962
3963else
3964 if test "$ac_cv_type_unsigned_long" = yes; then
3965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3966$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3967as_fn_error 77 "cannot compute sizeof (unsigned long)
3968See \`config.log' for more details" "$LINENO" 5 ; }
3969 else
3970 ac_cv_sizeof_unsigned_long=0
3971 fi
3972fi
3973
3974fi
3975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
3976$as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
3977
3978
3979
3980cat >>confdefs.h <<_ACEOF
3981#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
3982_ACEOF
3983
3984
3985# The cast to long int works around a bug in the HP C Compiler
3986# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3987# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3988# This bug is HP SR number 8606223364.
3989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
3990$as_echo_n "checking size of unsigned int... " >&6; }
3991if test "${ac_cv_sizeof_unsigned_int+set}" = set; then :
3992 $as_echo_n "(cached) " >&6
3993else
3994 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
3995
3996else
3997 if test "$ac_cv_type_unsigned_int" = yes; then
3998 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3999$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4000as_fn_error 77 "cannot compute sizeof (unsigned int)
4001See \`config.log' for more details" "$LINENO" 5 ; }
4002 else
4003 ac_cv_sizeof_unsigned_int=0
4004 fi
4005fi
4006
4007fi
4008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
4009$as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
4010
4011
4012
4013cat >>confdefs.h <<_ACEOF
4014#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
4015_ACEOF
4016
4017
4018# The cast to long int works around a bug in the HP C Compiler
4019# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4020# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4021# This bug is HP SR number 8606223364.
4022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
4023$as_echo_n "checking size of unsigned short... " >&6; }
4024if test "${ac_cv_sizeof_unsigned_short+set}" = set; then :
4025 $as_echo_n "(cached) " >&6
4026else
4027 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
4028
4029else
4030 if test "$ac_cv_type_unsigned_short" = yes; then
4031 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4032$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4033as_fn_error 77 "cannot compute sizeof (unsigned short)
4034See \`config.log' for more details" "$LINENO" 5 ; }
4035 else
4036 ac_cv_sizeof_unsigned_short=0
4037 fi
4038fi
4039
4040fi
4041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
4042$as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
4043
4044
4045
4046cat >>confdefs.h <<_ACEOF
4047#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
4048_ACEOF
4049
4050
4051# The cast to long int works around a bug in the HP C Compiler
4052# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4053# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4054# This bug is HP SR number 8606223364.
4055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned char" >&5
4056$as_echo_n "checking size of unsigned char... " >&6; }
4057if test "${ac_cv_sizeof_unsigned_char+set}" = set; then :
4058 $as_echo_n "(cached) " >&6
4059else
4060 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned char))" "ac_cv_sizeof_unsigned_char" "$ac_includes_default"; then :
4061
4062else
4063 if test "$ac_cv_type_unsigned_char" = yes; then
4064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4065$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4066as_fn_error 77 "cannot compute sizeof (unsigned char)
4067See \`config.log' for more details" "$LINENO" 5 ; }
4068 else
4069 ac_cv_sizeof_unsigned_char=0
4070 fi
4071fi
4072
4073fi
4074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_char" >&5
4075$as_echo "$ac_cv_sizeof_unsigned_char" >&6; }
4076
4077
4078
4079cat >>confdefs.h <<_ACEOF
4080#define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
4081_ACEOF
4082
4083
4084
4085 hard=
4086 if test -z "$hard"; then
4087 msg="C to warn about writing to stringliterals"
4088 else
4089 msg="C to prohibit any write to stringliterals"
4090 fi
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $msg" >&5
4092$as_echo_n "checking $msg... " >&6; }
4093if test "${ac_cv_prog_cc_no_writeable_strings+set}" = set; then :
4094 $as_echo_n "(cached) " >&6
4095else
4096
4097 cat > conftest.c <<EOF
4098#include <string.h>
4099int main (void)
4100{
4101 char test[16];
4102 if (strcpy (test, "test")) return 0;
4103 return 1;
4104}
4105EOF
4106 if test "$GCC" = "yes";
4107 then
4108 if test -z "$hard"; then
4109 ac_cv_prog_cc_no_writeable_strings="-Wwrite-strings"
4110 else
4111 ac_cv_prog_cc_no_writeable_strings="-fno-writable-strings -Wwrite-strings"
4112 fi
4113
4114 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
4115 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
4116 fi
4117
4118 elif $CC -flags 2>&1 | grep "Xc.*strict ANSI C" > /dev/null 2>&1 &&
4119 $CC -c -xstrconst conftest.c > /dev/null 2>&1 &&
4120 test -f conftest.o
4121 then
4122 # strings go into readonly segment
4123 ac_cv_prog_cc_no_writeable_strings="-xstrconst"
4124
4125 rm conftest.o
4126 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
4127 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
4128 fi
4129
4130 elif $CC > /dev/null 2>&1 &&
4131 $CC -c +ESlit conftest.c > /dev/null 2>&1 &&
4132 test -f conftest.o
4133 then
4134 # strings go into readonly segment
4135 ac_cv_prog_cc_no_writeable_strings="+ESlit"
4136
4137 rm conftest.o
4138 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
4139 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
4140 fi
4141
4142 elif ! $CC > /dev/null 2>&1 &&
4143 $CC -c -readonly_strings conftest.c > /dev/null 2>&1 &&
4144 test -f conftest.o
4145 then
4146 # strings go into readonly segment
4147 ac_cv_prog_cc_no_writeable_strings="-readonly_strings"
4148
4149 rm conftest.o
4150 if test -n "`${CC-cc} -c $ac_cv_prog_cc_no_writeable_strings conftest.c 2>&1`" ; then
4151 ac_cv_prog_cc_no_writeable_strings="suppressed: string.h"
4152 fi
4153
4154
4155 # -use_readonly_const is the default for IRIX C,
4156 # puts them into .rodata, but they are copied later.
4157 # need to be "-G0 -rdatashared" for strictmode but
4158 # I am not sure what effect that has really.
4159
4160 fi
4161 rm -f conftest.*
4162
4163fi
4164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_no_writeable_strings" >&5
4165$as_echo "$ac_cv_prog_cc_no_writeable_strings" >&6; }
4166 if test -z "$WRITESTRINGS" ; then
4167 if test -n "$ac_cv_prog_cc_no_writeable_strings" ; then
4168 case "$ac_cv_prog_cc_no_writeable_strings" in
4169 suppressed*) WRITESTRINGS="" ;; # known but suppressed
4170 *) WRITESTRINGS="$ac_cv_prog_cc_no_writeable_strings" ;;
4171 esac
4172 fi
4173 fi
4174
4175
4176
e1b81bd6
IJ
4177# Check whether --enable-hacky-parallel was given.
4178if test "${enable_hacky_parallel+set}" = set; then :
4179 enableval=$enable_hacky_parallel;
4180 case "$enableval" in
4181 n|0|no) ;;
4182 y|1|yes) CFLAGS="$CFLAGS -DHACKY_PARALLEL" ;;
4183 *) ;;
4184 esac
4185
4186fi
4187
4188
94759fd3
IJ
4189
4190
4191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpz_init_set_str in -lgmp" >&5
4192$as_echo_n "checking for mpz_init_set_str in -lgmp... " >&6; }
4193if test "${ac_cv_lib_gmp_mpz_init_set_str+set}" = set; then :
4194 $as_echo_n "(cached) " >&6
4195else
4196 ac_check_lib_save_LIBS=$LIBS
4197LIBS="-lgmp $LIBS"
4198cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199/* end confdefs.h. */
4200
4201/* Override any GCC internal prototype to avoid an error.
4202 Use char because int might match the return type of a GCC
4203 builtin and then its argument prototype would still apply. */
4204#ifdef __cplusplus
4205extern "C"
4206#endif
4207char mpz_init_set_str ();
4208int
4209main ()
4210{
4211return mpz_init_set_str ();
4212 ;
4213 return 0;
4214}
4215_ACEOF
4216if ac_fn_c_try_link "$LINENO"; then :
4217 ac_cv_lib_gmp_mpz_init_set_str=yes
4218else
4219 ac_cv_lib_gmp_mpz_init_set_str=no
4220fi
4221rm -f core conftest.err conftest.$ac_objext \
4222 conftest$ac_exeext conftest.$ac_ext
4223LIBS=$ac_check_lib_save_LIBS
4224fi
4225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_mpz_init_set_str" >&5
4226$as_echo "$ac_cv_lib_gmp_mpz_init_set_str" >&6; }
4227if test "x$ac_cv_lib_gmp_mpz_init_set_str" = x""yes; then :
4228 cat >>confdefs.h <<_ACEOF
4229#define HAVE_LIBGMP 1
4230_ACEOF
4231
4232 LIBS="-lgmp $LIBS"
4233
4234fi
4235
4236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpz_init_set_str in -lgmp2" >&5
4237$as_echo_n "checking for mpz_init_set_str in -lgmp2... " >&6; }
4238if test "${ac_cv_lib_gmp2_mpz_init_set_str+set}" = set; then :
4239 $as_echo_n "(cached) " >&6
4240else
4241 ac_check_lib_save_LIBS=$LIBS
4242LIBS="-lgmp2 $LIBS"
4243cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4244/* end confdefs.h. */
4245
4246/* Override any GCC internal prototype to avoid an error.
4247 Use char because int might match the return type of a GCC
4248 builtin and then its argument prototype would still apply. */
4249#ifdef __cplusplus
4250extern "C"
4251#endif
4252char mpz_init_set_str ();
4253int
4254main ()
4255{
4256return mpz_init_set_str ();
4257 ;
4258 return 0;
4259}
4260_ACEOF
4261if ac_fn_c_try_link "$LINENO"; then :
4262 ac_cv_lib_gmp2_mpz_init_set_str=yes
4263else
4264 ac_cv_lib_gmp2_mpz_init_set_str=no
4265fi
4266rm -f core conftest.err conftest.$ac_objext \
4267 conftest$ac_exeext conftest.$ac_ext
4268LIBS=$ac_check_lib_save_LIBS
4269fi
4270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp2_mpz_init_set_str" >&5
4271$as_echo "$ac_cv_lib_gmp2_mpz_init_set_str" >&6; }
4272if test "x$ac_cv_lib_gmp2_mpz_init_set_str" = x""yes; then :
4273 cat >>confdefs.h <<_ACEOF
4274#define HAVE_LIBGMP2 1
4275_ACEOF
4276
4277 LIBS="-lgmp2 $LIBS"
4278
4279fi
4280
4281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init_set_str in -lgmp" >&5
4282$as_echo_n "checking for __gmpz_init_set_str in -lgmp... " >&6; }
4283if test "${ac_cv_lib_gmp___gmpz_init_set_str+set}" = set; then :
4284 $as_echo_n "(cached) " >&6
4285else
4286 ac_check_lib_save_LIBS=$LIBS
4287LIBS="-lgmp $LIBS"
4288cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4289/* end confdefs.h. */
4290
4291/* Override any GCC internal prototype to avoid an error.
4292 Use char because int might match the return type of a GCC
4293 builtin and then its argument prototype would still apply. */
4294#ifdef __cplusplus
4295extern "C"
4296#endif
4297char __gmpz_init_set_str ();
4298int
4299main ()
4300{
4301return __gmpz_init_set_str ();
4302 ;
4303 return 0;
4304}
4305_ACEOF
4306if ac_fn_c_try_link "$LINENO"; then :
4307 ac_cv_lib_gmp___gmpz_init_set_str=yes
4308else
4309 ac_cv_lib_gmp___gmpz_init_set_str=no
4310fi
4311rm -f core conftest.err conftest.$ac_objext \
4312 conftest$ac_exeext conftest.$ac_ext
4313LIBS=$ac_check_lib_save_LIBS
4314fi
4315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init_set_str" >&5
4316$as_echo "$ac_cv_lib_gmp___gmpz_init_set_str" >&6; }
4317if test "x$ac_cv_lib_gmp___gmpz_init_set_str" = x""yes; then :
4318 cat >>confdefs.h <<_ACEOF
4319#define HAVE_LIBGMP 1
4320_ACEOF
4321
4322 LIBS="-lgmp $LIBS"
4323
4324fi
4325
4326ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
4327if test "x$ac_cv_header_gmp_h" = x""yes; then :
4328
4329else
4330 as_fn_error $? "gmp.h not found" "$LINENO" 5
4331fi
4332
4333
4334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for yywrap in -lfl" >&5
4335$as_echo_n "checking for yywrap in -lfl... " >&6; }
4336if test "${ac_cv_lib_fl_yywrap+set}" = set; then :
4337 $as_echo_n "(cached) " >&6
4338else
4339 ac_check_lib_save_LIBS=$LIBS
4340LIBS="-lfl $LIBS"
4341cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4342/* end confdefs.h. */
4343
4344/* Override any GCC internal prototype to avoid an error.
4345 Use char because int might match the return type of a GCC
4346 builtin and then its argument prototype would still apply. */
4347#ifdef __cplusplus
4348extern "C"
4349#endif
4350char yywrap ();
4351int
4352main ()
4353{
4354return yywrap ();
4355 ;
4356 return 0;
4357}
4358_ACEOF
4359if ac_fn_c_try_link "$LINENO"; then :
4360 ac_cv_lib_fl_yywrap=yes
4361else
4362 ac_cv_lib_fl_yywrap=no
4363fi
4364rm -f core conftest.err conftest.$ac_objext \
4365 conftest$ac_exeext conftest.$ac_ext
4366LIBS=$ac_check_lib_save_LIBS
4367fi
4368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fl_yywrap" >&5
4369$as_echo "$ac_cv_lib_fl_yywrap" >&6; }
4370if test "x$ac_cv_lib_fl_yywrap" = x""yes; then :
4371 cat >>confdefs.h <<_ACEOF
4372#define HAVE_LIBFL 1
4373_ACEOF
4374
4375 LIBS="-lfl $LIBS"
4376
4377fi
4378
4379if test "$ac_cv_lib_fl_yywrap" != yes; then
4380 as_fn_error $? "A compatible libfl is required" "$LINENO" 5
4381fi
4382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lnsl" >&5
4383$as_echo_n "checking for inet_ntoa in -lnsl... " >&6; }
4384if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then :
4385 $as_echo_n "(cached) " >&6
4386else
4387 ac_check_lib_save_LIBS=$LIBS
4388LIBS="-lnsl $LIBS"
4389cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390/* end confdefs.h. */
4391
4392/* Override any GCC internal prototype to avoid an error.
4393 Use char because int might match the return type of a GCC
4394 builtin and then its argument prototype would still apply. */
4395#ifdef __cplusplus
4396extern "C"
4397#endif
4398char inet_ntoa ();
4399int
4400main ()
4401{
4402return inet_ntoa ();
4403 ;
4404 return 0;
4405}
4406_ACEOF
4407if ac_fn_c_try_link "$LINENO"; then :
4408 ac_cv_lib_nsl_inet_ntoa=yes
4409else
4410 ac_cv_lib_nsl_inet_ntoa=no
4411fi
4412rm -f core conftest.err conftest.$ac_objext \
4413 conftest$ac_exeext conftest.$ac_ext
4414LIBS=$ac_check_lib_save_LIBS
4415fi
4416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_ntoa" >&5
4417$as_echo "$ac_cv_lib_nsl_inet_ntoa" >&6; }
4418if test "x$ac_cv_lib_nsl_inet_ntoa" = x""yes; then :
4419 cat >>confdefs.h <<_ACEOF
4420#define HAVE_LIBNSL 1
4421_ACEOF
4422
4423 LIBS="-lnsl $LIBS"
4424
4425fi
4426
94759fd3
IJ
4427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
4428$as_echo_n "checking for socket in -lsocket... " >&6; }
4429if test "${ac_cv_lib_socket_socket+set}" = set; then :
4430 $as_echo_n "(cached) " >&6
4431else
4432 ac_check_lib_save_LIBS=$LIBS
4433LIBS="-lsocket $LIBS"
4434cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4435/* end confdefs.h. */
4436
4437/* Override any GCC internal prototype to avoid an error.
4438 Use char because int might match the return type of a GCC
4439 builtin and then its argument prototype would still apply. */
4440#ifdef __cplusplus
4441extern "C"
4442#endif
4443char socket ();
4444int
4445main ()
4446{
4447return socket ();
4448 ;
4449 return 0;
4450}
4451_ACEOF
4452if ac_fn_c_try_link "$LINENO"; then :
4453 ac_cv_lib_socket_socket=yes
4454else
4455 ac_cv_lib_socket_socket=no
4456fi
4457rm -f core conftest.err conftest.$ac_objext \
4458 conftest$ac_exeext conftest.$ac_ext
4459LIBS=$ac_check_lib_save_LIBS
4460fi
4461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
4462$as_echo "$ac_cv_lib_socket_socket" >&6; }
4463if test "x$ac_cv_lib_socket_socket" = x""yes; then :
4464 cat >>confdefs.h <<_ACEOF
4465#define HAVE_LIBSOCKET 1
4466_ACEOF
4467
4468 LIBS="-lsocket $LIBS"
4469
4470fi
4471
4472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
4473$as_echo_n "checking for inet_aton in -lresolv... " >&6; }
4474if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then :
4475 $as_echo_n "(cached) " >&6
4476else
4477 ac_check_lib_save_LIBS=$LIBS
4478LIBS="-lresolv $LIBS"
4479cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480/* end confdefs.h. */
4481
4482/* Override any GCC internal prototype to avoid an error.
4483 Use char because int might match the return type of a GCC
4484 builtin and then its argument prototype would still apply. */
4485#ifdef __cplusplus
4486extern "C"
4487#endif
4488char inet_aton ();
4489int
4490main ()
4491{
4492return inet_aton ();
4493 ;
4494 return 0;
4495}
4496_ACEOF
4497if ac_fn_c_try_link "$LINENO"; then :
4498 ac_cv_lib_resolv_inet_aton=yes
4499else
4500 ac_cv_lib_resolv_inet_aton=no
4501fi
4502rm -f core conftest.err conftest.$ac_objext \
4503 conftest$ac_exeext conftest.$ac_ext
4504LIBS=$ac_check_lib_save_LIBS
4505fi
4506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
4507$as_echo "$ac_cv_lib_resolv_inet_aton" >&6; }
4508if test "x$ac_cv_lib_resolv_inet_aton" = x""yes; then :
4509 cat >>confdefs.h <<_ACEOF
4510#define HAVE_LIBRESOLV 1
4511_ACEOF
4512
4513 LIBS="-lresolv $LIBS"
4514
4515fi
4516
4517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for adns_init in -ladns" >&5
4518$as_echo_n "checking for adns_init in -ladns... " >&6; }
4519if test "${ac_cv_lib_adns_adns_init+set}" = set; then :
4520 $as_echo_n "(cached) " >&6
4521else
4522 ac_check_lib_save_LIBS=$LIBS
4523LIBS="-ladns $LIBS"
4524cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525/* end confdefs.h. */
4526
4527/* Override any GCC internal prototype to avoid an error.
4528 Use char because int might match the return type of a GCC
4529 builtin and then its argument prototype would still apply. */
4530#ifdef __cplusplus
4531extern "C"
4532#endif
4533char adns_init ();
4534int
4535main ()
4536{
4537return adns_init ();
4538 ;
4539 return 0;
4540}
4541_ACEOF
4542if ac_fn_c_try_link "$LINENO"; then :
4543 ac_cv_lib_adns_adns_init=yes
4544else
4545 ac_cv_lib_adns_adns_init=no
4546fi
4547rm -f core conftest.err conftest.$ac_objext \
4548 conftest$ac_exeext conftest.$ac_ext
4549LIBS=$ac_check_lib_save_LIBS
4550fi
4551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_adns_adns_init" >&5
4552$as_echo "$ac_cv_lib_adns_adns_init" >&6; }
4553if test "x$ac_cv_lib_adns_adns_init" = x""yes; then :
4554 cat >>confdefs.h <<_ACEOF
4555#define HAVE_LIBADNS 1
4556_ACEOF
4557
4558 LIBS="-ladns $LIBS"
4559
4560fi
4561
4562ac_fn_c_check_header_mongrel "$LINENO" "adns.h" "ac_cv_header_adns_h" "$ac_includes_default"
4563if test "x$ac_cv_header_adns_h" = x""yes; then :
4564
4565else
4566 as_fn_error $? "adns.h not found" "$LINENO" 5
4567fi
4568
4569
4570
94759fd3
IJ
4571ac_config_files="$ac_config_files Makefile"
4572
4573ac_config_commands="$ac_config_commands default"
4574
4575cat >confcache <<\_ACEOF
4576# This file is a shell script that caches the results of configure
4577# tests run on this system so they can be shared between configure
4578# scripts and configure runs, see configure's option --config-cache.
4579# It is not useful on other systems. If it contains results you don't
4580# want to keep, you may remove or edit it.
4581#
4582# config.status only pays attention to the cache file if you give it
4583# the --recheck option to rerun configure.
4584#
4585# `ac_cv_env_foo' variables (set or unset) will be overridden when
4586# loading this file, other *unset* `ac_cv_foo' will be assigned the
4587# following values.
4588
4589_ACEOF
4590
4591# The following way of writing the cache mishandles newlines in values,
4592# but we know of no workaround that is simple, portable, and efficient.
4593# So, we kill variables containing newlines.
4594# Ultrix sh set writes to stderr and can't be redirected directly,
4595# and sets the high bit in the cache file unless we assign to the vars.
4596(
4597 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4598 eval ac_val=\$$ac_var
4599 case $ac_val in #(
4600 *${as_nl}*)
4601 case $ac_var in #(
4602 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4603$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4604 esac
4605 case $ac_var in #(
4606 _ | IFS | as_nl) ;; #(
4607 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4608 *) { eval $ac_var=; unset $ac_var;} ;;
4609 esac ;;
4610 esac
4611 done
4612
4613 (set) 2>&1 |
4614 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4615 *${as_nl}ac_space=\ *)
4616 # `set' does not quote correctly, so add quotes: double-quote
4617 # substitution turns \\\\ into \\, and sed turns \\ into \.
4618 sed -n \
4619 "s/'/'\\\\''/g;
4620 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4621 ;; #(
4622 *)
4623 # `set' quotes correctly as required by POSIX, so do not add quotes.
4624 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4625 ;;
4626 esac |
4627 sort
4628) |
4629 sed '
4630 /^ac_cv_env_/b end
4631 t clear
4632 :clear
4633 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4634 t end
4635 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4636 :end' >>confcache
4637if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4638 if test -w "$cache_file"; then
4639 test "x$cache_file" != "x/dev/null" &&
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4641$as_echo "$as_me: updating cache $cache_file" >&6;}
4642 cat confcache >$cache_file
4643 else
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4645$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4646 fi
4647fi
4648rm -f confcache
4649
4650test "x$prefix" = xNONE && prefix=$ac_default_prefix
4651# Let make expand exec_prefix.
4652test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4653
4654DEFS=-DHAVE_CONFIG_H
4655
4656ac_libobjs=
4657ac_ltlibobjs=
4658U=
4659for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4660 # 1. Remove the extension, and $U if already installed.
4661 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4662 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4663 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4664 # will be set to the directory where LIBOBJS objects are built.
4665 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4666 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4667done
4668LIBOBJS=$ac_libobjs
4669
4670LTLIBOBJS=$ac_ltlibobjs
4671
4672
4673
4674
4675: ${CONFIG_STATUS=./config.status}
4676ac_write_fail=0
4677ac_clean_files_save=$ac_clean_files
4678ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4679{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4680$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4681as_write_fail=0
4682cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4683#! $SHELL
4684# Generated by $as_me.
4685# Run this file to recreate the current configuration.
4686# Compiler output produced by configure, useful for debugging
4687# configure, is in config.log if it exists.
4688
4689debug=false
4690ac_cs_recheck=false
4691ac_cs_silent=false
4692
4693SHELL=\${CONFIG_SHELL-$SHELL}
4694export SHELL
4695_ASEOF
4696cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4697## -------------------- ##
4698## M4sh Initialization. ##
4699## -------------------- ##
4700
4701# Be more Bourne compatible
4702DUALCASE=1; export DUALCASE # for MKS sh
4703if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4704 emulate sh
4705 NULLCMD=:
4706 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4707 # is contrary to our usage. Disable this feature.
4708 alias -g '${1+"$@"}'='"$@"'
4709 setopt NO_GLOB_SUBST
4710else
4711 case `(set -o) 2>/dev/null` in #(
4712 *posix*) :
4713 set -o posix ;; #(
4714 *) :
4715 ;;
4716esac
4717fi
4718
4719
4720as_nl='
4721'
4722export as_nl
4723# Printing a long string crashes Solaris 7 /usr/bin/printf.
4724as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4725as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4726as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4727# Prefer a ksh shell builtin over an external printf program on Solaris,
4728# but without wasting forks for bash or zsh.
4729if test -z "$BASH_VERSION$ZSH_VERSION" \
4730 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4731 as_echo='print -r --'
4732 as_echo_n='print -rn --'
4733elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4734 as_echo='printf %s\n'
4735 as_echo_n='printf %s'
4736else
4737 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4738 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4739 as_echo_n='/usr/ucb/echo -n'
4740 else
4741 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4742 as_echo_n_body='eval
4743 arg=$1;
4744 case $arg in #(
4745 *"$as_nl"*)
4746 expr "X$arg" : "X\\(.*\\)$as_nl";
4747 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4748 esac;
4749 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4750 '
4751 export as_echo_n_body
4752 as_echo_n='sh -c $as_echo_n_body as_echo'
4753 fi
4754 export as_echo_body
4755 as_echo='sh -c $as_echo_body as_echo'
4756fi
4757
4758# The user is always right.
4759if test "${PATH_SEPARATOR+set}" != set; then
4760 PATH_SEPARATOR=:
4761 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4762 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4763 PATH_SEPARATOR=';'
4764 }
4765fi
4766
4767
4768# IFS
4769# We need space, tab and new line, in precisely that order. Quoting is
4770# there to prevent editors from complaining about space-tab.
4771# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4772# splitting by setting IFS to empty value.)
4773IFS=" "" $as_nl"
4774
4775# Find who we are. Look in the path if we contain no directory separator.
4776case $0 in #((
4777 *[\\/]* ) as_myself=$0 ;;
4778 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4779for as_dir in $PATH
4780do
4781 IFS=$as_save_IFS
4782 test -z "$as_dir" && as_dir=.
4783 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4784 done
4785IFS=$as_save_IFS
4786
4787 ;;
4788esac
4789# We did not find ourselves, most probably we were run as `sh COMMAND'
4790# in which case we are not to be found in the path.
4791if test "x$as_myself" = x; then
4792 as_myself=$0
4793fi
4794if test ! -f "$as_myself"; then
4795 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4796 exit 1
4797fi
4798
4799# Unset variables that we do not need and which cause bugs (e.g. in
4800# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4801# suppresses any "Segmentation fault" message there. '((' could
4802# trigger a bug in pdksh 5.2.14.
4803for as_var in BASH_ENV ENV MAIL MAILPATH
4804do eval test x\${$as_var+set} = xset \
4805 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4806done
4807PS1='$ '
4808PS2='> '
4809PS4='+ '
4810
4811# NLS nuisances.
4812LC_ALL=C
4813export LC_ALL
4814LANGUAGE=C
4815export LANGUAGE
4816
4817# CDPATH.
4818(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4819
4820
4821# as_fn_error STATUS ERROR [LINENO LOG_FD]
4822# ----------------------------------------
4823# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4824# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4825# script with STATUS, using 1 if that was 0.
4826as_fn_error ()
4827{
4828 as_status=$1; test $as_status -eq 0 && as_status=1
4829 if test "$4"; then
4830 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4831 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4832 fi
4833 $as_echo "$as_me: error: $2" >&2
4834 as_fn_exit $as_status
4835} # as_fn_error
4836
4837
4838# as_fn_set_status STATUS
4839# -----------------------
4840# Set $? to STATUS, without forking.
4841as_fn_set_status ()
4842{
4843 return $1
4844} # as_fn_set_status
4845
4846# as_fn_exit STATUS
4847# -----------------
4848# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4849as_fn_exit ()
4850{
4851 set +e
4852 as_fn_set_status $1
4853 exit $1
4854} # as_fn_exit
4855
4856# as_fn_unset VAR
4857# ---------------
4858# Portably unset VAR.
4859as_fn_unset ()
4860{
4861 { eval $1=; unset $1;}
4862}
4863as_unset=as_fn_unset
4864# as_fn_append VAR VALUE
4865# ----------------------
4866# Append the text in VALUE to the end of the definition contained in VAR. Take
4867# advantage of any shell optimizations that allow amortized linear growth over
4868# repeated appends, instead of the typical quadratic growth present in naive
4869# implementations.
4870if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4871 eval 'as_fn_append ()
4872 {
4873 eval $1+=\$2
4874 }'
4875else
4876 as_fn_append ()
4877 {
4878 eval $1=\$$1\$2
4879 }
4880fi # as_fn_append
4881
4882# as_fn_arith ARG...
4883# ------------------
4884# Perform arithmetic evaluation on the ARGs, and store the result in the
4885# global $as_val. Take advantage of shells that can avoid forks. The arguments
4886# must be portable across $(()) and expr.
4887if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4888 eval 'as_fn_arith ()
4889 {
4890 as_val=$(( $* ))
4891 }'
4892else
4893 as_fn_arith ()
4894 {
4895 as_val=`expr "$@" || test $? -eq 1`
4896 }
4897fi # as_fn_arith
4898
4899
4900if expr a : '\(a\)' >/dev/null 2>&1 &&
4901 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4902 as_expr=expr
4903else
4904 as_expr=false
4905fi
4906
4907if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4908 as_basename=basename
4909else
4910 as_basename=false
4911fi
4912
4913if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4914 as_dirname=dirname
4915else
4916 as_dirname=false
4917fi
4918
4919as_me=`$as_basename -- "$0" ||
4920$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4921 X"$0" : 'X\(//\)$' \| \
4922 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4923$as_echo X/"$0" |
4924 sed '/^.*\/\([^/][^/]*\)\/*$/{
4925 s//\1/
4926 q
4927 }
4928 /^X\/\(\/\/\)$/{
4929 s//\1/
4930 q
4931 }
4932 /^X\/\(\/\).*/{
4933 s//\1/
4934 q
4935 }
4936 s/.*/./; q'`
4937
4938# Avoid depending upon Character Ranges.
4939as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4940as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4941as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4942as_cr_digits='0123456789'
4943as_cr_alnum=$as_cr_Letters$as_cr_digits
4944
4945ECHO_C= ECHO_N= ECHO_T=
4946case `echo -n x` in #(((((
4947-n*)
4948 case `echo 'xy\c'` in
4949 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4950 xy) ECHO_C='\c';;
4951 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4952 ECHO_T=' ';;
4953 esac;;
4954*)
4955 ECHO_N='-n';;
4956esac
4957
4958rm -f conf$$ conf$$.exe conf$$.file
4959if test -d conf$$.dir; then
4960 rm -f conf$$.dir/conf$$.file
4961else
4962 rm -f conf$$.dir
4963 mkdir conf$$.dir 2>/dev/null
4964fi
4965if (echo >conf$$.file) 2>/dev/null; then
4966 if ln -s conf$$.file conf$$ 2>/dev/null; then
4967 as_ln_s='ln -s'
4968 # ... but there are two gotchas:
4969 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4970 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4971 # In both cases, we have to default to `cp -p'.
4972 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4973 as_ln_s='cp -p'
4974 elif ln conf$$.file conf$$ 2>/dev/null; then
4975 as_ln_s=ln
4976 else
4977 as_ln_s='cp -p'
4978 fi
4979else
4980 as_ln_s='cp -p'
4981fi
4982rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4983rmdir conf$$.dir 2>/dev/null
4984
4985
4986# as_fn_mkdir_p
4987# -------------
4988# Create "$as_dir" as a directory, including parents if necessary.
4989as_fn_mkdir_p ()
4990{
4991
4992 case $as_dir in #(
4993 -*) as_dir=./$as_dir;;
4994 esac
4995 test -d "$as_dir" || eval $as_mkdir_p || {
4996 as_dirs=
4997 while :; do
4998 case $as_dir in #(
4999 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5000 *) as_qdir=$as_dir;;
5001 esac
5002 as_dirs="'$as_qdir' $as_dirs"
5003 as_dir=`$as_dirname -- "$as_dir" ||
5004$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5005 X"$as_dir" : 'X\(//\)[^/]' \| \
5006 X"$as_dir" : 'X\(//\)$' \| \
5007 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5008$as_echo X"$as_dir" |
5009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5010 s//\1/
5011 q
5012 }
5013 /^X\(\/\/\)[^/].*/{
5014 s//\1/
5015 q
5016 }
5017 /^X\(\/\/\)$/{
5018 s//\1/
5019 q
5020 }
5021 /^X\(\/\).*/{
5022 s//\1/
5023 q
5024 }
5025 s/.*/./; q'`
5026 test -d "$as_dir" && break
5027 done
5028 test -z "$as_dirs" || eval "mkdir $as_dirs"
5029 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5030
5031
5032} # as_fn_mkdir_p
5033if mkdir -p . 2>/dev/null; then
5034 as_mkdir_p='mkdir -p "$as_dir"'
5035else
5036 test -d ./-p && rmdir ./-p
5037 as_mkdir_p=false
5038fi
5039
5040if test -x / >/dev/null 2>&1; then
5041 as_test_x='test -x'
5042else
5043 if ls -dL / >/dev/null 2>&1; then
5044 as_ls_L_option=L
5045 else
5046 as_ls_L_option=
5047 fi
5048 as_test_x='
5049 eval sh -c '\''
5050 if test -d "$1"; then
5051 test -d "$1/.";
5052 else
5053 case $1 in #(
5054 -*)set "./$1";;
5055 esac;
5056 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5057 ???[sx]*):;;*)false;;esac;fi
5058 '\'' sh
5059 '
5060fi
5061as_executable_p=$as_test_x
5062
5063# Sed expression to map a string onto a valid CPP name.
5064as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5065
5066# Sed expression to map a string onto a valid variable name.
5067as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5068
5069
5070exec 6>&1
5071## ----------------------------------- ##
5072## Main body of $CONFIG_STATUS script. ##
5073## ----------------------------------- ##
5074_ASEOF
5075test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5076
5077cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5078# Save the log message, to keep $0 and so on meaningful, and to
5079# report actual input values of CONFIG_FILES etc. instead of their
5080# values after options handling.
5081ac_log="
00152558 5082This file was extended by secnet $as_me 0.1.18+, which was
94759fd3
IJ
5083generated by GNU Autoconf 2.67. Invocation command line was
5084
5085 CONFIG_FILES = $CONFIG_FILES
5086 CONFIG_HEADERS = $CONFIG_HEADERS
5087 CONFIG_LINKS = $CONFIG_LINKS
5088 CONFIG_COMMANDS = $CONFIG_COMMANDS
5089 $ $0 $@
5090
5091on `(hostname || uname -n) 2>/dev/null | sed 1q`
5092"
5093
5094_ACEOF
5095
5096case $ac_config_files in *"
5097"*) set x $ac_config_files; shift; ac_config_files=$*;;
5098esac
5099
5100case $ac_config_headers in *"
5101"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5102esac
5103
5104
5105cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5106# Files that config.status was made for.
5107config_files="$ac_config_files"
5108config_headers="$ac_config_headers"
5109config_commands="$ac_config_commands"
5110
5111_ACEOF
5112
5113cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5114ac_cs_usage="\
5115\`$as_me' instantiates files and other configuration actions
5116from templates according to the current configuration. Unless the files
5117and actions are specified as TAGs, all are instantiated by default.
5118
5119Usage: $0 [OPTION]... [TAG]...
5120
5121 -h, --help print this help, then exit
5122 -V, --version print version number and configuration settings, then exit
5123 --config print configuration, then exit
5124 -q, --quiet, --silent
5125 do not print progress messages
5126 -d, --debug don't remove temporary files
5127 --recheck update $as_me by reconfiguring in the same conditions
5128 --file=FILE[:TEMPLATE]
5129 instantiate the configuration file FILE
5130 --header=FILE[:TEMPLATE]
5131 instantiate the configuration header FILE
5132
5133Configuration files:
5134$config_files
5135
5136Configuration headers:
5137$config_headers
5138
5139Configuration commands:
5140$config_commands
5141
5142Report bugs to <secnet@chiark.greenend.org.uk>."
5143
5144_ACEOF
5145cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5146ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5147ac_cs_version="\\
00152558 5148secnet config.status 0.1.18+
94759fd3
IJ
5149configured by $0, generated by GNU Autoconf 2.67,
5150 with options \\"\$ac_cs_config\\"
5151
5152Copyright (C) 2010 Free Software Foundation, Inc.
5153This config.status script is free software; the Free Software Foundation
5154gives unlimited permission to copy, distribute and modify it."
5155
5156ac_pwd='$ac_pwd'
5157srcdir='$srcdir'
5158INSTALL='$INSTALL'
5159test -n "\$AWK" || AWK=awk
5160_ACEOF
5161
5162cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5163# The default lists apply if the user does not specify any file.
5164ac_need_defaults=:
5165while test $# != 0
5166do
5167 case $1 in
5168 --*=?*)
5169 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5170 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5171 ac_shift=:
5172 ;;
5173 --*=)
5174 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5175 ac_optarg=
5176 ac_shift=:
5177 ;;
5178 *)
5179 ac_option=$1
5180 ac_optarg=$2
5181 ac_shift=shift
5182 ;;
5183 esac
5184
5185 case $ac_option in
5186 # Handling of the options.
5187 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5188 ac_cs_recheck=: ;;
5189 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5190 $as_echo "$ac_cs_version"; exit ;;
5191 --config | --confi | --conf | --con | --co | --c )
5192 $as_echo "$ac_cs_config"; exit ;;
5193 --debug | --debu | --deb | --de | --d | -d )
5194 debug=: ;;
5195 --file | --fil | --fi | --f )
5196 $ac_shift
5197 case $ac_optarg in
5198 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5199 '') as_fn_error $? "missing file argument" ;;
5200 esac
5201 as_fn_append CONFIG_FILES " '$ac_optarg'"
5202 ac_need_defaults=false;;
5203 --header | --heade | --head | --hea )
5204 $ac_shift
5205 case $ac_optarg in
5206 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5207 esac
5208 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5209 ac_need_defaults=false;;
5210 --he | --h)
5211 # Conflict between --help and --header
5212 as_fn_error $? "ambiguous option: \`$1'
5213Try \`$0 --help' for more information.";;
5214 --help | --hel | -h )
5215 $as_echo "$ac_cs_usage"; exit ;;
5216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5217 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5218 ac_cs_silent=: ;;
5219
5220 # This is an error.
5221 -*) as_fn_error $? "unrecognized option: \`$1'
5222Try \`$0 --help' for more information." ;;
5223
5224 *) as_fn_append ac_config_targets " $1"
5225 ac_need_defaults=false ;;
5226
5227 esac
5228 shift
5229done
5230
5231ac_configure_extra_args=
5232
5233if $ac_cs_silent; then
5234 exec 6>/dev/null
5235 ac_configure_extra_args="$ac_configure_extra_args --silent"
5236fi
5237
5238_ACEOF
5239cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5240if \$ac_cs_recheck; then
5241 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5242 shift
5243 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5244 CONFIG_SHELL='$SHELL'
5245 export CONFIG_SHELL
5246 exec "\$@"
5247fi
5248
5249_ACEOF
5250cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5251exec 5>>config.log
5252{
5253 echo
5254 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5255## Running $as_me. ##
5256_ASBOX
5257 $as_echo "$ac_log"
5258} >&5
5259
5260_ACEOF
5261cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5262_ACEOF
5263
5264cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5265
5266# Handling of arguments.
5267for ac_config_target in $ac_config_targets
5268do
5269 case $ac_config_target in
5270 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5271 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5272 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5273
5274 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
5275 esac
5276done
5277
5278
5279# If the user did not use the arguments to specify the items to instantiate,
5280# then the envvar interface is used. Set only those that are not.
5281# We use the long form for the default assignment because of an extremely
5282# bizarre bug on SunOS 4.1.3.
5283if $ac_need_defaults; then
5284 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5285 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5286 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5287fi
5288
5289# Have a temporary directory for convenience. Make it in the build tree
5290# simply because there is no reason against having it here, and in addition,
5291# creating and moving files from /tmp can sometimes cause problems.
5292# Hook for its removal unless debugging.
5293# Note that there is a small window in which the directory will not be cleaned:
5294# after its creation but before its name has been assigned to `$tmp'.
5295$debug ||
5296{
5297 tmp=
5298 trap 'exit_status=$?
5299 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5300' 0
5301 trap 'as_fn_exit 1' 1 2 13 15
5302}
5303# Create a (secure) tmp directory for tmp files.
5304
5305{
5306 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5307 test -n "$tmp" && test -d "$tmp"
5308} ||
5309{
5310 tmp=./conf$$-$RANDOM
5311 (umask 077 && mkdir "$tmp")
5312} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5313
5314# Set up the scripts for CONFIG_FILES section.
5315# No need to generate them if there are no CONFIG_FILES.
5316# This happens for instance with `./config.status config.h'.
5317if test -n "$CONFIG_FILES"; then
5318
5319
5320ac_cr=`echo X | tr X '\015'`
5321# On cygwin, bash can eat \r inside `` if the user requested igncr.
5322# But we know of no other shell where ac_cr would be empty at this
5323# point, so we can use a bashism as a fallback.
5324if test "x$ac_cr" = x; then
5325 eval ac_cr=\$\'\\r\'
5326fi
5327ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5328if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5329 ac_cs_awk_cr='\\r'
5330else
5331 ac_cs_awk_cr=$ac_cr
5332fi
5333
5334echo 'BEGIN {' >"$tmp/subs1.awk" &&
5335_ACEOF
5336
5337
5338{
5339 echo "cat >conf$$subs.awk <<_ACEOF" &&
5340 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5341 echo "_ACEOF"
5342} >conf$$subs.sh ||
5343 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5344ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5345ac_delim='%!_!# '
5346for ac_last_try in false false false false false :; do
5347 . ./conf$$subs.sh ||
5348 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5349
5350 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5351 if test $ac_delim_n = $ac_delim_num; then
5352 break
5353 elif $ac_last_try; then
5354 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5355 else
5356 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5357 fi
5358done
5359rm -f conf$$subs.sh
5360
5361cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5362cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5363_ACEOF
5364sed -n '
5365h
5366s/^/S["/; s/!.*/"]=/
5367p
5368g
5369s/^[^!]*!//
5370:repl
5371t repl
5372s/'"$ac_delim"'$//
5373t delim
5374:nl
5375h
5376s/\(.\{148\}\)..*/\1/
5377t more1
5378s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5379p
5380n
5381b repl
5382:more1
5383s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5384p
5385g
5386s/.\{148\}//
5387t nl
5388:delim
5389h
5390s/\(.\{148\}\)..*/\1/
5391t more2
5392s/["\\]/\\&/g; s/^/"/; s/$/"/
5393p
5394b
5395:more2
5396s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5397p
5398g
5399s/.\{148\}//
5400t delim
5401' <conf$$subs.awk | sed '
5402/^[^""]/{
5403 N
5404 s/\n//
5405}
5406' >>$CONFIG_STATUS || ac_write_fail=1
5407rm -f conf$$subs.awk
5408cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5409_ACAWK
5410cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5411 for (key in S) S_is_set[key] = 1
5412 FS = "\a"
5413
5414}
5415{
5416 line = $ 0
5417 nfields = split(line, field, "@")
5418 substed = 0
5419 len = length(field[1])
5420 for (i = 2; i < nfields; i++) {
5421 key = field[i]
5422 keylen = length(key)
5423 if (S_is_set[key]) {
5424 value = S[key]
5425 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5426 len += length(value) + length(field[++i])
5427 substed = 1
5428 } else
5429 len += 1 + keylen
5430 }
5431
5432 print line
5433}
5434
5435_ACAWK
5436_ACEOF
5437cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5438if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5439 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5440else
5441 cat
5442fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5443 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5444_ACEOF
5445
5446# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5447# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5448# trailing colons and then remove the whole line if VPATH becomes empty
5449# (actually we leave an empty line to preserve line numbers).
5450if test "x$srcdir" = x.; then
5451 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5452h
5453s///
5454s/^/:/
5455s/[ ]*$/:/
5456s/:\$(srcdir):/:/g
5457s/:\${srcdir}:/:/g
5458s/:@srcdir@:/:/g
5459s/^:*//
5460s/:*$//
5461x
5462s/\(=[ ]*\).*/\1/
5463G
5464s/\n//
5465s/^[^=]*=[ ]*$//
5466}'
5467fi
5468
5469cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5470fi # test -n "$CONFIG_FILES"
5471
5472# Set up the scripts for CONFIG_HEADERS section.
5473# No need to generate them if there are no CONFIG_HEADERS.
5474# This happens for instance with `./config.status Makefile'.
5475if test -n "$CONFIG_HEADERS"; then
5476cat >"$tmp/defines.awk" <<\_ACAWK ||
5477BEGIN {
5478_ACEOF
5479
5480# Transform confdefs.h into an awk script `defines.awk', embedded as
5481# here-document in config.status, that substitutes the proper values into
5482# config.h.in to produce config.h.
5483
5484# Create a delimiter string that does not exist in confdefs.h, to ease
5485# handling of long lines.
5486ac_delim='%!_!# '
5487for ac_last_try in false false :; do
5488 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5489 if test -z "$ac_t"; then
5490 break
5491 elif $ac_last_try; then
5492 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5493 else
5494 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5495 fi
5496done
5497
5498# For the awk script, D is an array of macro values keyed by name,
5499# likewise P contains macro parameters if any. Preserve backslash
5500# newline sequences.
5501
5502ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5503sed -n '
5504s/.\{148\}/&'"$ac_delim"'/g
5505t rset
5506:rset
5507s/^[ ]*#[ ]*define[ ][ ]*/ /
5508t def
5509d
5510:def
5511s/\\$//
5512t bsnl
5513s/["\\]/\\&/g
5514s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5515D["\1"]=" \3"/p
5516s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5517d
5518:bsnl
5519s/["\\]/\\&/g
5520s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5521D["\1"]=" \3\\\\\\n"\\/p
5522t cont
5523s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5524t cont
5525d
5526:cont
5527n
5528s/.\{148\}/&'"$ac_delim"'/g
5529t clear
5530:clear
5531s/\\$//
5532t bsnlc
5533s/["\\]/\\&/g; s/^/"/; s/$/"/p
5534d
5535:bsnlc
5536s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5537b cont
5538' <confdefs.h | sed '
5539s/'"$ac_delim"'/"\\\
5540"/g' >>$CONFIG_STATUS || ac_write_fail=1
5541
5542cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5543 for (key in D) D_is_set[key] = 1
5544 FS = "\a"
5545}
5546/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5547 line = \$ 0
5548 split(line, arg, " ")
5549 if (arg[1] == "#") {
5550 defundef = arg[2]
5551 mac1 = arg[3]
5552 } else {
5553 defundef = substr(arg[1], 2)
5554 mac1 = arg[2]
5555 }
5556 split(mac1, mac2, "(") #)
5557 macro = mac2[1]
5558 prefix = substr(line, 1, index(line, defundef) - 1)
5559 if (D_is_set[macro]) {
5560 # Preserve the white space surrounding the "#".
5561 print prefix "define", macro P[macro] D[macro]
5562 next
5563 } else {
5564 # Replace #undef with comments. This is necessary, for example,
5565 # in the case of _POSIX_SOURCE, which is predefined and required
5566 # on some systems where configure will not decide to define it.
5567 if (defundef == "undef") {
5568 print "/*", prefix defundef, macro, "*/"
5569 next
5570 }
5571 }
5572}
5573{ print }
5574_ACAWK
5575_ACEOF
5576cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5577 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5578fi # test -n "$CONFIG_HEADERS"
5579
5580
5581eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5582shift
5583for ac_tag
5584do
5585 case $ac_tag in
5586 :[FHLC]) ac_mode=$ac_tag; continue;;
5587 esac
5588 case $ac_mode$ac_tag in
5589 :[FHL]*:*);;
5590 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
5591 :[FH]-) ac_tag=-:-;;
5592 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5593 esac
5594 ac_save_IFS=$IFS
5595 IFS=:
5596 set x $ac_tag
5597 IFS=$ac_save_IFS
5598 shift
5599 ac_file=$1
5600 shift
5601
5602 case $ac_mode in
5603 :L) ac_source=$1;;
5604 :[FH])
5605 ac_file_inputs=
5606 for ac_f
5607 do
5608 case $ac_f in
5609 -) ac_f="$tmp/stdin";;
5610 *) # Look for the file first in the build tree, then in the source tree
5611 # (if the path is not absolute). The absolute path cannot be DOS-style,
5612 # because $ac_f cannot contain `:'.
5613 test -f "$ac_f" ||
5614 case $ac_f in
5615 [\\/$]*) false;;
5616 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5617 esac ||
5618 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
5619 esac
5620 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5621 as_fn_append ac_file_inputs " '$ac_f'"
5622 done
5623
5624 # Let's still pretend it is `configure' which instantiates (i.e., don't
5625 # use $as_me), people would be surprised to read:
5626 # /* config.h. Generated by config.status. */
5627 configure_input='Generated from '`
5628 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5629 `' by configure.'
5630 if test x"$ac_file" != x-; then
5631 configure_input="$ac_file. $configure_input"
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5633$as_echo "$as_me: creating $ac_file" >&6;}
5634 fi
5635 # Neutralize special characters interpreted by sed in replacement strings.
5636 case $configure_input in #(
5637 *\&* | *\|* | *\\* )
5638 ac_sed_conf_input=`$as_echo "$configure_input" |
5639 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5640 *) ac_sed_conf_input=$configure_input;;
5641 esac
5642
5643 case $ac_tag in
5644 *:-:* | *:-) cat >"$tmp/stdin" \
5645 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5646 esac
5647 ;;
5648 esac
5649
5650 ac_dir=`$as_dirname -- "$ac_file" ||
5651$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5652 X"$ac_file" : 'X\(//\)[^/]' \| \
5653 X"$ac_file" : 'X\(//\)$' \| \
5654 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5655$as_echo X"$ac_file" |
5656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5657 s//\1/
5658 q
5659 }
5660 /^X\(\/\/\)[^/].*/{
5661 s//\1/
5662 q
5663 }
5664 /^X\(\/\/\)$/{
5665 s//\1/
5666 q
5667 }
5668 /^X\(\/\).*/{
5669 s//\1/
5670 q
5671 }
5672 s/.*/./; q'`
5673 as_dir="$ac_dir"; as_fn_mkdir_p
5674 ac_builddir=.
5675
5676case "$ac_dir" in
5677.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5678*)
5679 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5680 # A ".." for each directory in $ac_dir_suffix.
5681 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5682 case $ac_top_builddir_sub in
5683 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5684 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5685 esac ;;
5686esac
5687ac_abs_top_builddir=$ac_pwd
5688ac_abs_builddir=$ac_pwd$ac_dir_suffix
5689# for backward compatibility:
5690ac_top_builddir=$ac_top_build_prefix
5691
5692case $srcdir in
5693 .) # We are building in place.
5694 ac_srcdir=.
5695 ac_top_srcdir=$ac_top_builddir_sub
5696 ac_abs_top_srcdir=$ac_pwd ;;
5697 [\\/]* | ?:[\\/]* ) # Absolute name.
5698 ac_srcdir=$srcdir$ac_dir_suffix;
5699 ac_top_srcdir=$srcdir
5700 ac_abs_top_srcdir=$srcdir ;;
5701 *) # Relative name.
5702 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5703 ac_top_srcdir=$ac_top_build_prefix$srcdir
5704 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5705esac
5706ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5707
5708
5709 case $ac_mode in
5710 :F)
5711 #
5712 # CONFIG_FILE
5713 #
5714
5715 case $INSTALL in
5716 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5717 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5718 esac
5719_ACEOF
5720
5721cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5722# If the template does not know about datarootdir, expand it.
5723# FIXME: This hack should be removed a few years after 2.60.
5724ac_datarootdir_hack=; ac_datarootdir_seen=
5725ac_sed_dataroot='
5726/datarootdir/ {
5727 p
5728 q
5729}
5730/@datadir@/p
5731/@docdir@/p
5732/@infodir@/p
5733/@localedir@/p
5734/@mandir@/p'
5735case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5736*datarootdir*) ac_datarootdir_seen=yes;;
5737*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5739$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5740_ACEOF
5741cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5742 ac_datarootdir_hack='
5743 s&@datadir@&$datadir&g
5744 s&@docdir@&$docdir&g
5745 s&@infodir@&$infodir&g
5746 s&@localedir@&$localedir&g
5747 s&@mandir@&$mandir&g
5748 s&\\\${datarootdir}&$datarootdir&g' ;;
5749esac
5750_ACEOF
5751
5752# Neutralize VPATH when `$srcdir' = `.'.
5753# Shell code in configure.ac might set extrasub.
5754# FIXME: do we really want to maintain this feature?
5755cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5756ac_sed_extra="$ac_vpsub
5757$extrasub
5758_ACEOF
5759cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5760:t
5761/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5762s|@configure_input@|$ac_sed_conf_input|;t t
5763s&@top_builddir@&$ac_top_builddir_sub&;t t
5764s&@top_build_prefix@&$ac_top_build_prefix&;t t
5765s&@srcdir@&$ac_srcdir&;t t
5766s&@abs_srcdir@&$ac_abs_srcdir&;t t
5767s&@top_srcdir@&$ac_top_srcdir&;t t
5768s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5769s&@builddir@&$ac_builddir&;t t
5770s&@abs_builddir@&$ac_abs_builddir&;t t
5771s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5772s&@INSTALL@&$ac_INSTALL&;t t
5773$ac_datarootdir_hack
5774"
5775eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5776 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5777
5778test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5779 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5780 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5782which seems to be undefined. Please make sure it is defined" >&5
5783$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5784which seems to be undefined. Please make sure it is defined" >&2;}
5785
5786 rm -f "$tmp/stdin"
5787 case $ac_file in
5788 -) cat "$tmp/out" && rm -f "$tmp/out";;
5789 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5790 esac \
5791 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5792 ;;
5793 :H)
5794 #
5795 # CONFIG_HEADER
5796 #
5797 if test x"$ac_file" != x-; then
5798 {
5799 $as_echo "/* $configure_input */" \
5800 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5801 } >"$tmp/config.h" \
5802 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5803 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5805$as_echo "$as_me: $ac_file is unchanged" >&6;}
5806 else
5807 rm -f "$ac_file"
5808 mv "$tmp/config.h" "$ac_file" \
5809 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5810 fi
5811 else
5812 $as_echo "/* $configure_input */" \
5813 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5814 || as_fn_error $? "could not create -" "$LINENO" 5
5815 fi
5816 ;;
5817
5818 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5819$as_echo "$as_me: executing $ac_file commands" >&6;}
5820 ;;
5821 esac
5822
5823
5824 case $ac_file$ac_mode in
5825 "default":C) echo timestamp >stamp-h ;;
5826
5827 esac
5828done # for ac_tag
5829
5830
5831as_fn_exit 0
5832_ACEOF
5833ac_clean_files=$ac_clean_files_save
5834
5835test $ac_write_fail = 0 ||
5836 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5837
5838
5839# configure is writing to config.log, and then calls config.status.
5840# config.status does its own redirection, appending to config.log.
5841# Unfortunately, on DOS this fails, as config.log is still kept open
5842# by configure, so config.status won't be able to write to it; its
5843# output is simply discarded. So we exec the FD to /dev/null,
5844# effectively closing config.log, so it can be properly (re)opened and
5845# appended to by config.status. When coming back to configure, we
5846# need to make the FD available again.
5847if test "$no_create" != yes; then
5848 ac_cs_success=:
5849 ac_config_status_args=
5850 test "$silent" = yes &&
5851 ac_config_status_args="$ac_config_status_args --quiet"
5852 exec 5>/dev/null
5853 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5854 exec 5>>config.log
5855 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5856 # would make configure fail if this is the last instruction.
5857 $ac_cs_success || as_fn_exit 1
5858fi
5859if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5861$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5862fi
5863
5864
5865
5866
5867