Add pointlog2svg utility for the thesis
[numtypysics.git] / configure
blob6418fa801932aac330c66099dea630c56f3dbdaf
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="README"
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"
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
670 SET_MAKE
671 am__leading_dot
672 AMTAR
673 am__tar
674 am__untar
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
692 CXXFLAGS
693 ac_ct_CXX
694 CXXDEPMODE
695 am__fastdepCXX_TRUE
696 am__fastdepCXX_FALSE
697 RANLIB
699 GREP
700 EGREP
701 SDL_CFLAGS
702 SDL_LIBS
703 HAVE_PYTHON
704 PYTHON_CFLAGS
705 PYTHON_LIBS
706 HILDON_CFLAGS
707 HILDON_LIBS
708 desktopentrydir
709 serviceentrydir
710 icon_26x26dir
711 icon_34x34dir
712 icon_40x40dir
713 icon_50x50dir
714 icon_64x64dir
715 icon_scalabledir
716 LIBOBJS
717 LTLIBOBJS'
718 ac_subst_files=''
719 ac_precious_vars='build_alias
720 host_alias
721 target_alias
723 CFLAGS
724 LDFLAGS
725 LIBS
726 CPPFLAGS
728 CXXFLAGS
730 CPP'
733 # Initialize some variables set by options.
734 ac_init_help=
735 ac_init_version=false
736 # The variables have the same names as the options, with
737 # dashes changed to underlines.
738 cache_file=/dev/null
739 exec_prefix=NONE
740 no_create=
741 no_recursion=
742 prefix=NONE
743 program_prefix=NONE
744 program_suffix=NONE
745 program_transform_name=s,x,x,
746 silent=
747 site=
748 srcdir=
749 verbose=
750 x_includes=NONE
751 x_libraries=NONE
753 # Installation directory options.
754 # These are left unexpanded so users can "make install exec_prefix=/foo"
755 # and all the variables that are supposed to be based on exec_prefix
756 # by default will actually change.
757 # Use braces instead of parens because sh, perl, etc. also accept them.
758 # (The list follows the same order as the GNU Coding Standards.)
759 bindir='${exec_prefix}/bin'
760 sbindir='${exec_prefix}/sbin'
761 libexecdir='${exec_prefix}/libexec'
762 datarootdir='${prefix}/share'
763 datadir='${datarootdir}'
764 sysconfdir='${prefix}/etc'
765 sharedstatedir='${prefix}/com'
766 localstatedir='${prefix}/var'
767 includedir='${prefix}/include'
768 oldincludedir='/usr/include'
769 docdir='${datarootdir}/doc/${PACKAGE}'
770 infodir='${datarootdir}/info'
771 htmldir='${docdir}'
772 dvidir='${docdir}'
773 pdfdir='${docdir}'
774 psdir='${docdir}'
775 libdir='${exec_prefix}/lib'
776 localedir='${datarootdir}/locale'
777 mandir='${datarootdir}/man'
779 ac_prev=
780 ac_dashdash=
781 for ac_option
783 # If the previous option needs an argument, assign it.
784 if test -n "$ac_prev"; then
785 eval $ac_prev=\$ac_option
786 ac_prev=
787 continue
790 case $ac_option in
791 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
792 *) ac_optarg=yes ;;
793 esac
795 # Accept the important Cygnus configure options, so we can diagnose typos.
797 case $ac_dashdash$ac_option in
799 ac_dashdash=yes ;;
801 -bindir | --bindir | --bindi | --bind | --bin | --bi)
802 ac_prev=bindir ;;
803 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
804 bindir=$ac_optarg ;;
806 -build | --build | --buil | --bui | --bu)
807 ac_prev=build_alias ;;
808 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
809 build_alias=$ac_optarg ;;
811 -cache-file | --cache-file | --cache-fil | --cache-fi \
812 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
813 ac_prev=cache_file ;;
814 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
815 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
816 cache_file=$ac_optarg ;;
818 --config-cache | -C)
819 cache_file=config.cache ;;
821 -datadir | --datadir | --datadi | --datad)
822 ac_prev=datadir ;;
823 -datadir=* | --datadir=* | --datadi=* | --datad=*)
824 datadir=$ac_optarg ;;
826 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
827 | --dataroo | --dataro | --datar)
828 ac_prev=datarootdir ;;
829 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
830 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
831 datarootdir=$ac_optarg ;;
833 -disable-* | --disable-*)
834 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
835 # Reject names that are not valid shell variable names.
836 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
837 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
838 { (exit 1); exit 1; }; }
839 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
840 eval enable_$ac_feature=no ;;
842 -docdir | --docdir | --docdi | --doc | --do)
843 ac_prev=docdir ;;
844 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
845 docdir=$ac_optarg ;;
847 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
848 ac_prev=dvidir ;;
849 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
850 dvidir=$ac_optarg ;;
852 -enable-* | --enable-*)
853 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
854 # Reject names that are not valid shell variable names.
855 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
856 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
857 { (exit 1); exit 1; }; }
858 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
859 eval enable_$ac_feature=\$ac_optarg ;;
861 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
862 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
863 | --exec | --exe | --ex)
864 ac_prev=exec_prefix ;;
865 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
866 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
867 | --exec=* | --exe=* | --ex=*)
868 exec_prefix=$ac_optarg ;;
870 -gas | --gas | --ga | --g)
871 # Obsolete; use --with-gas.
872 with_gas=yes ;;
874 -help | --help | --hel | --he | -h)
875 ac_init_help=long ;;
876 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
877 ac_init_help=recursive ;;
878 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
879 ac_init_help=short ;;
881 -host | --host | --hos | --ho)
882 ac_prev=host_alias ;;
883 -host=* | --host=* | --hos=* | --ho=*)
884 host_alias=$ac_optarg ;;
886 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
887 ac_prev=htmldir ;;
888 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
889 | --ht=*)
890 htmldir=$ac_optarg ;;
892 -includedir | --includedir | --includedi | --included | --include \
893 | --includ | --inclu | --incl | --inc)
894 ac_prev=includedir ;;
895 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
896 | --includ=* | --inclu=* | --incl=* | --inc=*)
897 includedir=$ac_optarg ;;
899 -infodir | --infodir | --infodi | --infod | --info | --inf)
900 ac_prev=infodir ;;
901 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
902 infodir=$ac_optarg ;;
904 -libdir | --libdir | --libdi | --libd)
905 ac_prev=libdir ;;
906 -libdir=* | --libdir=* | --libdi=* | --libd=*)
907 libdir=$ac_optarg ;;
909 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
910 | --libexe | --libex | --libe)
911 ac_prev=libexecdir ;;
912 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
913 | --libexe=* | --libex=* | --libe=*)
914 libexecdir=$ac_optarg ;;
916 -localedir | --localedir | --localedi | --localed | --locale)
917 ac_prev=localedir ;;
918 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
919 localedir=$ac_optarg ;;
921 -localstatedir | --localstatedir | --localstatedi | --localstated \
922 | --localstate | --localstat | --localsta | --localst | --locals)
923 ac_prev=localstatedir ;;
924 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
925 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
926 localstatedir=$ac_optarg ;;
928 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
929 ac_prev=mandir ;;
930 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
931 mandir=$ac_optarg ;;
933 -nfp | --nfp | --nf)
934 # Obsolete; use --without-fp.
935 with_fp=no ;;
937 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
938 | --no-cr | --no-c | -n)
939 no_create=yes ;;
941 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
942 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
943 no_recursion=yes ;;
945 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
946 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
947 | --oldin | --oldi | --old | --ol | --o)
948 ac_prev=oldincludedir ;;
949 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
950 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
951 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
952 oldincludedir=$ac_optarg ;;
954 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
955 ac_prev=prefix ;;
956 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
957 prefix=$ac_optarg ;;
959 -program-prefix | --program-prefix | --program-prefi | --program-pref \
960 | --program-pre | --program-pr | --program-p)
961 ac_prev=program_prefix ;;
962 -program-prefix=* | --program-prefix=* | --program-prefi=* \
963 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
964 program_prefix=$ac_optarg ;;
966 -program-suffix | --program-suffix | --program-suffi | --program-suff \
967 | --program-suf | --program-su | --program-s)
968 ac_prev=program_suffix ;;
969 -program-suffix=* | --program-suffix=* | --program-suffi=* \
970 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
971 program_suffix=$ac_optarg ;;
973 -program-transform-name | --program-transform-name \
974 | --program-transform-nam | --program-transform-na \
975 | --program-transform-n | --program-transform- \
976 | --program-transform | --program-transfor \
977 | --program-transfo | --program-transf \
978 | --program-trans | --program-tran \
979 | --progr-tra | --program-tr | --program-t)
980 ac_prev=program_transform_name ;;
981 -program-transform-name=* | --program-transform-name=* \
982 | --program-transform-nam=* | --program-transform-na=* \
983 | --program-transform-n=* | --program-transform-=* \
984 | --program-transform=* | --program-transfor=* \
985 | --program-transfo=* | --program-transf=* \
986 | --program-trans=* | --program-tran=* \
987 | --progr-tra=* | --program-tr=* | --program-t=*)
988 program_transform_name=$ac_optarg ;;
990 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
991 ac_prev=pdfdir ;;
992 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
993 pdfdir=$ac_optarg ;;
995 -psdir | --psdir | --psdi | --psd | --ps)
996 ac_prev=psdir ;;
997 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
998 psdir=$ac_optarg ;;
1000 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1001 | -silent | --silent | --silen | --sile | --sil)
1002 silent=yes ;;
1004 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1005 ac_prev=sbindir ;;
1006 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1007 | --sbi=* | --sb=*)
1008 sbindir=$ac_optarg ;;
1010 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1011 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1012 | --sharedst | --shareds | --shared | --share | --shar \
1013 | --sha | --sh)
1014 ac_prev=sharedstatedir ;;
1015 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1016 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1017 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1018 | --sha=* | --sh=*)
1019 sharedstatedir=$ac_optarg ;;
1021 -site | --site | --sit)
1022 ac_prev=site ;;
1023 -site=* | --site=* | --sit=*)
1024 site=$ac_optarg ;;
1026 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1027 ac_prev=srcdir ;;
1028 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1029 srcdir=$ac_optarg ;;
1031 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1032 | --syscon | --sysco | --sysc | --sys | --sy)
1033 ac_prev=sysconfdir ;;
1034 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1035 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1036 sysconfdir=$ac_optarg ;;
1038 -target | --target | --targe | --targ | --tar | --ta | --t)
1039 ac_prev=target_alias ;;
1040 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1041 target_alias=$ac_optarg ;;
1043 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1044 verbose=yes ;;
1046 -version | --version | --versio | --versi | --vers | -V)
1047 ac_init_version=: ;;
1049 -with-* | --with-*)
1050 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1051 # Reject names that are not valid shell variable names.
1052 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1053 { echo "$as_me: error: invalid package name: $ac_package" >&2
1054 { (exit 1); exit 1; }; }
1055 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1056 eval with_$ac_package=\$ac_optarg ;;
1058 -without-* | --without-*)
1059 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1062 { echo "$as_me: error: invalid package name: $ac_package" >&2
1063 { (exit 1); exit 1; }; }
1064 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1065 eval with_$ac_package=no ;;
1067 --x)
1068 # Obsolete; use --with-x.
1069 with_x=yes ;;
1071 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1072 | --x-incl | --x-inc | --x-in | --x-i)
1073 ac_prev=x_includes ;;
1074 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1075 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1076 x_includes=$ac_optarg ;;
1078 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1079 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1080 ac_prev=x_libraries ;;
1081 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1082 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1083 x_libraries=$ac_optarg ;;
1085 -*) { echo "$as_me: error: unrecognized option: $ac_option
1086 Try \`$0 --help' for more information." >&2
1087 { (exit 1); exit 1; }; }
1090 *=*)
1091 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1094 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1095 { (exit 1); exit 1; }; }
1096 eval $ac_envvar=\$ac_optarg
1097 export $ac_envvar ;;
1100 # FIXME: should be removed in autoconf 3.0.
1101 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1102 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1103 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1104 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1107 esac
1108 done
1110 if test -n "$ac_prev"; then
1111 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1112 { echo "$as_me: error: missing argument to $ac_option" >&2
1113 { (exit 1); exit 1; }; }
1116 # Be sure to have absolute directory names.
1117 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1118 datadir sysconfdir sharedstatedir localstatedir includedir \
1119 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1120 libdir localedir mandir
1122 eval ac_val=\$$ac_var
1123 case $ac_val in
1124 [\\/$]* | ?:[\\/]* ) continue;;
1125 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1126 esac
1127 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1128 { (exit 1); exit 1; }; }
1129 done
1131 # There might be people who depend on the old broken behavior: `$host'
1132 # used to hold the argument of --host etc.
1133 # FIXME: To remove some day.
1134 build=$build_alias
1135 host=$host_alias
1136 target=$target_alias
1138 # FIXME: To remove some day.
1139 if test "x$host_alias" != x; then
1140 if test "x$build_alias" = x; then
1141 cross_compiling=maybe
1142 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1143 If a cross compiler is detected then cross compile mode will be used." >&2
1144 elif test "x$build_alias" != "x$host_alias"; then
1145 cross_compiling=yes
1149 ac_tool_prefix=
1150 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1152 test "$silent" = yes && exec 6>/dev/null
1155 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1156 ac_ls_di=`ls -di .` &&
1157 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1158 { echo "$as_me: error: Working directory cannot be determined" >&2
1159 { (exit 1); exit 1; }; }
1160 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1161 { echo "$as_me: error: pwd does not report name of working directory" >&2
1162 { (exit 1); exit 1; }; }
1165 # Find the source files, if location was not specified.
1166 if test -z "$srcdir"; then
1167 ac_srcdir_defaulted=yes
1168 # Try the directory containing this script, then the parent directory.
1169 ac_confdir=`$as_dirname -- "$0" ||
1170 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1171 X"$0" : 'X\(//\)[^/]' \| \
1172 X"$0" : 'X\(//\)$' \| \
1173 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1174 echo X"$0" |
1175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1176 s//\1/
1179 /^X\(\/\/\)[^/].*/{
1180 s//\1/
1183 /^X\(\/\/\)$/{
1184 s//\1/
1187 /^X\(\/\).*/{
1188 s//\1/
1191 s/.*/./; q'`
1192 srcdir=$ac_confdir
1193 if test ! -r "$srcdir/$ac_unique_file"; then
1194 srcdir=..
1196 else
1197 ac_srcdir_defaulted=no
1199 if test ! -r "$srcdir/$ac_unique_file"; then
1200 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1201 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1202 { (exit 1); exit 1; }; }
1204 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1205 ac_abs_confdir=`(
1206 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1207 { (exit 1); exit 1; }; }
1208 pwd)`
1209 # When building in place, set srcdir=.
1210 if test "$ac_abs_confdir" = "$ac_pwd"; then
1211 srcdir=.
1213 # Remove unnecessary trailing slashes from srcdir.
1214 # Double slashes in file names in object file debugging info
1215 # mess up M-x gdb in Emacs.
1216 case $srcdir in
1217 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1218 esac
1219 for ac_var in $ac_precious_vars; do
1220 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1221 eval ac_env_${ac_var}_value=\$${ac_var}
1222 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1223 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1224 done
1227 # Report the --help message.
1229 if test "$ac_init_help" = "long"; then
1230 # Omit some internal or obsolete options to make the list less imposing.
1231 # This message is too long to be a string in the A/UX 3.1 sh.
1232 cat <<_ACEOF
1233 \`configure' configures this package to adapt to many kinds of systems.
1235 Usage: $0 [OPTION]... [VAR=VALUE]...
1237 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1238 VAR=VALUE. See below for descriptions of some of the useful variables.
1240 Defaults for the options are specified in brackets.
1242 Configuration:
1243 -h, --help display this help and exit
1244 --help=short display options specific to this package
1245 --help=recursive display the short help of all the included packages
1246 -V, --version display version information and exit
1247 -q, --quiet, --silent do not print \`checking...' messages
1248 --cache-file=FILE cache test results in FILE [disabled]
1249 -C, --config-cache alias for \`--cache-file=config.cache'
1250 -n, --no-create do not create output files
1251 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1253 Installation directories:
1254 --prefix=PREFIX install architecture-independent files in PREFIX
1255 [$ac_default_prefix]
1256 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1257 [PREFIX]
1259 By default, \`make install' will install all the files in
1260 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1261 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1262 for instance \`--prefix=\$HOME'.
1264 For better control, use the options below.
1266 Fine tuning of the installation directories:
1267 --bindir=DIR user executables [EPREFIX/bin]
1268 --sbindir=DIR system admin executables [EPREFIX/sbin]
1269 --libexecdir=DIR program executables [EPREFIX/libexec]
1270 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1271 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1272 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1273 --libdir=DIR object code libraries [EPREFIX/lib]
1274 --includedir=DIR C header files [PREFIX/include]
1275 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1276 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1277 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1278 --infodir=DIR info documentation [DATAROOTDIR/info]
1279 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1280 --mandir=DIR man documentation [DATAROOTDIR/man]
1281 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1282 --htmldir=DIR html documentation [DOCDIR]
1283 --dvidir=DIR dvi documentation [DOCDIR]
1284 --pdfdir=DIR pdf documentation [DOCDIR]
1285 --psdir=DIR ps documentation [DOCDIR]
1286 _ACEOF
1288 cat <<\_ACEOF
1290 Program names:
1291 --program-prefix=PREFIX prepend PREFIX to installed program names
1292 --program-suffix=SUFFIX append SUFFIX to installed program names
1293 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1294 _ACEOF
1297 if test -n "$ac_init_help"; then
1299 cat <<\_ACEOF
1301 Optional Features:
1302 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1303 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1304 --disable-dependency-tracking speeds up one-time build
1305 --enable-dependency-tracking do not reject slow dependency extractors
1306 --disable-multitouch build without PyTUIO multi-touch support
1308 Some influential environment variables:
1309 CC C compiler command
1310 CFLAGS C compiler flags
1311 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1312 nonstandard directory <lib dir>
1313 LIBS libraries to pass to the linker, e.g. -l<library>
1314 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1315 you have headers in a nonstandard directory <include dir>
1316 CXX C++ compiler command
1317 CXXFLAGS C++ compiler flags
1318 CPP C preprocessor
1320 Use these variables to override the choices made by `configure' or to help
1321 it to find libraries and programs with nonstandard names/locations.
1323 _ACEOF
1324 ac_status=$?
1327 if test "$ac_init_help" = "recursive"; then
1328 # If there are subdirs, report their specific --help.
1329 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1330 test -d "$ac_dir" || continue
1331 ac_builddir=.
1333 case "$ac_dir" in
1334 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1336 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1337 # A ".." for each directory in $ac_dir_suffix.
1338 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1339 case $ac_top_builddir_sub in
1340 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1341 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1342 esac ;;
1343 esac
1344 ac_abs_top_builddir=$ac_pwd
1345 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1346 # for backward compatibility:
1347 ac_top_builddir=$ac_top_build_prefix
1349 case $srcdir in
1350 .) # We are building in place.
1351 ac_srcdir=.
1352 ac_top_srcdir=$ac_top_builddir_sub
1353 ac_abs_top_srcdir=$ac_pwd ;;
1354 [\\/]* | ?:[\\/]* ) # Absolute name.
1355 ac_srcdir=$srcdir$ac_dir_suffix;
1356 ac_top_srcdir=$srcdir
1357 ac_abs_top_srcdir=$srcdir ;;
1358 *) # Relative name.
1359 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1360 ac_top_srcdir=$ac_top_build_prefix$srcdir
1361 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1362 esac
1363 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1365 cd "$ac_dir" || { ac_status=$?; continue; }
1366 # Check for guested configure.
1367 if test -f "$ac_srcdir/configure.gnu"; then
1368 echo &&
1369 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1370 elif test -f "$ac_srcdir/configure"; then
1371 echo &&
1372 $SHELL "$ac_srcdir/configure" --help=recursive
1373 else
1374 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1375 fi || ac_status=$?
1376 cd "$ac_pwd" || { ac_status=$?; break; }
1377 done
1380 test -n "$ac_init_help" && exit $ac_status
1381 if $ac_init_version; then
1382 cat <<\_ACEOF
1383 configure
1384 generated by GNU Autoconf 2.61
1386 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1387 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1388 This configure script is free software; the Free Software Foundation
1389 gives unlimited permission to copy, distribute and modify it.
1390 _ACEOF
1391 exit
1393 cat >config.log <<_ACEOF
1394 This file contains any messages produced by compilers while
1395 running configure, to aid debugging if configure makes a mistake.
1397 It was created by $as_me, which was
1398 generated by GNU Autoconf 2.61. Invocation command line was
1400 $ $0 $@
1402 _ACEOF
1403 exec 5>>config.log
1405 cat <<_ASUNAME
1406 ## --------- ##
1407 ## Platform. ##
1408 ## --------- ##
1410 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1411 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1412 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1413 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1414 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1416 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1417 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1419 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1420 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1421 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1422 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1423 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1424 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1425 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1427 _ASUNAME
1429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1430 for as_dir in $PATH
1432 IFS=$as_save_IFS
1433 test -z "$as_dir" && as_dir=.
1434 echo "PATH: $as_dir"
1435 done
1436 IFS=$as_save_IFS
1438 } >&5
1440 cat >&5 <<_ACEOF
1443 ## ----------- ##
1444 ## Core tests. ##
1445 ## ----------- ##
1447 _ACEOF
1450 # Keep a trace of the command line.
1451 # Strip out --no-create and --no-recursion so they do not pile up.
1452 # Strip out --silent because we don't want to record it for future runs.
1453 # Also quote any args containing shell meta-characters.
1454 # Make two passes to allow for proper duplicate-argument suppression.
1455 ac_configure_args=
1456 ac_configure_args0=
1457 ac_configure_args1=
1458 ac_must_keep_next=false
1459 for ac_pass in 1 2
1461 for ac_arg
1463 case $ac_arg in
1464 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1465 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1466 | -silent | --silent | --silen | --sile | --sil)
1467 continue ;;
1468 *\'*)
1469 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1470 esac
1471 case $ac_pass in
1472 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1474 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1475 if test $ac_must_keep_next = true; then
1476 ac_must_keep_next=false # Got value, back to normal.
1477 else
1478 case $ac_arg in
1479 *=* | --config-cache | -C | -disable-* | --disable-* \
1480 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1481 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1482 | -with-* | --with-* | -without-* | --without-* | --x)
1483 case "$ac_configure_args0 " in
1484 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1485 esac
1487 -* ) ac_must_keep_next=true ;;
1488 esac
1490 ac_configure_args="$ac_configure_args '$ac_arg'"
1492 esac
1493 done
1494 done
1495 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1496 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1498 # When interrupted or exit'd, cleanup temporary files, and complete
1499 # config.log. We remove comments because anyway the quotes in there
1500 # would cause problems or look ugly.
1501 # WARNING: Use '\'' to represent an apostrophe within the trap.
1502 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1503 trap 'exit_status=$?
1504 # Save into config.log some information that might help in debugging.
1506 echo
1508 cat <<\_ASBOX
1509 ## ---------------- ##
1510 ## Cache variables. ##
1511 ## ---------------- ##
1512 _ASBOX
1513 echo
1514 # The following way of writing the cache mishandles newlines in values,
1516 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1517 eval ac_val=\$$ac_var
1518 case $ac_val in #(
1519 *${as_nl}*)
1520 case $ac_var in #(
1521 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1522 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1523 esac
1524 case $ac_var in #(
1525 _ | IFS | as_nl) ;; #(
1526 *) $as_unset $ac_var ;;
1527 esac ;;
1528 esac
1529 done
1530 (set) 2>&1 |
1531 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1532 *${as_nl}ac_space=\ *)
1533 sed -n \
1534 "s/'\''/'\''\\\\'\'''\''/g;
1535 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1536 ;; #(
1538 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1540 esac |
1541 sort
1543 echo
1545 cat <<\_ASBOX
1546 ## ----------------- ##
1547 ## Output variables. ##
1548 ## ----------------- ##
1549 _ASBOX
1550 echo
1551 for ac_var in $ac_subst_vars
1553 eval ac_val=\$$ac_var
1554 case $ac_val in
1555 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1556 esac
1557 echo "$ac_var='\''$ac_val'\''"
1558 done | sort
1559 echo
1561 if test -n "$ac_subst_files"; then
1562 cat <<\_ASBOX
1563 ## ------------------- ##
1564 ## File substitutions. ##
1565 ## ------------------- ##
1566 _ASBOX
1567 echo
1568 for ac_var in $ac_subst_files
1570 eval ac_val=\$$ac_var
1571 case $ac_val in
1572 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1573 esac
1574 echo "$ac_var='\''$ac_val'\''"
1575 done | sort
1576 echo
1579 if test -s confdefs.h; then
1580 cat <<\_ASBOX
1581 ## ----------- ##
1582 ## confdefs.h. ##
1583 ## ----------- ##
1584 _ASBOX
1585 echo
1586 cat confdefs.h
1587 echo
1589 test "$ac_signal" != 0 &&
1590 echo "$as_me: caught signal $ac_signal"
1591 echo "$as_me: exit $exit_status"
1592 } >&5
1593 rm -f core *.core core.conftest.* &&
1594 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1595 exit $exit_status
1597 for ac_signal in 1 2 13 15; do
1598 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1599 done
1600 ac_signal=0
1602 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1603 rm -f -r conftest* confdefs.h
1605 # Predefined preprocessor variables.
1607 cat >>confdefs.h <<_ACEOF
1608 #define PACKAGE_NAME "$PACKAGE_NAME"
1609 _ACEOF
1612 cat >>confdefs.h <<_ACEOF
1613 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1614 _ACEOF
1617 cat >>confdefs.h <<_ACEOF
1618 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1619 _ACEOF
1622 cat >>confdefs.h <<_ACEOF
1623 #define PACKAGE_STRING "$PACKAGE_STRING"
1624 _ACEOF
1627 cat >>confdefs.h <<_ACEOF
1628 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1629 _ACEOF
1632 # Let the site file select an alternate cache file if it wants to.
1633 # Prefer explicitly selected file to automatically selected ones.
1634 if test -n "$CONFIG_SITE"; then
1635 set x "$CONFIG_SITE"
1636 elif test "x$prefix" != xNONE; then
1637 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1638 else
1639 set x "$ac_default_prefix/share/config.site" \
1640 "$ac_default_prefix/etc/config.site"
1642 shift
1643 for ac_site_file
1645 if test -r "$ac_site_file"; then
1646 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1647 echo "$as_me: loading site script $ac_site_file" >&6;}
1648 sed 's/^/| /' "$ac_site_file" >&5
1649 . "$ac_site_file"
1651 done
1653 if test -r "$cache_file"; then
1654 # Some versions of bash will fail to source /dev/null (special
1655 # files actually), so we avoid doing that.
1656 if test -f "$cache_file"; then
1657 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1658 echo "$as_me: loading cache $cache_file" >&6;}
1659 case $cache_file in
1660 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1661 *) . "./$cache_file";;
1662 esac
1664 else
1665 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1666 echo "$as_me: creating cache $cache_file" >&6;}
1667 >$cache_file
1670 # Check that the precious variables saved in the cache have kept the same
1671 # value.
1672 ac_cache_corrupted=false
1673 for ac_var in $ac_precious_vars; do
1674 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1675 eval ac_new_set=\$ac_env_${ac_var}_set
1676 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1677 eval ac_new_val=\$ac_env_${ac_var}_value
1678 case $ac_old_set,$ac_new_set in
1679 set,)
1680 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1681 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1682 ac_cache_corrupted=: ;;
1683 ,set)
1684 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1685 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1686 ac_cache_corrupted=: ;;
1687 ,);;
1689 if test "x$ac_old_val" != "x$ac_new_val"; then
1690 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1691 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1692 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1693 echo "$as_me: former value: $ac_old_val" >&2;}
1694 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1695 echo "$as_me: current value: $ac_new_val" >&2;}
1696 ac_cache_corrupted=:
1697 fi;;
1698 esac
1699 # Pass precious variables to config.status.
1700 if test "$ac_new_set" = set; then
1701 case $ac_new_val in
1702 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1703 *) ac_arg=$ac_var=$ac_new_val ;;
1704 esac
1705 case " $ac_configure_args " in
1706 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1707 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1708 esac
1710 done
1711 if $ac_cache_corrupted; then
1712 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1713 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1714 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1715 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1716 { (exit 1); exit 1; }; }
1735 ac_ext=c
1736 ac_cpp='$CPP $CPPFLAGS'
1737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1743 am__api_version='1.10'
1745 ac_aux_dir=
1746 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1747 if test -f "$ac_dir/install-sh"; then
1748 ac_aux_dir=$ac_dir
1749 ac_install_sh="$ac_aux_dir/install-sh -c"
1750 break
1751 elif test -f "$ac_dir/install.sh"; then
1752 ac_aux_dir=$ac_dir
1753 ac_install_sh="$ac_aux_dir/install.sh -c"
1754 break
1755 elif test -f "$ac_dir/shtool"; then
1756 ac_aux_dir=$ac_dir
1757 ac_install_sh="$ac_aux_dir/shtool install -c"
1758 break
1760 done
1761 if test -z "$ac_aux_dir"; then
1762 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1763 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1764 { (exit 1); exit 1; }; }
1767 # These three variables are undocumented and unsupported,
1768 # and are intended to be withdrawn in a future Autoconf release.
1769 # They can cause serious problems if a builder's source tree is in a directory
1770 # whose full name contains unusual characters.
1771 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1772 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1773 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1776 # Find a good install program. We prefer a C program (faster),
1777 # so one script is as good as another. But avoid the broken or
1778 # incompatible versions:
1779 # SysV /etc/install, /usr/sbin/install
1780 # SunOS /usr/etc/install
1781 # IRIX /sbin/install
1782 # AIX /bin/install
1783 # AmigaOS /C/install, which installs bootblocks on floppy discs
1784 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1785 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1786 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1787 # OS/2's system install, which has a completely different semantic
1788 # ./install, which can be erroneously created by make from ./install.sh.
1789 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1790 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1791 if test -z "$INSTALL"; then
1792 if test "${ac_cv_path_install+set}" = set; then
1793 echo $ECHO_N "(cached) $ECHO_C" >&6
1794 else
1795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1796 for as_dir in $PATH
1798 IFS=$as_save_IFS
1799 test -z "$as_dir" && as_dir=.
1800 # Account for people who put trailing slashes in PATH elements.
1801 case $as_dir/ in
1802 ./ | .// | /cC/* | \
1803 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1804 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1805 /usr/ucb/* ) ;;
1807 # OSF1 and SCO ODT 3.0 have their own names for install.
1808 # Don't use installbsd from OSF since it installs stuff as root
1809 # by default.
1810 for ac_prog in ginstall scoinst install; do
1811 for ac_exec_ext in '' $ac_executable_extensions; do
1812 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1813 if test $ac_prog = install &&
1814 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1815 # AIX install. It has an incompatible calling convention.
1817 elif test $ac_prog = install &&
1818 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1819 # program-specific install script used by HP pwplus--don't use.
1821 else
1822 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1823 break 3
1826 done
1827 done
1829 esac
1830 done
1831 IFS=$as_save_IFS
1835 if test "${ac_cv_path_install+set}" = set; then
1836 INSTALL=$ac_cv_path_install
1837 else
1838 # As a last resort, use the slow shell script. Don't cache a
1839 # value for INSTALL within a source directory, because that will
1840 # break other packages using the cache if that directory is
1841 # removed, or if the value is a relative name.
1842 INSTALL=$ac_install_sh
1845 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1846 echo "${ECHO_T}$INSTALL" >&6; }
1848 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1849 # It thinks the first close brace ends the variable substitution.
1850 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1852 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1854 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1856 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1857 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1858 # Just in case
1859 sleep 1
1860 echo timestamp > conftest.file
1861 # Do `set' in a subshell so we don't clobber the current shell's
1862 # arguments. Must try -L first in case configure is actually a
1863 # symlink; some systems play weird games with the mod time of symlinks
1864 # (eg FreeBSD returns the mod time of the symlink's containing
1865 # directory).
1866 if (
1867 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1868 if test "$*" = "X"; then
1869 # -L didn't work.
1870 set X `ls -t $srcdir/configure conftest.file`
1872 rm -f conftest.file
1873 if test "$*" != "X $srcdir/configure conftest.file" \
1874 && test "$*" != "X conftest.file $srcdir/configure"; then
1876 # If neither matched, then we have a broken ls. This can happen
1877 # if, for instance, CONFIG_SHELL is bash and it inherits a
1878 # broken ls alias from the environment. This has actually
1879 # happened. Such a system could not be considered "sane".
1880 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1881 alias in your environment" >&5
1882 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1883 alias in your environment" >&2;}
1884 { (exit 1); exit 1; }; }
1887 test "$2" = conftest.file
1889 then
1890 # Ok.
1892 else
1893 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1894 Check your system clock" >&5
1895 echo "$as_me: error: newly created file is older than distributed files!
1896 Check your system clock" >&2;}
1897 { (exit 1); exit 1; }; }
1899 { echo "$as_me:$LINENO: result: yes" >&5
1900 echo "${ECHO_T}yes" >&6; }
1901 test "$program_prefix" != NONE &&
1902 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1903 # Use a double $ so make ignores it.
1904 test "$program_suffix" != NONE &&
1905 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1906 # Double any \ or $. echo might interpret backslashes.
1907 # By default was `s,x,x', remove it if useless.
1908 cat <<\_ACEOF >conftest.sed
1909 s/[\\$]/&&/g;s/;s,x,x,$//
1910 _ACEOF
1911 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1912 rm -f conftest.sed
1914 # expand $ac_aux_dir to an absolute path
1915 am_aux_dir=`cd $ac_aux_dir && pwd`
1917 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1918 # Use eval to expand $SHELL
1919 if eval "$MISSING --run true"; then
1920 am_missing_run="$MISSING --run "
1921 else
1922 am_missing_run=
1923 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1924 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1927 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1928 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1929 if test -z "$MKDIR_P"; then
1930 if test "${ac_cv_path_mkdir+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 else
1933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1934 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1936 IFS=$as_save_IFS
1937 test -z "$as_dir" && as_dir=.
1938 for ac_prog in mkdir gmkdir; do
1939 for ac_exec_ext in '' $ac_executable_extensions; do
1940 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1941 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1942 'mkdir (GNU coreutils) '* | \
1943 'mkdir (coreutils) '* | \
1944 'mkdir (fileutils) '4.1*)
1945 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1946 break 3;;
1947 esac
1948 done
1949 done
1950 done
1951 IFS=$as_save_IFS
1955 if test "${ac_cv_path_mkdir+set}" = set; then
1956 MKDIR_P="$ac_cv_path_mkdir -p"
1957 else
1958 # As a last resort, use the slow shell script. Don't cache a
1959 # value for MKDIR_P within a source directory, because that will
1960 # break other packages using the cache if that directory is
1961 # removed, or if the value is a relative name.
1962 test -d ./--version && rmdir ./--version
1963 MKDIR_P="$ac_install_sh -d"
1966 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1967 echo "${ECHO_T}$MKDIR_P" >&6; }
1969 mkdir_p="$MKDIR_P"
1970 case $mkdir_p in
1971 [\\/$]* | ?:[\\/]*) ;;
1972 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1973 esac
1975 for ac_prog in gawk mawk nawk awk
1977 # Extract the first word of "$ac_prog", so it can be a program name with args.
1978 set dummy $ac_prog; ac_word=$2
1979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1981 if test "${ac_cv_prog_AWK+set}" = set; then
1982 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 else
1984 if test -n "$AWK"; then
1985 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1986 else
1987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1988 for as_dir in $PATH
1990 IFS=$as_save_IFS
1991 test -z "$as_dir" && as_dir=.
1992 for ac_exec_ext in '' $ac_executable_extensions; do
1993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1994 ac_cv_prog_AWK="$ac_prog"
1995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1996 break 2
1998 done
1999 done
2000 IFS=$as_save_IFS
2004 AWK=$ac_cv_prog_AWK
2005 if test -n "$AWK"; then
2006 { echo "$as_me:$LINENO: result: $AWK" >&5
2007 echo "${ECHO_T}$AWK" >&6; }
2008 else
2009 { echo "$as_me:$LINENO: result: no" >&5
2010 echo "${ECHO_T}no" >&6; }
2014 test -n "$AWK" && break
2015 done
2017 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2018 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2019 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2020 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2021 echo $ECHO_N "(cached) $ECHO_C" >&6
2022 else
2023 cat >conftest.make <<\_ACEOF
2024 SHELL = /bin/sh
2025 all:
2026 @echo '@@@%%%=$(MAKE)=@@@%%%'
2027 _ACEOF
2028 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2029 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2030 *@@@%%%=?*=@@@%%%*)
2031 eval ac_cv_prog_make_${ac_make}_set=yes;;
2033 eval ac_cv_prog_make_${ac_make}_set=no;;
2034 esac
2035 rm -f conftest.make
2037 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2038 { echo "$as_me:$LINENO: result: yes" >&5
2039 echo "${ECHO_T}yes" >&6; }
2040 SET_MAKE=
2041 else
2042 { echo "$as_me:$LINENO: result: no" >&5
2043 echo "${ECHO_T}no" >&6; }
2044 SET_MAKE="MAKE=${MAKE-make}"
2047 rm -rf .tst 2>/dev/null
2048 mkdir .tst 2>/dev/null
2049 if test -d .tst; then
2050 am__leading_dot=.
2051 else
2052 am__leading_dot=_
2054 rmdir .tst 2>/dev/null
2056 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2057 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2058 # is not polluted with repeated "-I."
2059 am__isrc=' -I$(srcdir)'
2060 # test to see if srcdir already configured
2061 if test -f $srcdir/config.status; then
2062 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2063 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2064 { (exit 1); exit 1; }; }
2068 # test whether we have cygpath
2069 if test -z "$CYGPATH_W"; then
2070 if (cygpath --version) >/dev/null 2>/dev/null; then
2071 CYGPATH_W='cygpath -w'
2072 else
2073 CYGPATH_W=echo
2078 # Define the identity of the package.
2079 PACKAGE=numptyphysics
2080 VERSION=0.3
2083 cat >>confdefs.h <<_ACEOF
2084 #define PACKAGE "$PACKAGE"
2085 _ACEOF
2088 cat >>confdefs.h <<_ACEOF
2089 #define VERSION "$VERSION"
2090 _ACEOF
2092 # Some tools Automake needs.
2094 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2097 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2100 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2103 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2106 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2108 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2110 # Installed binaries are usually stripped using `strip' when the user
2111 # run `make install-strip'. However `strip' might not be the right
2112 # tool to use in cross-compilation environments, therefore Automake
2113 # will honor the `STRIP' environment variable to overrule this program.
2114 if test "$cross_compiling" != no; then
2115 if test -n "$ac_tool_prefix"; then
2116 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2117 set dummy ${ac_tool_prefix}strip; ac_word=$2
2118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2120 if test "${ac_cv_prog_STRIP+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2122 else
2123 if test -n "$STRIP"; then
2124 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2125 else
2126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2127 for as_dir in $PATH
2129 IFS=$as_save_IFS
2130 test -z "$as_dir" && as_dir=.
2131 for ac_exec_ext in '' $ac_executable_extensions; do
2132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2133 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2135 break 2
2137 done
2138 done
2139 IFS=$as_save_IFS
2143 STRIP=$ac_cv_prog_STRIP
2144 if test -n "$STRIP"; then
2145 { echo "$as_me:$LINENO: result: $STRIP" >&5
2146 echo "${ECHO_T}$STRIP" >&6; }
2147 else
2148 { echo "$as_me:$LINENO: result: no" >&5
2149 echo "${ECHO_T}no" >&6; }
2154 if test -z "$ac_cv_prog_STRIP"; then
2155 ac_ct_STRIP=$STRIP
2156 # Extract the first word of "strip", so it can be a program name with args.
2157 set dummy strip; ac_word=$2
2158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2160 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 else
2163 if test -n "$ac_ct_STRIP"; then
2164 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2165 else
2166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 for as_dir in $PATH
2169 IFS=$as_save_IFS
2170 test -z "$as_dir" && as_dir=.
2171 for ac_exec_ext in '' $ac_executable_extensions; do
2172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2173 ac_cv_prog_ac_ct_STRIP="strip"
2174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2175 break 2
2177 done
2178 done
2179 IFS=$as_save_IFS
2183 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2184 if test -n "$ac_ct_STRIP"; then
2185 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2186 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2187 else
2188 { echo "$as_me:$LINENO: result: no" >&5
2189 echo "${ECHO_T}no" >&6; }
2192 if test "x$ac_ct_STRIP" = x; then
2193 STRIP=":"
2194 else
2195 case $cross_compiling:$ac_tool_warned in
2196 yes:)
2197 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2198 whose name does not start with the host triplet. If you think this
2199 configuration is useful to you, please write to autoconf@gnu.org." >&5
2200 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2201 whose name does not start with the host triplet. If you think this
2202 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2203 ac_tool_warned=yes ;;
2204 esac
2205 STRIP=$ac_ct_STRIP
2207 else
2208 STRIP="$ac_cv_prog_STRIP"
2212 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2214 # We need awk for the "check" target. The system "awk" is bad on
2215 # some platforms.
2216 # Always define AMTAR for backward compatibility.
2218 AMTAR=${AMTAR-"${am_missing_run}tar"}
2220 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2226 #AM_CONFIG_HEADER(amconfig.h)
2228 ac_ext=c
2229 ac_cpp='$CPP $CPPFLAGS'
2230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2233 if test -n "$ac_tool_prefix"; then
2234 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2235 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2238 if test "${ac_cv_prog_CC+set}" = set; then
2239 echo $ECHO_N "(cached) $ECHO_C" >&6
2240 else
2241 if test -n "$CC"; then
2242 ac_cv_prog_CC="$CC" # Let the user override the test.
2243 else
2244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2245 for as_dir in $PATH
2247 IFS=$as_save_IFS
2248 test -z "$as_dir" && as_dir=.
2249 for ac_exec_ext in '' $ac_executable_extensions; do
2250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2251 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 break 2
2255 done
2256 done
2257 IFS=$as_save_IFS
2261 CC=$ac_cv_prog_CC
2262 if test -n "$CC"; then
2263 { echo "$as_me:$LINENO: result: $CC" >&5
2264 echo "${ECHO_T}$CC" >&6; }
2265 else
2266 { echo "$as_me:$LINENO: result: no" >&5
2267 echo "${ECHO_T}no" >&6; }
2272 if test -z "$ac_cv_prog_CC"; then
2273 ac_ct_CC=$CC
2274 # Extract the first word of "gcc", so it can be a program name with args.
2275 set dummy gcc; ac_word=$2
2276 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2278 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2279 echo $ECHO_N "(cached) $ECHO_C" >&6
2280 else
2281 if test -n "$ac_ct_CC"; then
2282 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2283 else
2284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2285 for as_dir in $PATH
2287 IFS=$as_save_IFS
2288 test -z "$as_dir" && as_dir=.
2289 for ac_exec_ext in '' $ac_executable_extensions; do
2290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2291 ac_cv_prog_ac_ct_CC="gcc"
2292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2293 break 2
2295 done
2296 done
2297 IFS=$as_save_IFS
2301 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2302 if test -n "$ac_ct_CC"; then
2303 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2304 echo "${ECHO_T}$ac_ct_CC" >&6; }
2305 else
2306 { echo "$as_me:$LINENO: result: no" >&5
2307 echo "${ECHO_T}no" >&6; }
2310 if test "x$ac_ct_CC" = x; then
2311 CC=""
2312 else
2313 case $cross_compiling:$ac_tool_warned in
2314 yes:)
2315 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2316 whose name does not start with the host triplet. If you think this
2317 configuration is useful to you, please write to autoconf@gnu.org." >&5
2318 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2319 whose name does not start with the host triplet. If you think this
2320 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2321 ac_tool_warned=yes ;;
2322 esac
2323 CC=$ac_ct_CC
2325 else
2326 CC="$ac_cv_prog_CC"
2329 if test -z "$CC"; then
2330 if test -n "$ac_tool_prefix"; then
2331 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2332 set dummy ${ac_tool_prefix}cc; ac_word=$2
2333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2335 if test "${ac_cv_prog_CC+set}" = set; then
2336 echo $ECHO_N "(cached) $ECHO_C" >&6
2337 else
2338 if test -n "$CC"; then
2339 ac_cv_prog_CC="$CC" # Let the user override the test.
2340 else
2341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2342 for as_dir in $PATH
2344 IFS=$as_save_IFS
2345 test -z "$as_dir" && as_dir=.
2346 for ac_exec_ext in '' $ac_executable_extensions; do
2347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2348 ac_cv_prog_CC="${ac_tool_prefix}cc"
2349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2350 break 2
2352 done
2353 done
2354 IFS=$as_save_IFS
2358 CC=$ac_cv_prog_CC
2359 if test -n "$CC"; then
2360 { echo "$as_me:$LINENO: result: $CC" >&5
2361 echo "${ECHO_T}$CC" >&6; }
2362 else
2363 { echo "$as_me:$LINENO: result: no" >&5
2364 echo "${ECHO_T}no" >&6; }
2370 if test -z "$CC"; then
2371 # Extract the first word of "cc", so it can be a program name with args.
2372 set dummy cc; ac_word=$2
2373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2375 if test "${ac_cv_prog_CC+set}" = set; then
2376 echo $ECHO_N "(cached) $ECHO_C" >&6
2377 else
2378 if test -n "$CC"; then
2379 ac_cv_prog_CC="$CC" # Let the user override the test.
2380 else
2381 ac_prog_rejected=no
2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383 for as_dir in $PATH
2385 IFS=$as_save_IFS
2386 test -z "$as_dir" && as_dir=.
2387 for ac_exec_ext in '' $ac_executable_extensions; do
2388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2389 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2390 ac_prog_rejected=yes
2391 continue
2393 ac_cv_prog_CC="cc"
2394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2395 break 2
2397 done
2398 done
2399 IFS=$as_save_IFS
2401 if test $ac_prog_rejected = yes; then
2402 # We found a bogon in the path, so make sure we never use it.
2403 set dummy $ac_cv_prog_CC
2404 shift
2405 if test $# != 0; then
2406 # We chose a different compiler from the bogus one.
2407 # However, it has the same basename, so the bogon will be chosen
2408 # first if we set CC to just the basename; use the full file name.
2409 shift
2410 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2415 CC=$ac_cv_prog_CC
2416 if test -n "$CC"; then
2417 { echo "$as_me:$LINENO: result: $CC" >&5
2418 echo "${ECHO_T}$CC" >&6; }
2419 else
2420 { echo "$as_me:$LINENO: result: no" >&5
2421 echo "${ECHO_T}no" >&6; }
2426 if test -z "$CC"; then
2427 if test -n "$ac_tool_prefix"; then
2428 for ac_prog in cl.exe
2430 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2431 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2434 if test "${ac_cv_prog_CC+set}" = set; then
2435 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 else
2437 if test -n "$CC"; then
2438 ac_cv_prog_CC="$CC" # Let the user override the test.
2439 else
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441 for as_dir in $PATH
2443 IFS=$as_save_IFS
2444 test -z "$as_dir" && as_dir=.
2445 for ac_exec_ext in '' $ac_executable_extensions; do
2446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2447 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2449 break 2
2451 done
2452 done
2453 IFS=$as_save_IFS
2457 CC=$ac_cv_prog_CC
2458 if test -n "$CC"; then
2459 { echo "$as_me:$LINENO: result: $CC" >&5
2460 echo "${ECHO_T}$CC" >&6; }
2461 else
2462 { echo "$as_me:$LINENO: result: no" >&5
2463 echo "${ECHO_T}no" >&6; }
2467 test -n "$CC" && break
2468 done
2470 if test -z "$CC"; then
2471 ac_ct_CC=$CC
2472 for ac_prog in cl.exe
2474 # Extract the first word of "$ac_prog", so it can be a program name with args.
2475 set dummy $ac_prog; ac_word=$2
2476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2478 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 else
2481 if test -n "$ac_ct_CC"; then
2482 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2483 else
2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2485 for as_dir in $PATH
2487 IFS=$as_save_IFS
2488 test -z "$as_dir" && as_dir=.
2489 for ac_exec_ext in '' $ac_executable_extensions; do
2490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2491 ac_cv_prog_ac_ct_CC="$ac_prog"
2492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2493 break 2
2495 done
2496 done
2497 IFS=$as_save_IFS
2501 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2502 if test -n "$ac_ct_CC"; then
2503 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2504 echo "${ECHO_T}$ac_ct_CC" >&6; }
2505 else
2506 { echo "$as_me:$LINENO: result: no" >&5
2507 echo "${ECHO_T}no" >&6; }
2511 test -n "$ac_ct_CC" && break
2512 done
2514 if test "x$ac_ct_CC" = x; then
2515 CC=""
2516 else
2517 case $cross_compiling:$ac_tool_warned in
2518 yes:)
2519 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2520 whose name does not start with the host triplet. If you think this
2521 configuration is useful to you, please write to autoconf@gnu.org." >&5
2522 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2523 whose name does not start with the host triplet. If you think this
2524 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2525 ac_tool_warned=yes ;;
2526 esac
2527 CC=$ac_ct_CC
2534 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: no acceptable C compiler found in \$PATH
2537 See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2540 # Provide some information about the compiler.
2541 echo "$as_me:$LINENO: checking for C compiler version" >&5
2542 ac_compiler=`set X $ac_compile; echo $2`
2543 { (ac_try="$ac_compiler --version >&5"
2544 case "(($ac_try" in
2545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2546 *) ac_try_echo=$ac_try;;
2547 esac
2548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2549 (eval "$ac_compiler --version >&5") 2>&5
2550 ac_status=$?
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); }
2553 { (ac_try="$ac_compiler -v >&5"
2554 case "(($ac_try" in
2555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2556 *) ac_try_echo=$ac_try;;
2557 esac
2558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2559 (eval "$ac_compiler -v >&5") 2>&5
2560 ac_status=$?
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }
2563 { (ac_try="$ac_compiler -V >&5"
2564 case "(($ac_try" in
2565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2566 *) ac_try_echo=$ac_try;;
2567 esac
2568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2569 (eval "$ac_compiler -V >&5") 2>&5
2570 ac_status=$?
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }
2574 cat >conftest.$ac_ext <<_ACEOF
2575 /* confdefs.h. */
2576 _ACEOF
2577 cat confdefs.h >>conftest.$ac_ext
2578 cat >>conftest.$ac_ext <<_ACEOF
2579 /* end confdefs.h. */
2582 main ()
2586 return 0;
2588 _ACEOF
2589 ac_clean_files_save=$ac_clean_files
2590 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2591 # Try to create an executable without -o first, disregard a.out.
2592 # It will help us diagnose broken compilers, and finding out an intuition
2593 # of exeext.
2594 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2595 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2596 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2598 # List of possible output files, starting from the most likely.
2599 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2600 # only as a last resort. b.out is created by i960 compilers.
2601 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2603 # The IRIX 6 linker writes into existing files which may not be
2604 # executable, retaining their permissions. Remove them first so a
2605 # subsequent execution test works.
2606 ac_rmfiles=
2607 for ac_file in $ac_files
2609 case $ac_file in
2610 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2611 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2612 esac
2613 done
2614 rm -f $ac_rmfiles
2616 if { (ac_try="$ac_link_default"
2617 case "(($ac_try" in
2618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2619 *) ac_try_echo=$ac_try;;
2620 esac
2621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2622 (eval "$ac_link_default") 2>&5
2623 ac_status=$?
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); }; then
2626 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2627 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2628 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2629 # so that the user can short-circuit this test for compilers unknown to
2630 # Autoconf.
2631 for ac_file in $ac_files ''
2633 test -f "$ac_file" || continue
2634 case $ac_file in
2635 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2637 [ab].out )
2638 # We found the default executable, but exeext='' is most
2639 # certainly right.
2640 break;;
2641 *.* )
2642 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2643 then :; else
2644 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2646 # We set ac_cv_exeext here because the later test for it is not
2647 # safe: cross compilers may not add the suffix if given an `-o'
2648 # argument, so we may need to know it at that point already.
2649 # Even if this section looks crufty: it has the advantage of
2650 # actually working.
2651 break;;
2653 break;;
2654 esac
2655 done
2656 test "$ac_cv_exeext" = no && ac_cv_exeext=
2658 else
2659 ac_file=''
2662 { echo "$as_me:$LINENO: result: $ac_file" >&5
2663 echo "${ECHO_T}$ac_file" >&6; }
2664 if test -z "$ac_file"; then
2665 echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2668 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2669 See \`config.log' for more details." >&5
2670 echo "$as_me: error: C compiler cannot create executables
2671 See \`config.log' for more details." >&2;}
2672 { (exit 77); exit 77; }; }
2675 ac_exeext=$ac_cv_exeext
2677 # Check that the compiler produces executables we can run. If not, either
2678 # the compiler is broken, or we cross compile.
2679 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2680 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2681 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2682 # If not cross compiling, check that we can run a simple program.
2683 if test "$cross_compiling" != yes; then
2684 if { ac_try='./$ac_file'
2685 { (case "(($ac_try" in
2686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2688 esac
2689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2690 (eval "$ac_try") 2>&5
2691 ac_status=$?
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }; }; then
2694 cross_compiling=no
2695 else
2696 if test "$cross_compiling" = maybe; then
2697 cross_compiling=yes
2698 else
2699 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2700 If you meant to cross compile, use \`--host'.
2701 See \`config.log' for more details." >&5
2702 echo "$as_me: error: cannot run C compiled programs.
2703 If you meant to cross compile, use \`--host'.
2704 See \`config.log' for more details." >&2;}
2705 { (exit 1); exit 1; }; }
2709 { echo "$as_me:$LINENO: result: yes" >&5
2710 echo "${ECHO_T}yes" >&6; }
2712 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2713 ac_clean_files=$ac_clean_files_save
2714 # Check that the compiler produces executables we can run. If not, either
2715 # the compiler is broken, or we cross compile.
2716 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2717 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2718 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2719 echo "${ECHO_T}$cross_compiling" >&6; }
2721 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2722 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2723 if { (ac_try="$ac_link"
2724 case "(($ac_try" in
2725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2726 *) ac_try_echo=$ac_try;;
2727 esac
2728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2729 (eval "$ac_link") 2>&5
2730 ac_status=$?
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }; then
2733 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2734 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2735 # work properly (i.e., refer to `conftest.exe'), while it won't with
2736 # `rm'.
2737 for ac_file in conftest.exe conftest conftest.*; do
2738 test -f "$ac_file" || continue
2739 case $ac_file in
2740 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2741 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2742 break;;
2743 * ) break;;
2744 esac
2745 done
2746 else
2747 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2748 See \`config.log' for more details." >&5
2749 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2750 See \`config.log' for more details." >&2;}
2751 { (exit 1); exit 1; }; }
2754 rm -f conftest$ac_cv_exeext
2755 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2756 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2758 rm -f conftest.$ac_ext
2759 EXEEXT=$ac_cv_exeext
2760 ac_exeext=$EXEEXT
2761 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2762 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2763 if test "${ac_cv_objext+set}" = set; then
2764 echo $ECHO_N "(cached) $ECHO_C" >&6
2765 else
2766 cat >conftest.$ac_ext <<_ACEOF
2767 /* confdefs.h. */
2768 _ACEOF
2769 cat confdefs.h >>conftest.$ac_ext
2770 cat >>conftest.$ac_ext <<_ACEOF
2771 /* end confdefs.h. */
2774 main ()
2778 return 0;
2780 _ACEOF
2781 rm -f conftest.o conftest.obj
2782 if { (ac_try="$ac_compile"
2783 case "(($ac_try" in
2784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2785 *) ac_try_echo=$ac_try;;
2786 esac
2787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2788 (eval "$ac_compile") 2>&5
2789 ac_status=$?
2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 (exit $ac_status); }; then
2792 for ac_file in conftest.o conftest.obj conftest.*; do
2793 test -f "$ac_file" || continue;
2794 case $ac_file in
2795 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2796 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2797 break;;
2798 esac
2799 done
2800 else
2801 echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.$ac_ext >&5
2804 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2805 See \`config.log' for more details." >&5
2806 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2807 See \`config.log' for more details." >&2;}
2808 { (exit 1); exit 1; }; }
2811 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2813 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2814 echo "${ECHO_T}$ac_cv_objext" >&6; }
2815 OBJEXT=$ac_cv_objext
2816 ac_objext=$OBJEXT
2817 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2818 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2819 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2820 echo $ECHO_N "(cached) $ECHO_C" >&6
2821 else
2822 cat >conftest.$ac_ext <<_ACEOF
2823 /* confdefs.h. */
2824 _ACEOF
2825 cat confdefs.h >>conftest.$ac_ext
2826 cat >>conftest.$ac_ext <<_ACEOF
2827 /* end confdefs.h. */
2830 main ()
2832 #ifndef __GNUC__
2833 choke me
2834 #endif
2837 return 0;
2839 _ACEOF
2840 rm -f conftest.$ac_objext
2841 if { (ac_try="$ac_compile"
2842 case "(($ac_try" in
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2845 esac
2846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2847 (eval "$ac_compile") 2>conftest.er1
2848 ac_status=$?
2849 grep -v '^ *+' conftest.er1 >conftest.err
2850 rm -f conftest.er1
2851 cat conftest.err >&5
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); } && {
2854 test -z "$ac_c_werror_flag" ||
2855 test ! -s conftest.err
2856 } && test -s conftest.$ac_objext; then
2857 ac_compiler_gnu=yes
2858 else
2859 echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2862 ac_compiler_gnu=no
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2869 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2870 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2871 GCC=`test $ac_compiler_gnu = yes && echo yes`
2872 ac_test_CFLAGS=${CFLAGS+set}
2873 ac_save_CFLAGS=$CFLAGS
2874 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2875 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2876 if test "${ac_cv_prog_cc_g+set}" = set; then
2877 echo $ECHO_N "(cached) $ECHO_C" >&6
2878 else
2879 ac_save_c_werror_flag=$ac_c_werror_flag
2880 ac_c_werror_flag=yes
2881 ac_cv_prog_cc_g=no
2882 CFLAGS="-g"
2883 cat >conftest.$ac_ext <<_ACEOF
2884 /* confdefs.h. */
2885 _ACEOF
2886 cat confdefs.h >>conftest.$ac_ext
2887 cat >>conftest.$ac_ext <<_ACEOF
2888 /* end confdefs.h. */
2891 main ()
2895 return 0;
2897 _ACEOF
2898 rm -f conftest.$ac_objext
2899 if { (ac_try="$ac_compile"
2900 case "(($ac_try" in
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2903 esac
2904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_compile") 2>conftest.er1
2906 ac_status=$?
2907 grep -v '^ *+' conftest.er1 >conftest.err
2908 rm -f conftest.er1
2909 cat conftest.err >&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); } && {
2912 test -z "$ac_c_werror_flag" ||
2913 test ! -s conftest.err
2914 } && test -s conftest.$ac_objext; then
2915 ac_cv_prog_cc_g=yes
2916 else
2917 echo "$as_me: failed program was:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2920 CFLAGS=""
2921 cat >conftest.$ac_ext <<_ACEOF
2922 /* confdefs.h. */
2923 _ACEOF
2924 cat confdefs.h >>conftest.$ac_ext
2925 cat >>conftest.$ac_ext <<_ACEOF
2926 /* end confdefs.h. */
2929 main ()
2933 return 0;
2935 _ACEOF
2936 rm -f conftest.$ac_objext
2937 if { (ac_try="$ac_compile"
2938 case "(($ac_try" in
2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2941 esac
2942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2943 (eval "$ac_compile") 2>conftest.er1
2944 ac_status=$?
2945 grep -v '^ *+' conftest.er1 >conftest.err
2946 rm -f conftest.er1
2947 cat conftest.err >&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); } && {
2950 test -z "$ac_c_werror_flag" ||
2951 test ! -s conftest.err
2952 } && test -s conftest.$ac_objext; then
2954 else
2955 echo "$as_me: failed program was:" >&5
2956 sed 's/^/| /' conftest.$ac_ext >&5
2958 ac_c_werror_flag=$ac_save_c_werror_flag
2959 CFLAGS="-g"
2960 cat >conftest.$ac_ext <<_ACEOF
2961 /* confdefs.h. */
2962 _ACEOF
2963 cat confdefs.h >>conftest.$ac_ext
2964 cat >>conftest.$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2968 main ()
2972 return 0;
2974 _ACEOF
2975 rm -f conftest.$ac_objext
2976 if { (ac_try="$ac_compile"
2977 case "(($ac_try" in
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2980 esac
2981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2982 (eval "$ac_compile") 2>conftest.er1
2983 ac_status=$?
2984 grep -v '^ *+' conftest.er1 >conftest.err
2985 rm -f conftest.er1
2986 cat conftest.err >&5
2987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988 (exit $ac_status); } && {
2989 test -z "$ac_c_werror_flag" ||
2990 test ! -s conftest.err
2991 } && test -s conftest.$ac_objext; then
2992 ac_cv_prog_cc_g=yes
2993 else
2994 echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
3000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3007 ac_c_werror_flag=$ac_save_c_werror_flag
3009 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3010 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3011 if test "$ac_test_CFLAGS" = set; then
3012 CFLAGS=$ac_save_CFLAGS
3013 elif test $ac_cv_prog_cc_g = yes; then
3014 if test "$GCC" = yes; then
3015 CFLAGS="-g -O2"
3016 else
3017 CFLAGS="-g"
3019 else
3020 if test "$GCC" = yes; then
3021 CFLAGS="-O2"
3022 else
3023 CFLAGS=
3026 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3027 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3028 if test "${ac_cv_prog_cc_c89+set}" = set; then
3029 echo $ECHO_N "(cached) $ECHO_C" >&6
3030 else
3031 ac_cv_prog_cc_c89=no
3032 ac_save_CC=$CC
3033 cat >conftest.$ac_ext <<_ACEOF
3034 /* confdefs.h. */
3035 _ACEOF
3036 cat confdefs.h >>conftest.$ac_ext
3037 cat >>conftest.$ac_ext <<_ACEOF
3038 /* end confdefs.h. */
3039 #include <stdarg.h>
3040 #include <stdio.h>
3041 #include <sys/types.h>
3042 #include <sys/stat.h>
3043 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3044 struct buf { int x; };
3045 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3046 static char *e (p, i)
3047 char **p;
3048 int i;
3050 return p[i];
3052 static char *f (char * (*g) (char **, int), char **p, ...)
3054 char *s;
3055 va_list v;
3056 va_start (v,p);
3057 s = g (p, va_arg (v,int));
3058 va_end (v);
3059 return s;
3062 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3063 function prototypes and stuff, but not '\xHH' hex character constants.
3064 These don't provoke an error unfortunately, instead are silently treated
3065 as 'x'. The following induces an error, until -std is added to get
3066 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3067 array size at least. It's necessary to write '\x00'==0 to get something
3068 that's true only with -std. */
3069 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3071 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3072 inside strings and character constants. */
3073 #define FOO(x) 'x'
3074 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3076 int test (int i, double x);
3077 struct s1 {int (*f) (int a);};
3078 struct s2 {int (*f) (double a);};
3079 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3080 int argc;
3081 char **argv;
3083 main ()
3085 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3087 return 0;
3089 _ACEOF
3090 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3091 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3093 CC="$ac_save_CC $ac_arg"
3094 rm -f conftest.$ac_objext
3095 if { (ac_try="$ac_compile"
3096 case "(($ac_try" in
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3099 esac
3100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3101 (eval "$ac_compile") 2>conftest.er1
3102 ac_status=$?
3103 grep -v '^ *+' conftest.er1 >conftest.err
3104 rm -f conftest.er1
3105 cat conftest.err >&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); } && {
3108 test -z "$ac_c_werror_flag" ||
3109 test ! -s conftest.err
3110 } && test -s conftest.$ac_objext; then
3111 ac_cv_prog_cc_c89=$ac_arg
3112 else
3113 echo "$as_me: failed program was:" >&5
3114 sed 's/^/| /' conftest.$ac_ext >&5
3119 rm -f core conftest.err conftest.$ac_objext
3120 test "x$ac_cv_prog_cc_c89" != "xno" && break
3121 done
3122 rm -f conftest.$ac_ext
3123 CC=$ac_save_CC
3126 # AC_CACHE_VAL
3127 case "x$ac_cv_prog_cc_c89" in
3129 { echo "$as_me:$LINENO: result: none needed" >&5
3130 echo "${ECHO_T}none needed" >&6; } ;;
3131 xno)
3132 { echo "$as_me:$LINENO: result: unsupported" >&5
3133 echo "${ECHO_T}unsupported" >&6; } ;;
3135 CC="$CC $ac_cv_prog_cc_c89"
3136 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3137 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3138 esac
3141 ac_ext=c
3142 ac_cpp='$CPP $CPPFLAGS'
3143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3146 DEPDIR="${am__leading_dot}deps"
3148 ac_config_commands="$ac_config_commands depfiles"
3151 am_make=${MAKE-make}
3152 cat > confinc << 'END'
3153 am__doit:
3154 @echo done
3155 .PHONY: am__doit
3157 # If we don't find an include directive, just comment out the code.
3158 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3159 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3160 am__include="#"
3161 am__quote=
3162 _am_result=none
3163 # First try GNU make style include.
3164 echo "include confinc" > confmf
3165 # We grep out `Entering directory' and `Leaving directory'
3166 # messages which can occur if `w' ends up in MAKEFLAGS.
3167 # In particular we don't look at `^make:' because GNU make might
3168 # be invoked under some other name (usually "gmake"), in which
3169 # case it prints its new name instead of `make'.
3170 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3171 am__include=include
3172 am__quote=
3173 _am_result=GNU
3175 # Now try BSD make style include.
3176 if test "$am__include" = "#"; then
3177 echo '.include "confinc"' > confmf
3178 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3179 am__include=.include
3180 am__quote="\""
3181 _am_result=BSD
3186 { echo "$as_me:$LINENO: result: $_am_result" >&5
3187 echo "${ECHO_T}$_am_result" >&6; }
3188 rm -f confinc confmf
3190 # Check whether --enable-dependency-tracking was given.
3191 if test "${enable_dependency_tracking+set}" = set; then
3192 enableval=$enable_dependency_tracking;
3195 if test "x$enable_dependency_tracking" != xno; then
3196 am_depcomp="$ac_aux_dir/depcomp"
3197 AMDEPBACKSLASH='\'
3199 if test "x$enable_dependency_tracking" != xno; then
3200 AMDEP_TRUE=
3201 AMDEP_FALSE='#'
3202 else
3203 AMDEP_TRUE='#'
3204 AMDEP_FALSE=
3209 depcc="$CC" am_compiler_list=
3211 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3212 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3213 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3214 echo $ECHO_N "(cached) $ECHO_C" >&6
3215 else
3216 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3217 # We make a subdir and do the tests there. Otherwise we can end up
3218 # making bogus files that we don't know about and never remove. For
3219 # instance it was reported that on HP-UX the gcc test will end up
3220 # making a dummy file named `D' -- because `-MD' means `put the output
3221 # in D'.
3222 mkdir conftest.dir
3223 # Copy depcomp to subdir because otherwise we won't find it if we're
3224 # using a relative directory.
3225 cp "$am_depcomp" conftest.dir
3226 cd conftest.dir
3227 # We will build objects and dependencies in a subdirectory because
3228 # it helps to detect inapplicable dependency modes. For instance
3229 # both Tru64's cc and ICC support -MD to output dependencies as a
3230 # side effect of compilation, but ICC will put the dependencies in
3231 # the current directory while Tru64 will put them in the object
3232 # directory.
3233 mkdir sub
3235 am_cv_CC_dependencies_compiler_type=none
3236 if test "$am_compiler_list" = ""; then
3237 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3239 for depmode in $am_compiler_list; do
3240 # Setup a source with many dependencies, because some compilers
3241 # like to wrap large dependency lists on column 80 (with \), and
3242 # we should not choose a depcomp mode which is confused by this.
3244 # We need to recreate these files for each test, as the compiler may
3245 # overwrite some of them when testing with obscure command lines.
3246 # This happens at least with the AIX C compiler.
3247 : > sub/conftest.c
3248 for i in 1 2 3 4 5 6; do
3249 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3250 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3251 # Solaris 8's {/usr,}/bin/sh.
3252 touch sub/conftst$i.h
3253 done
3254 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3256 case $depmode in
3257 nosideeffect)
3258 # after this tag, mechanisms are not by side-effect, so they'll
3259 # only be used when explicitly requested
3260 if test "x$enable_dependency_tracking" = xyes; then
3261 continue
3262 else
3263 break
3266 none) break ;;
3267 esac
3268 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3269 # mode. It turns out that the SunPro C++ compiler does not properly
3270 # handle `-M -o', and we need to detect this.
3271 if depmode=$depmode \
3272 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3273 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3274 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3275 >/dev/null 2>conftest.err &&
3276 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3277 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3278 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3279 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3280 # icc doesn't choke on unknown options, it will just issue warnings
3281 # or remarks (even with -Werror). So we grep stderr for any message
3282 # that says an option was ignored or not supported.
3283 # When given -MP, icc 7.0 and 7.1 complain thusly:
3284 # icc: Command line warning: ignoring option '-M'; no argument required
3285 # The diagnosis changed in icc 8.0:
3286 # icc: Command line remark: option '-MP' not supported
3287 if (grep 'ignoring option' conftest.err ||
3288 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3289 am_cv_CC_dependencies_compiler_type=$depmode
3290 break
3293 done
3295 cd ..
3296 rm -rf conftest.dir
3297 else
3298 am_cv_CC_dependencies_compiler_type=none
3302 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3303 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3304 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3307 test "x$enable_dependency_tracking" != xno \
3308 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3309 am__fastdepCC_TRUE=
3310 am__fastdepCC_FALSE='#'
3311 else
3312 am__fastdepCC_TRUE='#'
3313 am__fastdepCC_FALSE=
3317 ac_ext=cpp
3318 ac_cpp='$CXXCPP $CPPFLAGS'
3319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3322 if test -z "$CXX"; then
3323 if test -n "$CCC"; then
3324 CXX=$CCC
3325 else
3326 if test -n "$ac_tool_prefix"; then
3327 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3329 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3330 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3333 if test "${ac_cv_prog_CXX+set}" = set; then
3334 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 else
3336 if test -n "$CXX"; then
3337 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3338 else
3339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340 for as_dir in $PATH
3342 IFS=$as_save_IFS
3343 test -z "$as_dir" && as_dir=.
3344 for ac_exec_ext in '' $ac_executable_extensions; do
3345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3346 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3348 break 2
3350 done
3351 done
3352 IFS=$as_save_IFS
3356 CXX=$ac_cv_prog_CXX
3357 if test -n "$CXX"; then
3358 { echo "$as_me:$LINENO: result: $CXX" >&5
3359 echo "${ECHO_T}$CXX" >&6; }
3360 else
3361 { echo "$as_me:$LINENO: result: no" >&5
3362 echo "${ECHO_T}no" >&6; }
3366 test -n "$CXX" && break
3367 done
3369 if test -z "$CXX"; then
3370 ac_ct_CXX=$CXX
3371 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3373 # Extract the first word of "$ac_prog", so it can be a program name with args.
3374 set dummy $ac_prog; ac_word=$2
3375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3377 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3378 echo $ECHO_N "(cached) $ECHO_C" >&6
3379 else
3380 if test -n "$ac_ct_CXX"; then
3381 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3382 else
3383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3384 for as_dir in $PATH
3386 IFS=$as_save_IFS
3387 test -z "$as_dir" && as_dir=.
3388 for ac_exec_ext in '' $ac_executable_extensions; do
3389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3390 ac_cv_prog_ac_ct_CXX="$ac_prog"
3391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3392 break 2
3394 done
3395 done
3396 IFS=$as_save_IFS
3400 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3401 if test -n "$ac_ct_CXX"; then
3402 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3403 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3404 else
3405 { echo "$as_me:$LINENO: result: no" >&5
3406 echo "${ECHO_T}no" >&6; }
3410 test -n "$ac_ct_CXX" && break
3411 done
3413 if test "x$ac_ct_CXX" = x; then
3414 CXX="g++"
3415 else
3416 case $cross_compiling:$ac_tool_warned in
3417 yes:)
3418 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3419 whose name does not start with the host triplet. If you think this
3420 configuration is useful to you, please write to autoconf@gnu.org." >&5
3421 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3422 whose name does not start with the host triplet. If you think this
3423 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3424 ac_tool_warned=yes ;;
3425 esac
3426 CXX=$ac_ct_CXX
3432 # Provide some information about the compiler.
3433 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3434 ac_compiler=`set X $ac_compile; echo $2`
3435 { (ac_try="$ac_compiler --version >&5"
3436 case "(($ac_try" in
3437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3438 *) ac_try_echo=$ac_try;;
3439 esac
3440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3441 (eval "$ac_compiler --version >&5") 2>&5
3442 ac_status=$?
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); }
3445 { (ac_try="$ac_compiler -v >&5"
3446 case "(($ac_try" in
3447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3448 *) ac_try_echo=$ac_try;;
3449 esac
3450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3451 (eval "$ac_compiler -v >&5") 2>&5
3452 ac_status=$?
3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454 (exit $ac_status); }
3455 { (ac_try="$ac_compiler -V >&5"
3456 case "(($ac_try" in
3457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458 *) ac_try_echo=$ac_try;;
3459 esac
3460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3461 (eval "$ac_compiler -V >&5") 2>&5
3462 ac_status=$?
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); }
3466 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3467 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3468 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3469 echo $ECHO_N "(cached) $ECHO_C" >&6
3470 else
3471 cat >conftest.$ac_ext <<_ACEOF
3472 /* confdefs.h. */
3473 _ACEOF
3474 cat confdefs.h >>conftest.$ac_ext
3475 cat >>conftest.$ac_ext <<_ACEOF
3476 /* end confdefs.h. */
3479 main ()
3481 #ifndef __GNUC__
3482 choke me
3483 #endif
3486 return 0;
3488 _ACEOF
3489 rm -f conftest.$ac_objext
3490 if { (ac_try="$ac_compile"
3491 case "(($ac_try" in
3492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3493 *) ac_try_echo=$ac_try;;
3494 esac
3495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3496 (eval "$ac_compile") 2>conftest.er1
3497 ac_status=$?
3498 grep -v '^ *+' conftest.er1 >conftest.err
3499 rm -f conftest.er1
3500 cat conftest.err >&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); } && {
3503 test -z "$ac_cxx_werror_flag" ||
3504 test ! -s conftest.err
3505 } && test -s conftest.$ac_objext; then
3506 ac_compiler_gnu=yes
3507 else
3508 echo "$as_me: failed program was:" >&5
3509 sed 's/^/| /' conftest.$ac_ext >&5
3511 ac_compiler_gnu=no
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3515 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3518 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3519 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3520 GXX=`test $ac_compiler_gnu = yes && echo yes`
3521 ac_test_CXXFLAGS=${CXXFLAGS+set}
3522 ac_save_CXXFLAGS=$CXXFLAGS
3523 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3524 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3525 if test "${ac_cv_prog_cxx_g+set}" = set; then
3526 echo $ECHO_N "(cached) $ECHO_C" >&6
3527 else
3528 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3529 ac_cxx_werror_flag=yes
3530 ac_cv_prog_cxx_g=no
3531 CXXFLAGS="-g"
3532 cat >conftest.$ac_ext <<_ACEOF
3533 /* confdefs.h. */
3534 _ACEOF
3535 cat confdefs.h >>conftest.$ac_ext
3536 cat >>conftest.$ac_ext <<_ACEOF
3537 /* end confdefs.h. */
3540 main ()
3544 return 0;
3546 _ACEOF
3547 rm -f conftest.$ac_objext
3548 if { (ac_try="$ac_compile"
3549 case "(($ac_try" in
3550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3551 *) ac_try_echo=$ac_try;;
3552 esac
3553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3554 (eval "$ac_compile") 2>conftest.er1
3555 ac_status=$?
3556 grep -v '^ *+' conftest.er1 >conftest.err
3557 rm -f conftest.er1
3558 cat conftest.err >&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); } && {
3561 test -z "$ac_cxx_werror_flag" ||
3562 test ! -s conftest.err
3563 } && test -s conftest.$ac_objext; then
3564 ac_cv_prog_cxx_g=yes
3565 else
3566 echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3569 CXXFLAGS=""
3570 cat >conftest.$ac_ext <<_ACEOF
3571 /* confdefs.h. */
3572 _ACEOF
3573 cat confdefs.h >>conftest.$ac_ext
3574 cat >>conftest.$ac_ext <<_ACEOF
3575 /* end confdefs.h. */
3578 main ()
3582 return 0;
3584 _ACEOF
3585 rm -f conftest.$ac_objext
3586 if { (ac_try="$ac_compile"
3587 case "(($ac_try" in
3588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3589 *) ac_try_echo=$ac_try;;
3590 esac
3591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3592 (eval "$ac_compile") 2>conftest.er1
3593 ac_status=$?
3594 grep -v '^ *+' conftest.er1 >conftest.err
3595 rm -f conftest.er1
3596 cat conftest.err >&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); } && {
3599 test -z "$ac_cxx_werror_flag" ||
3600 test ! -s conftest.err
3601 } && test -s conftest.$ac_objext; then
3603 else
3604 echo "$as_me: failed program was:" >&5
3605 sed 's/^/| /' conftest.$ac_ext >&5
3607 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3608 CXXFLAGS="-g"
3609 cat >conftest.$ac_ext <<_ACEOF
3610 /* confdefs.h. */
3611 _ACEOF
3612 cat confdefs.h >>conftest.$ac_ext
3613 cat >>conftest.$ac_ext <<_ACEOF
3614 /* end confdefs.h. */
3617 main ()
3621 return 0;
3623 _ACEOF
3624 rm -f conftest.$ac_objext
3625 if { (ac_try="$ac_compile"
3626 case "(($ac_try" in
3627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3628 *) ac_try_echo=$ac_try;;
3629 esac
3630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3631 (eval "$ac_compile") 2>conftest.er1
3632 ac_status=$?
3633 grep -v '^ *+' conftest.er1 >conftest.err
3634 rm -f conftest.er1
3635 cat conftest.err >&5
3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); } && {
3638 test -z "$ac_cxx_werror_flag" ||
3639 test ! -s conftest.err
3640 } && test -s conftest.$ac_objext; then
3641 ac_cv_prog_cxx_g=yes
3642 else
3643 echo "$as_me: failed program was:" >&5
3644 sed 's/^/| /' conftest.$ac_ext >&5
3649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3656 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3658 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3659 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3660 if test "$ac_test_CXXFLAGS" = set; then
3661 CXXFLAGS=$ac_save_CXXFLAGS
3662 elif test $ac_cv_prog_cxx_g = yes; then
3663 if test "$GXX" = yes; then
3664 CXXFLAGS="-g -O2"
3665 else
3666 CXXFLAGS="-g"
3668 else
3669 if test "$GXX" = yes; then
3670 CXXFLAGS="-O2"
3671 else
3672 CXXFLAGS=
3675 ac_ext=c
3676 ac_cpp='$CPP $CPPFLAGS'
3677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3681 depcc="$CXX" am_compiler_list=
3683 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3684 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3685 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3686 echo $ECHO_N "(cached) $ECHO_C" >&6
3687 else
3688 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3689 # We make a subdir and do the tests there. Otherwise we can end up
3690 # making bogus files that we don't know about and never remove. For
3691 # instance it was reported that on HP-UX the gcc test will end up
3692 # making a dummy file named `D' -- because `-MD' means `put the output
3693 # in D'.
3694 mkdir conftest.dir
3695 # Copy depcomp to subdir because otherwise we won't find it if we're
3696 # using a relative directory.
3697 cp "$am_depcomp" conftest.dir
3698 cd conftest.dir
3699 # We will build objects and dependencies in a subdirectory because
3700 # it helps to detect inapplicable dependency modes. For instance
3701 # both Tru64's cc and ICC support -MD to output dependencies as a
3702 # side effect of compilation, but ICC will put the dependencies in
3703 # the current directory while Tru64 will put them in the object
3704 # directory.
3705 mkdir sub
3707 am_cv_CXX_dependencies_compiler_type=none
3708 if test "$am_compiler_list" = ""; then
3709 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3711 for depmode in $am_compiler_list; do
3712 # Setup a source with many dependencies, because some compilers
3713 # like to wrap large dependency lists on column 80 (with \), and
3714 # we should not choose a depcomp mode which is confused by this.
3716 # We need to recreate these files for each test, as the compiler may
3717 # overwrite some of them when testing with obscure command lines.
3718 # This happens at least with the AIX C compiler.
3719 : > sub/conftest.c
3720 for i in 1 2 3 4 5 6; do
3721 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3722 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3723 # Solaris 8's {/usr,}/bin/sh.
3724 touch sub/conftst$i.h
3725 done
3726 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3728 case $depmode in
3729 nosideeffect)
3730 # after this tag, mechanisms are not by side-effect, so they'll
3731 # only be used when explicitly requested
3732 if test "x$enable_dependency_tracking" = xyes; then
3733 continue
3734 else
3735 break
3738 none) break ;;
3739 esac
3740 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3741 # mode. It turns out that the SunPro C++ compiler does not properly
3742 # handle `-M -o', and we need to detect this.
3743 if depmode=$depmode \
3744 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3745 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3746 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3747 >/dev/null 2>conftest.err &&
3748 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3749 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3750 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3751 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3752 # icc doesn't choke on unknown options, it will just issue warnings
3753 # or remarks (even with -Werror). So we grep stderr for any message
3754 # that says an option was ignored or not supported.
3755 # When given -MP, icc 7.0 and 7.1 complain thusly:
3756 # icc: Command line warning: ignoring option '-M'; no argument required
3757 # The diagnosis changed in icc 8.0:
3758 # icc: Command line remark: option '-MP' not supported
3759 if (grep 'ignoring option' conftest.err ||
3760 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3761 am_cv_CXX_dependencies_compiler_type=$depmode
3762 break
3765 done
3767 cd ..
3768 rm -rf conftest.dir
3769 else
3770 am_cv_CXX_dependencies_compiler_type=none
3774 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3775 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3776 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3779 test "x$enable_dependency_tracking" != xno \
3780 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3781 am__fastdepCXX_TRUE=
3782 am__fastdepCXX_FALSE='#'
3783 else
3784 am__fastdepCXX_TRUE='#'
3785 am__fastdepCXX_FALSE=
3789 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3790 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3791 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3792 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3793 echo $ECHO_N "(cached) $ECHO_C" >&6
3794 else
3795 cat >conftest.make <<\_ACEOF
3796 SHELL = /bin/sh
3797 all:
3798 @echo '@@@%%%=$(MAKE)=@@@%%%'
3799 _ACEOF
3800 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3801 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3802 *@@@%%%=?*=@@@%%%*)
3803 eval ac_cv_prog_make_${ac_make}_set=yes;;
3805 eval ac_cv_prog_make_${ac_make}_set=no;;
3806 esac
3807 rm -f conftest.make
3809 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3810 { echo "$as_me:$LINENO: result: yes" >&5
3811 echo "${ECHO_T}yes" >&6; }
3812 SET_MAKE=
3813 else
3814 { echo "$as_me:$LINENO: result: no" >&5
3815 echo "${ECHO_T}no" >&6; }
3816 SET_MAKE="MAKE=${MAKE-make}"
3819 # Find a good install program. We prefer a C program (faster),
3820 # so one script is as good as another. But avoid the broken or
3821 # incompatible versions:
3822 # SysV /etc/install, /usr/sbin/install
3823 # SunOS /usr/etc/install
3824 # IRIX /sbin/install
3825 # AIX /bin/install
3826 # AmigaOS /C/install, which installs bootblocks on floppy discs
3827 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3828 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3829 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3830 # OS/2's system install, which has a completely different semantic
3831 # ./install, which can be erroneously created by make from ./install.sh.
3832 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3833 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3834 if test -z "$INSTALL"; then
3835 if test "${ac_cv_path_install+set}" = set; then
3836 echo $ECHO_N "(cached) $ECHO_C" >&6
3837 else
3838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3839 for as_dir in $PATH
3841 IFS=$as_save_IFS
3842 test -z "$as_dir" && as_dir=.
3843 # Account for people who put trailing slashes in PATH elements.
3844 case $as_dir/ in
3845 ./ | .// | /cC/* | \
3846 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3847 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3848 /usr/ucb/* ) ;;
3850 # OSF1 and SCO ODT 3.0 have their own names for install.
3851 # Don't use installbsd from OSF since it installs stuff as root
3852 # by default.
3853 for ac_prog in ginstall scoinst install; do
3854 for ac_exec_ext in '' $ac_executable_extensions; do
3855 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3856 if test $ac_prog = install &&
3857 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3858 # AIX install. It has an incompatible calling convention.
3860 elif test $ac_prog = install &&
3861 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3862 # program-specific install script used by HP pwplus--don't use.
3864 else
3865 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3866 break 3
3869 done
3870 done
3872 esac
3873 done
3874 IFS=$as_save_IFS
3878 if test "${ac_cv_path_install+set}" = set; then
3879 INSTALL=$ac_cv_path_install
3880 else
3881 # As a last resort, use the slow shell script. Don't cache a
3882 # value for INSTALL within a source directory, because that will
3883 # break other packages using the cache if that directory is
3884 # removed, or if the value is a relative name.
3885 INSTALL=$ac_install_sh
3888 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3889 echo "${ECHO_T}$INSTALL" >&6; }
3891 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3892 # It thinks the first close brace ends the variable substitution.
3893 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3895 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3897 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3899 if test -n "$ac_tool_prefix"; then
3900 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3901 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3904 if test "${ac_cv_prog_RANLIB+set}" = set; then
3905 echo $ECHO_N "(cached) $ECHO_C" >&6
3906 else
3907 if test -n "$RANLIB"; then
3908 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3909 else
3910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3911 for as_dir in $PATH
3913 IFS=$as_save_IFS
3914 test -z "$as_dir" && as_dir=.
3915 for ac_exec_ext in '' $ac_executable_extensions; do
3916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3917 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3919 break 2
3921 done
3922 done
3923 IFS=$as_save_IFS
3927 RANLIB=$ac_cv_prog_RANLIB
3928 if test -n "$RANLIB"; then
3929 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3930 echo "${ECHO_T}$RANLIB" >&6; }
3931 else
3932 { echo "$as_me:$LINENO: result: no" >&5
3933 echo "${ECHO_T}no" >&6; }
3938 if test -z "$ac_cv_prog_RANLIB"; then
3939 ac_ct_RANLIB=$RANLIB
3940 # Extract the first word of "ranlib", so it can be a program name with args.
3941 set dummy ranlib; ac_word=$2
3942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3944 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3945 echo $ECHO_N "(cached) $ECHO_C" >&6
3946 else
3947 if test -n "$ac_ct_RANLIB"; then
3948 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3949 else
3950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3951 for as_dir in $PATH
3953 IFS=$as_save_IFS
3954 test -z "$as_dir" && as_dir=.
3955 for ac_exec_ext in '' $ac_executable_extensions; do
3956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3957 ac_cv_prog_ac_ct_RANLIB="ranlib"
3958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3959 break 2
3961 done
3962 done
3963 IFS=$as_save_IFS
3967 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3968 if test -n "$ac_ct_RANLIB"; then
3969 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3970 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3971 else
3972 { echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6; }
3976 if test "x$ac_ct_RANLIB" = x; then
3977 RANLIB=":"
3978 else
3979 case $cross_compiling:$ac_tool_warned in
3980 yes:)
3981 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3982 whose name does not start with the host triplet. If you think this
3983 configuration is useful to you, please write to autoconf@gnu.org." >&5
3984 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3985 whose name does not start with the host triplet. If you think this
3986 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3987 ac_tool_warned=yes ;;
3988 esac
3989 RANLIB=$ac_ct_RANLIB
3991 else
3992 RANLIB="$ac_cv_prog_RANLIB"
3996 # Check for SDL
3998 ac_ext=c
3999 ac_cpp='$CPP $CPPFLAGS'
4000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4003 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4004 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4005 # On Suns, sometimes $CPP names a directory.
4006 if test -n "$CPP" && test -d "$CPP"; then
4007 CPP=
4009 if test -z "$CPP"; then
4010 if test "${ac_cv_prog_CPP+set}" = set; then
4011 echo $ECHO_N "(cached) $ECHO_C" >&6
4012 else
4013 # Double quotes because CPP needs to be expanded
4014 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4016 ac_preproc_ok=false
4017 for ac_c_preproc_warn_flag in '' yes
4019 # Use a header file that comes with gcc, so configuring glibc
4020 # with a fresh cross-compiler works.
4021 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4022 # <limits.h> exists even on freestanding compilers.
4023 # On the NeXT, cc -E runs the code through the compiler's parser,
4024 # not just through cpp. "Syntax error" is here to catch this case.
4025 cat >conftest.$ac_ext <<_ACEOF
4026 /* confdefs.h. */
4027 _ACEOF
4028 cat confdefs.h >>conftest.$ac_ext
4029 cat >>conftest.$ac_ext <<_ACEOF
4030 /* end confdefs.h. */
4031 #ifdef __STDC__
4032 # include <limits.h>
4033 #else
4034 # include <assert.h>
4035 #endif
4036 Syntax error
4037 _ACEOF
4038 if { (ac_try="$ac_cpp conftest.$ac_ext"
4039 case "(($ac_try" in
4040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4041 *) ac_try_echo=$ac_try;;
4042 esac
4043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4044 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4045 ac_status=$?
4046 grep -v '^ *+' conftest.er1 >conftest.err
4047 rm -f conftest.er1
4048 cat conftest.err >&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); } >/dev/null && {
4051 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4052 test ! -s conftest.err
4053 }; then
4055 else
4056 echo "$as_me: failed program was:" >&5
4057 sed 's/^/| /' conftest.$ac_ext >&5
4059 # Broken: fails on valid input.
4060 continue
4063 rm -f conftest.err conftest.$ac_ext
4065 # OK, works on sane cases. Now check whether nonexistent headers
4066 # can be detected and how.
4067 cat >conftest.$ac_ext <<_ACEOF
4068 /* confdefs.h. */
4069 _ACEOF
4070 cat confdefs.h >>conftest.$ac_ext
4071 cat >>conftest.$ac_ext <<_ACEOF
4072 /* end confdefs.h. */
4073 #include <ac_nonexistent.h>
4074 _ACEOF
4075 if { (ac_try="$ac_cpp conftest.$ac_ext"
4076 case "(($ac_try" in
4077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4078 *) ac_try_echo=$ac_try;;
4079 esac
4080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4081 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4082 ac_status=$?
4083 grep -v '^ *+' conftest.er1 >conftest.err
4084 rm -f conftest.er1
4085 cat conftest.err >&5
4086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4087 (exit $ac_status); } >/dev/null && {
4088 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4089 test ! -s conftest.err
4090 }; then
4091 # Broken: success on invalid input.
4092 continue
4093 else
4094 echo "$as_me: failed program was:" >&5
4095 sed 's/^/| /' conftest.$ac_ext >&5
4097 # Passes both tests.
4098 ac_preproc_ok=:
4099 break
4102 rm -f conftest.err conftest.$ac_ext
4104 done
4105 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4106 rm -f conftest.err conftest.$ac_ext
4107 if $ac_preproc_ok; then
4108 break
4111 done
4112 ac_cv_prog_CPP=$CPP
4115 CPP=$ac_cv_prog_CPP
4116 else
4117 ac_cv_prog_CPP=$CPP
4119 { echo "$as_me:$LINENO: result: $CPP" >&5
4120 echo "${ECHO_T}$CPP" >&6; }
4121 ac_preproc_ok=false
4122 for ac_c_preproc_warn_flag in '' yes
4124 # Use a header file that comes with gcc, so configuring glibc
4125 # with a fresh cross-compiler works.
4126 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4127 # <limits.h> exists even on freestanding compilers.
4128 # On the NeXT, cc -E runs the code through the compiler's parser,
4129 # not just through cpp. "Syntax error" is here to catch this case.
4130 cat >conftest.$ac_ext <<_ACEOF
4131 /* confdefs.h. */
4132 _ACEOF
4133 cat confdefs.h >>conftest.$ac_ext
4134 cat >>conftest.$ac_ext <<_ACEOF
4135 /* end confdefs.h. */
4136 #ifdef __STDC__
4137 # include <limits.h>
4138 #else
4139 # include <assert.h>
4140 #endif
4141 Syntax error
4142 _ACEOF
4143 if { (ac_try="$ac_cpp conftest.$ac_ext"
4144 case "(($ac_try" in
4145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4146 *) ac_try_echo=$ac_try;;
4147 esac
4148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4149 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4150 ac_status=$?
4151 grep -v '^ *+' conftest.er1 >conftest.err
4152 rm -f conftest.er1
4153 cat conftest.err >&5
4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155 (exit $ac_status); } >/dev/null && {
4156 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4157 test ! -s conftest.err
4158 }; then
4160 else
4161 echo "$as_me: failed program was:" >&5
4162 sed 's/^/| /' conftest.$ac_ext >&5
4164 # Broken: fails on valid input.
4165 continue
4168 rm -f conftest.err conftest.$ac_ext
4170 # OK, works on sane cases. Now check whether nonexistent headers
4171 # can be detected and how.
4172 cat >conftest.$ac_ext <<_ACEOF
4173 /* confdefs.h. */
4174 _ACEOF
4175 cat confdefs.h >>conftest.$ac_ext
4176 cat >>conftest.$ac_ext <<_ACEOF
4177 /* end confdefs.h. */
4178 #include <ac_nonexistent.h>
4179 _ACEOF
4180 if { (ac_try="$ac_cpp conftest.$ac_ext"
4181 case "(($ac_try" in
4182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4183 *) ac_try_echo=$ac_try;;
4184 esac
4185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4186 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4187 ac_status=$?
4188 grep -v '^ *+' conftest.er1 >conftest.err
4189 rm -f conftest.er1
4190 cat conftest.err >&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); } >/dev/null && {
4193 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4194 test ! -s conftest.err
4195 }; then
4196 # Broken: success on invalid input.
4197 continue
4198 else
4199 echo "$as_me: failed program was:" >&5
4200 sed 's/^/| /' conftest.$ac_ext >&5
4202 # Passes both tests.
4203 ac_preproc_ok=:
4204 break
4207 rm -f conftest.err conftest.$ac_ext
4209 done
4210 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4211 rm -f conftest.err conftest.$ac_ext
4212 if $ac_preproc_ok; then
4214 else
4215 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4216 See \`config.log' for more details." >&5
4217 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4218 See \`config.log' for more details." >&2;}
4219 { (exit 1); exit 1; }; }
4222 ac_ext=c
4223 ac_cpp='$CPP $CPPFLAGS'
4224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4229 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4230 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4231 if test "${ac_cv_path_GREP+set}" = set; then
4232 echo $ECHO_N "(cached) $ECHO_C" >&6
4233 else
4234 # Extract the first word of "grep ggrep" to use in msg output
4235 if test -z "$GREP"; then
4236 set dummy grep ggrep; ac_prog_name=$2
4237 if test "${ac_cv_path_GREP+set}" = set; then
4238 echo $ECHO_N "(cached) $ECHO_C" >&6
4239 else
4240 ac_path_GREP_found=false
4241 # Loop through the user's path and test for each of PROGNAME-LIST
4242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4243 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4245 IFS=$as_save_IFS
4246 test -z "$as_dir" && as_dir=.
4247 for ac_prog in grep ggrep; do
4248 for ac_exec_ext in '' $ac_executable_extensions; do
4249 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4250 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4251 # Check for GNU ac_path_GREP and select it if it is found.
4252 # Check for GNU $ac_path_GREP
4253 case `"$ac_path_GREP" --version 2>&1` in
4254 *GNU*)
4255 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4257 ac_count=0
4258 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4259 while :
4261 cat "conftest.in" "conftest.in" >"conftest.tmp"
4262 mv "conftest.tmp" "conftest.in"
4263 cp "conftest.in" "conftest.nl"
4264 echo 'GREP' >> "conftest.nl"
4265 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4266 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4267 ac_count=`expr $ac_count + 1`
4268 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4269 # Best one so far, save it but keep looking for a better one
4270 ac_cv_path_GREP="$ac_path_GREP"
4271 ac_path_GREP_max=$ac_count
4273 # 10*(2^10) chars as input seems more than enough
4274 test $ac_count -gt 10 && break
4275 done
4276 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4277 esac
4280 $ac_path_GREP_found && break 3
4281 done
4282 done
4284 done
4285 IFS=$as_save_IFS
4290 GREP="$ac_cv_path_GREP"
4291 if test -z "$GREP"; then
4292 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4293 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4294 { (exit 1); exit 1; }; }
4297 else
4298 ac_cv_path_GREP=$GREP
4303 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4304 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4305 GREP="$ac_cv_path_GREP"
4308 { echo "$as_me:$LINENO: checking for egrep" >&5
4309 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4310 if test "${ac_cv_path_EGREP+set}" = set; then
4311 echo $ECHO_N "(cached) $ECHO_C" >&6
4312 else
4313 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4314 then ac_cv_path_EGREP="$GREP -E"
4315 else
4316 # Extract the first word of "egrep" to use in msg output
4317 if test -z "$EGREP"; then
4318 set dummy egrep; ac_prog_name=$2
4319 if test "${ac_cv_path_EGREP+set}" = set; then
4320 echo $ECHO_N "(cached) $ECHO_C" >&6
4321 else
4322 ac_path_EGREP_found=false
4323 # Loop through the user's path and test for each of PROGNAME-LIST
4324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4325 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4327 IFS=$as_save_IFS
4328 test -z "$as_dir" && as_dir=.
4329 for ac_prog in egrep; do
4330 for ac_exec_ext in '' $ac_executable_extensions; do
4331 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4332 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4333 # Check for GNU ac_path_EGREP and select it if it is found.
4334 # Check for GNU $ac_path_EGREP
4335 case `"$ac_path_EGREP" --version 2>&1` in
4336 *GNU*)
4337 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4339 ac_count=0
4340 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4341 while :
4343 cat "conftest.in" "conftest.in" >"conftest.tmp"
4344 mv "conftest.tmp" "conftest.in"
4345 cp "conftest.in" "conftest.nl"
4346 echo 'EGREP' >> "conftest.nl"
4347 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4348 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4349 ac_count=`expr $ac_count + 1`
4350 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4351 # Best one so far, save it but keep looking for a better one
4352 ac_cv_path_EGREP="$ac_path_EGREP"
4353 ac_path_EGREP_max=$ac_count
4355 # 10*(2^10) chars as input seems more than enough
4356 test $ac_count -gt 10 && break
4357 done
4358 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4359 esac
4362 $ac_path_EGREP_found && break 3
4363 done
4364 done
4366 done
4367 IFS=$as_save_IFS
4372 EGREP="$ac_cv_path_EGREP"
4373 if test -z "$EGREP"; then
4374 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4375 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4376 { (exit 1); exit 1; }; }
4379 else
4380 ac_cv_path_EGREP=$EGREP
4386 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4387 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4388 EGREP="$ac_cv_path_EGREP"
4391 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4392 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4393 if test "${ac_cv_header_stdc+set}" = set; then
4394 echo $ECHO_N "(cached) $ECHO_C" >&6
4395 else
4396 cat >conftest.$ac_ext <<_ACEOF
4397 /* confdefs.h. */
4398 _ACEOF
4399 cat confdefs.h >>conftest.$ac_ext
4400 cat >>conftest.$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4402 #include <stdlib.h>
4403 #include <stdarg.h>
4404 #include <string.h>
4405 #include <float.h>
4408 main ()
4412 return 0;
4414 _ACEOF
4415 rm -f conftest.$ac_objext
4416 if { (ac_try="$ac_compile"
4417 case "(($ac_try" in
4418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4419 *) ac_try_echo=$ac_try;;
4420 esac
4421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4422 (eval "$ac_compile") 2>conftest.er1
4423 ac_status=$?
4424 grep -v '^ *+' conftest.er1 >conftest.err
4425 rm -f conftest.er1
4426 cat conftest.err >&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); } && {
4429 test -z "$ac_c_werror_flag" ||
4430 test ! -s conftest.err
4431 } && test -s conftest.$ac_objext; then
4432 ac_cv_header_stdc=yes
4433 else
4434 echo "$as_me: failed program was:" >&5
4435 sed 's/^/| /' conftest.$ac_ext >&5
4437 ac_cv_header_stdc=no
4440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4442 if test $ac_cv_header_stdc = yes; then
4443 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4444 cat >conftest.$ac_ext <<_ACEOF
4445 /* confdefs.h. */
4446 _ACEOF
4447 cat confdefs.h >>conftest.$ac_ext
4448 cat >>conftest.$ac_ext <<_ACEOF
4449 /* end confdefs.h. */
4450 #include <string.h>
4452 _ACEOF
4453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4454 $EGREP "memchr" >/dev/null 2>&1; then
4456 else
4457 ac_cv_header_stdc=no
4459 rm -f conftest*
4463 if test $ac_cv_header_stdc = yes; then
4464 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4465 cat >conftest.$ac_ext <<_ACEOF
4466 /* confdefs.h. */
4467 _ACEOF
4468 cat confdefs.h >>conftest.$ac_ext
4469 cat >>conftest.$ac_ext <<_ACEOF
4470 /* end confdefs.h. */
4471 #include <stdlib.h>
4473 _ACEOF
4474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4475 $EGREP "free" >/dev/null 2>&1; then
4477 else
4478 ac_cv_header_stdc=no
4480 rm -f conftest*
4484 if test $ac_cv_header_stdc = yes; then
4485 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4486 if test "$cross_compiling" = yes; then
4488 else
4489 cat >conftest.$ac_ext <<_ACEOF
4490 /* confdefs.h. */
4491 _ACEOF
4492 cat confdefs.h >>conftest.$ac_ext
4493 cat >>conftest.$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4495 #include <ctype.h>
4496 #include <stdlib.h>
4497 #if ((' ' & 0x0FF) == 0x020)
4498 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4499 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4500 #else
4501 # define ISLOWER(c) \
4502 (('a' <= (c) && (c) <= 'i') \
4503 || ('j' <= (c) && (c) <= 'r') \
4504 || ('s' <= (c) && (c) <= 'z'))
4505 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4506 #endif
4508 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4510 main ()
4512 int i;
4513 for (i = 0; i < 256; i++)
4514 if (XOR (islower (i), ISLOWER (i))
4515 || toupper (i) != TOUPPER (i))
4516 return 2;
4517 return 0;
4519 _ACEOF
4520 rm -f conftest$ac_exeext
4521 if { (ac_try="$ac_link"
4522 case "(($ac_try" in
4523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4524 *) ac_try_echo=$ac_try;;
4525 esac
4526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4527 (eval "$ac_link") 2>&5
4528 ac_status=$?
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4531 { (case "(($ac_try" in
4532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4533 *) ac_try_echo=$ac_try;;
4534 esac
4535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4536 (eval "$ac_try") 2>&5
4537 ac_status=$?
4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539 (exit $ac_status); }; }; then
4541 else
4542 echo "$as_me: program exited with status $ac_status" >&5
4543 echo "$as_me: failed program was:" >&5
4544 sed 's/^/| /' conftest.$ac_ext >&5
4546 ( exit $ac_status )
4547 ac_cv_header_stdc=no
4549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4555 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4556 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4557 if test $ac_cv_header_stdc = yes; then
4559 cat >>confdefs.h <<\_ACEOF
4560 #define STDC_HEADERS 1
4561 _ACEOF
4565 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4575 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4576 inttypes.h stdint.h unistd.h
4578 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4579 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4581 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4582 echo $ECHO_N "(cached) $ECHO_C" >&6
4583 else
4584 cat >conftest.$ac_ext <<_ACEOF
4585 /* confdefs.h. */
4586 _ACEOF
4587 cat confdefs.h >>conftest.$ac_ext
4588 cat >>conftest.$ac_ext <<_ACEOF
4589 /* end confdefs.h. */
4590 $ac_includes_default
4592 #include <$ac_header>
4593 _ACEOF
4594 rm -f conftest.$ac_objext
4595 if { (ac_try="$ac_compile"
4596 case "(($ac_try" in
4597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4598 *) ac_try_echo=$ac_try;;
4599 esac
4600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4601 (eval "$ac_compile") 2>conftest.er1
4602 ac_status=$?
4603 grep -v '^ *+' conftest.er1 >conftest.err
4604 rm -f conftest.er1
4605 cat conftest.err >&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); } && {
4608 test -z "$ac_c_werror_flag" ||
4609 test ! -s conftest.err
4610 } && test -s conftest.$ac_objext; then
4611 eval "$as_ac_Header=yes"
4612 else
4613 echo "$as_me: failed program was:" >&5
4614 sed 's/^/| /' conftest.$ac_ext >&5
4616 eval "$as_ac_Header=no"
4619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4621 ac_res=`eval echo '${'$as_ac_Header'}'`
4622 { echo "$as_me:$LINENO: result: $ac_res" >&5
4623 echo "${ECHO_T}$ac_res" >&6; }
4624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4625 cat >>confdefs.h <<_ACEOF
4626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4627 _ACEOF
4631 done
4634 if test "${ac_cv_header_SDL_SDL_h+set}" = set; then
4635 { echo "$as_me:$LINENO: checking for SDL/SDL.h" >&5
4636 echo $ECHO_N "checking for SDL/SDL.h... $ECHO_C" >&6; }
4637 if test "${ac_cv_header_SDL_SDL_h+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4640 { echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_h" >&5
4641 echo "${ECHO_T}$ac_cv_header_SDL_SDL_h" >&6; }
4642 else
4643 # Is the header compilable?
4644 { echo "$as_me:$LINENO: checking SDL/SDL.h usability" >&5
4645 echo $ECHO_N "checking SDL/SDL.h usability... $ECHO_C" >&6; }
4646 cat >conftest.$ac_ext <<_ACEOF
4647 /* confdefs.h. */
4648 _ACEOF
4649 cat confdefs.h >>conftest.$ac_ext
4650 cat >>conftest.$ac_ext <<_ACEOF
4651 /* end confdefs.h. */
4652 $ac_includes_default
4653 #include <SDL/SDL.h>
4654 _ACEOF
4655 rm -f conftest.$ac_objext
4656 if { (ac_try="$ac_compile"
4657 case "(($ac_try" in
4658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4659 *) ac_try_echo=$ac_try;;
4660 esac
4661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4662 (eval "$ac_compile") 2>conftest.er1
4663 ac_status=$?
4664 grep -v '^ *+' conftest.er1 >conftest.err
4665 rm -f conftest.er1
4666 cat conftest.err >&5
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668 (exit $ac_status); } && {
4669 test -z "$ac_c_werror_flag" ||
4670 test ! -s conftest.err
4671 } && test -s conftest.$ac_objext; then
4672 ac_header_compiler=yes
4673 else
4674 echo "$as_me: failed program was:" >&5
4675 sed 's/^/| /' conftest.$ac_ext >&5
4677 ac_header_compiler=no
4680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4681 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4682 echo "${ECHO_T}$ac_header_compiler" >&6; }
4684 # Is the header present?
4685 { echo "$as_me:$LINENO: checking SDL/SDL.h presence" >&5
4686 echo $ECHO_N "checking SDL/SDL.h presence... $ECHO_C" >&6; }
4687 cat >conftest.$ac_ext <<_ACEOF
4688 /* confdefs.h. */
4689 _ACEOF
4690 cat confdefs.h >>conftest.$ac_ext
4691 cat >>conftest.$ac_ext <<_ACEOF
4692 /* end confdefs.h. */
4693 #include <SDL/SDL.h>
4694 _ACEOF
4695 if { (ac_try="$ac_cpp conftest.$ac_ext"
4696 case "(($ac_try" in
4697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4698 *) ac_try_echo=$ac_try;;
4699 esac
4700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4701 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4702 ac_status=$?
4703 grep -v '^ *+' conftest.er1 >conftest.err
4704 rm -f conftest.er1
4705 cat conftest.err >&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); } >/dev/null && {
4708 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4709 test ! -s conftest.err
4710 }; then
4711 ac_header_preproc=yes
4712 else
4713 echo "$as_me: failed program was:" >&5
4714 sed 's/^/| /' conftest.$ac_ext >&5
4716 ac_header_preproc=no
4719 rm -f conftest.err conftest.$ac_ext
4720 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4721 echo "${ECHO_T}$ac_header_preproc" >&6; }
4723 # So? What about this header?
4724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4725 yes:no: )
4726 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: accepted by the compiler, rejected by the preprocessor!" >&5
4727 echo "$as_me: WARNING: SDL/SDL.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4728 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: proceeding with the compiler's result" >&5
4729 echo "$as_me: WARNING: SDL/SDL.h: proceeding with the compiler's result" >&2;}
4730 ac_header_preproc=yes
4732 no:yes:* )
4733 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: present but cannot be compiled" >&5
4734 echo "$as_me: WARNING: SDL/SDL.h: present but cannot be compiled" >&2;}
4735 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: check for missing prerequisite headers?" >&5
4736 echo "$as_me: WARNING: SDL/SDL.h: check for missing prerequisite headers?" >&2;}
4737 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: see the Autoconf documentation" >&5
4738 echo "$as_me: WARNING: SDL/SDL.h: see the Autoconf documentation" >&2;}
4739 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: section \"Present But Cannot Be Compiled\"" >&5
4740 echo "$as_me: WARNING: SDL/SDL.h: section \"Present But Cannot Be Compiled\"" >&2;}
4741 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: proceeding with the preprocessor's result" >&5
4742 echo "$as_me: WARNING: SDL/SDL.h: proceeding with the preprocessor's result" >&2;}
4743 { echo "$as_me:$LINENO: WARNING: SDL/SDL.h: in the future, the compiler will take precedence" >&5
4744 echo "$as_me: WARNING: SDL/SDL.h: in the future, the compiler will take precedence" >&2;}
4747 esac
4748 { echo "$as_me:$LINENO: checking for SDL/SDL.h" >&5
4749 echo $ECHO_N "checking for SDL/SDL.h... $ECHO_C" >&6; }
4750 if test "${ac_cv_header_SDL_SDL_h+set}" = set; then
4751 echo $ECHO_N "(cached) $ECHO_C" >&6
4752 else
4753 ac_cv_header_SDL_SDL_h=$ac_header_preproc
4755 { echo "$as_me:$LINENO: result: $ac_cv_header_SDL_SDL_h" >&5
4756 echo "${ECHO_T}$ac_cv_header_SDL_SDL_h" >&6; }
4759 if test $ac_cv_header_SDL_SDL_h = yes; then
4761 cat >>confdefs.h <<\_ACEOF
4762 #define HAVE_LIBSDL
4763 _ACEOF
4765 SDL_LIBS=`sdl-config --libs`
4766 sdl=yes
4767 else
4768 { { echo "$as_me:$LINENO: error: *** no SDL/SDL.h - SDL not found" >&5
4769 echo "$as_me: error: *** no SDL/SDL.h - SDL not found" >&2;}
4770 { (exit 1); exit 1; }; }
4778 # Check for SDL_image library
4780 { echo "$as_me:$LINENO: checking for IMG_LoadPNG_RW in -lSDL_image" >&5
4781 echo $ECHO_N "checking for IMG_LoadPNG_RW in -lSDL_image... $ECHO_C" >&6; }
4782 if test "${ac_cv_lib_SDL_image_IMG_LoadPNG_RW+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 else
4785 ac_check_lib_save_LIBS=$LIBS
4786 LIBS="-lSDL_image $LIBS"
4787 cat >conftest.$ac_ext <<_ACEOF
4788 /* confdefs.h. */
4789 _ACEOF
4790 cat confdefs.h >>conftest.$ac_ext
4791 cat >>conftest.$ac_ext <<_ACEOF
4792 /* end confdefs.h. */
4794 /* Override any GCC internal prototype to avoid an error.
4795 Use char because int might match the return type of a GCC
4796 builtin and then its argument prototype would still apply. */
4797 #ifdef __cplusplus
4798 extern "C"
4799 #endif
4800 char IMG_LoadPNG_RW ();
4802 main ()
4804 return IMG_LoadPNG_RW ();
4806 return 0;
4808 _ACEOF
4809 rm -f conftest.$ac_objext conftest$ac_exeext
4810 if { (ac_try="$ac_link"
4811 case "(($ac_try" in
4812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4813 *) ac_try_echo=$ac_try;;
4814 esac
4815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4816 (eval "$ac_link") 2>conftest.er1
4817 ac_status=$?
4818 grep -v '^ *+' conftest.er1 >conftest.err
4819 rm -f conftest.er1
4820 cat conftest.err >&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); } && {
4823 test -z "$ac_c_werror_flag" ||
4824 test ! -s conftest.err
4825 } && test -s conftest$ac_exeext &&
4826 $as_test_x conftest$ac_exeext; then
4827 ac_cv_lib_SDL_image_IMG_LoadPNG_RW=yes
4828 else
4829 echo "$as_me: failed program was:" >&5
4830 sed 's/^/| /' conftest.$ac_ext >&5
4832 ac_cv_lib_SDL_image_IMG_LoadPNG_RW=no
4835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4836 conftest$ac_exeext conftest.$ac_ext
4837 LIBS=$ac_check_lib_save_LIBS
4839 { echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_image_IMG_LoadPNG_RW" >&5
4840 echo "${ECHO_T}$ac_cv_lib_SDL_image_IMG_LoadPNG_RW" >&6; }
4841 if test $ac_cv_lib_SDL_image_IMG_LoadPNG_RW = yes; then
4842 cat >>confdefs.h <<_ACEOF
4843 #define HAVE_LIBSDL_IMAGE 1
4844 _ACEOF
4846 LIBS="-lSDL_image $LIBS"
4848 else
4849 { { echo "$as_me:$LINENO: error:
4850 *** Unable to find SDL_image libary with PNG support
4851 " >&5
4852 echo "$as_me: error:
4853 *** Unable to find SDL_image libary with PNG support
4854 " >&2;}
4855 { (exit 1); exit 1; }; }
4859 { echo "$as_me:$LINENO: checking for TTF_OpenFont in -lSDL_ttf" >&5
4860 echo $ECHO_N "checking for TTF_OpenFont in -lSDL_ttf... $ECHO_C" >&6; }
4861 if test "${ac_cv_lib_SDL_ttf_TTF_OpenFont+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4863 else
4864 ac_check_lib_save_LIBS=$LIBS
4865 LIBS="-lSDL_ttf $LIBS"
4866 cat >conftest.$ac_ext <<_ACEOF
4867 /* confdefs.h. */
4868 _ACEOF
4869 cat confdefs.h >>conftest.$ac_ext
4870 cat >>conftest.$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4873 /* Override any GCC internal prototype to avoid an error.
4874 Use char because int might match the return type of a GCC
4875 builtin and then its argument prototype would still apply. */
4876 #ifdef __cplusplus
4877 extern "C"
4878 #endif
4879 char TTF_OpenFont ();
4881 main ()
4883 return TTF_OpenFont ();
4885 return 0;
4887 _ACEOF
4888 rm -f conftest.$ac_objext conftest$ac_exeext
4889 if { (ac_try="$ac_link"
4890 case "(($ac_try" in
4891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4892 *) ac_try_echo=$ac_try;;
4893 esac
4894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4895 (eval "$ac_link") 2>conftest.er1
4896 ac_status=$?
4897 grep -v '^ *+' conftest.er1 >conftest.err
4898 rm -f conftest.er1
4899 cat conftest.err >&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); } && {
4902 test -z "$ac_c_werror_flag" ||
4903 test ! -s conftest.err
4904 } && test -s conftest$ac_exeext &&
4905 $as_test_x conftest$ac_exeext; then
4906 ac_cv_lib_SDL_ttf_TTF_OpenFont=yes
4907 else
4908 echo "$as_me: failed program was:" >&5
4909 sed 's/^/| /' conftest.$ac_ext >&5
4911 ac_cv_lib_SDL_ttf_TTF_OpenFont=no
4914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4915 conftest$ac_exeext conftest.$ac_ext
4916 LIBS=$ac_check_lib_save_LIBS
4918 { echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_ttf_TTF_OpenFont" >&5
4919 echo "${ECHO_T}$ac_cv_lib_SDL_ttf_TTF_OpenFont" >&6; }
4920 if test $ac_cv_lib_SDL_ttf_TTF_OpenFont = yes; then
4921 cat >>confdefs.h <<_ACEOF
4922 #define HAVE_LIBSDL_TTF 1
4923 _ACEOF
4925 LIBS="-lSDL_ttf $LIBS"
4927 else
4928 { { echo "$as_me:$LINENO: error:
4929 *** Unable to find SDL_ttf libary
4930 " >&5
4931 echo "$as_me: error:
4932 *** Unable to find SDL_ttf libary
4933 " >&2;}
4934 { (exit 1); exit 1; }; }
4938 { echo "$as_me:$LINENO: checking for Mix_OpenAudio in -lSDL_mixer" >&5
4939 echo $ECHO_N "checking for Mix_OpenAudio in -lSDL_mixer... $ECHO_C" >&6; }
4940 if test "${ac_cv_lib_SDL_mixer_Mix_OpenAudio+set}" = set; then
4941 echo $ECHO_N "(cached) $ECHO_C" >&6
4942 else
4943 ac_check_lib_save_LIBS=$LIBS
4944 LIBS="-lSDL_mixer $LIBS"
4945 cat >conftest.$ac_ext <<_ACEOF
4946 /* confdefs.h. */
4947 _ACEOF
4948 cat confdefs.h >>conftest.$ac_ext
4949 cat >>conftest.$ac_ext <<_ACEOF
4950 /* end confdefs.h. */
4952 /* Override any GCC internal prototype to avoid an error.
4953 Use char because int might match the return type of a GCC
4954 builtin and then its argument prototype would still apply. */
4955 #ifdef __cplusplus
4956 extern "C"
4957 #endif
4958 char Mix_OpenAudio ();
4960 main ()
4962 return Mix_OpenAudio ();
4964 return 0;
4966 _ACEOF
4967 rm -f conftest.$ac_objext conftest$ac_exeext
4968 if { (ac_try="$ac_link"
4969 case "(($ac_try" in
4970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4971 *) ac_try_echo=$ac_try;;
4972 esac
4973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4974 (eval "$ac_link") 2>conftest.er1
4975 ac_status=$?
4976 grep -v '^ *+' conftest.er1 >conftest.err
4977 rm -f conftest.er1
4978 cat conftest.err >&5
4979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4980 (exit $ac_status); } && {
4981 test -z "$ac_c_werror_flag" ||
4982 test ! -s conftest.err
4983 } && test -s conftest$ac_exeext &&
4984 $as_test_x conftest$ac_exeext; then
4985 ac_cv_lib_SDL_mixer_Mix_OpenAudio=yes
4986 else
4987 echo "$as_me: failed program was:" >&5
4988 sed 's/^/| /' conftest.$ac_ext >&5
4990 ac_cv_lib_SDL_mixer_Mix_OpenAudio=no
4993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4994 conftest$ac_exeext conftest.$ac_ext
4995 LIBS=$ac_check_lib_save_LIBS
4997 { echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_Mix_OpenAudio" >&5
4998 echo "${ECHO_T}$ac_cv_lib_SDL_mixer_Mix_OpenAudio" >&6; }
4999 if test $ac_cv_lib_SDL_mixer_Mix_OpenAudio = yes; then
5000 cat >>confdefs.h <<_ACEOF
5001 #define HAVE_LIBSDL_MIXER 1
5002 _ACEOF
5004 LIBS="-lSDL_mixer $LIBS"
5006 else
5007 { { echo "$as_me:$LINENO: error:
5008 *** Unable to find SDL_mixer libary
5009 " >&5
5010 echo "$as_me: error:
5011 *** Unable to find SDL_mixer libary
5012 " >&2;}
5013 { (exit 1); exit 1; }; }
5017 # Check if Python is available (for MT TUIO Input)
5018 # Check whether --enable-multitouch was given.
5019 if test "${enable_multitouch+set}" = set; then
5020 enableval=$enable_multitouch; enable_multitouch=$enableval
5021 else
5022 enable_multitouch=yes
5026 if test "x${enable_multitouch}" = "xyes"; then
5027 # Extract the first word of "python-config", so it can be a program name with args.
5028 set dummy python-config; ac_word=$2
5029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5031 if test "${ac_cv_prog_HAVE_PYTHON+set}" = set; then
5032 echo $ECHO_N "(cached) $ECHO_C" >&6
5033 else
5034 if test -n "$HAVE_PYTHON"; then
5035 ac_cv_prog_HAVE_PYTHON="$HAVE_PYTHON" # Let the user override the test.
5036 else
5037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5038 for as_dir in $PATH
5040 IFS=$as_save_IFS
5041 test -z "$as_dir" && as_dir=.
5042 for ac_exec_ext in '' $ac_executable_extensions; do
5043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5044 ac_cv_prog_HAVE_PYTHON=""yes""
5045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5046 break 2
5048 done
5049 done
5050 IFS=$as_save_IFS
5052 test -z "$ac_cv_prog_HAVE_PYTHON" && ac_cv_prog_HAVE_PYTHON=""no""
5055 HAVE_PYTHON=$ac_cv_prog_HAVE_PYTHON
5056 if test -n "$HAVE_PYTHON"; then
5057 { echo "$as_me:$LINENO: result: $HAVE_PYTHON" >&5
5058 echo "${ECHO_T}$HAVE_PYTHON" >&6; }
5059 else
5060 { echo "$as_me:$LINENO: result: no" >&5
5061 echo "${ECHO_T}no" >&6; }
5065 if test "x${HAVE_PYTHON}" = "xyes"; then
5067 cat >>confdefs.h <<\_ACEOF
5068 #define HAVE_PYTHON
5069 _ACEOF
5071 PYTHON_CFLAGS=`python-config --includes`
5072 PYTHON_LIBS=`python-config --libs`
5078 # Check if Hildon is available (for Maemo)
5079 #AC_ARG_ENABLE(hildon, [ --disable-hildon build without maemo/hildon support], enable_hildon=$enableval, enable_hildon=yes)
5081 #if test "x${enable_hildon}" = "xyes" ; then
5082 # PKG_CHECK_MODULES(HILDON, [hildon-1 hildon-fm-2 libossoemailinterface],
5083 # PKG_CHECK_MODULES(HILDON, [hildon-1 dbus-1 libosso],
5084 # [enable_hildon=yes], [enable_hildon=no])
5087 if test "x${enable_hildon}" = "xyes" ; then
5089 cat >>confdefs.h <<\_ACEOF
5090 #define USE_HILDON
5091 _ACEOF
5093 desktopentrydir=`$PKG_CONFIG osso-af-settings --variable=desktopentrydir`
5094 serviceentrydir=`$PKG_CONFIG osso-af-settings --variable=dbusservicedir`
5095 icon_26x26dir=$datadir/icons/hicolor/26x26/hildon
5096 icon_34x34dir=$datadir/icons/hicolor/34x34/hildon
5097 icon_40x40dir=$datadir/icons/hicolor/40x40/hildon
5098 icon_50x50dir=$datadir/icons/hicolor/50x50/hildon
5099 icon_64x64dir=$datadir/icons/hicolor/64x64/hildon
5100 icon_scalabledir=$datadir/icons/hicolor/scalable/hildon
5103 else
5104 desktopentrydir=/usr/share/applications
5105 serviceentrydir=$datadir/numptyphysics
5106 icon_26x26dir=$datadir/icons/hicolor/26x26/apps
5107 icon_34x34dir=$datadir/icons/hicolor/34x34/apps
5108 icon_40x40dir=$datadir/icons/hicolor/40x40/apps
5109 icon_50x50dir=$datadir/icons/hicolor/50x50/apps
5110 icon_64x64dir=$datadir/icons/hicolor/64x64/apps
5111 icon_scalabledir=$datadir/icons/hicolor/scalable/apps
5124 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
5125 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; }
5126 if test "${ac_cv_lib_stdcpp_main+set}" = set; then
5127 echo $ECHO_N "(cached) $ECHO_C" >&6
5128 else
5129 ac_check_lib_save_LIBS=$LIBS
5130 LIBS="-lstdc++ $LIBS"
5131 cat >conftest.$ac_ext <<_ACEOF
5132 /* confdefs.h. */
5133 _ACEOF
5134 cat confdefs.h >>conftest.$ac_ext
5135 cat >>conftest.$ac_ext <<_ACEOF
5136 /* end confdefs.h. */
5140 main ()
5142 return main ();
5144 return 0;
5146 _ACEOF
5147 rm -f conftest.$ac_objext conftest$ac_exeext
5148 if { (ac_try="$ac_link"
5149 case "(($ac_try" in
5150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5151 *) ac_try_echo=$ac_try;;
5152 esac
5153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5154 (eval "$ac_link") 2>conftest.er1
5155 ac_status=$?
5156 grep -v '^ *+' conftest.er1 >conftest.err
5157 rm -f conftest.er1
5158 cat conftest.err >&5
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); } && {
5161 test -z "$ac_c_werror_flag" ||
5162 test ! -s conftest.err
5163 } && test -s conftest$ac_exeext &&
5164 $as_test_x conftest$ac_exeext; then
5165 ac_cv_lib_stdcpp_main=yes
5166 else
5167 echo "$as_me: failed program was:" >&5
5168 sed 's/^/| /' conftest.$ac_ext >&5
5170 ac_cv_lib_stdcpp_main=no
5173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5174 conftest$ac_exeext conftest.$ac_ext
5175 LIBS=$ac_check_lib_save_LIBS
5177 { echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
5178 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; }
5179 if test $ac_cv_lib_stdcpp_main = yes; then
5180 cat >>confdefs.h <<_ACEOF
5181 #define HAVE_LIBSTDC__ 1
5182 _ACEOF
5184 LIBS="-lstdc++ $LIBS"
5189 { echo "$as_me:$LINENO: checking for main in -lX11" >&5
5190 echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6; }
5191 if test "${ac_cv_lib_X11_main+set}" = set; then
5192 echo $ECHO_N "(cached) $ECHO_C" >&6
5193 else
5194 ac_check_lib_save_LIBS=$LIBS
5195 LIBS="-lX11 $LIBS"
5196 cat >conftest.$ac_ext <<_ACEOF
5197 /* confdefs.h. */
5198 _ACEOF
5199 cat confdefs.h >>conftest.$ac_ext
5200 cat >>conftest.$ac_ext <<_ACEOF
5201 /* end confdefs.h. */
5205 main ()
5207 return main ();
5209 return 0;
5211 _ACEOF
5212 rm -f conftest.$ac_objext conftest$ac_exeext
5213 if { (ac_try="$ac_link"
5214 case "(($ac_try" in
5215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5216 *) ac_try_echo=$ac_try;;
5217 esac
5218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5219 (eval "$ac_link") 2>conftest.er1
5220 ac_status=$?
5221 grep -v '^ *+' conftest.er1 >conftest.err
5222 rm -f conftest.er1
5223 cat conftest.err >&5
5224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 (exit $ac_status); } && {
5226 test -z "$ac_c_werror_flag" ||
5227 test ! -s conftest.err
5228 } && test -s conftest$ac_exeext &&
5229 $as_test_x conftest$ac_exeext; then
5230 ac_cv_lib_X11_main=yes
5231 else
5232 echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.$ac_ext >&5
5235 ac_cv_lib_X11_main=no
5238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5239 conftest$ac_exeext conftest.$ac_ext
5240 LIBS=$ac_check_lib_save_LIBS
5242 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_main" >&5
5243 echo "${ECHO_T}$ac_cv_lib_X11_main" >&6; }
5244 if test $ac_cv_lib_X11_main = yes; then
5245 cat >>confdefs.h <<_ACEOF
5246 #define HAVE_LIBX11 1
5247 _ACEOF
5249 LIBS="-lX11 $LIBS"
5254 { echo "$as_me:$LINENO: checking for main in -lz" >&5
5255 echo $ECHO_N "checking for main in -lz... $ECHO_C" >&6; }
5256 if test "${ac_cv_lib_z_main+set}" = set; then
5257 echo $ECHO_N "(cached) $ECHO_C" >&6
5258 else
5259 ac_check_lib_save_LIBS=$LIBS
5260 LIBS="-lz $LIBS"
5261 cat >conftest.$ac_ext <<_ACEOF
5262 /* confdefs.h. */
5263 _ACEOF
5264 cat confdefs.h >>conftest.$ac_ext
5265 cat >>conftest.$ac_ext <<_ACEOF
5266 /* end confdefs.h. */
5270 main ()
5272 return main ();
5274 return 0;
5276 _ACEOF
5277 rm -f conftest.$ac_objext conftest$ac_exeext
5278 if { (ac_try="$ac_link"
5279 case "(($ac_try" in
5280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5281 *) ac_try_echo=$ac_try;;
5282 esac
5283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5284 (eval "$ac_link") 2>conftest.er1
5285 ac_status=$?
5286 grep -v '^ *+' conftest.er1 >conftest.err
5287 rm -f conftest.er1
5288 cat conftest.err >&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); } && {
5291 test -z "$ac_c_werror_flag" ||
5292 test ! -s conftest.err
5293 } && test -s conftest$ac_exeext &&
5294 $as_test_x conftest$ac_exeext; then
5295 ac_cv_lib_z_main=yes
5296 else
5297 echo "$as_me: failed program was:" >&5
5298 sed 's/^/| /' conftest.$ac_ext >&5
5300 ac_cv_lib_z_main=no
5303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5304 conftest$ac_exeext conftest.$ac_ext
5305 LIBS=$ac_check_lib_save_LIBS
5307 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_main" >&5
5308 echo "${ECHO_T}$ac_cv_lib_z_main" >&6; }
5309 if test $ac_cv_lib_z_main = yes; then
5310 cat >>confdefs.h <<_ACEOF
5311 #define HAVE_LIBZ 1
5312 _ACEOF
5314 LIBS="-lz $LIBS"
5320 ac_config_files="$ac_config_files Makefile"
5322 cat >confcache <<\_ACEOF
5323 # This file is a shell script that caches the results of configure
5324 # tests run on this system so they can be shared between configure
5325 # scripts and configure runs, see configure's option --config-cache.
5326 # It is not useful on other systems. If it contains results you don't
5327 # want to keep, you may remove or edit it.
5329 # config.status only pays attention to the cache file if you give it
5330 # the --recheck option to rerun configure.
5332 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5333 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5334 # following values.
5336 _ACEOF
5338 # The following way of writing the cache mishandles newlines in values,
5339 # but we know of no workaround that is simple, portable, and efficient.
5340 # So, we kill variables containing newlines.
5341 # Ultrix sh set writes to stderr and can't be redirected directly,
5342 # and sets the high bit in the cache file unless we assign to the vars.
5344 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5345 eval ac_val=\$$ac_var
5346 case $ac_val in #(
5347 *${as_nl}*)
5348 case $ac_var in #(
5349 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5350 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5351 esac
5352 case $ac_var in #(
5353 _ | IFS | as_nl) ;; #(
5354 *) $as_unset $ac_var ;;
5355 esac ;;
5356 esac
5357 done
5359 (set) 2>&1 |
5360 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5361 *${as_nl}ac_space=\ *)
5362 # `set' does not quote correctly, so add quotes (double-quote
5363 # substitution turns \\\\ into \\, and sed turns \\ into \).
5364 sed -n \
5365 "s/'/'\\\\''/g;
5366 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5367 ;; #(
5369 # `set' quotes correctly as required by POSIX, so do not add quotes.
5370 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5372 esac |
5373 sort
5375 sed '
5376 /^ac_cv_env_/b end
5377 t clear
5378 :clear
5379 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5380 t end
5381 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5382 :end' >>confcache
5383 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5384 if test -w "$cache_file"; then
5385 test "x$cache_file" != "x/dev/null" &&
5386 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5387 echo "$as_me: updating cache $cache_file" >&6;}
5388 cat confcache >$cache_file
5389 else
5390 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5391 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5394 rm -f confcache
5396 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5397 # Let make expand exec_prefix.
5398 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5400 # Transform confdefs.h into DEFS.
5401 # Protect against shell expansion while executing Makefile rules.
5402 # Protect against Makefile macro expansion.
5404 # If the first sed substitution is executed (which looks for macros that
5405 # take arguments), then branch to the quote section. Otherwise,
5406 # look for a macro that doesn't take arguments.
5407 ac_script='
5408 t clear
5409 :clear
5410 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5411 t quote
5412 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5413 t quote
5414 b any
5415 :quote
5416 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5417 s/\[/\\&/g
5418 s/\]/\\&/g
5419 s/\$/$$/g
5421 :any
5424 s/^\n//
5425 s/\n/ /g
5429 DEFS=`sed -n "$ac_script" confdefs.h`
5432 ac_libobjs=
5433 ac_ltlibobjs=
5434 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5435 # 1. Remove the extension, and $U if already installed.
5436 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5437 ac_i=`echo "$ac_i" | sed "$ac_script"`
5438 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5439 # will be set to the directory where LIBOBJS objects are built.
5440 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5441 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5442 done
5443 LIBOBJS=$ac_libobjs
5445 LTLIBOBJS=$ac_ltlibobjs
5448 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5449 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5450 Usually this means the macro was only invoked conditionally." >&5
5451 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5452 Usually this means the macro was only invoked conditionally." >&2;}
5453 { (exit 1); exit 1; }; }
5455 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5456 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5457 Usually this means the macro was only invoked conditionally." >&5
5458 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5459 Usually this means the macro was only invoked conditionally." >&2;}
5460 { (exit 1); exit 1; }; }
5462 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5463 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5464 Usually this means the macro was only invoked conditionally." >&5
5465 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5466 Usually this means the macro was only invoked conditionally." >&2;}
5467 { (exit 1); exit 1; }; }
5470 : ${CONFIG_STATUS=./config.status}
5471 ac_clean_files_save=$ac_clean_files
5472 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5473 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5474 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5475 cat >$CONFIG_STATUS <<_ACEOF
5476 #! $SHELL
5477 # Generated by $as_me.
5478 # Run this file to recreate the current configuration.
5479 # Compiler output produced by configure, useful for debugging
5480 # configure, is in config.log if it exists.
5482 debug=false
5483 ac_cs_recheck=false
5484 ac_cs_silent=false
5485 SHELL=\${CONFIG_SHELL-$SHELL}
5486 _ACEOF
5488 cat >>$CONFIG_STATUS <<\_ACEOF
5489 ## --------------------- ##
5490 ## M4sh Initialization. ##
5491 ## --------------------- ##
5493 # Be more Bourne compatible
5494 DUALCASE=1; export DUALCASE # for MKS sh
5495 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5496 emulate sh
5497 NULLCMD=:
5498 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5499 # is contrary to our usage. Disable this feature.
5500 alias -g '${1+"$@"}'='"$@"'
5501 setopt NO_GLOB_SUBST
5502 else
5503 case `(set -o) 2>/dev/null` in
5504 *posix*) set -o posix ;;
5505 esac
5512 # PATH needs CR
5513 # Avoid depending upon Character Ranges.
5514 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5515 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5516 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5517 as_cr_digits='0123456789'
5518 as_cr_alnum=$as_cr_Letters$as_cr_digits
5520 # The user is always right.
5521 if test "${PATH_SEPARATOR+set}" != set; then
5522 echo "#! /bin/sh" >conf$$.sh
5523 echo "exit 0" >>conf$$.sh
5524 chmod +x conf$$.sh
5525 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5526 PATH_SEPARATOR=';'
5527 else
5528 PATH_SEPARATOR=:
5530 rm -f conf$$.sh
5533 # Support unset when possible.
5534 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5535 as_unset=unset
5536 else
5537 as_unset=false
5541 # IFS
5542 # We need space, tab and new line, in precisely that order. Quoting is
5543 # there to prevent editors from complaining about space-tab.
5544 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5545 # splitting by setting IFS to empty value.)
5546 as_nl='
5548 IFS=" "" $as_nl"
5550 # Find who we are. Look in the path if we contain no directory separator.
5551 case $0 in
5552 *[\\/]* ) as_myself=$0 ;;
5553 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554 for as_dir in $PATH
5556 IFS=$as_save_IFS
5557 test -z "$as_dir" && as_dir=.
5558 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5559 done
5560 IFS=$as_save_IFS
5563 esac
5564 # We did not find ourselves, most probably we were run as `sh COMMAND'
5565 # in which case we are not to be found in the path.
5566 if test "x$as_myself" = x; then
5567 as_myself=$0
5569 if test ! -f "$as_myself"; then
5570 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5571 { (exit 1); exit 1; }
5574 # Work around bugs in pre-3.0 UWIN ksh.
5575 for as_var in ENV MAIL MAILPATH
5576 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5577 done
5578 PS1='$ '
5579 PS2='> '
5580 PS4='+ '
5582 # NLS nuisances.
5583 for as_var in \
5584 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5585 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5586 LC_TELEPHONE LC_TIME
5588 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5589 eval $as_var=C; export $as_var
5590 else
5591 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5593 done
5595 # Required to use basename.
5596 if expr a : '\(a\)' >/dev/null 2>&1 &&
5597 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5598 as_expr=expr
5599 else
5600 as_expr=false
5603 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5604 as_basename=basename
5605 else
5606 as_basename=false
5610 # Name of the executable.
5611 as_me=`$as_basename -- "$0" ||
5612 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5613 X"$0" : 'X\(//\)$' \| \
5614 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5615 echo X/"$0" |
5616 sed '/^.*\/\([^/][^/]*\)\/*$/{
5617 s//\1/
5620 /^X\/\(\/\/\)$/{
5621 s//\1/
5624 /^X\/\(\/\).*/{
5625 s//\1/
5628 s/.*/./; q'`
5630 # CDPATH.
5631 $as_unset CDPATH
5635 as_lineno_1=$LINENO
5636 as_lineno_2=$LINENO
5637 test "x$as_lineno_1" != "x$as_lineno_2" &&
5638 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5640 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5641 # uniformly replaced by the line number. The first 'sed' inserts a
5642 # line-number line after each line using $LINENO; the second 'sed'
5643 # does the real work. The second script uses 'N' to pair each
5644 # line-number line with the line containing $LINENO, and appends
5645 # trailing '-' during substitution so that $LINENO is not a special
5646 # case at line end.
5647 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5648 # scripts with optimization help from Paolo Bonzini. Blame Lee
5649 # E. McMahon (1931-1989) for sed's syntax. :-)
5650 sed -n '
5652 /[$]LINENO/=
5653 ' <$as_myself |
5654 sed '
5655 s/[$]LINENO.*/&-/
5656 t lineno
5658 :lineno
5660 :loop
5661 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5662 t loop
5663 s/-\n.*//
5664 ' >$as_me.lineno &&
5665 chmod +x "$as_me.lineno" ||
5666 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5667 { (exit 1); exit 1; }; }
5669 # Don't try to exec as it changes $[0], causing all sort of problems
5670 # (the dirname of $[0] is not the place where we might find the
5671 # original and so on. Autoconf is especially sensitive to this).
5672 . "./$as_me.lineno"
5673 # Exit status is that of the last command.
5674 exit
5678 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5679 as_dirname=dirname
5680 else
5681 as_dirname=false
5684 ECHO_C= ECHO_N= ECHO_T=
5685 case `echo -n x` in
5686 -n*)
5687 case `echo 'x\c'` in
5688 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5689 *) ECHO_C='\c';;
5690 esac;;
5692 ECHO_N='-n';;
5693 esac
5695 if expr a : '\(a\)' >/dev/null 2>&1 &&
5696 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5697 as_expr=expr
5698 else
5699 as_expr=false
5702 rm -f conf$$ conf$$.exe conf$$.file
5703 if test -d conf$$.dir; then
5704 rm -f conf$$.dir/conf$$.file
5705 else
5706 rm -f conf$$.dir
5707 mkdir conf$$.dir
5709 echo >conf$$.file
5710 if ln -s conf$$.file conf$$ 2>/dev/null; then
5711 as_ln_s='ln -s'
5712 # ... but there are two gotchas:
5713 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5714 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5715 # In both cases, we have to default to `cp -p'.
5716 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5717 as_ln_s='cp -p'
5718 elif ln conf$$.file conf$$ 2>/dev/null; then
5719 as_ln_s=ln
5720 else
5721 as_ln_s='cp -p'
5723 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5724 rmdir conf$$.dir 2>/dev/null
5726 if mkdir -p . 2>/dev/null; then
5727 as_mkdir_p=:
5728 else
5729 test -d ./-p && rmdir ./-p
5730 as_mkdir_p=false
5733 if test -x / >/dev/null 2>&1; then
5734 as_test_x='test -x'
5735 else
5736 if ls -dL / >/dev/null 2>&1; then
5737 as_ls_L_option=L
5738 else
5739 as_ls_L_option=
5741 as_test_x='
5742 eval sh -c '\''
5743 if test -d "$1"; then
5744 test -d "$1/.";
5745 else
5746 case $1 in
5747 -*)set "./$1";;
5748 esac;
5749 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5750 ???[sx]*):;;*)false;;esac;fi
5751 '\'' sh
5754 as_executable_p=$as_test_x
5756 # Sed expression to map a string onto a valid CPP name.
5757 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5759 # Sed expression to map a string onto a valid variable name.
5760 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5763 exec 6>&1
5765 # Save the log message, to keep $[0] and so on meaningful, and to
5766 # report actual input values of CONFIG_FILES etc. instead of their
5767 # values after options handling.
5768 ac_log="
5769 This file was extended by $as_me, which was
5770 generated by GNU Autoconf 2.61. Invocation command line was
5772 CONFIG_FILES = $CONFIG_FILES
5773 CONFIG_HEADERS = $CONFIG_HEADERS
5774 CONFIG_LINKS = $CONFIG_LINKS
5775 CONFIG_COMMANDS = $CONFIG_COMMANDS
5776 $ $0 $@
5778 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5781 _ACEOF
5783 cat >>$CONFIG_STATUS <<_ACEOF
5784 # Files that config.status was made for.
5785 config_files="$ac_config_files"
5786 config_commands="$ac_config_commands"
5788 _ACEOF
5790 cat >>$CONFIG_STATUS <<\_ACEOF
5791 ac_cs_usage="\
5792 \`$as_me' instantiates files from templates according to the
5793 current configuration.
5795 Usage: $0 [OPTIONS] [FILE]...
5797 -h, --help print this help, then exit
5798 -V, --version print version number and configuration settings, then exit
5799 -q, --quiet do not print progress messages
5800 -d, --debug don't remove temporary files
5801 --recheck update $as_me by reconfiguring in the same conditions
5802 --file=FILE[:TEMPLATE]
5803 instantiate the configuration file FILE
5805 Configuration files:
5806 $config_files
5808 Configuration commands:
5809 $config_commands
5811 Report bugs to <bug-autoconf@gnu.org>."
5813 _ACEOF
5814 cat >>$CONFIG_STATUS <<_ACEOF
5815 ac_cs_version="\\
5816 config.status
5817 configured by $0, generated by GNU Autoconf 2.61,
5818 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5820 Copyright (C) 2006 Free Software Foundation, Inc.
5821 This config.status script is free software; the Free Software Foundation
5822 gives unlimited permission to copy, distribute and modify it."
5824 ac_pwd='$ac_pwd'
5825 srcdir='$srcdir'
5826 INSTALL='$INSTALL'
5827 MKDIR_P='$MKDIR_P'
5828 _ACEOF
5830 cat >>$CONFIG_STATUS <<\_ACEOF
5831 # If no file are specified by the user, then we need to provide default
5832 # value. By we need to know if files were specified by the user.
5833 ac_need_defaults=:
5834 while test $# != 0
5836 case $1 in
5837 --*=*)
5838 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5839 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5840 ac_shift=:
5843 ac_option=$1
5844 ac_optarg=$2
5845 ac_shift=shift
5847 esac
5849 case $ac_option in
5850 # Handling of the options.
5851 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5852 ac_cs_recheck=: ;;
5853 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5854 echo "$ac_cs_version"; exit ;;
5855 --debug | --debu | --deb | --de | --d | -d )
5856 debug=: ;;
5857 --file | --fil | --fi | --f )
5858 $ac_shift
5859 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5860 ac_need_defaults=false;;
5861 --he | --h | --help | --hel | -h )
5862 echo "$ac_cs_usage"; exit ;;
5863 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5864 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5865 ac_cs_silent=: ;;
5867 # This is an error.
5868 -*) { echo "$as_me: error: unrecognized option: $1
5869 Try \`$0 --help' for more information." >&2
5870 { (exit 1); exit 1; }; } ;;
5872 *) ac_config_targets="$ac_config_targets $1"
5873 ac_need_defaults=false ;;
5875 esac
5876 shift
5877 done
5879 ac_configure_extra_args=
5881 if $ac_cs_silent; then
5882 exec 6>/dev/null
5883 ac_configure_extra_args="$ac_configure_extra_args --silent"
5886 _ACEOF
5887 cat >>$CONFIG_STATUS <<_ACEOF
5888 if \$ac_cs_recheck; then
5889 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5890 CONFIG_SHELL=$SHELL
5891 export CONFIG_SHELL
5892 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5895 _ACEOF
5896 cat >>$CONFIG_STATUS <<\_ACEOF
5897 exec 5>>config.log
5899 echo
5900 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5901 ## Running $as_me. ##
5902 _ASBOX
5903 echo "$ac_log"
5904 } >&5
5906 _ACEOF
5907 cat >>$CONFIG_STATUS <<_ACEOF
5909 # INIT-COMMANDS
5911 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5913 _ACEOF
5915 cat >>$CONFIG_STATUS <<\_ACEOF
5917 # Handling of arguments.
5918 for ac_config_target in $ac_config_targets
5920 case $ac_config_target in
5921 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5922 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5924 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5925 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5926 { (exit 1); exit 1; }; };;
5927 esac
5928 done
5931 # If the user did not use the arguments to specify the items to instantiate,
5932 # then the envvar interface is used. Set only those that are not.
5933 # We use the long form for the default assignment because of an extremely
5934 # bizarre bug on SunOS 4.1.3.
5935 if $ac_need_defaults; then
5936 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5937 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5940 # Have a temporary directory for convenience. Make it in the build tree
5941 # simply because there is no reason against having it here, and in addition,
5942 # creating and moving files from /tmp can sometimes cause problems.
5943 # Hook for its removal unless debugging.
5944 # Note that there is a small window in which the directory will not be cleaned:
5945 # after its creation but before its name has been assigned to `$tmp'.
5946 $debug ||
5948 tmp=
5949 trap 'exit_status=$?
5950 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5952 trap '{ (exit 1); exit 1; }' 1 2 13 15
5954 # Create a (secure) tmp directory for tmp files.
5957 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5958 test -n "$tmp" && test -d "$tmp"
5959 } ||
5961 tmp=./conf$$-$RANDOM
5962 (umask 077 && mkdir "$tmp")
5963 } ||
5965 echo "$me: cannot create a temporary directory in ." >&2
5966 { (exit 1); exit 1; }
5970 # Set up the sed scripts for CONFIG_FILES section.
5973 # No need to generate the scripts if there are no CONFIG_FILES.
5974 # This happens for instance when ./config.status config.h
5975 if test -n "$CONFIG_FILES"; then
5977 _ACEOF
5981 ac_delim='%!_!# '
5982 for ac_last_try in false false false false false :; do
5983 cat >conf$$subs.sed <<_ACEOF
5984 SHELL!$SHELL$ac_delim
5985 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5986 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5987 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5988 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5989 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5990 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5991 exec_prefix!$exec_prefix$ac_delim
5992 prefix!$prefix$ac_delim
5993 program_transform_name!$program_transform_name$ac_delim
5994 bindir!$bindir$ac_delim
5995 sbindir!$sbindir$ac_delim
5996 libexecdir!$libexecdir$ac_delim
5997 datarootdir!$datarootdir$ac_delim
5998 datadir!$datadir$ac_delim
5999 sysconfdir!$sysconfdir$ac_delim
6000 sharedstatedir!$sharedstatedir$ac_delim
6001 localstatedir!$localstatedir$ac_delim
6002 includedir!$includedir$ac_delim
6003 oldincludedir!$oldincludedir$ac_delim
6004 docdir!$docdir$ac_delim
6005 infodir!$infodir$ac_delim
6006 htmldir!$htmldir$ac_delim
6007 dvidir!$dvidir$ac_delim
6008 pdfdir!$pdfdir$ac_delim
6009 psdir!$psdir$ac_delim
6010 libdir!$libdir$ac_delim
6011 localedir!$localedir$ac_delim
6012 mandir!$mandir$ac_delim
6013 DEFS!$DEFS$ac_delim
6014 ECHO_C!$ECHO_C$ac_delim
6015 ECHO_N!$ECHO_N$ac_delim
6016 ECHO_T!$ECHO_T$ac_delim
6017 LIBS!$LIBS$ac_delim
6018 build_alias!$build_alias$ac_delim
6019 host_alias!$host_alias$ac_delim
6020 target_alias!$target_alias$ac_delim
6021 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6022 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6023 INSTALL_DATA!$INSTALL_DATA$ac_delim
6024 am__isrc!$am__isrc$ac_delim
6025 CYGPATH_W!$CYGPATH_W$ac_delim
6026 PACKAGE!$PACKAGE$ac_delim
6027 VERSION!$VERSION$ac_delim
6028 ACLOCAL!$ACLOCAL$ac_delim
6029 AUTOCONF!$AUTOCONF$ac_delim
6030 AUTOMAKE!$AUTOMAKE$ac_delim
6031 AUTOHEADER!$AUTOHEADER$ac_delim
6032 MAKEINFO!$MAKEINFO$ac_delim
6033 install_sh!$install_sh$ac_delim
6034 STRIP!$STRIP$ac_delim
6035 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
6036 mkdir_p!$mkdir_p$ac_delim
6037 AWK!$AWK$ac_delim
6038 SET_MAKE!$SET_MAKE$ac_delim
6039 am__leading_dot!$am__leading_dot$ac_delim
6040 AMTAR!$AMTAR$ac_delim
6041 am__tar!$am__tar$ac_delim
6042 am__untar!$am__untar$ac_delim
6043 CC!$CC$ac_delim
6044 CFLAGS!$CFLAGS$ac_delim
6045 LDFLAGS!$LDFLAGS$ac_delim
6046 CPPFLAGS!$CPPFLAGS$ac_delim
6047 ac_ct_CC!$ac_ct_CC$ac_delim
6048 EXEEXT!$EXEEXT$ac_delim
6049 OBJEXT!$OBJEXT$ac_delim
6050 DEPDIR!$DEPDIR$ac_delim
6051 am__include!$am__include$ac_delim
6052 am__quote!$am__quote$ac_delim
6053 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
6054 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
6055 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
6056 CCDEPMODE!$CCDEPMODE$ac_delim
6057 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
6058 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
6059 CXX!$CXX$ac_delim
6060 CXXFLAGS!$CXXFLAGS$ac_delim
6061 ac_ct_CXX!$ac_ct_CXX$ac_delim
6062 CXXDEPMODE!$CXXDEPMODE$ac_delim
6063 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
6064 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
6065 RANLIB!$RANLIB$ac_delim
6066 CPP!$CPP$ac_delim
6067 GREP!$GREP$ac_delim
6068 EGREP!$EGREP$ac_delim
6069 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
6070 SDL_LIBS!$SDL_LIBS$ac_delim
6071 HAVE_PYTHON!$HAVE_PYTHON$ac_delim
6072 PYTHON_CFLAGS!$PYTHON_CFLAGS$ac_delim
6073 PYTHON_LIBS!$PYTHON_LIBS$ac_delim
6074 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
6075 HILDON_LIBS!$HILDON_LIBS$ac_delim
6076 desktopentrydir!$desktopentrydir$ac_delim
6077 serviceentrydir!$serviceentrydir$ac_delim
6078 icon_26x26dir!$icon_26x26dir$ac_delim
6079 icon_34x34dir!$icon_34x34dir$ac_delim
6080 icon_40x40dir!$icon_40x40dir$ac_delim
6081 _ACEOF
6083 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
6084 break
6085 elif $ac_last_try; then
6086 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6087 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6088 { (exit 1); exit 1; }; }
6089 else
6090 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6092 done
6094 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6095 if test -n "$ac_eof"; then
6096 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6097 ac_eof=`expr $ac_eof + 1`
6100 cat >>$CONFIG_STATUS <<_ACEOF
6101 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6102 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6103 _ACEOF
6104 sed '
6105 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6106 s/^/s,@/; s/!/@,|#_!!_#|/
6109 s/'"$ac_delim"'$/,g/; t
6110 s/$/\\/; p
6111 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6112 ' >>$CONFIG_STATUS <conf$$subs.sed
6113 rm -f conf$$subs.sed
6114 cat >>$CONFIG_STATUS <<_ACEOF
6115 CEOF$ac_eof
6116 _ACEOF
6119 ac_delim='%!_!# '
6120 for ac_last_try in false false false false false :; do
6121 cat >conf$$subs.sed <<_ACEOF
6122 icon_50x50dir!$icon_50x50dir$ac_delim
6123 icon_64x64dir!$icon_64x64dir$ac_delim
6124 icon_scalabledir!$icon_scalabledir$ac_delim
6125 LIBOBJS!$LIBOBJS$ac_delim
6126 LTLIBOBJS!$LTLIBOBJS$ac_delim
6127 _ACEOF
6129 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
6130 break
6131 elif $ac_last_try; then
6132 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6133 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6134 { (exit 1); exit 1; }; }
6135 else
6136 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6138 done
6140 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6141 if test -n "$ac_eof"; then
6142 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6143 ac_eof=`expr $ac_eof + 1`
6146 cat >>$CONFIG_STATUS <<_ACEOF
6147 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
6148 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6149 _ACEOF
6150 sed '
6151 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6152 s/^/s,@/; s/!/@,|#_!!_#|/
6155 s/'"$ac_delim"'$/,g/; t
6156 s/$/\\/; p
6157 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6158 ' >>$CONFIG_STATUS <conf$$subs.sed
6159 rm -f conf$$subs.sed
6160 cat >>$CONFIG_STATUS <<_ACEOF
6161 :end
6162 s/|#_!!_#|//g
6163 CEOF$ac_eof
6164 _ACEOF
6167 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6168 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6169 # trailing colons and then remove the whole line if VPATH becomes empty
6170 # (actually we leave an empty line to preserve line numbers).
6171 if test "x$srcdir" = x.; then
6172 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6173 s/:*\$(srcdir):*/:/
6174 s/:*\${srcdir}:*/:/
6175 s/:*@srcdir@:*/:/
6176 s/^\([^=]*=[ ]*\):*/\1/
6177 s/:*$//
6178 s/^[^=]*=[ ]*$//
6182 cat >>$CONFIG_STATUS <<\_ACEOF
6183 fi # test -n "$CONFIG_FILES"
6186 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
6188 case $ac_tag in
6189 :[FHLC]) ac_mode=$ac_tag; continue;;
6190 esac
6191 case $ac_mode$ac_tag in
6192 :[FHL]*:*);;
6193 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6194 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6195 { (exit 1); exit 1; }; };;
6196 :[FH]-) ac_tag=-:-;;
6197 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6198 esac
6199 ac_save_IFS=$IFS
6200 IFS=:
6201 set x $ac_tag
6202 IFS=$ac_save_IFS
6203 shift
6204 ac_file=$1
6205 shift
6207 case $ac_mode in
6208 :L) ac_source=$1;;
6209 :[FH])
6210 ac_file_inputs=
6211 for ac_f
6213 case $ac_f in
6214 -) ac_f="$tmp/stdin";;
6215 *) # Look for the file first in the build tree, then in the source tree
6216 # (if the path is not absolute). The absolute path cannot be DOS-style,
6217 # because $ac_f cannot contain `:'.
6218 test -f "$ac_f" ||
6219 case $ac_f in
6220 [\\/$]*) false;;
6221 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6222 esac ||
6223 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6224 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6225 { (exit 1); exit 1; }; };;
6226 esac
6227 ac_file_inputs="$ac_file_inputs $ac_f"
6228 done
6230 # Let's still pretend it is `configure' which instantiates (i.e., don't
6231 # use $as_me), people would be surprised to read:
6232 # /* config.h. Generated by config.status. */
6233 configure_input="Generated from "`IFS=:
6234 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6235 if test x"$ac_file" != x-; then
6236 configure_input="$ac_file. $configure_input"
6237 { echo "$as_me:$LINENO: creating $ac_file" >&5
6238 echo "$as_me: creating $ac_file" >&6;}
6241 case $ac_tag in
6242 *:-:* | *:-) cat >"$tmp/stdin";;
6243 esac
6245 esac
6247 ac_dir=`$as_dirname -- "$ac_file" ||
6248 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6249 X"$ac_file" : 'X\(//\)[^/]' \| \
6250 X"$ac_file" : 'X\(//\)$' \| \
6251 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6252 echo X"$ac_file" |
6253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6254 s//\1/
6257 /^X\(\/\/\)[^/].*/{
6258 s//\1/
6261 /^X\(\/\/\)$/{
6262 s//\1/
6265 /^X\(\/\).*/{
6266 s//\1/
6269 s/.*/./; q'`
6270 { as_dir="$ac_dir"
6271 case $as_dir in #(
6272 -*) as_dir=./$as_dir;;
6273 esac
6274 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6275 as_dirs=
6276 while :; do
6277 case $as_dir in #(
6278 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6279 *) as_qdir=$as_dir;;
6280 esac
6281 as_dirs="'$as_qdir' $as_dirs"
6282 as_dir=`$as_dirname -- "$as_dir" ||
6283 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6284 X"$as_dir" : 'X\(//\)[^/]' \| \
6285 X"$as_dir" : 'X\(//\)$' \| \
6286 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6287 echo X"$as_dir" |
6288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6289 s//\1/
6292 /^X\(\/\/\)[^/].*/{
6293 s//\1/
6296 /^X\(\/\/\)$/{
6297 s//\1/
6300 /^X\(\/\).*/{
6301 s//\1/
6304 s/.*/./; q'`
6305 test -d "$as_dir" && break
6306 done
6307 test -z "$as_dirs" || eval "mkdir $as_dirs"
6308 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6309 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6310 { (exit 1); exit 1; }; }; }
6311 ac_builddir=.
6313 case "$ac_dir" in
6314 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6316 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6317 # A ".." for each directory in $ac_dir_suffix.
6318 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6319 case $ac_top_builddir_sub in
6320 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6321 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6322 esac ;;
6323 esac
6324 ac_abs_top_builddir=$ac_pwd
6325 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6326 # for backward compatibility:
6327 ac_top_builddir=$ac_top_build_prefix
6329 case $srcdir in
6330 .) # We are building in place.
6331 ac_srcdir=.
6332 ac_top_srcdir=$ac_top_builddir_sub
6333 ac_abs_top_srcdir=$ac_pwd ;;
6334 [\\/]* | ?:[\\/]* ) # Absolute name.
6335 ac_srcdir=$srcdir$ac_dir_suffix;
6336 ac_top_srcdir=$srcdir
6337 ac_abs_top_srcdir=$srcdir ;;
6338 *) # Relative name.
6339 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6340 ac_top_srcdir=$ac_top_build_prefix$srcdir
6341 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6342 esac
6343 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6346 case $ac_mode in
6349 # CONFIG_FILE
6352 case $INSTALL in
6353 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6354 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6355 esac
6356 ac_MKDIR_P=$MKDIR_P
6357 case $MKDIR_P in
6358 [\\/$]* | ?:[\\/]* ) ;;
6359 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6360 esac
6361 _ACEOF
6363 cat >>$CONFIG_STATUS <<\_ACEOF
6364 # If the template does not know about datarootdir, expand it.
6365 # FIXME: This hack should be removed a few years after 2.60.
6366 ac_datarootdir_hack=; ac_datarootdir_seen=
6368 case `sed -n '/datarootdir/ {
6372 /@datadir@/p
6373 /@docdir@/p
6374 /@infodir@/p
6375 /@localedir@/p
6376 /@mandir@/p
6377 ' $ac_file_inputs` in
6378 *datarootdir*) ac_datarootdir_seen=yes;;
6379 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6380 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6381 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6382 _ACEOF
6383 cat >>$CONFIG_STATUS <<_ACEOF
6384 ac_datarootdir_hack='
6385 s&@datadir@&$datadir&g
6386 s&@docdir@&$docdir&g
6387 s&@infodir@&$infodir&g
6388 s&@localedir@&$localedir&g
6389 s&@mandir@&$mandir&g
6390 s&\\\${datarootdir}&$datarootdir&g' ;;
6391 esac
6392 _ACEOF
6394 # Neutralize VPATH when `$srcdir' = `.'.
6395 # Shell code in configure.ac might set extrasub.
6396 # FIXME: do we really want to maintain this feature?
6397 cat >>$CONFIG_STATUS <<_ACEOF
6398 sed "$ac_vpsub
6399 $extrasub
6400 _ACEOF
6401 cat >>$CONFIG_STATUS <<\_ACEOF
6403 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6404 s&@configure_input@&$configure_input&;t t
6405 s&@top_builddir@&$ac_top_builddir_sub&;t t
6406 s&@srcdir@&$ac_srcdir&;t t
6407 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6408 s&@top_srcdir@&$ac_top_srcdir&;t t
6409 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6410 s&@builddir@&$ac_builddir&;t t
6411 s&@abs_builddir@&$ac_abs_builddir&;t t
6412 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6413 s&@INSTALL@&$ac_INSTALL&;t t
6414 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6415 $ac_datarootdir_hack
6416 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
6418 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6419 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6420 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6421 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6422 which seems to be undefined. Please make sure it is defined." >&5
6423 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6424 which seems to be undefined. Please make sure it is defined." >&2;}
6426 rm -f "$tmp/stdin"
6427 case $ac_file in
6428 -) cat "$tmp/out"; rm -f "$tmp/out";;
6429 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6430 esac
6434 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6435 echo "$as_me: executing $ac_file commands" >&6;}
6437 esac
6440 case $ac_file$ac_mode in
6441 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6442 # Strip MF so we end up with the name of the file.
6443 mf=`echo "$mf" | sed -e 's/:.*$//'`
6444 # Check whether this is an Automake generated Makefile or not.
6445 # We used to match only the files named `Makefile.in', but
6446 # some people rename them; so instead we look at the file content.
6447 # Grep'ing the first line is not enough: some people post-process
6448 # each Makefile.in and add a new line on top of each file to say so.
6449 # Grep'ing the whole file is not good either: AIX grep has a line
6450 # limit of 2048, but all sed's we know have understand at least 4000.
6451 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
6452 dirpart=`$as_dirname -- "$mf" ||
6453 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6454 X"$mf" : 'X\(//\)[^/]' \| \
6455 X"$mf" : 'X\(//\)$' \| \
6456 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6457 echo X"$mf" |
6458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6459 s//\1/
6462 /^X\(\/\/\)[^/].*/{
6463 s//\1/
6466 /^X\(\/\/\)$/{
6467 s//\1/
6470 /^X\(\/\).*/{
6471 s//\1/
6474 s/.*/./; q'`
6475 else
6476 continue
6478 # Extract the definition of DEPDIR, am__include, and am__quote
6479 # from the Makefile without running `make'.
6480 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6481 test -z "$DEPDIR" && continue
6482 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6483 test -z "am__include" && continue
6484 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6485 # When using ansi2knr, U may be empty or an underscore; expand it
6486 U=`sed -n 's/^U = //p' < "$mf"`
6487 # Find all dependency output files, they are included files with
6488 # $(DEPDIR) in their names. We invoke sed twice because it is the
6489 # simplest approach to changing $(DEPDIR) to its actual value in the
6490 # expansion.
6491 for file in `sed -n "
6492 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6493 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6494 # Make sure the directory exists.
6495 test -f "$dirpart/$file" && continue
6496 fdir=`$as_dirname -- "$file" ||
6497 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6498 X"$file" : 'X\(//\)[^/]' \| \
6499 X"$file" : 'X\(//\)$' \| \
6500 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6501 echo X"$file" |
6502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6503 s//\1/
6506 /^X\(\/\/\)[^/].*/{
6507 s//\1/
6510 /^X\(\/\/\)$/{
6511 s//\1/
6514 /^X\(\/\).*/{
6515 s//\1/
6518 s/.*/./; q'`
6519 { as_dir=$dirpart/$fdir
6520 case $as_dir in #(
6521 -*) as_dir=./$as_dir;;
6522 esac
6523 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6524 as_dirs=
6525 while :; do
6526 case $as_dir in #(
6527 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6528 *) as_qdir=$as_dir;;
6529 esac
6530 as_dirs="'$as_qdir' $as_dirs"
6531 as_dir=`$as_dirname -- "$as_dir" ||
6532 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6533 X"$as_dir" : 'X\(//\)[^/]' \| \
6534 X"$as_dir" : 'X\(//\)$' \| \
6535 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6536 echo X"$as_dir" |
6537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6538 s//\1/
6541 /^X\(\/\/\)[^/].*/{
6542 s//\1/
6545 /^X\(\/\/\)$/{
6546 s//\1/
6549 /^X\(\/\).*/{
6550 s//\1/
6553 s/.*/./; q'`
6554 test -d "$as_dir" && break
6555 done
6556 test -z "$as_dirs" || eval "mkdir $as_dirs"
6557 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6558 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6559 { (exit 1); exit 1; }; }; }
6560 # echo "creating $dirpart/$file"
6561 echo '# dummy' > "$dirpart/$file"
6562 done
6563 done
6566 esac
6567 done # for ac_tag
6570 { (exit 0); exit 0; }
6571 _ACEOF
6572 chmod +x $CONFIG_STATUS
6573 ac_clean_files=$ac_clean_files_save
6576 # configure is writing to config.log, and then calls config.status.
6577 # config.status does its own redirection, appending to config.log.
6578 # Unfortunately, on DOS this fails, as config.log is still kept open
6579 # by configure, so config.status won't be able to write to it; its
6580 # output is simply discarded. So we exec the FD to /dev/null,
6581 # effectively closing config.log, so it can be properly (re)opened and
6582 # appended to by config.status. When coming back to configure, we
6583 # need to make the FD available again.
6584 if test "$no_create" != yes; then
6585 ac_cs_success=:
6586 ac_config_status_args=
6587 test "$silent" = yes &&
6588 ac_config_status_args="$ac_config_status_args --quiet"
6589 exec 5>/dev/null
6590 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6591 exec 5>>config.log
6592 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6593 # would make configure fail if this is the last instruction.
6594 $ac_cs_success || { (exit 1); exit 1; }