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