Debian Codegraph @

configure

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