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