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