prefer global_ground store for enumerating CHR constraints, because that code is...
[chr.git] / configure
blob3ed6c37b6233f7256b24f2adec6798ee399bea5b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
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 ## --------------------- ##
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
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
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=:
50 rm -f conf$$.sh
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
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='
68 IFS=" "" $as_nl"
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
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
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
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; }
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='+ '
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
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
113 done
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
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 as_basename=basename
125 else
126 as_basename=false
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/
140 /^X\/\(\/\/\)$/{
141 s//\1/
144 /^X\/\(\/\).*/{
145 s//\1/
148 s/.*/./; q'`
150 # CDPATH.
151 $as_unset CDPATH
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
161 if test $as_have_required = yes && (eval ":
162 (as_func_return () {
163 (exit \$1)
165 as_func_success () {
166 as_func_return 0
168 as_func_failure () {
169 as_func_return 1
171 as_func_ret_success () {
172 return 0
174 as_func_ret_failure () {
175 return 1
178 exitcode=0
179 if as_func_success; then
181 else
182 exitcode=1
183 echo as_func_success failed.
186 if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
193 else
194 exitcode=1
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 else
206 exitcode=1
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
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
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
224 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.
226 case $as_dir in
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
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
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
277 (as_func_return () {
278 (exit $1)
280 as_func_success () {
281 as_func_return 0
283 as_func_failure () {
284 as_func_return 1
286 as_func_ret_success () {
287 return 0
289 as_func_ret_failure () {
290 return 1
293 exitcode=0
294 if as_func_success; then
296 else
297 exitcode=1
298 echo as_func_success failed.
301 if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
308 else
309 exitcode=1
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
320 else
321 exitcode=1
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
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; }
333 _ASEOF
334 }; then
335 break
340 done
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+"$@"}
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; }
366 (eval "as_func_return () {
367 (exit \$1)
369 as_func_success () {
370 as_func_return 0
372 as_func_failure () {
373 as_func_return 1
375 as_func_ret_success () {
376 return 0
378 as_func_ret_failure () {
379 return 1
382 exitcode=0
383 if as_func_success; then
385 else
386 exitcode=1
387 echo as_func_success failed.
390 if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
397 else
398 exitcode=1
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409 else
410 exitcode=1
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
418 echo message
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" || {
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 '
440 /[$]LINENO/=
441 ' <$as_myself |
442 sed '
443 s/[$]LINENO.*/&-/
444 t lineno
446 :lineno
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; }; }
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
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
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;;
480 ECHO_N='-n';;
481 esac
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
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
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'
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
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
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=
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
542 as_executable_p=$as_test_x
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'"
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'"
552 exec 7<&0 </dev/null 6>&1
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`
560 # Initializations.
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}
572 # Identity of this package.
573 PACKAGE_NAME=
574 PACKAGE_TARNAME=
575 PACKAGE_VERSION=
576 PACKAGE_STRING=
577 PACKAGE_BUGREPORT=
579 ac_unique_file="install-sh"
580 ac_subst_vars='SHELL
581 PATH_SEPARATOR
582 PACKAGE_NAME
583 PACKAGE_TARNAME
584 PACKAGE_VERSION
585 PACKAGE_STRING
586 PACKAGE_BUGREPORT
587 exec_prefix
588 prefix
589 program_transform_name
590 bindir
591 sbindir
592 libexecdir
593 datarootdir
594 datadir
595 sysconfdir
596 sharedstatedir
597 localstatedir
598 includedir
599 oldincludedir
600 docdir
601 infodir
602 htmldir
603 dvidir
604 pdfdir
605 psdir
606 libdir
607 localedir
608 mandir
609 DEFS
610 ECHO_C
611 ECHO_N
612 ECHO_T
613 LIBS
614 build_alias
615 host_alias
616 target_alias
619 PLLIBS
620 PLBASE
621 PLARCH
622 PLINCL
623 COFLAGS
624 CWFLAGS
625 CMFLAGS
628 LDSOFLAGS
629 TARGETS
630 PLLD
631 MAKE
632 INSTALL_PROGRAM
633 INSTALL_SCRIPT
634 INSTALL_DATA
635 LIBOBJS
636 LTLIBOBJS'
637 ac_subst_files=''
638 ac_precious_vars='build_alias
639 host_alias
640 target_alias'
643 # Initialize some variables set by options.
644 ac_init_help=
645 ac_init_version=false
646 # The variables have the same names as the options, with
647 # dashes changed to underlines.
648 cache_file=/dev/null
649 exec_prefix=NONE
650 no_create=
651 no_recursion=
652 prefix=NONE
653 program_prefix=NONE
654 program_suffix=NONE
655 program_transform_name=s,x,x,
656 silent=
657 site=
658 srcdir=
659 verbose=
660 x_includes=NONE
661 x_libraries=NONE
663 # Installation directory options.
664 # These are left unexpanded so users can "make install exec_prefix=/foo"
665 # and all the variables that are supposed to be based on exec_prefix
666 # by default will actually change.
667 # Use braces instead of parens because sh, perl, etc. also accept them.
668 # (The list follows the same order as the GNU Coding Standards.)
669 bindir='${exec_prefix}/bin'
670 sbindir='${exec_prefix}/sbin'
671 libexecdir='${exec_prefix}/libexec'
672 datarootdir='${prefix}/share'
673 datadir='${datarootdir}'
674 sysconfdir='${prefix}/etc'
675 sharedstatedir='${prefix}/com'
676 localstatedir='${prefix}/var'
677 includedir='${prefix}/include'
678 oldincludedir='/usr/include'
679 docdir='${datarootdir}/doc/${PACKAGE}'
680 infodir='${datarootdir}/info'
681 htmldir='${docdir}'
682 dvidir='${docdir}'
683 pdfdir='${docdir}'
684 psdir='${docdir}'
685 libdir='${exec_prefix}/lib'
686 localedir='${datarootdir}/locale'
687 mandir='${datarootdir}/man'
689 ac_prev=
690 ac_dashdash=
691 for ac_option
693 # If the previous option needs an argument, assign it.
694 if test -n "$ac_prev"; then
695 eval $ac_prev=\$ac_option
696 ac_prev=
697 continue
700 case $ac_option in
701 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
702 *) ac_optarg=yes ;;
703 esac
705 # Accept the important Cygnus configure options, so we can diagnose typos.
707 case $ac_dashdash$ac_option in
709 ac_dashdash=yes ;;
711 -bindir | --bindir | --bindi | --bind | --bin | --bi)
712 ac_prev=bindir ;;
713 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
714 bindir=$ac_optarg ;;
716 -build | --build | --buil | --bui | --bu)
717 ac_prev=build_alias ;;
718 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
719 build_alias=$ac_optarg ;;
721 -cache-file | --cache-file | --cache-fil | --cache-fi \
722 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
723 ac_prev=cache_file ;;
724 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
725 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
726 cache_file=$ac_optarg ;;
728 --config-cache | -C)
729 cache_file=config.cache ;;
731 -datadir | --datadir | --datadi | --datad)
732 ac_prev=datadir ;;
733 -datadir=* | --datadir=* | --datadi=* | --datad=*)
734 datadir=$ac_optarg ;;
736 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
737 | --dataroo | --dataro | --datar)
738 ac_prev=datarootdir ;;
739 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
740 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
741 datarootdir=$ac_optarg ;;
743 -disable-* | --disable-*)
744 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
745 # Reject names that are not valid shell variable names.
746 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
747 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
748 { (exit 1); exit 1; }; }
749 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
750 eval enable_$ac_feature=no ;;
752 -docdir | --docdir | --docdi | --doc | --do)
753 ac_prev=docdir ;;
754 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
755 docdir=$ac_optarg ;;
757 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
758 ac_prev=dvidir ;;
759 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
760 dvidir=$ac_optarg ;;
762 -enable-* | --enable-*)
763 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
764 # Reject names that are not valid shell variable names.
765 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
766 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
767 { (exit 1); exit 1; }; }
768 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
769 eval enable_$ac_feature=\$ac_optarg ;;
771 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
772 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
773 | --exec | --exe | --ex)
774 ac_prev=exec_prefix ;;
775 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
776 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
777 | --exec=* | --exe=* | --ex=*)
778 exec_prefix=$ac_optarg ;;
780 -gas | --gas | --ga | --g)
781 # Obsolete; use --with-gas.
782 with_gas=yes ;;
784 -help | --help | --hel | --he | -h)
785 ac_init_help=long ;;
786 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
787 ac_init_help=recursive ;;
788 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
789 ac_init_help=short ;;
791 -host | --host | --hos | --ho)
792 ac_prev=host_alias ;;
793 -host=* | --host=* | --hos=* | --ho=*)
794 host_alias=$ac_optarg ;;
796 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
797 ac_prev=htmldir ;;
798 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
799 | --ht=*)
800 htmldir=$ac_optarg ;;
802 -includedir | --includedir | --includedi | --included | --include \
803 | --includ | --inclu | --incl | --inc)
804 ac_prev=includedir ;;
805 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
806 | --includ=* | --inclu=* | --incl=* | --inc=*)
807 includedir=$ac_optarg ;;
809 -infodir | --infodir | --infodi | --infod | --info | --inf)
810 ac_prev=infodir ;;
811 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
812 infodir=$ac_optarg ;;
814 -libdir | --libdir | --libdi | --libd)
815 ac_prev=libdir ;;
816 -libdir=* | --libdir=* | --libdi=* | --libd=*)
817 libdir=$ac_optarg ;;
819 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
820 | --libexe | --libex | --libe)
821 ac_prev=libexecdir ;;
822 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
823 | --libexe=* | --libex=* | --libe=*)
824 libexecdir=$ac_optarg ;;
826 -localedir | --localedir | --localedi | --localed | --locale)
827 ac_prev=localedir ;;
828 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
829 localedir=$ac_optarg ;;
831 -localstatedir | --localstatedir | --localstatedi | --localstated \
832 | --localstate | --localstat | --localsta | --localst | --locals)
833 ac_prev=localstatedir ;;
834 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
835 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
836 localstatedir=$ac_optarg ;;
838 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
839 ac_prev=mandir ;;
840 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
841 mandir=$ac_optarg ;;
843 -nfp | --nfp | --nf)
844 # Obsolete; use --without-fp.
845 with_fp=no ;;
847 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
848 | --no-cr | --no-c | -n)
849 no_create=yes ;;
851 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
852 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
853 no_recursion=yes ;;
855 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
856 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
857 | --oldin | --oldi | --old | --ol | --o)
858 ac_prev=oldincludedir ;;
859 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
860 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
861 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
862 oldincludedir=$ac_optarg ;;
864 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
865 ac_prev=prefix ;;
866 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
867 prefix=$ac_optarg ;;
869 -program-prefix | --program-prefix | --program-prefi | --program-pref \
870 | --program-pre | --program-pr | --program-p)
871 ac_prev=program_prefix ;;
872 -program-prefix=* | --program-prefix=* | --program-prefi=* \
873 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
874 program_prefix=$ac_optarg ;;
876 -program-suffix | --program-suffix | --program-suffi | --program-suff \
877 | --program-suf | --program-su | --program-s)
878 ac_prev=program_suffix ;;
879 -program-suffix=* | --program-suffix=* | --program-suffi=* \
880 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
881 program_suffix=$ac_optarg ;;
883 -program-transform-name | --program-transform-name \
884 | --program-transform-nam | --program-transform-na \
885 | --program-transform-n | --program-transform- \
886 | --program-transform | --program-transfor \
887 | --program-transfo | --program-transf \
888 | --program-trans | --program-tran \
889 | --progr-tra | --program-tr | --program-t)
890 ac_prev=program_transform_name ;;
891 -program-transform-name=* | --program-transform-name=* \
892 | --program-transform-nam=* | --program-transform-na=* \
893 | --program-transform-n=* | --program-transform-=* \
894 | --program-transform=* | --program-transfor=* \
895 | --program-transfo=* | --program-transf=* \
896 | --program-trans=* | --program-tran=* \
897 | --progr-tra=* | --program-tr=* | --program-t=*)
898 program_transform_name=$ac_optarg ;;
900 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
901 ac_prev=pdfdir ;;
902 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
903 pdfdir=$ac_optarg ;;
905 -psdir | --psdir | --psdi | --psd | --ps)
906 ac_prev=psdir ;;
907 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
908 psdir=$ac_optarg ;;
910 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
911 | -silent | --silent | --silen | --sile | --sil)
912 silent=yes ;;
914 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
915 ac_prev=sbindir ;;
916 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
917 | --sbi=* | --sb=*)
918 sbindir=$ac_optarg ;;
920 -sharedstatedir | --sharedstatedir | --sharedstatedi \
921 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
922 | --sharedst | --shareds | --shared | --share | --shar \
923 | --sha | --sh)
924 ac_prev=sharedstatedir ;;
925 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
926 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
927 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
928 | --sha=* | --sh=*)
929 sharedstatedir=$ac_optarg ;;
931 -site | --site | --sit)
932 ac_prev=site ;;
933 -site=* | --site=* | --sit=*)
934 site=$ac_optarg ;;
936 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
937 ac_prev=srcdir ;;
938 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
939 srcdir=$ac_optarg ;;
941 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
942 | --syscon | --sysco | --sysc | --sys | --sy)
943 ac_prev=sysconfdir ;;
944 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
945 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
946 sysconfdir=$ac_optarg ;;
948 -target | --target | --targe | --targ | --tar | --ta | --t)
949 ac_prev=target_alias ;;
950 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
951 target_alias=$ac_optarg ;;
953 -v | -verbose | --verbose | --verbos | --verbo | --verb)
954 verbose=yes ;;
956 -version | --version | --versio | --versi | --vers | -V)
957 ac_init_version=: ;;
959 -with-* | --with-*)
960 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
961 # Reject names that are not valid shell variable names.
962 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
963 { echo "$as_me: error: invalid package name: $ac_package" >&2
964 { (exit 1); exit 1; }; }
965 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
966 eval with_$ac_package=\$ac_optarg ;;
968 -without-* | --without-*)
969 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
972 { echo "$as_me: error: invalid package name: $ac_package" >&2
973 { (exit 1); exit 1; }; }
974 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
975 eval with_$ac_package=no ;;
977 --x)
978 # Obsolete; use --with-x.
979 with_x=yes ;;
981 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
982 | --x-incl | --x-inc | --x-in | --x-i)
983 ac_prev=x_includes ;;
984 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
985 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
986 x_includes=$ac_optarg ;;
988 -x-libraries | --x-libraries | --x-librarie | --x-librari \
989 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
990 ac_prev=x_libraries ;;
991 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
992 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
993 x_libraries=$ac_optarg ;;
995 -*) { echo "$as_me: error: unrecognized option: $ac_option
996 Try \`$0 --help' for more information." >&2
997 { (exit 1); exit 1; }; }
1000 *=*)
1001 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1002 # Reject names that are not valid shell variable names.
1003 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1004 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1005 { (exit 1); exit 1; }; }
1006 eval $ac_envvar=\$ac_optarg
1007 export $ac_envvar ;;
1010 # FIXME: should be removed in autoconf 3.0.
1011 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1012 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1013 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1014 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1017 esac
1018 done
1020 if test -n "$ac_prev"; then
1021 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1022 { echo "$as_me: error: missing argument to $ac_option" >&2
1023 { (exit 1); exit 1; }; }
1026 # Be sure to have absolute directory names.
1027 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1028 datadir sysconfdir sharedstatedir localstatedir includedir \
1029 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1030 libdir localedir mandir
1032 eval ac_val=\$$ac_var
1033 case $ac_val in
1034 [\\/$]* | ?:[\\/]* ) continue;;
1035 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1036 esac
1037 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1038 { (exit 1); exit 1; }; }
1039 done
1041 # There might be people who depend on the old broken behavior: `$host'
1042 # used to hold the argument of --host etc.
1043 # FIXME: To remove some day.
1044 build=$build_alias
1045 host=$host_alias
1046 target=$target_alias
1048 # FIXME: To remove some day.
1049 if test "x$host_alias" != x; then
1050 if test "x$build_alias" = x; then
1051 cross_compiling=maybe
1052 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1053 If a cross compiler is detected then cross compile mode will be used." >&2
1054 elif test "x$build_alias" != "x$host_alias"; then
1055 cross_compiling=yes
1059 ac_tool_prefix=
1060 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1062 test "$silent" = yes && exec 6>/dev/null
1065 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1066 ac_ls_di=`ls -di .` &&
1067 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1068 { echo "$as_me: error: Working directory cannot be determined" >&2
1069 { (exit 1); exit 1; }; }
1070 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1071 { echo "$as_me: error: pwd does not report name of working directory" >&2
1072 { (exit 1); exit 1; }; }
1075 # Find the source files, if location was not specified.
1076 if test -z "$srcdir"; then
1077 ac_srcdir_defaulted=yes
1078 # Try the directory containing this script, then the parent directory.
1079 ac_confdir=`$as_dirname -- "$0" ||
1080 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1081 X"$0" : 'X\(//\)[^/]' \| \
1082 X"$0" : 'X\(//\)$' \| \
1083 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1084 echo X"$0" |
1085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1086 s//\1/
1089 /^X\(\/\/\)[^/].*/{
1090 s//\1/
1093 /^X\(\/\/\)$/{
1094 s//\1/
1097 /^X\(\/\).*/{
1098 s//\1/
1101 s/.*/./; q'`
1102 srcdir=$ac_confdir
1103 if test ! -r "$srcdir/$ac_unique_file"; then
1104 srcdir=..
1106 else
1107 ac_srcdir_defaulted=no
1109 if test ! -r "$srcdir/$ac_unique_file"; then
1110 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1111 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1112 { (exit 1); exit 1; }; }
1114 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1115 ac_abs_confdir=`(
1116 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1117 { (exit 1); exit 1; }; }
1118 pwd)`
1119 # When building in place, set srcdir=.
1120 if test "$ac_abs_confdir" = "$ac_pwd"; then
1121 srcdir=.
1123 # Remove unnecessary trailing slashes from srcdir.
1124 # Double slashes in file names in object file debugging info
1125 # mess up M-x gdb in Emacs.
1126 case $srcdir in
1127 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1128 esac
1129 for ac_var in $ac_precious_vars; do
1130 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1131 eval ac_env_${ac_var}_value=\$${ac_var}
1132 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1133 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1134 done
1137 # Report the --help message.
1139 if test "$ac_init_help" = "long"; then
1140 # Omit some internal or obsolete options to make the list less imposing.
1141 # This message is too long to be a string in the A/UX 3.1 sh.
1142 cat <<_ACEOF
1143 \`configure' configures this package to adapt to many kinds of systems.
1145 Usage: $0 [OPTION]... [VAR=VALUE]...
1147 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1148 VAR=VALUE. See below for descriptions of some of the useful variables.
1150 Defaults for the options are specified in brackets.
1152 Configuration:
1153 -h, --help display this help and exit
1154 --help=short display options specific to this package
1155 --help=recursive display the short help of all the included packages
1156 -V, --version display version information and exit
1157 -q, --quiet, --silent do not print \`checking...' messages
1158 --cache-file=FILE cache test results in FILE [disabled]
1159 -C, --config-cache alias for \`--cache-file=config.cache'
1160 -n, --no-create do not create output files
1161 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1163 Installation directories:
1164 --prefix=PREFIX install architecture-independent files in PREFIX
1165 [$ac_default_prefix]
1166 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1167 [PREFIX]
1169 By default, \`make install' will install all the files in
1170 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1171 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1172 for instance \`--prefix=\$HOME'.
1174 For better control, use the options below.
1176 Fine tuning of the installation directories:
1177 --bindir=DIR user executables [EPREFIX/bin]
1178 --sbindir=DIR system admin executables [EPREFIX/sbin]
1179 --libexecdir=DIR program executables [EPREFIX/libexec]
1180 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1181 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1182 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1183 --libdir=DIR object code libraries [EPREFIX/lib]
1184 --includedir=DIR C header files [PREFIX/include]
1185 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1186 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1187 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1188 --infodir=DIR info documentation [DATAROOTDIR/info]
1189 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1190 --mandir=DIR man documentation [DATAROOTDIR/man]
1191 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1192 --htmldir=DIR html documentation [DOCDIR]
1193 --dvidir=DIR dvi documentation [DOCDIR]
1194 --pdfdir=DIR pdf documentation [DOCDIR]
1195 --psdir=DIR ps documentation [DOCDIR]
1196 _ACEOF
1198 cat <<\_ACEOF
1199 _ACEOF
1202 if test -n "$ac_init_help"; then
1204 cat <<\_ACEOF
1206 _ACEOF
1207 ac_status=$?
1210 if test "$ac_init_help" = "recursive"; then
1211 # If there are subdirs, report their specific --help.
1212 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1213 test -d "$ac_dir" || continue
1214 ac_builddir=.
1216 case "$ac_dir" in
1217 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1219 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1220 # A ".." for each directory in $ac_dir_suffix.
1221 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1222 case $ac_top_builddir_sub in
1223 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1224 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1225 esac ;;
1226 esac
1227 ac_abs_top_builddir=$ac_pwd
1228 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1229 # for backward compatibility:
1230 ac_top_builddir=$ac_top_build_prefix
1232 case $srcdir in
1233 .) # We are building in place.
1234 ac_srcdir=.
1235 ac_top_srcdir=$ac_top_builddir_sub
1236 ac_abs_top_srcdir=$ac_pwd ;;
1237 [\\/]* | ?:[\\/]* ) # Absolute name.
1238 ac_srcdir=$srcdir$ac_dir_suffix;
1239 ac_top_srcdir=$srcdir
1240 ac_abs_top_srcdir=$srcdir ;;
1241 *) # Relative name.
1242 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1243 ac_top_srcdir=$ac_top_build_prefix$srcdir
1244 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1245 esac
1246 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1248 cd "$ac_dir" || { ac_status=$?; continue; }
1249 # Check for guested configure.
1250 if test -f "$ac_srcdir/configure.gnu"; then
1251 echo &&
1252 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1253 elif test -f "$ac_srcdir/configure"; then
1254 echo &&
1255 $SHELL "$ac_srcdir/configure" --help=recursive
1256 else
1257 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1258 fi || ac_status=$?
1259 cd "$ac_pwd" || { ac_status=$?; break; }
1260 done
1263 test -n "$ac_init_help" && exit $ac_status
1264 if $ac_init_version; then
1265 cat <<\_ACEOF
1266 configure
1267 generated by GNU Autoconf 2.61
1269 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1270 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1271 This configure script is free software; the Free Software Foundation
1272 gives unlimited permission to copy, distribute and modify it.
1273 _ACEOF
1274 exit
1276 cat >config.log <<_ACEOF
1277 This file contains any messages produced by compilers while
1278 running configure, to aid debugging if configure makes a mistake.
1280 It was created by $as_me, which was
1281 generated by GNU Autoconf 2.61. Invocation command line was
1283 $ $0 $@
1285 _ACEOF
1286 exec 5>>config.log
1288 cat <<_ASUNAME
1289 ## --------- ##
1290 ## Platform. ##
1291 ## --------- ##
1293 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1294 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1295 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1296 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1297 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1299 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1300 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1302 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1303 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1304 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1305 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1306 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1307 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1308 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1310 _ASUNAME
1312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1313 for as_dir in $PATH
1315 IFS=$as_save_IFS
1316 test -z "$as_dir" && as_dir=.
1317 echo "PATH: $as_dir"
1318 done
1319 IFS=$as_save_IFS
1321 } >&5
1323 cat >&5 <<_ACEOF
1326 ## ----------- ##
1327 ## Core tests. ##
1328 ## ----------- ##
1330 _ACEOF
1333 # Keep a trace of the command line.
1334 # Strip out --no-create and --no-recursion so they do not pile up.
1335 # Strip out --silent because we don't want to record it for future runs.
1336 # Also quote any args containing shell meta-characters.
1337 # Make two passes to allow for proper duplicate-argument suppression.
1338 ac_configure_args=
1339 ac_configure_args0=
1340 ac_configure_args1=
1341 ac_must_keep_next=false
1342 for ac_pass in 1 2
1344 for ac_arg
1346 case $ac_arg in
1347 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1349 | -silent | --silent | --silen | --sile | --sil)
1350 continue ;;
1351 *\'*)
1352 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1353 esac
1354 case $ac_pass in
1355 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1357 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1358 if test $ac_must_keep_next = true; then
1359 ac_must_keep_next=false # Got value, back to normal.
1360 else
1361 case $ac_arg in
1362 *=* | --config-cache | -C | -disable-* | --disable-* \
1363 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1364 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1365 | -with-* | --with-* | -without-* | --without-* | --x)
1366 case "$ac_configure_args0 " in
1367 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1368 esac
1370 -* ) ac_must_keep_next=true ;;
1371 esac
1373 ac_configure_args="$ac_configure_args '$ac_arg'"
1375 esac
1376 done
1377 done
1378 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1379 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1381 # When interrupted or exit'd, cleanup temporary files, and complete
1382 # config.log. We remove comments because anyway the quotes in there
1383 # would cause problems or look ugly.
1384 # WARNING: Use '\'' to represent an apostrophe within the trap.
1385 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1386 trap 'exit_status=$?
1387 # Save into config.log some information that might help in debugging.
1389 echo
1391 cat <<\_ASBOX
1392 ## ---------------- ##
1393 ## Cache variables. ##
1394 ## ---------------- ##
1395 _ASBOX
1396 echo
1397 # The following way of writing the cache mishandles newlines in values,
1399 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1400 eval ac_val=\$$ac_var
1401 case $ac_val in #(
1402 *${as_nl}*)
1403 case $ac_var in #(
1404 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1405 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1406 esac
1407 case $ac_var in #(
1408 _ | IFS | as_nl) ;; #(
1409 *) $as_unset $ac_var ;;
1410 esac ;;
1411 esac
1412 done
1413 (set) 2>&1 |
1414 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1415 *${as_nl}ac_space=\ *)
1416 sed -n \
1417 "s/'\''/'\''\\\\'\'''\''/g;
1418 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1419 ;; #(
1421 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1423 esac |
1424 sort
1426 echo
1428 cat <<\_ASBOX
1429 ## ----------------- ##
1430 ## Output variables. ##
1431 ## ----------------- ##
1432 _ASBOX
1433 echo
1434 for ac_var in $ac_subst_vars
1436 eval ac_val=\$$ac_var
1437 case $ac_val in
1438 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1439 esac
1440 echo "$ac_var='\''$ac_val'\''"
1441 done | sort
1442 echo
1444 if test -n "$ac_subst_files"; then
1445 cat <<\_ASBOX
1446 ## ------------------- ##
1447 ## File substitutions. ##
1448 ## ------------------- ##
1449 _ASBOX
1450 echo
1451 for ac_var in $ac_subst_files
1453 eval ac_val=\$$ac_var
1454 case $ac_val in
1455 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1456 esac
1457 echo "$ac_var='\''$ac_val'\''"
1458 done | sort
1459 echo
1462 if test -s confdefs.h; then
1463 cat <<\_ASBOX
1464 ## ----------- ##
1465 ## confdefs.h. ##
1466 ## ----------- ##
1467 _ASBOX
1468 echo
1469 cat confdefs.h
1470 echo
1472 test "$ac_signal" != 0 &&
1473 echo "$as_me: caught signal $ac_signal"
1474 echo "$as_me: exit $exit_status"
1475 } >&5
1476 rm -f core *.core core.conftest.* &&
1477 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1478 exit $exit_status
1480 for ac_signal in 1 2 13 15; do
1481 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1482 done
1483 ac_signal=0
1485 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1486 rm -f -r conftest* confdefs.h
1488 # Predefined preprocessor variables.
1490 cat >>confdefs.h <<_ACEOF
1491 #define PACKAGE_NAME "$PACKAGE_NAME"
1492 _ACEOF
1495 cat >>confdefs.h <<_ACEOF
1496 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1497 _ACEOF
1500 cat >>confdefs.h <<_ACEOF
1501 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1502 _ACEOF
1505 cat >>confdefs.h <<_ACEOF
1506 #define PACKAGE_STRING "$PACKAGE_STRING"
1507 _ACEOF
1510 cat >>confdefs.h <<_ACEOF
1511 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1512 _ACEOF
1515 # Let the site file select an alternate cache file if it wants to.
1516 # Prefer explicitly selected file to automatically selected ones.
1517 if test -n "$CONFIG_SITE"; then
1518 set x "$CONFIG_SITE"
1519 elif test "x$prefix" != xNONE; then
1520 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1521 else
1522 set x "$ac_default_prefix/share/config.site" \
1523 "$ac_default_prefix/etc/config.site"
1525 shift
1526 for ac_site_file
1528 if test -r "$ac_site_file"; then
1529 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1530 echo "$as_me: loading site script $ac_site_file" >&6;}
1531 sed 's/^/| /' "$ac_site_file" >&5
1532 . "$ac_site_file"
1534 done
1536 if test -r "$cache_file"; then
1537 # Some versions of bash will fail to source /dev/null (special
1538 # files actually), so we avoid doing that.
1539 if test -f "$cache_file"; then
1540 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1541 echo "$as_me: loading cache $cache_file" >&6;}
1542 case $cache_file in
1543 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1544 *) . "./$cache_file";;
1545 esac
1547 else
1548 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1549 echo "$as_me: creating cache $cache_file" >&6;}
1550 >$cache_file
1553 # Check that the precious variables saved in the cache have kept the same
1554 # value.
1555 ac_cache_corrupted=false
1556 for ac_var in $ac_precious_vars; do
1557 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1558 eval ac_new_set=\$ac_env_${ac_var}_set
1559 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1560 eval ac_new_val=\$ac_env_${ac_var}_value
1561 case $ac_old_set,$ac_new_set in
1562 set,)
1563 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1564 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1565 ac_cache_corrupted=: ;;
1566 ,set)
1567 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1568 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1569 ac_cache_corrupted=: ;;
1570 ,);;
1572 if test "x$ac_old_val" != "x$ac_new_val"; then
1573 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1574 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1575 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1576 echo "$as_me: former value: $ac_old_val" >&2;}
1577 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1578 echo "$as_me: current value: $ac_new_val" >&2;}
1579 ac_cache_corrupted=:
1580 fi;;
1581 esac
1582 # Pass precious variables to config.status.
1583 if test "$ac_new_set" = set; then
1584 case $ac_new_val in
1585 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1586 *) ac_arg=$ac_var=$ac_new_val ;;
1587 esac
1588 case " $ac_configure_args " in
1589 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1590 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1591 esac
1593 done
1594 if $ac_cache_corrupted; then
1595 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1596 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1597 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1598 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1599 { (exit 1); exit 1; }; }
1618 ac_ext=c
1619 ac_cpp='$CPP $CPPFLAGS'
1620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1625 ac_config_headers="$ac_config_headers config.h"
1642 # Do not cache this, it changes too often in many configurations
1643 unset ac_cv_prog_PL
1645 if test -z "$PLINCL"; then
1646 plcandidates="pl swipl swi-prolog"
1647 for ac_prog in $plcandidates
1649 # Extract the first word of "$ac_prog", so it can be a program name with args.
1650 set dummy $ac_prog; ac_word=$2
1651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1653 if test "${ac_cv_prog_PL+set}" = set; then
1654 echo $ECHO_N "(cached) $ECHO_C" >&6
1655 else
1656 if test -n "$PL"; then
1657 ac_cv_prog_PL="$PL" # Let the user override the test.
1658 else
1659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1660 for as_dir in $PATH
1662 IFS=$as_save_IFS
1663 test -z "$as_dir" && as_dir=.
1664 for ac_exec_ext in '' $ac_executable_extensions; do
1665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1666 ac_cv_prog_PL="$ac_prog"
1667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1668 break 2
1670 done
1671 done
1672 IFS=$as_save_IFS
1676 PL=$ac_cv_prog_PL
1677 if test -n "$PL"; then
1678 { echo "$as_me:$LINENO: result: $PL" >&5
1679 echo "${ECHO_T}$PL" >&6; }
1680 else
1681 { echo "$as_me:$LINENO: result: no" >&5
1682 echo "${ECHO_T}no" >&6; }
1686 test -n "$PL" && break
1687 done
1688 test -n "$PL" || PL=""none""
1690 for ac_prog in plld
1692 # Extract the first word of "$ac_prog", so it can be a program name with args.
1693 set dummy $ac_prog; ac_word=$2
1694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1696 if test "${ac_cv_prog_PLLD+set}" = set; then
1697 echo $ECHO_N "(cached) $ECHO_C" >&6
1698 else
1699 if test -n "$PLLD"; then
1700 ac_cv_prog_PLLD="$PLLD" # Let the user override the test.
1701 else
1702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1703 for as_dir in $PATH
1705 IFS=$as_save_IFS
1706 test -z "$as_dir" && as_dir=.
1707 for ac_exec_ext in '' $ac_executable_extensions; do
1708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1709 ac_cv_prog_PLLD="$ac_prog"
1710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1711 break 2
1713 done
1714 done
1715 IFS=$as_save_IFS
1719 PLLD=$ac_cv_prog_PLLD
1720 if test -n "$PLLD"; then
1721 { echo "$as_me:$LINENO: result: $PLLD" >&5
1722 echo "${ECHO_T}$PLLD" >&6; }
1723 else
1724 { echo "$as_me:$LINENO: result: no" >&5
1725 echo "${ECHO_T}no" >&6; }
1729 test -n "$PLLD" && break
1730 done
1731 test -n "$PLLD" || PLLD=""none""
1733 if test $PLLD = "none"; then
1734 { { echo "$as_me:$LINENO: error: \"Cannot find SWI-Prolog plld utility. SWI-Prolog must be installed first\"" >&5
1735 echo "$as_me: error: \"Cannot find SWI-Prolog plld utility. SWI-Prolog must be installed first\"" >&2;}
1736 { (exit 1); exit 1; }; }
1738 if test $PL = "none"; then
1739 { { echo "$as_me:$LINENO: error: \"Cannot find SWI-Prolog. SWI-Prolog must be installed first\"" >&5
1740 echo "$as_me: error: \"Cannot find SWI-Prolog. SWI-Prolog must be installed first\"" >&2;}
1741 { (exit 1); exit 1; }; }
1742 else
1743 { echo "$as_me:$LINENO: checking \"Running $PL -dump-runtime-variables\"..." >&5
1744 echo "$as_me: checking \"Running $PL -dump-runtime-variables\"..." >&6;}
1745 eval `$PL -dump-runtime-variables`
1747 PLINCL=$PLBASE/include
1748 { echo "$as_me:$LINENO: result: \" PLBASE=$PLBASE\"" >&5
1749 echo "${ECHO_T}\" PLBASE=$PLBASE\"" >&6; }
1750 { echo "$as_me:$LINENO: result: \" PLARCH=$PLARCH\"" >&5
1751 echo "${ECHO_T}\" PLARCH=$PLARCH\"" >&6; }
1752 { echo "$as_me:$LINENO: result: \" PLLIBS=$PLLIBS\"" >&5
1753 echo "${ECHO_T}\" PLLIBS=$PLLIBS\"" >&6; }
1754 { echo "$as_me:$LINENO: result: \" PLLDFLAGS=$PLLDFLAGS\"" >&5
1755 echo "${ECHO_T}\" PLLDFLAGS=$PLLDFLAGS\"" >&6; }
1756 { echo "$as_me:$LINENO: result: \" PLSHARED=$PLSHARED\"" >&5
1757 echo "${ECHO_T}\" PLSHARED=$PLSHARED\"" >&6; }
1758 { echo "$as_me:$LINENO: result: \" PLSOEXT=$PLSOEXT\"" >&5
1759 echo "${ECHO_T}\" PLSOEXT=$PLSOEXT\"" >&6; }
1762 PLLD=../plld.sh
1763 PL=../pl.sh
1765 CC=$PLLD
1766 LD=$PLLD
1767 LDSOFLAGS=-shared
1768 CMFLAGS=-fpic
1770 SO="$PLSOEXT"
1772 TARGETS="chr_support.$SO"
1773 for ac_prog in gmake make
1775 # Extract the first word of "$ac_prog", so it can be a program name with args.
1776 set dummy $ac_prog; ac_word=$2
1777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1779 if test "${ac_cv_prog_MAKE+set}" = set; then
1780 echo $ECHO_N "(cached) $ECHO_C" >&6
1781 else
1782 if test -n "$MAKE"; then
1783 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
1784 else
1785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1786 for as_dir in $PATH
1788 IFS=$as_save_IFS
1789 test -z "$as_dir" && as_dir=.
1790 for ac_exec_ext in '' $ac_executable_extensions; do
1791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1792 ac_cv_prog_MAKE="$ac_prog"
1793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1794 break 2
1796 done
1797 done
1798 IFS=$as_save_IFS
1802 MAKE=$ac_cv_prog_MAKE
1803 if test -n "$MAKE"; then
1804 { echo "$as_me:$LINENO: result: $MAKE" >&5
1805 echo "${ECHO_T}$MAKE" >&6; }
1806 else
1807 { echo "$as_me:$LINENO: result: no" >&5
1808 echo "${ECHO_T}no" >&6; }
1812 test -n "$MAKE" && break
1813 done
1814 test -n "$MAKE" || MAKE=""make""
1816 ac_aux_dir=
1817 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1818 if test -f "$ac_dir/install-sh"; then
1819 ac_aux_dir=$ac_dir
1820 ac_install_sh="$ac_aux_dir/install-sh -c"
1821 break
1822 elif test -f "$ac_dir/install.sh"; then
1823 ac_aux_dir=$ac_dir
1824 ac_install_sh="$ac_aux_dir/install.sh -c"
1825 break
1826 elif test -f "$ac_dir/shtool"; then
1827 ac_aux_dir=$ac_dir
1828 ac_install_sh="$ac_aux_dir/shtool install -c"
1829 break
1831 done
1832 if test -z "$ac_aux_dir"; then
1833 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1834 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1835 { (exit 1); exit 1; }; }
1838 # These three variables are undocumented and unsupported,
1839 # and are intended to be withdrawn in a future Autoconf release.
1840 # They can cause serious problems if a builder's source tree is in a directory
1841 # whose full name contains unusual characters.
1842 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1843 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1844 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1847 # Find a good install program. We prefer a C program (faster),
1848 # so one script is as good as another. But avoid the broken or
1849 # incompatible versions:
1850 # SysV /etc/install, /usr/sbin/install
1851 # SunOS /usr/etc/install
1852 # IRIX /sbin/install
1853 # AIX /bin/install
1854 # AmigaOS /C/install, which installs bootblocks on floppy discs
1855 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1856 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1857 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1858 # OS/2's system install, which has a completely different semantic
1859 # ./install, which can be erroneously created by make from ./install.sh.
1860 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1861 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1862 if test -z "$INSTALL"; then
1863 if test "${ac_cv_path_install+set}" = set; then
1864 echo $ECHO_N "(cached) $ECHO_C" >&6
1865 else
1866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1867 for as_dir in $PATH
1869 IFS=$as_save_IFS
1870 test -z "$as_dir" && as_dir=.
1871 # Account for people who put trailing slashes in PATH elements.
1872 case $as_dir/ in
1873 ./ | .// | /cC/* | \
1874 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1875 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1876 /usr/ucb/* ) ;;
1878 # OSF1 and SCO ODT 3.0 have their own names for install.
1879 # Don't use installbsd from OSF since it installs stuff as root
1880 # by default.
1881 for ac_prog in ginstall scoinst install; do
1882 for ac_exec_ext in '' $ac_executable_extensions; do
1883 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1884 if test $ac_prog = install &&
1885 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1886 # AIX install. It has an incompatible calling convention.
1888 elif test $ac_prog = install &&
1889 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1890 # program-specific install script used by HP pwplus--don't use.
1892 else
1893 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1894 break 3
1897 done
1898 done
1900 esac
1901 done
1902 IFS=$as_save_IFS
1906 if test "${ac_cv_path_install+set}" = set; then
1907 INSTALL=$ac_cv_path_install
1908 else
1909 # As a last resort, use the slow shell script. Don't cache a
1910 # value for INSTALL within a source directory, because that will
1911 # break other packages using the cache if that directory is
1912 # removed, or if the value is a relative name.
1913 INSTALL=$ac_install_sh
1916 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1917 echo "${ECHO_T}$INSTALL" >&6; }
1919 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1920 # It thinks the first close brace ends the variable substitution.
1921 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1923 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1925 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1927 if test ! -z "$GCC"; then
1928 COFLAGS="${COFLAGS--O2 -fno-strict-aliasing}"
1929 CWFLAGS="${CWFLAGS--Wall}"
1930 else
1931 COFLAGS="${COFLAGS--O}"
1934 ac_config_files="$ac_config_files Makefile"
1936 cat >confcache <<\_ACEOF
1937 # This file is a shell script that caches the results of configure
1938 # tests run on this system so they can be shared between configure
1939 # scripts and configure runs, see configure's option --config-cache.
1940 # It is not useful on other systems. If it contains results you don't
1941 # want to keep, you may remove or edit it.
1943 # config.status only pays attention to the cache file if you give it
1944 # the --recheck option to rerun configure.
1946 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1947 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1948 # following values.
1950 _ACEOF
1952 # The following way of writing the cache mishandles newlines in values,
1953 # but we know of no workaround that is simple, portable, and efficient.
1954 # So, we kill variables containing newlines.
1955 # Ultrix sh set writes to stderr and can't be redirected directly,
1956 # and sets the high bit in the cache file unless we assign to the vars.
1958 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1959 eval ac_val=\$$ac_var
1960 case $ac_val in #(
1961 *${as_nl}*)
1962 case $ac_var in #(
1963 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1964 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1965 esac
1966 case $ac_var in #(
1967 _ | IFS | as_nl) ;; #(
1968 *) $as_unset $ac_var ;;
1969 esac ;;
1970 esac
1971 done
1973 (set) 2>&1 |
1974 case $as_nl`(ac_space=' '; set) 2>&1` in #(
1975 *${as_nl}ac_space=\ *)
1976 # `set' does not quote correctly, so add quotes (double-quote
1977 # substitution turns \\\\ into \\, and sed turns \\ into \).
1978 sed -n \
1979 "s/'/'\\\\''/g;
1980 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1981 ;; #(
1983 # `set' quotes correctly as required by POSIX, so do not add quotes.
1984 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1986 esac |
1987 sort
1989 sed '
1990 /^ac_cv_env_/b end
1991 t clear
1992 :clear
1993 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1994 t end
1995 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1996 :end' >>confcache
1997 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1998 if test -w "$cache_file"; then
1999 test "x$cache_file" != "x/dev/null" &&
2000 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2001 echo "$as_me: updating cache $cache_file" >&6;}
2002 cat confcache >$cache_file
2003 else
2004 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2005 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2008 rm -f confcache
2010 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2011 # Let make expand exec_prefix.
2012 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2014 DEFS=-DHAVE_CONFIG_H
2016 ac_libobjs=
2017 ac_ltlibobjs=
2018 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2019 # 1. Remove the extension, and $U if already installed.
2020 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2021 ac_i=`echo "$ac_i" | sed "$ac_script"`
2022 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2023 # will be set to the directory where LIBOBJS objects are built.
2024 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2025 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2026 done
2027 LIBOBJS=$ac_libobjs
2029 LTLIBOBJS=$ac_ltlibobjs
2033 : ${CONFIG_STATUS=./config.status}
2034 ac_clean_files_save=$ac_clean_files
2035 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2036 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2037 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2038 cat >$CONFIG_STATUS <<_ACEOF
2039 #! $SHELL
2040 # Generated by $as_me.
2041 # Run this file to recreate the current configuration.
2042 # Compiler output produced by configure, useful for debugging
2043 # configure, is in config.log if it exists.
2045 debug=false
2046 ac_cs_recheck=false
2047 ac_cs_silent=false
2048 SHELL=\${CONFIG_SHELL-$SHELL}
2049 _ACEOF
2051 cat >>$CONFIG_STATUS <<\_ACEOF
2052 ## --------------------- ##
2053 ## M4sh Initialization. ##
2054 ## --------------------- ##
2056 # Be more Bourne compatible
2057 DUALCASE=1; export DUALCASE # for MKS sh
2058 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2059 emulate sh
2060 NULLCMD=:
2061 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2062 # is contrary to our usage. Disable this feature.
2063 alias -g '${1+"$@"}'='"$@"'
2064 setopt NO_GLOB_SUBST
2065 else
2066 case `(set -o) 2>/dev/null` in
2067 *posix*) set -o posix ;;
2068 esac
2075 # PATH needs CR
2076 # Avoid depending upon Character Ranges.
2077 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2078 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2079 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2080 as_cr_digits='0123456789'
2081 as_cr_alnum=$as_cr_Letters$as_cr_digits
2083 # The user is always right.
2084 if test "${PATH_SEPARATOR+set}" != set; then
2085 echo "#! /bin/sh" >conf$$.sh
2086 echo "exit 0" >>conf$$.sh
2087 chmod +x conf$$.sh
2088 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2089 PATH_SEPARATOR=';'
2090 else
2091 PATH_SEPARATOR=:
2093 rm -f conf$$.sh
2096 # Support unset when possible.
2097 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2098 as_unset=unset
2099 else
2100 as_unset=false
2104 # IFS
2105 # We need space, tab and new line, in precisely that order. Quoting is
2106 # there to prevent editors from complaining about space-tab.
2107 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2108 # splitting by setting IFS to empty value.)
2109 as_nl='
2111 IFS=" "" $as_nl"
2113 # Find who we are. Look in the path if we contain no directory separator.
2114 case $0 in
2115 *[\\/]* ) as_myself=$0 ;;
2116 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2117 for as_dir in $PATH
2119 IFS=$as_save_IFS
2120 test -z "$as_dir" && as_dir=.
2121 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2122 done
2123 IFS=$as_save_IFS
2126 esac
2127 # We did not find ourselves, most probably we were run as `sh COMMAND'
2128 # in which case we are not to be found in the path.
2129 if test "x$as_myself" = x; then
2130 as_myself=$0
2132 if test ! -f "$as_myself"; then
2133 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2134 { (exit 1); exit 1; }
2137 # Work around bugs in pre-3.0 UWIN ksh.
2138 for as_var in ENV MAIL MAILPATH
2139 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2140 done
2141 PS1='$ '
2142 PS2='> '
2143 PS4='+ '
2145 # NLS nuisances.
2146 for as_var in \
2147 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2148 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2149 LC_TELEPHONE LC_TIME
2151 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2152 eval $as_var=C; export $as_var
2153 else
2154 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2156 done
2158 # Required to use basename.
2159 if expr a : '\(a\)' >/dev/null 2>&1 &&
2160 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2161 as_expr=expr
2162 else
2163 as_expr=false
2166 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2167 as_basename=basename
2168 else
2169 as_basename=false
2173 # Name of the executable.
2174 as_me=`$as_basename -- "$0" ||
2175 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2176 X"$0" : 'X\(//\)$' \| \
2177 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2178 echo X/"$0" |
2179 sed '/^.*\/\([^/][^/]*\)\/*$/{
2180 s//\1/
2183 /^X\/\(\/\/\)$/{
2184 s//\1/
2187 /^X\/\(\/\).*/{
2188 s//\1/
2191 s/.*/./; q'`
2193 # CDPATH.
2194 $as_unset CDPATH
2198 as_lineno_1=$LINENO
2199 as_lineno_2=$LINENO
2200 test "x$as_lineno_1" != "x$as_lineno_2" &&
2201 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2203 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2204 # uniformly replaced by the line number. The first 'sed' inserts a
2205 # line-number line after each line using $LINENO; the second 'sed'
2206 # does the real work. The second script uses 'N' to pair each
2207 # line-number line with the line containing $LINENO, and appends
2208 # trailing '-' during substitution so that $LINENO is not a special
2209 # case at line end.
2210 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2211 # scripts with optimization help from Paolo Bonzini. Blame Lee
2212 # E. McMahon (1931-1989) for sed's syntax. :-)
2213 sed -n '
2215 /[$]LINENO/=
2216 ' <$as_myself |
2217 sed '
2218 s/[$]LINENO.*/&-/
2219 t lineno
2221 :lineno
2223 :loop
2224 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2225 t loop
2226 s/-\n.*//
2227 ' >$as_me.lineno &&
2228 chmod +x "$as_me.lineno" ||
2229 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2230 { (exit 1); exit 1; }; }
2232 # Don't try to exec as it changes $[0], causing all sort of problems
2233 # (the dirname of $[0] is not the place where we might find the
2234 # original and so on. Autoconf is especially sensitive to this).
2235 . "./$as_me.lineno"
2236 # Exit status is that of the last command.
2237 exit
2241 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2242 as_dirname=dirname
2243 else
2244 as_dirname=false
2247 ECHO_C= ECHO_N= ECHO_T=
2248 case `echo -n x` in
2249 -n*)
2250 case `echo 'x\c'` in
2251 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2252 *) ECHO_C='\c';;
2253 esac;;
2255 ECHO_N='-n';;
2256 esac
2258 if expr a : '\(a\)' >/dev/null 2>&1 &&
2259 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2260 as_expr=expr
2261 else
2262 as_expr=false
2265 rm -f conf$$ conf$$.exe conf$$.file
2266 if test -d conf$$.dir; then
2267 rm -f conf$$.dir/conf$$.file
2268 else
2269 rm -f conf$$.dir
2270 mkdir conf$$.dir
2272 echo >conf$$.file
2273 if ln -s conf$$.file conf$$ 2>/dev/null; then
2274 as_ln_s='ln -s'
2275 # ... but there are two gotchas:
2276 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2277 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2278 # In both cases, we have to default to `cp -p'.
2279 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2280 as_ln_s='cp -p'
2281 elif ln conf$$.file conf$$ 2>/dev/null; then
2282 as_ln_s=ln
2283 else
2284 as_ln_s='cp -p'
2286 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2287 rmdir conf$$.dir 2>/dev/null
2289 if mkdir -p . 2>/dev/null; then
2290 as_mkdir_p=:
2291 else
2292 test -d ./-p && rmdir ./-p
2293 as_mkdir_p=false
2296 if test -x / >/dev/null 2>&1; then
2297 as_test_x='test -x'
2298 else
2299 if ls -dL / >/dev/null 2>&1; then
2300 as_ls_L_option=L
2301 else
2302 as_ls_L_option=
2304 as_test_x='
2305 eval sh -c '\''
2306 if test -d "$1"; then
2307 test -d "$1/.";
2308 else
2309 case $1 in
2310 -*)set "./$1";;
2311 esac;
2312 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2313 ???[sx]*):;;*)false;;esac;fi
2314 '\'' sh
2317 as_executable_p=$as_test_x
2319 # Sed expression to map a string onto a valid CPP name.
2320 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2322 # Sed expression to map a string onto a valid variable name.
2323 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2326 exec 6>&1
2328 # Save the log message, to keep $[0] and so on meaningful, and to
2329 # report actual input values of CONFIG_FILES etc. instead of their
2330 # values after options handling.
2331 ac_log="
2332 This file was extended by $as_me, which was
2333 generated by GNU Autoconf 2.61. Invocation command line was
2335 CONFIG_FILES = $CONFIG_FILES
2336 CONFIG_HEADERS = $CONFIG_HEADERS
2337 CONFIG_LINKS = $CONFIG_LINKS
2338 CONFIG_COMMANDS = $CONFIG_COMMANDS
2339 $ $0 $@
2341 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2344 _ACEOF
2346 cat >>$CONFIG_STATUS <<_ACEOF
2347 # Files that config.status was made for.
2348 config_files="$ac_config_files"
2349 config_headers="$ac_config_headers"
2351 _ACEOF
2353 cat >>$CONFIG_STATUS <<\_ACEOF
2354 ac_cs_usage="\
2355 \`$as_me' instantiates files from templates according to the
2356 current configuration.
2358 Usage: $0 [OPTIONS] [FILE]...
2360 -h, --help print this help, then exit
2361 -V, --version print version number and configuration settings, then exit
2362 -q, --quiet do not print progress messages
2363 -d, --debug don't remove temporary files
2364 --recheck update $as_me by reconfiguring in the same conditions
2365 --file=FILE[:TEMPLATE]
2366 instantiate the configuration file FILE
2367 --header=FILE[:TEMPLATE]
2368 instantiate the configuration header FILE
2370 Configuration files:
2371 $config_files
2373 Configuration headers:
2374 $config_headers
2376 Report bugs to <bug-autoconf@gnu.org>."
2378 _ACEOF
2379 cat >>$CONFIG_STATUS <<_ACEOF
2380 ac_cs_version="\\
2381 config.status
2382 configured by $0, generated by GNU Autoconf 2.61,
2383 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2385 Copyright (C) 2006 Free Software Foundation, Inc.
2386 This config.status script is free software; the Free Software Foundation
2387 gives unlimited permission to copy, distribute and modify it."
2389 ac_pwd='$ac_pwd'
2390 srcdir='$srcdir'
2391 INSTALL='$INSTALL'
2392 _ACEOF
2394 cat >>$CONFIG_STATUS <<\_ACEOF
2395 # If no file are specified by the user, then we need to provide default
2396 # value. By we need to know if files were specified by the user.
2397 ac_need_defaults=:
2398 while test $# != 0
2400 case $1 in
2401 --*=*)
2402 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2403 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2404 ac_shift=:
2407 ac_option=$1
2408 ac_optarg=$2
2409 ac_shift=shift
2411 esac
2413 case $ac_option in
2414 # Handling of the options.
2415 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2416 ac_cs_recheck=: ;;
2417 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2418 echo "$ac_cs_version"; exit ;;
2419 --debug | --debu | --deb | --de | --d | -d )
2420 debug=: ;;
2421 --file | --fil | --fi | --f )
2422 $ac_shift
2423 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2424 ac_need_defaults=false;;
2425 --header | --heade | --head | --hea )
2426 $ac_shift
2427 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2428 ac_need_defaults=false;;
2429 --he | --h)
2430 # Conflict between --help and --header
2431 { echo "$as_me: error: ambiguous option: $1
2432 Try \`$0 --help' for more information." >&2
2433 { (exit 1); exit 1; }; };;
2434 --help | --hel | -h )
2435 echo "$ac_cs_usage"; exit ;;
2436 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2437 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2438 ac_cs_silent=: ;;
2440 # This is an error.
2441 -*) { echo "$as_me: error: unrecognized option: $1
2442 Try \`$0 --help' for more information." >&2
2443 { (exit 1); exit 1; }; } ;;
2445 *) ac_config_targets="$ac_config_targets $1"
2446 ac_need_defaults=false ;;
2448 esac
2449 shift
2450 done
2452 ac_configure_extra_args=
2454 if $ac_cs_silent; then
2455 exec 6>/dev/null
2456 ac_configure_extra_args="$ac_configure_extra_args --silent"
2459 _ACEOF
2460 cat >>$CONFIG_STATUS <<_ACEOF
2461 if \$ac_cs_recheck; then
2462 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2463 CONFIG_SHELL=$SHELL
2464 export CONFIG_SHELL
2465 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2468 _ACEOF
2469 cat >>$CONFIG_STATUS <<\_ACEOF
2470 exec 5>>config.log
2472 echo
2473 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2474 ## Running $as_me. ##
2475 _ASBOX
2476 echo "$ac_log"
2477 } >&5
2479 _ACEOF
2480 cat >>$CONFIG_STATUS <<_ACEOF
2481 _ACEOF
2483 cat >>$CONFIG_STATUS <<\_ACEOF
2485 # Handling of arguments.
2486 for ac_config_target in $ac_config_targets
2488 case $ac_config_target in
2489 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
2490 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2492 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2493 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2494 { (exit 1); exit 1; }; };;
2495 esac
2496 done
2499 # If the user did not use the arguments to specify the items to instantiate,
2500 # then the envvar interface is used. Set only those that are not.
2501 # We use the long form for the default assignment because of an extremely
2502 # bizarre bug on SunOS 4.1.3.
2503 if $ac_need_defaults; then
2504 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2505 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
2508 # Have a temporary directory for convenience. Make it in the build tree
2509 # simply because there is no reason against having it here, and in addition,
2510 # creating and moving files from /tmp can sometimes cause problems.
2511 # Hook for its removal unless debugging.
2512 # Note that there is a small window in which the directory will not be cleaned:
2513 # after its creation but before its name has been assigned to `$tmp'.
2514 $debug ||
2516 tmp=
2517 trap 'exit_status=$?
2518 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2520 trap '{ (exit 1); exit 1; }' 1 2 13 15
2522 # Create a (secure) tmp directory for tmp files.
2525 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2526 test -n "$tmp" && test -d "$tmp"
2527 } ||
2529 tmp=./conf$$-$RANDOM
2530 (umask 077 && mkdir "$tmp")
2531 } ||
2533 echo "$me: cannot create a temporary directory in ." >&2
2534 { (exit 1); exit 1; }
2538 # Set up the sed scripts for CONFIG_FILES section.
2541 # No need to generate the scripts if there are no CONFIG_FILES.
2542 # This happens for instance when ./config.status config.h
2543 if test -n "$CONFIG_FILES"; then
2545 _ACEOF
2549 ac_delim='%!_!# '
2550 for ac_last_try in false false false false false :; do
2551 cat >conf$$subs.sed <<_ACEOF
2552 SHELL!$SHELL$ac_delim
2553 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2554 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2555 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2556 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2557 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2558 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2559 exec_prefix!$exec_prefix$ac_delim
2560 prefix!$prefix$ac_delim
2561 program_transform_name!$program_transform_name$ac_delim
2562 bindir!$bindir$ac_delim
2563 sbindir!$sbindir$ac_delim
2564 libexecdir!$libexecdir$ac_delim
2565 datarootdir!$datarootdir$ac_delim
2566 datadir!$datadir$ac_delim
2567 sysconfdir!$sysconfdir$ac_delim
2568 sharedstatedir!$sharedstatedir$ac_delim
2569 localstatedir!$localstatedir$ac_delim
2570 includedir!$includedir$ac_delim
2571 oldincludedir!$oldincludedir$ac_delim
2572 docdir!$docdir$ac_delim
2573 infodir!$infodir$ac_delim
2574 htmldir!$htmldir$ac_delim
2575 dvidir!$dvidir$ac_delim
2576 pdfdir!$pdfdir$ac_delim
2577 psdir!$psdir$ac_delim
2578 libdir!$libdir$ac_delim
2579 localedir!$localedir$ac_delim
2580 mandir!$mandir$ac_delim
2581 DEFS!$DEFS$ac_delim
2582 ECHO_C!$ECHO_C$ac_delim
2583 ECHO_N!$ECHO_N$ac_delim
2584 ECHO_T!$ECHO_T$ac_delim
2585 LIBS!$LIBS$ac_delim
2586 build_alias!$build_alias$ac_delim
2587 host_alias!$host_alias$ac_delim
2588 target_alias!$target_alias$ac_delim
2589 PL!$PL$ac_delim
2590 CC!$CC$ac_delim
2591 PLLIBS!$PLLIBS$ac_delim
2592 PLBASE!$PLBASE$ac_delim
2593 PLARCH!$PLARCH$ac_delim
2594 PLINCL!$PLINCL$ac_delim
2595 COFLAGS!$COFLAGS$ac_delim
2596 CWFLAGS!$CWFLAGS$ac_delim
2597 CMFLAGS!$CMFLAGS$ac_delim
2598 LD!$LD$ac_delim
2599 SO!$SO$ac_delim
2600 LDSOFLAGS!$LDSOFLAGS$ac_delim
2601 TARGETS!$TARGETS$ac_delim
2602 PLLD!$PLLD$ac_delim
2603 MAKE!$MAKE$ac_delim
2604 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
2605 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
2606 INSTALL_DATA!$INSTALL_DATA$ac_delim
2607 LIBOBJS!$LIBOBJS$ac_delim
2608 LTLIBOBJS!$LTLIBOBJS$ac_delim
2609 _ACEOF
2611 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 57; then
2612 break
2613 elif $ac_last_try; then
2614 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2615 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2616 { (exit 1); exit 1; }; }
2617 else
2618 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2620 done
2622 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2623 if test -n "$ac_eof"; then
2624 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2625 ac_eof=`expr $ac_eof + 1`
2628 cat >>$CONFIG_STATUS <<_ACEOF
2629 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2630 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2631 _ACEOF
2632 sed '
2633 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2634 s/^/s,@/; s/!/@,|#_!!_#|/
2637 s/'"$ac_delim"'$/,g/; t
2638 s/$/\\/; p
2639 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2640 ' >>$CONFIG_STATUS <conf$$subs.sed
2641 rm -f conf$$subs.sed
2642 cat >>$CONFIG_STATUS <<_ACEOF
2643 :end
2644 s/|#_!!_#|//g
2645 CEOF$ac_eof
2646 _ACEOF
2649 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2650 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2651 # trailing colons and then remove the whole line if VPATH becomes empty
2652 # (actually we leave an empty line to preserve line numbers).
2653 if test "x$srcdir" = x.; then
2654 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2655 s/:*\$(srcdir):*/:/
2656 s/:*\${srcdir}:*/:/
2657 s/:*@srcdir@:*/:/
2658 s/^\([^=]*=[ ]*\):*/\1/
2659 s/:*$//
2660 s/^[^=]*=[ ]*$//
2664 cat >>$CONFIG_STATUS <<\_ACEOF
2665 fi # test -n "$CONFIG_FILES"
2668 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
2670 case $ac_tag in
2671 :[FHLC]) ac_mode=$ac_tag; continue;;
2672 esac
2673 case $ac_mode$ac_tag in
2674 :[FHL]*:*);;
2675 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2676 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2677 { (exit 1); exit 1; }; };;
2678 :[FH]-) ac_tag=-:-;;
2679 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2680 esac
2681 ac_save_IFS=$IFS
2682 IFS=:
2683 set x $ac_tag
2684 IFS=$ac_save_IFS
2685 shift
2686 ac_file=$1
2687 shift
2689 case $ac_mode in
2690 :L) ac_source=$1;;
2691 :[FH])
2692 ac_file_inputs=
2693 for ac_f
2695 case $ac_f in
2696 -) ac_f="$tmp/stdin";;
2697 *) # Look for the file first in the build tree, then in the source tree
2698 # (if the path is not absolute). The absolute path cannot be DOS-style,
2699 # because $ac_f cannot contain `:'.
2700 test -f "$ac_f" ||
2701 case $ac_f in
2702 [\\/$]*) false;;
2703 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2704 esac ||
2705 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2706 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2707 { (exit 1); exit 1; }; };;
2708 esac
2709 ac_file_inputs="$ac_file_inputs $ac_f"
2710 done
2712 # Let's still pretend it is `configure' which instantiates (i.e., don't
2713 # use $as_me), people would be surprised to read:
2714 # /* config.h. Generated by config.status. */
2715 configure_input="Generated from "`IFS=:
2716 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2717 if test x"$ac_file" != x-; then
2718 configure_input="$ac_file. $configure_input"
2719 { echo "$as_me:$LINENO: creating $ac_file" >&5
2720 echo "$as_me: creating $ac_file" >&6;}
2723 case $ac_tag in
2724 *:-:* | *:-) cat >"$tmp/stdin";;
2725 esac
2727 esac
2729 ac_dir=`$as_dirname -- "$ac_file" ||
2730 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2731 X"$ac_file" : 'X\(//\)[^/]' \| \
2732 X"$ac_file" : 'X\(//\)$' \| \
2733 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2734 echo X"$ac_file" |
2735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2736 s//\1/
2739 /^X\(\/\/\)[^/].*/{
2740 s//\1/
2743 /^X\(\/\/\)$/{
2744 s//\1/
2747 /^X\(\/\).*/{
2748 s//\1/
2751 s/.*/./; q'`
2752 { as_dir="$ac_dir"
2753 case $as_dir in #(
2754 -*) as_dir=./$as_dir;;
2755 esac
2756 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2757 as_dirs=
2758 while :; do
2759 case $as_dir in #(
2760 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2761 *) as_qdir=$as_dir;;
2762 esac
2763 as_dirs="'$as_qdir' $as_dirs"
2764 as_dir=`$as_dirname -- "$as_dir" ||
2765 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2766 X"$as_dir" : 'X\(//\)[^/]' \| \
2767 X"$as_dir" : 'X\(//\)$' \| \
2768 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2769 echo X"$as_dir" |
2770 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2771 s//\1/
2774 /^X\(\/\/\)[^/].*/{
2775 s//\1/
2778 /^X\(\/\/\)$/{
2779 s//\1/
2782 /^X\(\/\).*/{
2783 s//\1/
2786 s/.*/./; q'`
2787 test -d "$as_dir" && break
2788 done
2789 test -z "$as_dirs" || eval "mkdir $as_dirs"
2790 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2791 echo "$as_me: error: cannot create directory $as_dir" >&2;}
2792 { (exit 1); exit 1; }; }; }
2793 ac_builddir=.
2795 case "$ac_dir" in
2796 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2798 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2799 # A ".." for each directory in $ac_dir_suffix.
2800 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2801 case $ac_top_builddir_sub in
2802 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2803 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2804 esac ;;
2805 esac
2806 ac_abs_top_builddir=$ac_pwd
2807 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2808 # for backward compatibility:
2809 ac_top_builddir=$ac_top_build_prefix
2811 case $srcdir in
2812 .) # We are building in place.
2813 ac_srcdir=.
2814 ac_top_srcdir=$ac_top_builddir_sub
2815 ac_abs_top_srcdir=$ac_pwd ;;
2816 [\\/]* | ?:[\\/]* ) # Absolute name.
2817 ac_srcdir=$srcdir$ac_dir_suffix;
2818 ac_top_srcdir=$srcdir
2819 ac_abs_top_srcdir=$srcdir ;;
2820 *) # Relative name.
2821 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2822 ac_top_srcdir=$ac_top_build_prefix$srcdir
2823 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2824 esac
2825 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2828 case $ac_mode in
2831 # CONFIG_FILE
2834 case $INSTALL in
2835 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2836 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
2837 esac
2838 _ACEOF
2840 cat >>$CONFIG_STATUS <<\_ACEOF
2841 # If the template does not know about datarootdir, expand it.
2842 # FIXME: This hack should be removed a few years after 2.60.
2843 ac_datarootdir_hack=; ac_datarootdir_seen=
2845 case `sed -n '/datarootdir/ {
2849 /@datadir@/p
2850 /@docdir@/p
2851 /@infodir@/p
2852 /@localedir@/p
2853 /@mandir@/p
2854 ' $ac_file_inputs` in
2855 *datarootdir*) ac_datarootdir_seen=yes;;
2856 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2857 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2858 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2859 _ACEOF
2860 cat >>$CONFIG_STATUS <<_ACEOF
2861 ac_datarootdir_hack='
2862 s&@datadir@&$datadir&g
2863 s&@docdir@&$docdir&g
2864 s&@infodir@&$infodir&g
2865 s&@localedir@&$localedir&g
2866 s&@mandir@&$mandir&g
2867 s&\\\${datarootdir}&$datarootdir&g' ;;
2868 esac
2869 _ACEOF
2871 # Neutralize VPATH when `$srcdir' = `.'.
2872 # Shell code in configure.ac might set extrasub.
2873 # FIXME: do we really want to maintain this feature?
2874 cat >>$CONFIG_STATUS <<_ACEOF
2875 sed "$ac_vpsub
2876 $extrasub
2877 _ACEOF
2878 cat >>$CONFIG_STATUS <<\_ACEOF
2880 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2881 s&@configure_input@&$configure_input&;t t
2882 s&@top_builddir@&$ac_top_builddir_sub&;t t
2883 s&@srcdir@&$ac_srcdir&;t t
2884 s&@abs_srcdir@&$ac_abs_srcdir&;t t
2885 s&@top_srcdir@&$ac_top_srcdir&;t t
2886 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2887 s&@builddir@&$ac_builddir&;t t
2888 s&@abs_builddir@&$ac_abs_builddir&;t t
2889 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2890 s&@INSTALL@&$ac_INSTALL&;t t
2891 $ac_datarootdir_hack
2892 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
2894 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2895 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2896 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2897 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2898 which seems to be undefined. Please make sure it is defined." >&5
2899 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2900 which seems to be undefined. Please make sure it is defined." >&2;}
2902 rm -f "$tmp/stdin"
2903 case $ac_file in
2904 -) cat "$tmp/out"; rm -f "$tmp/out";;
2905 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
2906 esac
2910 # CONFIG_HEADER
2912 _ACEOF
2914 # Transform confdefs.h into a sed script `conftest.defines', that
2915 # substitutes the proper values into config.h.in to produce config.h.
2916 rm -f conftest.defines conftest.tail
2917 # First, append a space to every undef/define line, to ease matching.
2918 echo 's/$/ /' >conftest.defines
2919 # Then, protect against being on the right side of a sed subst, or in
2920 # an unquoted here document, in config.status. If some macros were
2921 # called several times there might be several #defines for the same
2922 # symbol, which is useless. But do not sort them, since the last
2923 # AC_DEFINE must be honored.
2924 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
2925 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
2926 # NAME is the cpp macro being defined, VALUE is the value it is being given.
2927 # PARAMS is the parameter list in the macro definition--in most cases, it's
2928 # just an empty string.
2929 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
2930 ac_dB='\\)[ (].*,\\1define\\2'
2931 ac_dC=' '
2932 ac_dD=' ,'
2934 uniq confdefs.h |
2935 sed -n '
2936 t rset
2937 :rset
2938 s/^[ ]*#[ ]*define[ ][ ]*//
2939 t ok
2942 s/[\\&,]/\\&/g
2943 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
2944 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
2945 ' >>conftest.defines
2947 # Remove the space that was appended to ease matching.
2948 # Then replace #undef with comments. This is necessary, for
2949 # example, in the case of _POSIX_SOURCE, which is predefined and required
2950 # on some systems where configure will not decide to define it.
2951 # (The regexp can be short, since the line contains either #define or #undef.)
2952 echo 's/ $//
2953 s,^[ #]*u.*,/* & */,' >>conftest.defines
2955 # Break up conftest.defines:
2956 ac_max_sed_lines=50
2958 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
2959 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
2960 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
2961 # et cetera.
2962 ac_in='$ac_file_inputs'
2963 ac_out='"$tmp/out1"'
2964 ac_nxt='"$tmp/out2"'
2966 while :
2968 # Write a here document:
2969 cat >>$CONFIG_STATUS <<_ACEOF
2970 # First, check the format of the line:
2971 cat >"\$tmp/defines.sed" <<\\CEOF
2972 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
2973 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
2975 :def
2976 _ACEOF
2977 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
2978 echo 'CEOF
2979 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
2980 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
2981 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
2982 grep . conftest.tail >/dev/null || break
2983 rm -f conftest.defines
2984 mv conftest.tail conftest.defines
2985 done
2986 rm -f conftest.defines conftest.tail
2988 echo "ac_result=$ac_in" >>$CONFIG_STATUS
2989 cat >>$CONFIG_STATUS <<\_ACEOF
2990 if test x"$ac_file" != x-; then
2991 echo "/* $configure_input */" >"$tmp/config.h"
2992 cat "$ac_result" >>"$tmp/config.h"
2993 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
2994 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
2995 echo "$as_me: $ac_file is unchanged" >&6;}
2996 else
2997 rm -f $ac_file
2998 mv "$tmp/config.h" $ac_file
3000 else
3001 echo "/* $configure_input */"
3002 cat "$ac_result"
3004 rm -f "$tmp/out12"
3008 esac
3010 done # for ac_tag
3013 { (exit 0); exit 0; }
3014 _ACEOF
3015 chmod +x $CONFIG_STATUS
3016 ac_clean_files=$ac_clean_files_save
3019 # configure is writing to config.log, and then calls config.status.
3020 # config.status does its own redirection, appending to config.log.
3021 # Unfortunately, on DOS this fails, as config.log is still kept open
3022 # by configure, so config.status won't be able to write to it; its
3023 # output is simply discarded. So we exec the FD to /dev/null,
3024 # effectively closing config.log, so it can be properly (re)opened and
3025 # appended to by config.status. When coming back to configure, we
3026 # need to make the FD available again.
3027 if test "$no_create" != yes; then
3028 ac_cs_success=:
3029 ac_config_status_args=
3030 test "$silent" = yes &&
3031 ac_config_status_args="$ac_config_status_args --quiet"
3032 exec 5>/dev/null
3033 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3034 exec 5>>config.log
3035 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3036 # would make configure fail if this is the last instruction.
3037 $ac_cs_success || { (exit 1); exit 1; }