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