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