2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for expedite 0.7.0.
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix=/usr/local
566 ac_config_libobj_dir=.
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='expedite'
576 PACKAGE_TARNAME='expedite'
577 PACKAGE_VERSION='0.7.0'
578 PACKAGE_STRING='expedite 0.7.0'
579 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
581 ac_unique_file="configure.ac"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
677 INSTALL_STRIP_PROGRAM
686 BUILD_SOFTWARE_X11_TRUE
687 BUILD_SOFTWARE_X11_FALSE
688 BUILD_SOFTWARE_XLIB_TRUE
689 BUILD_SOFTWARE_XLIB_FALSE
690 BUILD_SOFTWARE_XCB_TRUE
691 BUILD_SOFTWARE_XCB_FALSE
692 BUILD_XRENDER_X11_TRUE
693 BUILD_XRENDER_X11_FALSE
694 BUILD_OPENGL_X11_TRUE
695 BUILD_OPENGL_X11_FALSE
696 BUILD_XRENDER_XCB_TRUE
697 BUILD_XRENDER_XCB_FALSE
698 BUILD_SOFTWARE_GDI_TRUE
699 BUILD_SOFTWARE_GDI_FALSE
701 BUILD_SOFTWARE_DDRAW_TRUE
702 BUILD_SOFTWARE_DDRAW_FALSE
707 BUILD_OPENGL_GLEW_TRUE
708 BUILD_OPENGL_GLEW_FALSE
710 BUILD_SOFTWARE_SDL_TRUE
711 BUILD_SOFTWARE_SDL_FALSE
712 BUILD_OPENGL_SDL_TRUE
713 BUILD_OPENGL_SDL_FALSE
721 BUILD_SOFTWARE_16_X11_TRUE
722 BUILD_SOFTWARE_16_X11_FALSE
723 BUILD_SOFTWARE_16_DDRAW_TRUE
724 BUILD_SOFTWARE_16_DDRAW_FALSE
726 BUILD_SOFTWARE_16_WINCE_TRUE
727 BUILD_SOFTWARE_16_WINCE_FALSE
750 am__fastdepOBJC_FALSE
788 lt_enable_auto_import
792 ac_precious_vars='build_alias
822 # Initialize some variables set by options.
824 ac_init_version=false
825 # The variables have the same names as the options, with
826 # dashes changed to underlines.
834 program_transform_name=s,x,x,
842 # Installation directory options.
843 # These are left unexpanded so users can "make install exec_prefix=/foo"
844 # and all the variables that are supposed to be based on exec_prefix
845 # by default will actually change.
846 # Use braces instead of parens because sh, perl, etc. also accept them.
847 # (The list follows the same order as the GNU Coding Standards.)
848 bindir='${exec_prefix}/bin'
849 sbindir='${exec_prefix}/sbin'
850 libexecdir='${exec_prefix}/libexec'
851 datarootdir='${prefix}/share'
852 datadir='${datarootdir}'
853 sysconfdir='${prefix}/etc'
854 sharedstatedir='${prefix}/com'
855 localstatedir='${prefix}/var'
856 includedir='${prefix}/include'
857 oldincludedir='/usr/include'
858 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
859 infodir='${datarootdir}/info'
864 libdir='${exec_prefix}/lib'
865 localedir='${datarootdir}/locale'
866 mandir='${datarootdir}/man'
872 # If the previous option needs an argument, assign it.
873 if test -n "$ac_prev"; then
874 eval $ac_prev=\$ac_option
880 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
884 # Accept the important Cygnus configure options, so we can diagnose typos.
886 case $ac_dashdash$ac_option in
890 -bindir | --bindir | --bindi | --bind | --bin | --bi)
892 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
895 -build | --build | --buil | --bui | --bu)
896 ac_prev=build_alias ;;
897 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
898 build_alias=$ac_optarg ;;
900 -cache-file | --cache-file | --cache-fil | --cache-fi \
901 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
902 ac_prev=cache_file ;;
903 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
904 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
905 cache_file=$ac_optarg ;;
908 cache_file=config.cache ;;
910 -datadir | --datadir | --datadi | --datad)
912 -datadir=* | --datadir=* | --datadi=* | --datad=*)
913 datadir=$ac_optarg ;;
915 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
916 | --dataroo | --dataro | --datar)
917 ac_prev=datarootdir ;;
918 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
919 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
920 datarootdir=$ac_optarg ;;
922 -disable-* | --disable-*)
923 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
924 # Reject names that are not valid shell variable names.
925 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
926 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
927 { (exit 1); exit 1; }; }
928 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
929 eval enable_$ac_feature=no ;;
931 -docdir | --docdir | --docdi | --doc | --do)
933 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
936 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
938 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
941 -enable-* | --enable-*)
942 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
943 # Reject names that are not valid shell variable names.
944 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
945 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
946 { (exit 1); exit 1; }; }
947 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
948 eval enable_$ac_feature=\$ac_optarg ;;
950 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
951 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
952 | --exec | --exe | --ex)
953 ac_prev=exec_prefix ;;
954 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
955 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
956 | --exec=* | --exe=* | --ex=*)
957 exec_prefix=$ac_optarg ;;
959 -gas | --gas | --ga | --g)
960 # Obsolete; use --with-gas.
963 -help | --help | --hel | --he | -h)
965 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
966 ac_init_help=recursive ;;
967 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
968 ac_init_help=short ;;
970 -host | --host | --hos | --ho)
971 ac_prev=host_alias ;;
972 -host=* | --host=* | --hos=* | --ho=*)
973 host_alias=$ac_optarg ;;
975 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
977 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
979 htmldir=$ac_optarg ;;
981 -includedir | --includedir | --includedi | --included | --include \
982 | --includ | --inclu | --incl | --inc)
983 ac_prev=includedir ;;
984 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
985 | --includ=* | --inclu=* | --incl=* | --inc=*)
986 includedir=$ac_optarg ;;
988 -infodir | --infodir | --infodi | --infod | --info | --inf)
990 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
991 infodir=$ac_optarg ;;
993 -libdir | --libdir | --libdi | --libd)
995 -libdir=* | --libdir=* | --libdi=* | --libd=*)
998 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
999 | --libexe | --libex | --libe)
1000 ac_prev=libexecdir ;;
1001 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1002 | --libexe=* | --libex=* | --libe=*)
1003 libexecdir=$ac_optarg ;;
1005 -localedir | --localedir | --localedi | --localed | --locale)
1006 ac_prev=localedir ;;
1007 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1008 localedir=$ac_optarg ;;
1010 -localstatedir | --localstatedir | --localstatedi | --localstated \
1011 | --localstate | --localstat | --localsta | --localst | --locals)
1012 ac_prev=localstatedir ;;
1013 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1014 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1015 localstatedir=$ac_optarg ;;
1017 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1019 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1020 mandir=$ac_optarg ;;
1022 -nfp | --nfp | --nf)
1023 # Obsolete; use --without-fp.
1026 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1027 | --no-cr | --no-c | -n)
1030 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1031 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1034 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1035 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1036 | --oldin | --oldi | --old | --ol | --o)
1037 ac_prev=oldincludedir ;;
1038 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1039 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1040 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1041 oldincludedir=$ac_optarg ;;
1043 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1045 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1046 prefix=$ac_optarg ;;
1048 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1049 | --program-pre | --program-pr | --program-p)
1050 ac_prev=program_prefix ;;
1051 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1052 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1053 program_prefix=$ac_optarg ;;
1055 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1056 | --program-suf | --program-su | --program-s)
1057 ac_prev=program_suffix ;;
1058 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1059 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1060 program_suffix=$ac_optarg ;;
1062 -program-transform-name | --program-transform-name \
1063 | --program-transform-nam | --program-transform-na \
1064 | --program-transform-n | --program-transform- \
1065 | --program-transform | --program-transfor \
1066 | --program-transfo | --program-transf \
1067 | --program-trans | --program-tran \
1068 | --progr-tra | --program-tr | --program-t)
1069 ac_prev=program_transform_name ;;
1070 -program-transform-name=* | --program-transform-name=* \
1071 | --program-transform-nam=* | --program-transform-na=* \
1072 | --program-transform-n=* | --program-transform-=* \
1073 | --program-transform=* | --program-transfor=* \
1074 | --program-transfo=* | --program-transf=* \
1075 | --program-trans=* | --program-tran=* \
1076 | --progr-tra=* | --program-tr=* | --program-t=*)
1077 program_transform_name=$ac_optarg ;;
1079 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1081 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1082 pdfdir=$ac_optarg ;;
1084 -psdir | --psdir | --psdi | --psd | --ps)
1086 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1089 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1090 | -silent | --silent | --silen | --sile | --sil)
1093 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1095 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1097 sbindir=$ac_optarg ;;
1099 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1100 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1101 | --sharedst | --shareds | --shared | --share | --shar \
1103 ac_prev=sharedstatedir ;;
1104 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1105 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1106 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1108 sharedstatedir=$ac_optarg ;;
1110 -site | --site | --sit)
1112 -site=* | --site=* | --sit=*)
1115 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1117 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1118 srcdir=$ac_optarg ;;
1120 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1121 | --syscon | --sysco | --sysc | --sys | --sy)
1122 ac_prev=sysconfdir ;;
1123 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1124 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1125 sysconfdir=$ac_optarg ;;
1127 -target | --target | --targe | --targ | --tar | --ta | --t)
1128 ac_prev=target_alias ;;
1129 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1130 target_alias=$ac_optarg ;;
1132 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1135 -version | --version | --versio | --versi | --vers | -V)
1136 ac_init_version=: ;;
1139 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1142 { echo "$as_me: error: invalid package name: $ac_package" >&2
1143 { (exit 1); exit 1; }; }
1144 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1145 eval with_$ac_package=\$ac_optarg ;;
1147 -without-* | --without-*)
1148 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1149 # Reject names that are not valid shell variable names.
1150 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1151 { echo "$as_me: error: invalid package name: $ac_package" >&2
1152 { (exit 1); exit 1; }; }
1153 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1154 eval with_$ac_package=no ;;
1157 # Obsolete; use --with-x.
1160 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1161 | --x-incl | --x-inc | --x-in | --x-i)
1162 ac_prev=x_includes ;;
1163 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1164 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1165 x_includes=$ac_optarg ;;
1167 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1168 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1169 ac_prev=x_libraries ;;
1170 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1171 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1172 x_libraries=$ac_optarg ;;
1174 -*) { echo "$as_me: error: unrecognized option: $ac_option
1175 Try \`$0 --help' for more information." >&2
1176 { (exit 1); exit 1; }; }
1180 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1183 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1184 { (exit 1); exit 1; }; }
1185 eval $ac_envvar=\$ac_optarg
1186 export $ac_envvar ;;
1189 # FIXME: should be removed in autoconf 3.0.
1190 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1191 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1192 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1193 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1199 if test -n "$ac_prev"; then
1200 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1201 { echo "$as_me: error: missing argument to $ac_option" >&2
1202 { (exit 1); exit 1; }; }
1205 # Be sure to have absolute directory names.
1206 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1207 datadir sysconfdir sharedstatedir localstatedir includedir \
1208 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1209 libdir localedir mandir
1211 eval ac_val=\$$ac_var
1213 [\\/$]* | ?:[\\/]* ) continue;;
1214 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1216 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1217 { (exit 1); exit 1; }; }
1220 # There might be people who depend on the old broken behavior: `$host'
1221 # used to hold the argument of --host etc.
1222 # FIXME: To remove some day.
1225 target=$target_alias
1227 # FIXME: To remove some day.
1228 if test "x$host_alias" != x; then
1229 if test "x$build_alias" = x; then
1230 cross_compiling=maybe
1231 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1232 If a cross compiler is detected then cross compile mode will be used." >&2
1233 elif test "x$build_alias" != "x$host_alias"; then
1239 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1241 test "$silent" = yes && exec 6>/dev/null
1244 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1245 ac_ls_di=`ls -di .` &&
1246 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1247 { echo "$as_me: error: Working directory cannot be determined" >&2
1248 { (exit 1); exit 1; }; }
1249 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1250 { echo "$as_me: error: pwd does not report name of working directory" >&2
1251 { (exit 1); exit 1; }; }
1254 # Find the source files, if location was not specified.
1255 if test -z "$srcdir"; then
1256 ac_srcdir_defaulted=yes
1257 # Try the directory containing this script, then the parent directory.
1258 ac_confdir=`$as_dirname -- "$0" ||
1259 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1260 X"$0" : 'X\(//\)[^/]' \| \
1261 X"$0" : 'X\(//\)$' \| \
1262 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1282 if test ! -r "$srcdir/$ac_unique_file"; then
1286 ac_srcdir_defaulted=no
1288 if test ! -r "$srcdir/$ac_unique_file"; then
1289 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1290 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1291 { (exit 1); exit 1; }; }
1293 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1295 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1296 { (exit 1); exit 1; }; }
1298 # When building in place, set srcdir=.
1299 if test "$ac_abs_confdir" = "$ac_pwd"; then
1302 # Remove unnecessary trailing slashes from srcdir.
1303 # Double slashes in file names in object file debugging info
1304 # mess up M-x gdb in Emacs.
1306 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1308 for ac_var in $ac_precious_vars; do
1309 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1310 eval ac_env_${ac_var}_value=\$${ac_var}
1311 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1312 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1316 # Report the --help message.
1318 if test "$ac_init_help" = "long"; then
1319 # Omit some internal or obsolete options to make the list less imposing.
1320 # This message is too long to be a string in the A/UX 3.1 sh.
1322 \`configure' configures expedite 0.7.0 to adapt to many kinds of systems.
1324 Usage: $0 [OPTION]... [VAR=VALUE]...
1326 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1327 VAR=VALUE. See below for descriptions of some of the useful variables.
1329 Defaults for the options are specified in brackets.
1332 -h, --help display this help and exit
1333 --help=short display options specific to this package
1334 --help=recursive display the short help of all the included packages
1335 -V, --version display version information and exit
1336 -q, --quiet, --silent do not print \`checking...' messages
1337 --cache-file=FILE cache test results in FILE [disabled]
1338 -C, --config-cache alias for \`--cache-file=config.cache'
1339 -n, --no-create do not create output files
1340 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1342 Installation directories:
1343 --prefix=PREFIX install architecture-independent files in PREFIX
1344 [$ac_default_prefix]
1345 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1348 By default, \`make install' will install all the files in
1349 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1350 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1351 for instance \`--prefix=\$HOME'.
1353 For better control, use the options below.
1355 Fine tuning of the installation directories:
1356 --bindir=DIR user executables [EPREFIX/bin]
1357 --sbindir=DIR system admin executables [EPREFIX/sbin]
1358 --libexecdir=DIR program executables [EPREFIX/libexec]
1359 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1360 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1361 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1362 --libdir=DIR object code libraries [EPREFIX/lib]
1363 --includedir=DIR C header files [PREFIX/include]
1364 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1365 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1366 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1367 --infodir=DIR info documentation [DATAROOTDIR/info]
1368 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1369 --mandir=DIR man documentation [DATAROOTDIR/man]
1370 --docdir=DIR documentation root [DATAROOTDIR/doc/expedite]
1371 --htmldir=DIR html documentation [DOCDIR]
1372 --dvidir=DIR dvi documentation [DOCDIR]
1373 --pdfdir=DIR pdf documentation [DOCDIR]
1374 --psdir=DIR ps documentation [DOCDIR]
1380 --program-prefix=PREFIX prepend PREFIX to installed program names
1381 --program-suffix=SUFFIX append SUFFIX to installed program names
1382 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1385 --x-includes=DIR X include files are in DIR
1386 --x-libraries=DIR X library files are in DIR
1389 --build=BUILD configure for building on BUILD [guessed]
1390 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1394 if test -n "$ac_init_help"; then
1395 case $ac_init_help in
1396 short | recursive ) echo "Configuration of expedite 0.7.0:";;
1401 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1402 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1403 --enable-simple-x11 enable simple x11 linking
1404 --enable-software-x11 enable Software X11 engine
1405 --enable-xrender-x11 enable XRender X11 engine
1406 --enable-opengl-x11 enable OpenGL X11 engine
1407 --enable-xrender-xcb enable XRender XCB engine
1408 --enable-software-gdi enable Software GDI engine
1409 --enable-software-ddraw enable Software DirectDraw engine
1410 --enable-direct3d enable Direct3D engine
1411 --enable-opengl-glew enable OpenGL Glew engine
1412 --enable-software-sdl enable Software SDL engine
1413 --enable-opengl-sdl enable OpenGL SDL engine
1414 --enable-fb enable Framebuffer engine
1415 --enable-directfb enable DirectFB engine
1416 --enable-quartz enable Quartz engine
1417 --enable-software-16-x11
1418 enable Software 16 bits X11 engine
1419 --enable-software-16-ddraw
1420 enable Software 16 bits DirectDraw engine
1421 --enable-software-16-wince
1422 enable Software 16 bits WinCE engine
1423 --disable-dependency-tracking speeds up one-time build
1424 --enable-dependency-tracking do not reject slow dependency extractors
1427 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1428 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1429 --with-x use the X Window System
1431 Some influential environment variables:
1432 PKG_CONFIG path to pkg-config utility
1433 CC C compiler command
1434 CFLAGS C compiler flags
1435 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1436 nonstandard directory <lib dir>
1437 LIBS libraries to pass to the linker, e.g. -l<library>
1438 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1439 you have headers in a nonstandard directory <include dir>
1440 OBJC Objective C compiler command
1441 OBJCFLAGS Objective C compiler flags
1442 CXX C++ compiler command
1443 CXXFLAGS C++ compiler flags
1444 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1445 EVIL_LIBS linker flags for EVIL, overriding pkg-config
1446 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
1447 EINA_LIBS linker flags for EINA, overriding pkg-config
1448 EVAS_CFLAGS C compiler flags for EVAS, overriding pkg-config
1449 EVAS_LIBS linker flags for EVAS, overriding pkg-config
1450 XMKMF Path to xmkmf, Makefile generator for X Window System
1452 XCB_CFLAGS C compiler flags for XCB, overriding pkg-config
1453 XCB_LIBS linker flags for XCB, overriding pkg-config
1454 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
1455 SDL_LIBS linker flags for SDL, overriding pkg-config
1457 C compiler flags for DIRECTFB, overriding pkg-config
1459 linker flags for DIRECTFB, overriding pkg-config
1461 Use these variables to override the choices made by `configure' or to help
1462 it to find libraries and programs with nonstandard names/locations.
1464 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1469 if test "$ac_init_help" = "recursive"; then
1470 # If there are subdirs, report their specific --help.
1471 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1472 test -d "$ac_dir" || continue
1476 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1478 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1479 # A ".." for each directory in $ac_dir_suffix.
1480 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1481 case $ac_top_builddir_sub in
1482 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1483 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1486 ac_abs_top_builddir=$ac_pwd
1487 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1488 # for backward compatibility:
1489 ac_top_builddir=$ac_top_build_prefix
1492 .) # We are building in place.
1494 ac_top_srcdir=$ac_top_builddir_sub
1495 ac_abs_top_srcdir=$ac_pwd ;;
1496 [\\/]* | ?:[\\/]* ) # Absolute name.
1497 ac_srcdir=$srcdir$ac_dir_suffix;
1498 ac_top_srcdir=$srcdir
1499 ac_abs_top_srcdir=$srcdir ;;
1501 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1502 ac_top_srcdir=$ac_top_build_prefix$srcdir
1503 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1505 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1507 cd "$ac_dir" || { ac_status=$?; continue; }
1508 # Check for guested configure.
1509 if test -f "$ac_srcdir/configure.gnu"; then
1511 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1512 elif test -f "$ac_srcdir/configure"; then
1514 $SHELL "$ac_srcdir/configure" --help=recursive
1516 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1518 cd "$ac_pwd" || { ac_status=$?; break; }
1522 test -n "$ac_init_help" && exit $ac_status
1523 if $ac_init_version; then
1525 expedite configure 0.7.0
1526 generated by GNU Autoconf 2.61
1528 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1529 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1530 This configure script is free software; the Free Software Foundation
1531 gives unlimited permission to copy, distribute and modify it.
1535 cat >config.log <<_ACEOF
1536 This file contains any messages produced by compilers while
1537 running configure, to aid debugging if configure makes a mistake.
1539 It was created by expedite $as_me 0.7.0, which was
1540 generated by GNU Autoconf 2.61. Invocation command line was
1552 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1553 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1554 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1555 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1556 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1558 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1559 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1561 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1562 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1563 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1564 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1565 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1566 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1567 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1575 test -z "$as_dir" && as_dir=.
1576 echo "PATH: $as_dir"
1592 # Keep a trace of the command line.
1593 # Strip out --no-create and --no-recursion so they do not pile up.
1594 # Strip out --silent because we don't want to record it for future runs.
1595 # Also quote any args containing shell meta-characters.
1596 # Make two passes to allow for proper duplicate-argument suppression.
1600 ac_must_keep_next=false
1606 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1607 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1608 | -silent | --silent | --silen | --sile | --sil)
1611 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1614 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1616 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1617 if test $ac_must_keep_next = true; then
1618 ac_must_keep_next=false # Got value, back to normal.
1621 *=* | --config-cache | -C | -disable-* | --disable-* \
1622 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1623 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1624 | -with-* | --with-* | -without-* | --without-* | --x)
1625 case "$ac_configure_args0 " in
1626 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1629 -* ) ac_must_keep_next=true ;;
1632 ac_configure_args="$ac_configure_args '$ac_arg'"
1637 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1638 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1640 # When interrupted or exit'd, cleanup temporary files, and complete
1641 # config.log. We remove comments because anyway the quotes in there
1642 # would cause problems or look ugly.
1643 # WARNING: Use '\'' to represent an apostrophe within the trap.
1644 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1645 trap 'exit_status=$?
1646 # Save into config.log some information that might help in debugging.
1651 ## ---------------- ##
1652 ## Cache variables. ##
1653 ## ---------------- ##
1656 # The following way of writing the cache mishandles newlines in values,
1658 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1659 eval ac_val=\$$ac_var
1663 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1664 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1667 _ | IFS | as_nl) ;; #(
1668 *) $as_unset $ac_var ;;
1673 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1674 *${as_nl}ac_space=\ *)
1676 "s/'\''/'\''\\\\'\'''\''/g;
1677 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1680 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1688 ## ----------------- ##
1689 ## Output variables. ##
1690 ## ----------------- ##
1693 for ac_var in $ac_subst_vars
1695 eval ac_val=\$$ac_var
1697 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1699 echo "$ac_var='\''$ac_val'\''"
1703 if test -n "$ac_subst_files"; then
1705 ## ------------------- ##
1706 ## File substitutions. ##
1707 ## ------------------- ##
1710 for ac_var in $ac_subst_files
1712 eval ac_val=\$$ac_var
1714 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1716 echo "$ac_var='\''$ac_val'\''"
1721 if test -s confdefs.h; then
1731 test "$ac_signal" != 0 &&
1732 echo "$as_me: caught signal $ac_signal"
1733 echo "$as_me: exit $exit_status"
1735 rm -f core *.core core.conftest.* &&
1736 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1739 for ac_signal in 1 2 13 15; do
1740 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1744 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1745 rm -f -r conftest* confdefs.h
1747 # Predefined preprocessor variables.
1749 cat >>confdefs.h <<_ACEOF
1750 #define PACKAGE_NAME "$PACKAGE_NAME"
1754 cat >>confdefs.h <<_ACEOF
1755 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1759 cat >>confdefs.h <<_ACEOF
1760 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1764 cat >>confdefs.h <<_ACEOF
1765 #define PACKAGE_STRING "$PACKAGE_STRING"
1769 cat >>confdefs.h <<_ACEOF
1770 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1774 # Let the site file select an alternate cache file if it wants to.
1775 # Prefer explicitly selected file to automatically selected ones.
1776 if test -n "$CONFIG_SITE"; then
1777 set x "$CONFIG_SITE"
1778 elif test "x$prefix" != xNONE; then
1779 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1781 set x "$ac_default_prefix/share/config.site" \
1782 "$ac_default_prefix/etc/config.site"
1787 if test -r "$ac_site_file"; then
1788 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1789 echo "$as_me: loading site script $ac_site_file" >&6;}
1790 sed 's/^/| /' "$ac_site_file" >&5
1795 if test -r "$cache_file"; then
1796 # Some versions of bash will fail to source /dev/null (special
1797 # files actually), so we avoid doing that.
1798 if test -f "$cache_file"; then
1799 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1800 echo "$as_me: loading cache $cache_file" >&6;}
1802 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1803 *) . "./$cache_file";;
1807 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1808 echo "$as_me: creating cache $cache_file" >&6;}
1812 # Check that the precious variables saved in the cache have kept the same
1814 ac_cache_corrupted=false
1815 for ac_var in $ac_precious_vars; do
1816 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1817 eval ac_new_set=\$ac_env_${ac_var}_set
1818 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1819 eval ac_new_val=\$ac_env_${ac_var}_value
1820 case $ac_old_set,$ac_new_set in
1822 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1823 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1824 ac_cache_corrupted=: ;;
1826 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1827 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1828 ac_cache_corrupted=: ;;
1831 if test "x$ac_old_val" != "x$ac_new_val"; then
1832 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1833 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1834 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1835 echo "$as_me: former value: $ac_old_val" >&2;}
1836 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1837 echo "$as_me: current value: $ac_new_val" >&2;}
1838 ac_cache_corrupted=:
1841 # Pass precious variables to config.status.
1842 if test "$ac_new_set" = set; then
1844 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1845 *) ac_arg=$ac_var=$ac_new_val ;;
1847 case " $ac_configure_args " in
1848 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1849 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1853 if $ac_cache_corrupted; then
1854 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1855 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1856 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1857 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1858 { (exit 1); exit 1; }; }
1886 ac_cpp='$CPP $CPPFLAGS'
1887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1894 ac_config_headers="$ac_config_headers config.h"
1897 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1898 if test -f "$ac_dir/install-sh"; then
1900 ac_install_sh="$ac_aux_dir/install-sh -c"
1902 elif test -f "$ac_dir/install.sh"; then
1904 ac_install_sh="$ac_aux_dir/install.sh -c"
1906 elif test -f "$ac_dir/shtool"; then
1908 ac_install_sh="$ac_aux_dir/shtool install -c"
1912 if test -z "$ac_aux_dir"; then
1913 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1914 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1915 { (exit 1); exit 1; }; }
1918 # These three variables are undocumented and unsupported,
1919 # and are intended to be withdrawn in a future Autoconf release.
1920 # They can cause serious problems if a builder's source tree is in a directory
1921 # whose full name contains unusual characters.
1922 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1923 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1924 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1927 # Make sure we can run config.sub.
1928 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1929 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1930 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1931 { (exit 1); exit 1; }; }
1933 { echo "$as_me:$LINENO: checking build system type" >&5
1934 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1935 if test "${ac_cv_build+set}" = set; then
1936 echo $ECHO_N "(cached) $ECHO_C" >&6
1938 ac_build_alias=$build_alias
1939 test "x$ac_build_alias" = x &&
1940 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1941 test "x$ac_build_alias" = x &&
1942 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1943 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1944 { (exit 1); exit 1; }; }
1945 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1946 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1947 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1948 { (exit 1); exit 1; }; }
1951 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1952 echo "${ECHO_T}$ac_cv_build" >&6; }
1953 case $ac_cv_build in
1955 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1956 echo "$as_me: error: invalid value of canonical build" >&2;}
1957 { (exit 1); exit 1; }; };;
1960 ac_save_IFS=$IFS; IFS='-'
1966 # Remember, the first character of IFS is used to create $*,
1967 # except with old shells:
1970 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1973 { echo "$as_me:$LINENO: checking host system type" >&5
1974 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1975 if test "${ac_cv_host+set}" = set; then
1976 echo $ECHO_N "(cached) $ECHO_C" >&6
1978 if test "x$host_alias" = x; then
1979 ac_cv_host=$ac_cv_build
1981 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1982 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1983 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1984 { (exit 1); exit 1; }; }
1988 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1989 echo "${ECHO_T}$ac_cv_host" >&6; }
1992 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1993 echo "$as_me: error: invalid value of canonical host" >&2;}
1994 { (exit 1); exit 1; }; };;
1997 ac_save_IFS=$IFS; IFS='-'
2003 # Remember, the first character of IFS is used to create $*,
2004 # except with old shells:
2007 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2011 am__api_version='1.10'
2013 # Find a good install program. We prefer a C program (faster),
2014 # so one script is as good as another. But avoid the broken or
2015 # incompatible versions:
2016 # SysV /etc/install, /usr/sbin/install
2017 # SunOS /usr/etc/install
2018 # IRIX /sbin/install
2020 # AmigaOS /C/install, which installs bootblocks on floppy discs
2021 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2022 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2023 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2024 # OS/2's system install, which has a completely different semantic
2025 # ./install, which can be erroneously created by make from ./install.sh.
2026 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2027 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2028 if test -z "$INSTALL"; then
2029 if test "${ac_cv_path_install+set}" = set; then
2030 echo $ECHO_N "(cached) $ECHO_C" >&6
2032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2036 test -z "$as_dir" && as_dir=.
2037 # Account for people who put trailing slashes in PATH elements.
2039 ./ | .// | /cC/* | \
2040 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2041 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2044 # OSF1 and SCO ODT 3.0 have their own names for install.
2045 # Don't use installbsd from OSF since it installs stuff as root
2047 for ac_prog in ginstall scoinst install; do
2048 for ac_exec_ext in '' $ac_executable_extensions; do
2049 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2050 if test $ac_prog = install &&
2051 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2052 # AIX install. It has an incompatible calling convention.
2054 elif test $ac_prog = install &&
2055 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2056 # program-specific install script used by HP pwplus--don't use.
2059 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2072 if test "${ac_cv_path_install+set}" = set; then
2073 INSTALL=$ac_cv_path_install
2075 # As a last resort, use the slow shell script. Don't cache a
2076 # value for INSTALL within a source directory, because that will
2077 # break other packages using the cache if that directory is
2078 # removed, or if the value is a relative name.
2079 INSTALL=$ac_install_sh
2082 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2083 echo "${ECHO_T}$INSTALL" >&6; }
2085 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2086 # It thinks the first close brace ends the variable substitution.
2087 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2089 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2091 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2093 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2094 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2097 echo timestamp > conftest.file
2098 # Do `set' in a subshell so we don't clobber the current shell's
2099 # arguments. Must try -L first in case configure is actually a
2100 # symlink; some systems play weird games with the mod time of symlinks
2101 # (eg FreeBSD returns the mod time of the symlink's containing
2104 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2105 if test "$*" = "X"; then
2107 set X `ls -t $srcdir/configure conftest.file`
2110 if test "$*" != "X $srcdir/configure conftest.file" \
2111 && test "$*" != "X conftest.file $srcdir/configure"; then
2113 # If neither matched, then we have a broken ls. This can happen
2114 # if, for instance, CONFIG_SHELL is bash and it inherits a
2115 # broken ls alias from the environment. This has actually
2116 # happened. Such a system could not be considered "sane".
2117 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2118 alias in your environment" >&5
2119 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2120 alias in your environment" >&2;}
2121 { (exit 1); exit 1; }; }
2124 test "$2" = conftest.file
2130 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2131 Check your system clock" >&5
2132 echo "$as_me: error: newly created file is older than distributed files!
2133 Check your system clock" >&2;}
2134 { (exit 1); exit 1; }; }
2136 { echo "$as_me:$LINENO: result: yes" >&5
2137 echo "${ECHO_T}yes" >&6; }
2138 test "$program_prefix" != NONE &&
2139 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2140 # Use a double $ so make ignores it.
2141 test "$program_suffix" != NONE &&
2142 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2143 # Double any \ or $. echo might interpret backslashes.
2144 # By default was `s,x,x', remove it if useless.
2145 cat <<\_ACEOF >conftest.sed
2146 s/[\\$]/&&/g;s/;s,x,x,$//
2148 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2151 # expand $ac_aux_dir to an absolute path
2152 am_aux_dir=`cd $ac_aux_dir && pwd`
2154 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2155 # Use eval to expand $SHELL
2156 if eval "$MISSING --run true"; then
2157 am_missing_run="$MISSING --run "
2160 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2161 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2164 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2165 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2166 if test -z "$MKDIR_P"; then
2167 if test "${ac_cv_path_mkdir+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2174 test -z "$as_dir" && as_dir=.
2175 for ac_prog in mkdir gmkdir; do
2176 for ac_exec_ext in '' $ac_executable_extensions; do
2177 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2178 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2179 'mkdir (GNU coreutils) '* | \
2180 'mkdir (coreutils) '* | \
2181 'mkdir (fileutils) '4.1*)
2182 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2192 if test "${ac_cv_path_mkdir+set}" = set; then
2193 MKDIR_P="$ac_cv_path_mkdir -p"
2195 # As a last resort, use the slow shell script. Don't cache a
2196 # value for MKDIR_P within a source directory, because that will
2197 # break other packages using the cache if that directory is
2198 # removed, or if the value is a relative name.
2199 test -d ./--version && rmdir ./--version
2200 MKDIR_P="$ac_install_sh -d"
2203 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2204 echo "${ECHO_T}$MKDIR_P" >&6; }
2208 [\\/$]* | ?:[\\/]*) ;;
2209 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2212 for ac_prog in gawk mawk nawk awk
2214 # Extract the first word of "$ac_prog", so it can be a program name with args.
2215 set dummy $ac_prog; ac_word=$2
2216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2218 if test "${ac_cv_prog_AWK+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 if test -n "$AWK"; then
2222 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2228 test -z "$as_dir" && as_dir=.
2229 for ac_exec_ext in '' $ac_executable_extensions; do
2230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2231 ac_cv_prog_AWK="$ac_prog"
2232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2242 if test -n "$AWK"; then
2243 { echo "$as_me:$LINENO: result: $AWK" >&5
2244 echo "${ECHO_T}$AWK" >&6; }
2246 { echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6; }
2251 test -n "$AWK" && break
2254 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2255 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2256 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2257 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 cat >conftest.make <<\_ACEOF
2263 @echo '@@@%%%=$(MAKE)=@@@%%%'
2265 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2266 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2268 eval ac_cv_prog_make_${ac_make}_set=yes;;
2270 eval ac_cv_prog_make_${ac_make}_set=no;;
2274 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2275 { echo "$as_me:$LINENO: result: yes" >&5
2276 echo "${ECHO_T}yes" >&6; }
2279 { echo "$as_me:$LINENO: result: no" >&5
2280 echo "${ECHO_T}no" >&6; }
2281 SET_MAKE="MAKE=${MAKE-make}"
2284 rm -rf .tst 2>/dev/null
2285 mkdir .tst 2>/dev/null
2286 if test -d .tst; then
2291 rmdir .tst 2>/dev/null
2293 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2294 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2295 # is not polluted with repeated "-I."
2296 am__isrc=' -I$(srcdir)'
2297 # test to see if srcdir already configured
2298 if test -f $srcdir/config.status; then
2299 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2300 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2301 { (exit 1); exit 1; }; }
2305 # test whether we have cygpath
2306 if test -z "$CYGPATH_W"; then
2307 if (cygpath --version) >/dev/null 2>/dev/null; then
2308 CYGPATH_W='cygpath -w'
2315 # Define the identity of the package.
2320 cat >>confdefs.h <<_ACEOF
2321 #define PACKAGE "$PACKAGE"
2325 cat >>confdefs.h <<_ACEOF
2326 #define VERSION "$VERSION"
2329 # Some tools Automake needs.
2331 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2334 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2337 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2340 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2343 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2345 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2347 # Installed binaries are usually stripped using `strip' when the user
2348 # run `make install-strip'. However `strip' might not be the right
2349 # tool to use in cross-compilation environments, therefore Automake
2350 # will honor the `STRIP' environment variable to overrule this program.
2351 if test "$cross_compiling" != no; then
2352 if test -n "$ac_tool_prefix"; then
2353 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2354 set dummy ${ac_tool_prefix}strip; ac_word=$2
2355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2357 if test "${ac_cv_prog_STRIP+set}" = set; then
2358 echo $ECHO_N "(cached) $ECHO_C" >&6
2360 if test -n "$STRIP"; then
2361 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2367 test -z "$as_dir" && as_dir=.
2368 for ac_exec_ext in '' $ac_executable_extensions; do
2369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2370 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2380 STRIP=$ac_cv_prog_STRIP
2381 if test -n "$STRIP"; then
2382 { echo "$as_me:$LINENO: result: $STRIP" >&5
2383 echo "${ECHO_T}$STRIP" >&6; }
2385 { echo "$as_me:$LINENO: result: no" >&5
2386 echo "${ECHO_T}no" >&6; }
2391 if test -z "$ac_cv_prog_STRIP"; then
2393 # Extract the first word of "strip", so it can be a program name with args.
2394 set dummy strip; ac_word=$2
2395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2397 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2398 echo $ECHO_N "(cached) $ECHO_C" >&6
2400 if test -n "$ac_ct_STRIP"; then
2401 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2407 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2410 ac_cv_prog_ac_ct_STRIP="strip"
2411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2420 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2421 if test -n "$ac_ct_STRIP"; then
2422 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2423 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2425 { echo "$as_me:$LINENO: result: no" >&5
2426 echo "${ECHO_T}no" >&6; }
2429 if test "x$ac_ct_STRIP" = x; then
2432 case $cross_compiling:$ac_tool_warned in
2434 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2435 whose name does not start with the host triplet. If you think this
2436 configuration is useful to you, please write to autoconf@gnu.org." >&5
2437 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2438 whose name does not start with the host triplet. If you think this
2439 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2440 ac_tool_warned=yes ;;
2445 STRIP="$ac_cv_prog_STRIP"
2449 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2451 # We need awk for the "check" target. The system "awk" is bad on
2453 # Always define AMTAR for backward compatibility.
2455 AMTAR=${AMTAR-"${am_missing_run}tar"}
2457 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2467 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2468 if test -n "$ac_tool_prefix"; then
2469 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2470 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2471 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2473 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2474 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2485 test -z "$as_dir" && as_dir=.
2486 for ac_exec_ext in '' $ac_executable_extensions; do
2487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2488 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2499 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2500 if test -n "$PKG_CONFIG"; then
2501 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2502 echo "${ECHO_T}$PKG_CONFIG" >&6; }
2504 { echo "$as_me:$LINENO: result: no" >&5
2505 echo "${ECHO_T}no" >&6; }
2510 if test -z "$ac_cv_path_PKG_CONFIG"; then
2511 ac_pt_PKG_CONFIG=$PKG_CONFIG
2512 # Extract the first word of "pkg-config", so it can be a program name with args.
2513 set dummy pkg-config; ac_word=$2
2514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2516 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 case $ac_pt_PKG_CONFIG in
2521 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2528 test -z "$as_dir" && as_dir=.
2529 for ac_exec_ext in '' $ac_executable_extensions; do
2530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2531 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2542 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2543 if test -n "$ac_pt_PKG_CONFIG"; then
2544 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
2545 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
2547 { echo "$as_me:$LINENO: result: no" >&5
2548 echo "${ECHO_T}no" >&6; }
2551 if test "x$ac_pt_PKG_CONFIG" = x; then
2554 case $cross_compiling:$ac_tool_warned in
2556 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2557 whose name does not start with the host triplet. If you think this
2558 configuration is useful to you, please write to autoconf@gnu.org." >&5
2559 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2560 whose name does not start with the host triplet. If you think this
2561 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2562 ac_tool_warned=yes ;;
2564 PKG_CONFIG=$ac_pt_PKG_CONFIG
2567 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2571 if test -n "$PKG_CONFIG"; then
2572 _pkg_min_version=0.9.0
2573 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
2574 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
2575 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2576 { echo "$as_me:$LINENO: result: yes" >&5
2577 echo "${ECHO_T}yes" >&6; }
2579 { echo "$as_me:$LINENO: result: no" >&5
2580 echo "${ECHO_T}no" >&6; }
2587 ### Additional options to configure
2589 ## Simple X11 build/link
2593 # Check whether --enable-simple-x11 was given.
2594 if test "${enable_simple_x11+set}" = set; then
2595 enableval=$enable_simple_x11; want_evas_simple_x11=$enableval
2601 have_software_xlib="no"
2602 have_software_xcb="no"
2605 want_software_x11="yes"
2606 have_software_x11="no"
2608 # Check whether --enable-software-x11 was given.
2609 if test "${enable_software_x11+set}" = set; then
2610 enableval=$enable_software_x11; want_software_x11=$enableval
2615 { echo "$as_me:$LINENO: checking whether Software X11 engine is to be built" >&5
2616 echo $ECHO_N "checking whether Software X11 engine is to be built... $ECHO_C" >&6; }
2617 { echo "$as_me:$LINENO: result: $want_software_x11" >&5
2618 echo "${ECHO_T}$want_software_x11" >&6; }
2620 if test "x$want_software_x11" = "xyes"; then
2621 if test -n "$PKG_CONFIG" && \
2622 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-software-x11\"") >&5
2623 ($PKG_CONFIG --exists --print-errors "evas-software-x11") 2>&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); }; then
2629 cat >>confdefs.h <<\_ACEOF
2630 #define HAVE_EVAS_SOFTWARE_X11 1
2633 have_software_x11="yes"
2636 have_software_x11="no"
2641 { echo "$as_me:$LINENO: checking whether Software X11 engine is available" >&5
2642 echo $ECHO_N "checking whether Software X11 engine is available... $ECHO_C" >&6; }
2643 { echo "$as_me:$LINENO: result: $have_software_x11" >&5
2644 echo "${ECHO_T}$have_software_x11" >&6; }
2646 if test "x$have_software_x11" = "xyes"; then
2647 BUILD_SOFTWARE_X11_TRUE=
2648 BUILD_SOFTWARE_X11_FALSE='#'
2650 BUILD_SOFTWARE_X11_TRUE='#'
2651 BUILD_SOFTWARE_X11_FALSE=
2655 if test "x$have_software_x11" = "xyes" ; then
2665 if test "x${have_software_x11}" = "xyes" ; then
2666 have_software_xlib=`${PKG_CONFIG} --variable=Xlib evas-software-x11`
2667 if test "x${have_software_xlib}" = "xyes" ; then
2669 cat >>confdefs.h <<\_ACEOF
2670 #define HAVE_EVAS_SOFTWARE_XLIB 1
2674 have_software_xcb=`${PKG_CONFIG} --variable=XCB evas-software-x11`
2675 if test "x${have_software_xcb}" = "xyes" ; then
2677 cat >>confdefs.h <<\_ACEOF
2678 #define HAVE_EVAS_SOFTWARE_XCB 1
2684 if test "x${have_software_xlib}" = "xyes"; then
2685 BUILD_SOFTWARE_XLIB_TRUE=
2686 BUILD_SOFTWARE_XLIB_FALSE='#'
2688 BUILD_SOFTWARE_XLIB_TRUE='#'
2689 BUILD_SOFTWARE_XLIB_FALSE=
2692 if test "x${have_software_xcb}" = "xyes"; then
2693 BUILD_SOFTWARE_XCB_TRUE=
2694 BUILD_SOFTWARE_XCB_FALSE='#'
2696 BUILD_SOFTWARE_XCB_TRUE='#'
2697 BUILD_SOFTWARE_XCB_FALSE=
2704 want_xrender_x11="yes"
2705 have_xrender_x11="no"
2707 # Check whether --enable-xrender-x11 was given.
2708 if test "${enable_xrender_x11+set}" = set; then
2709 enableval=$enable_xrender_x11; want_xrender_x11=$enableval
2714 { echo "$as_me:$LINENO: checking whether XRender X11 engine is to be built" >&5
2715 echo $ECHO_N "checking whether XRender X11 engine is to be built... $ECHO_C" >&6; }
2716 { echo "$as_me:$LINENO: result: $want_xrender_x11" >&5
2717 echo "${ECHO_T}$want_xrender_x11" >&6; }
2719 if test "x$want_xrender_x11" = "xyes"; then
2720 if test -n "$PKG_CONFIG" && \
2721 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-xrender-x11\"") >&5
2722 ($PKG_CONFIG --exists --print-errors "evas-xrender-x11") 2>&5
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); }; then
2728 cat >>confdefs.h <<\_ACEOF
2729 #define HAVE_EVAS_XRENDER_X11 1
2732 have_xrender_x11="yes"
2735 have_xrender_x11="no"
2740 { echo "$as_me:$LINENO: checking whether XRender X11 engine is available" >&5
2741 echo $ECHO_N "checking whether XRender X11 engine is available... $ECHO_C" >&6; }
2742 { echo "$as_me:$LINENO: result: $have_xrender_x11" >&5
2743 echo "${ECHO_T}$have_xrender_x11" >&6; }
2745 if test "x$have_xrender_x11" = "xyes"; then
2746 BUILD_XRENDER_X11_TRUE=
2747 BUILD_XRENDER_X11_FALSE='#'
2749 BUILD_XRENDER_X11_TRUE='#'
2750 BUILD_XRENDER_X11_FALSE=
2754 if test "x$have_xrender_x11" = "xyes" ; then
2767 want_opengl_x11="yes"
2768 have_opengl_x11="no"
2770 # Check whether --enable-opengl-x11 was given.
2771 if test "${enable_opengl_x11+set}" = set; then
2772 enableval=$enable_opengl_x11; want_opengl_x11=$enableval
2777 { echo "$as_me:$LINENO: checking whether OpenGL X11 engine is to be built" >&5
2778 echo $ECHO_N "checking whether OpenGL X11 engine is to be built... $ECHO_C" >&6; }
2779 { echo "$as_me:$LINENO: result: $want_opengl_x11" >&5
2780 echo "${ECHO_T}$want_opengl_x11" >&6; }
2782 if test "x$want_opengl_x11" = "xyes"; then
2783 if test -n "$PKG_CONFIG" && \
2784 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-opengl-x11\"") >&5
2785 ($PKG_CONFIG --exists --print-errors "evas-opengl-x11") 2>&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; then
2791 cat >>confdefs.h <<\_ACEOF
2792 #define HAVE_EVAS_OPENGL_X11 1
2795 have_opengl_x11="yes"
2798 have_opengl_x11="no"
2803 { echo "$as_me:$LINENO: checking whether OpenGL X11 engine is available" >&5
2804 echo $ECHO_N "checking whether OpenGL X11 engine is available... $ECHO_C" >&6; }
2805 { echo "$as_me:$LINENO: result: $have_opengl_x11" >&5
2806 echo "${ECHO_T}$have_opengl_x11" >&6; }
2808 if test "x$have_opengl_x11" = "xyes"; then
2809 BUILD_OPENGL_X11_TRUE=
2810 BUILD_OPENGL_X11_FALSE='#'
2812 BUILD_OPENGL_X11_TRUE='#'
2813 BUILD_OPENGL_X11_FALSE=
2817 if test "x$have_opengl_x11" = "xyes" ; then
2830 want_xrender_xcb="yes"
2831 have_xrender_xcb="no"
2833 # Check whether --enable-xrender-xcb was given.
2834 if test "${enable_xrender_xcb+set}" = set; then
2835 enableval=$enable_xrender_xcb; want_xrender_xcb=$enableval
2840 { echo "$as_me:$LINENO: checking whether XRender XCB engine is to be built" >&5
2841 echo $ECHO_N "checking whether XRender XCB engine is to be built... $ECHO_C" >&6; }
2842 { echo "$as_me:$LINENO: result: $want_xrender_xcb" >&5
2843 echo "${ECHO_T}$want_xrender_xcb" >&6; }
2845 if test "x$want_xrender_xcb" = "xyes"; then
2846 if test -n "$PKG_CONFIG" && \
2847 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-xrender-xcb\"") >&5
2848 ($PKG_CONFIG --exists --print-errors "evas-xrender-xcb") 2>&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }; then
2854 cat >>confdefs.h <<\_ACEOF
2855 #define HAVE_EVAS_XRENDER_XCB 1
2858 have_xrender_xcb="yes"
2861 have_xrender_xcb="no"
2866 { echo "$as_me:$LINENO: checking whether XRender XCB engine is available" >&5
2867 echo $ECHO_N "checking whether XRender XCB engine is available... $ECHO_C" >&6; }
2868 { echo "$as_me:$LINENO: result: $have_xrender_xcb" >&5
2869 echo "${ECHO_T}$have_xrender_xcb" >&6; }
2871 if test "x$have_xrender_xcb" = "xyes"; then
2872 BUILD_XRENDER_XCB_TRUE=
2873 BUILD_XRENDER_XCB_FALSE='#'
2875 BUILD_XRENDER_XCB_TRUE='#'
2876 BUILD_XRENDER_XCB_FALSE=
2880 if test "x$have_xrender_xcb" = "xyes" ; then
2893 want_software_gdi="yes"
2894 have_software_gdi="no"
2896 # Check whether --enable-software-gdi was given.
2897 if test "${enable_software_gdi+set}" = set; then
2898 enableval=$enable_software_gdi; want_software_gdi=$enableval
2903 { echo "$as_me:$LINENO: checking whether Software GDI engine is to be built" >&5
2904 echo $ECHO_N "checking whether Software GDI engine is to be built... $ECHO_C" >&6; }
2905 { echo "$as_me:$LINENO: result: $want_software_gdi" >&5
2906 echo "${ECHO_T}$want_software_gdi" >&6; }
2908 if test "x$want_software_gdi" = "xyes"; then
2909 if test -n "$PKG_CONFIG" && \
2910 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-software-gdi\"") >&5
2911 ($PKG_CONFIG --exists --print-errors "evas-software-gdi") 2>&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); }; then
2917 cat >>confdefs.h <<\_ACEOF
2918 #define HAVE_EVAS_SOFTWARE_GDI 1
2921 have_software_gdi="yes"
2924 have_software_gdi="no"
2929 { echo "$as_me:$LINENO: checking whether Software GDI engine is available" >&5
2930 echo $ECHO_N "checking whether Software GDI engine is available... $ECHO_C" >&6; }
2931 { echo "$as_me:$LINENO: result: $have_software_gdi" >&5
2932 echo "${ECHO_T}$have_software_gdi" >&6; }
2934 if test "x$have_software_gdi" = "xyes"; then
2935 BUILD_SOFTWARE_GDI_TRUE=
2936 BUILD_SOFTWARE_GDI_FALSE='#'
2938 BUILD_SOFTWARE_GDI_TRUE='#'
2939 BUILD_SOFTWARE_GDI_FALSE=
2943 if test "x$have_software_gdi" = "xyes" ; then
2957 want_software_ddraw="yes"
2958 have_software_ddraw="no"
2960 # Check whether --enable-software-ddraw was given.
2961 if test "${enable_software_ddraw+set}" = set; then
2962 enableval=$enable_software_ddraw; want_software_ddraw=$enableval
2967 { echo "$as_me:$LINENO: checking whether Software DirectDraw engine is to be built" >&5
2968 echo $ECHO_N "checking whether Software DirectDraw engine is to be built... $ECHO_C" >&6; }
2969 { echo "$as_me:$LINENO: result: $want_software_ddraw" >&5
2970 echo "${ECHO_T}$want_software_ddraw" >&6; }
2972 if test "x$want_software_ddraw" = "xyes"; then
2973 if test -n "$PKG_CONFIG" && \
2974 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-software-ddraw\"") >&5
2975 ($PKG_CONFIG --exists --print-errors "evas-software-ddraw") 2>&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }; then
2981 cat >>confdefs.h <<\_ACEOF
2982 #define HAVE_EVAS_SOFTWARE_DDRAW 1
2985 have_software_ddraw="yes"
2988 have_software_ddraw="no"
2993 { echo "$as_me:$LINENO: checking whether Software DirectDraw engine is available" >&5
2994 echo $ECHO_N "checking whether Software DirectDraw engine is available... $ECHO_C" >&6; }
2995 { echo "$as_me:$LINENO: result: $have_software_ddraw" >&5
2996 echo "${ECHO_T}$have_software_ddraw" >&6; }
2998 if test "x$have_software_ddraw" = "xyes"; then
2999 BUILD_SOFTWARE_DDRAW_TRUE=
3000 BUILD_SOFTWARE_DDRAW_FALSE='#'
3002 BUILD_SOFTWARE_DDRAW_TRUE='#'
3003 BUILD_SOFTWARE_DDRAW_FALSE=
3007 if test "x$have_software_ddraw" = "xyes" ; then
3008 ddraw_libs="-lddraw -ldxguid -lgdi32"
3024 # Check whether --enable-direct3d was given.
3025 if test "${enable_direct3d+set}" = set; then
3026 enableval=$enable_direct3d; want_direct3d=$enableval
3031 { echo "$as_me:$LINENO: checking whether Direct3D engine is to be built" >&5
3032 echo $ECHO_N "checking whether Direct3D engine is to be built... $ECHO_C" >&6; }
3033 { echo "$as_me:$LINENO: result: $want_direct3d" >&5
3034 echo "${ECHO_T}$want_direct3d" >&6; }
3036 if test "x$want_direct3d" = "xyes"; then
3037 if test -n "$PKG_CONFIG" && \
3038 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-direct3d\"") >&5
3039 ($PKG_CONFIG --exists --print-errors "evas-direct3d") 2>&5
3041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042 (exit $ac_status); }; then
3045 cat >>confdefs.h <<\_ACEOF
3046 #define HAVE_EVAS_DIRECT3D 1
3057 { echo "$as_me:$LINENO: checking whether Direct3D engine is available" >&5
3058 echo $ECHO_N "checking whether Direct3D engine is available... $ECHO_C" >&6; }
3059 { echo "$as_me:$LINENO: result: $have_direct3d" >&5
3060 echo "${ECHO_T}$have_direct3d" >&6; }
3062 if test "x$have_direct3d" = "xyes"; then
3063 BUILD_DIRECT3D_TRUE=
3064 BUILD_DIRECT3D_FALSE='#'
3066 BUILD_DIRECT3D_TRUE='#'
3067 BUILD_DIRECT3D_FALSE=
3071 if test "x$have_direct3d" = "xyes" ; then
3072 d3d_libs="-ld3d9 -ld3dx9d -lgdi32"
3085 want_opengl_glew="yes"
3086 have_opengl_glew="no"
3088 # Check whether --enable-opengl-glew was given.
3089 if test "${enable_opengl_glew+set}" = set; then
3090 enableval=$enable_opengl_glew; want_opengl_glew=$enableval
3095 { echo "$as_me:$LINENO: checking whether OpenGL Glew engine is to be built" >&5
3096 echo $ECHO_N "checking whether OpenGL Glew engine is to be built... $ECHO_C" >&6; }
3097 { echo "$as_me:$LINENO: result: $want_opengl_glew" >&5
3098 echo "${ECHO_T}$want_opengl_glew" >&6; }
3100 if test "x$want_opengl_glew" = "xyes"; then
3101 if test -n "$PKG_CONFIG" && \
3102 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-opengl-glew\"") >&5
3103 ($PKG_CONFIG --exists --print-errors "evas-opengl-glew") 2>&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); }; then
3109 cat >>confdefs.h <<\_ACEOF
3110 #define HAVE_EVAS_OPENGL_GLEW 1
3113 have_opengl_glew="yes"
3116 have_opengl_glew="no"
3121 { echo "$as_me:$LINENO: checking whether OpenGL Glew engine is available" >&5
3122 echo $ECHO_N "checking whether OpenGL Glew engine is available... $ECHO_C" >&6; }
3123 { echo "$as_me:$LINENO: result: $have_opengl_glew" >&5
3124 echo "${ECHO_T}$have_opengl_glew" >&6; }
3126 if test "x$have_opengl_glew" = "xyes"; then
3127 BUILD_OPENGL_GLEW_TRUE=
3128 BUILD_OPENGL_GLEW_FALSE='#'
3130 BUILD_OPENGL_GLEW_TRUE='#'
3131 BUILD_OPENGL_GLEW_FALSE=
3135 if test "x$have_opengl_glew" = "xyes" ; then
3136 glew_libs="-lglew32 -lgdi32"
3149 want_software_sdl="yes"
3150 have_software_sdl="no"
3152 # Check whether --enable-software-sdl was given.
3153 if test "${enable_software_sdl+set}" = set; then
3154 enableval=$enable_software_sdl; want_software_sdl=$enableval
3159 { echo "$as_me:$LINENO: checking whether Software SDL engine is to be built" >&5
3160 echo $ECHO_N "checking whether Software SDL engine is to be built... $ECHO_C" >&6; }
3161 { echo "$as_me:$LINENO: result: $want_software_sdl" >&5
3162 echo "${ECHO_T}$want_software_sdl" >&6; }
3164 if test "x$want_software_sdl" = "xyes"; then
3165 if test -n "$PKG_CONFIG" && \
3166 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-software-sdl\"") >&5
3167 ($PKG_CONFIG --exists --print-errors "evas-software-sdl") 2>&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); }; then
3173 cat >>confdefs.h <<\_ACEOF
3174 #define HAVE_EVAS_SOFTWARE_SDL 1
3177 have_software_sdl="yes"
3180 have_software_sdl="no"
3185 { echo "$as_me:$LINENO: checking whether Software SDL engine is available" >&5
3186 echo $ECHO_N "checking whether Software SDL engine is available... $ECHO_C" >&6; }
3187 { echo "$as_me:$LINENO: result: $have_software_sdl" >&5
3188 echo "${ECHO_T}$have_software_sdl" >&6; }
3190 if test "x$have_software_sdl" = "xyes"; then
3191 BUILD_SOFTWARE_SDL_TRUE=
3192 BUILD_SOFTWARE_SDL_FALSE='#'
3194 BUILD_SOFTWARE_SDL_TRUE='#'
3195 BUILD_SOFTWARE_SDL_FALSE=
3199 if test "x$have_software_sdl" = "xyes" ; then
3212 want_opengl_sdl="yes"
3213 have_opengl_sdl="no"
3215 # Check whether --enable-opengl-sdl was given.
3216 if test "${enable_opengl_sdl+set}" = set; then
3217 enableval=$enable_opengl_sdl; want_opengl_sdl=$enableval
3222 { echo "$as_me:$LINENO: checking whether OpenGL SDL engine is to be built" >&5
3223 echo $ECHO_N "checking whether OpenGL SDL engine is to be built... $ECHO_C" >&6; }
3224 { echo "$as_me:$LINENO: result: $want_opengl_sdl" >&5
3225 echo "${ECHO_T}$want_opengl_sdl" >&6; }
3227 if test "x$want_opengl_sdl" = "xyes"; then
3228 if test -n "$PKG_CONFIG" && \
3229 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-opengl-sdl\"") >&5
3230 ($PKG_CONFIG --exists --print-errors "evas-opengl-sdl") 2>&5
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); }; then
3236 cat >>confdefs.h <<\_ACEOF
3237 #define HAVE_EVAS_OPENGL_SDL 1
3240 have_opengl_sdl="yes"
3243 have_opengl_sdl="no"
3248 { echo "$as_me:$LINENO: checking whether OpenGL SDL engine is available" >&5
3249 echo $ECHO_N "checking whether OpenGL SDL engine is available... $ECHO_C" >&6; }
3250 { echo "$as_me:$LINENO: result: $have_opengl_sdl" >&5
3251 echo "${ECHO_T}$have_opengl_sdl" >&6; }
3253 if test "x$have_opengl_sdl" = "xyes"; then
3254 BUILD_OPENGL_SDL_TRUE=
3255 BUILD_OPENGL_SDL_FALSE='#'
3257 BUILD_OPENGL_SDL_TRUE='#'
3258 BUILD_OPENGL_SDL_FALSE=
3262 if test "x$have_opengl_sdl" = "xyes" ; then
3278 # Check whether --enable-fb was given.
3279 if test "${enable_fb+set}" = set; then
3280 enableval=$enable_fb; want_fb=$enableval
3285 { echo "$as_me:$LINENO: checking whether Framebuffer engine is to be built" >&5
3286 echo $ECHO_N "checking whether Framebuffer engine is to be built... $ECHO_C" >&6; }
3287 { echo "$as_me:$LINENO: result: $want_fb" >&5
3288 echo "${ECHO_T}$want_fb" >&6; }
3290 if test "x$want_fb" = "xyes"; then
3291 if test -n "$PKG_CONFIG" && \
3292 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-fb\"") >&5
3293 ($PKG_CONFIG --exists --print-errors "evas-fb") 2>&5
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); }; then
3299 cat >>confdefs.h <<\_ACEOF
3300 #define HAVE_EVAS_FB 1
3311 { echo "$as_me:$LINENO: checking whether Framebuffer engine is available" >&5
3312 echo $ECHO_N "checking whether Framebuffer engine is available... $ECHO_C" >&6; }
3313 { echo "$as_me:$LINENO: result: $have_fb" >&5
3314 echo "${ECHO_T}$have_fb" >&6; }
3316 if test "x$have_fb" = "xyes"; then
3325 if test "x$have_fb" = "xyes" ; then
3341 # Check whether --enable-directfb was given.
3342 if test "${enable_directfb+set}" = set; then
3343 enableval=$enable_directfb; want_directfb=$enableval
3348 { echo "$as_me:$LINENO: checking whether DirectFB engine is to be built" >&5
3349 echo $ECHO_N "checking whether DirectFB engine is to be built... $ECHO_C" >&6; }
3350 { echo "$as_me:$LINENO: result: $want_directfb" >&5
3351 echo "${ECHO_T}$want_directfb" >&6; }
3353 if test "x$want_directfb" = "xyes"; then
3354 if test -n "$PKG_CONFIG" && \
3355 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-directfb\"") >&5
3356 ($PKG_CONFIG --exists --print-errors "evas-directfb") 2>&5
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); }; then
3362 cat >>confdefs.h <<\_ACEOF
3363 #define HAVE_EVAS_DIRECTFB 1
3374 { echo "$as_me:$LINENO: checking whether DirectFB engine is available" >&5
3375 echo $ECHO_N "checking whether DirectFB engine is available... $ECHO_C" >&6; }
3376 { echo "$as_me:$LINENO: result: $have_directfb" >&5
3377 echo "${ECHO_T}$have_directfb" >&6; }
3379 if test "x$have_directfb" = "xyes"; then
3380 BUILD_DIRECTFB_TRUE=
3381 BUILD_DIRECTFB_FALSE='#'
3383 BUILD_DIRECTFB_TRUE='#'
3384 BUILD_DIRECTFB_FALSE=
3388 if test "x$have_directfb" = "xyes" ; then
3404 # Check whether --enable-quartz was given.
3405 if test "${enable_quartz+set}" = set; then
3406 enableval=$enable_quartz; want_quartz=$enableval
3411 { echo "$as_me:$LINENO: checking whether Quartz engine is to be built" >&5
3412 echo $ECHO_N "checking whether Quartz engine is to be built... $ECHO_C" >&6; }
3413 { echo "$as_me:$LINENO: result: $want_quartz" >&5
3414 echo "${ECHO_T}$want_quartz" >&6; }
3416 if test "x$want_quartz" = "xyes"; then
3417 if test -n "$PKG_CONFIG" && \
3418 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-quartz\"") >&5
3419 ($PKG_CONFIG --exists --print-errors "evas-quartz") 2>&5
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); }; then
3425 cat >>confdefs.h <<\_ACEOF
3426 #define HAVE_EVAS_QUARTZ 1
3437 { echo "$as_me:$LINENO: checking whether Quartz engine is available" >&5
3438 echo $ECHO_N "checking whether Quartz engine is available... $ECHO_C" >&6; }
3439 { echo "$as_me:$LINENO: result: $have_quartz" >&5
3440 echo "${ECHO_T}$have_quartz" >&6; }
3442 if test "x$have_quartz" = "xyes"; then
3444 BUILD_QUARTZ_FALSE='#'
3446 BUILD_QUARTZ_TRUE='#'
3451 if test "x$have_quartz" = "xyes" ; then
3452 quartz_libs="-framework Cocoa -framework ApplicationServices"
3462 # Software 16bit X11
3465 want_software_16_x11="yes"
3466 have_software_16_x11="no"
3468 # Check whether --enable-software-16-x11 was given.
3469 if test "${enable_software_16_x11+set}" = set; then
3470 enableval=$enable_software_16_x11; want_software_16_x11=$enableval
3475 { echo "$as_me:$LINENO: checking whether Software 16 bits X11 engine is to be built" >&5
3476 echo $ECHO_N "checking whether Software 16 bits X11 engine is to be built... $ECHO_C" >&6; }
3477 { echo "$as_me:$LINENO: result: $want_software_16_x11" >&5
3478 echo "${ECHO_T}$want_software_16_x11" >&6; }
3480 if test "x$want_software_16_x11" = "xyes"; then
3481 if test -n "$PKG_CONFIG" && \
3482 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-software-16-x11\"") >&5
3483 ($PKG_CONFIG --exists --print-errors "evas-software-16-x11") 2>&5
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); }; then
3489 cat >>confdefs.h <<\_ACEOF
3490 #define HAVE_EVAS_SOFTWARE_16_X11 1
3493 have_software_16_x11="yes"
3496 have_software_16_x11="no"
3501 { echo "$as_me:$LINENO: checking whether Software 16 bits X11 engine is available" >&5
3502 echo $ECHO_N "checking whether Software 16 bits X11 engine is available... $ECHO_C" >&6; }
3503 { echo "$as_me:$LINENO: result: $have_software_16_x11" >&5
3504 echo "${ECHO_T}$have_software_16_x11" >&6; }
3506 if test "x$have_software_16_x11" = "xyes"; then
3507 BUILD_SOFTWARE_16_X11_TRUE=
3508 BUILD_SOFTWARE_16_X11_FALSE='#'
3510 BUILD_SOFTWARE_16_X11_TRUE='#'
3511 BUILD_SOFTWARE_16_X11_FALSE=
3515 if test "x$have_software_16_x11" = "xyes" ; then
3528 want_software_16_ddraw="yes"
3529 have_software_16_ddraw="no"
3531 # Check whether --enable-software-16-ddraw was given.
3532 if test "${enable_software_16_ddraw+set}" = set; then
3533 enableval=$enable_software_16_ddraw; want_software_16_ddraw=$enableval
3538 { echo "$as_me:$LINENO: checking whether Software 16 bits DirectDraw engine is to be built" >&5
3539 echo $ECHO_N "checking whether Software 16 bits DirectDraw engine is to be built... $ECHO_C" >&6; }
3540 { echo "$as_me:$LINENO: result: $want_software_16_ddraw" >&5
3541 echo "${ECHO_T}$want_software_16_ddraw" >&6; }
3543 if test "x$want_software_16_ddraw" = "xyes"; then
3544 if test -n "$PKG_CONFIG" && \
3545 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-software-16-ddraw\"") >&5
3546 ($PKG_CONFIG --exists --print-errors "evas-software-16-ddraw") 2>&5
3548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549 (exit $ac_status); }; then
3552 cat >>confdefs.h <<\_ACEOF
3553 #define HAVE_EVAS_SOFTWARE_16_DDRAW 1
3556 have_software_16_ddraw="yes"
3559 have_software_16_ddraw="no"
3564 { echo "$as_me:$LINENO: checking whether Software 16 bits DirectDraw engine is available" >&5
3565 echo $ECHO_N "checking whether Software 16 bits DirectDraw engine is available... $ECHO_C" >&6; }
3566 { echo "$as_me:$LINENO: result: $have_software_16_ddraw" >&5
3567 echo "${ECHO_T}$have_software_16_ddraw" >&6; }
3569 if test "x$have_software_16_ddraw" = "xyes"; then
3570 BUILD_SOFTWARE_16_DDRAW_TRUE=
3571 BUILD_SOFTWARE_16_DDRAW_FALSE='#'
3573 BUILD_SOFTWARE_16_DDRAW_TRUE='#'
3574 BUILD_SOFTWARE_16_DDRAW_FALSE=
3578 if test "x$have_software_16_ddraw" = "xyes" ; then
3579 ddraw_16_libs="-lddraw -ldxguid"
3592 want_software_16_wince="yes"
3593 have_software_16_wince="no"
3595 # Check whether --enable-software-16-wince was given.
3596 if test "${enable_software_16_wince+set}" = set; then
3597 enableval=$enable_software_16_wince; want_software_16_wince=$enableval
3602 { echo "$as_me:$LINENO: checking whether Software 16 bits WinCE engine is to be built" >&5
3603 echo $ECHO_N "checking whether Software 16 bits WinCE engine is to be built... $ECHO_C" >&6; }
3604 { echo "$as_me:$LINENO: result: $want_software_16_wince" >&5
3605 echo "${ECHO_T}$want_software_16_wince" >&6; }
3607 if test "x$want_software_16_wince" = "xyes"; then
3608 if test -n "$PKG_CONFIG" && \
3609 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-software-16-wince\"") >&5
3610 ($PKG_CONFIG --exists --print-errors "evas-software-16-wince") 2>&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); }; then
3616 cat >>confdefs.h <<\_ACEOF
3617 #define HAVE_EVAS_SOFTWARE_16_WINCE 1
3620 have_software_16_wince="yes"
3623 have_software_16_wince="no"
3628 { echo "$as_me:$LINENO: checking whether Software 16 bits WinCE engine is available" >&5
3629 echo $ECHO_N "checking whether Software 16 bits WinCE engine is available... $ECHO_C" >&6; }
3630 { echo "$as_me:$LINENO: result: $have_software_16_wince" >&5
3631 echo "${ECHO_T}$have_software_16_wince" >&6; }
3633 if test "x$have_software_16_wince" = "xyes"; then
3634 BUILD_SOFTWARE_16_WINCE_TRUE=
3635 BUILD_SOFTWARE_16_WINCE_FALSE='#'
3637 BUILD_SOFTWARE_16_WINCE_TRUE='#'
3638 BUILD_SOFTWARE_16_WINCE_FALSE=
3642 if test "x$have_software_16_wince" = "xyes" ; then
3643 wince_16_libs="-laygshell"
3653 ### Checks for programs
3655 DEPDIR="${am__leading_dot}deps"
3657 ac_config_commands="$ac_config_commands depfiles"
3660 am_make=${MAKE-make}
3661 cat > confinc << 'END'
3666 # If we don't find an include directive, just comment out the code.
3667 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3668 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3672 # First try GNU make style include.
3673 echo "include confinc" > confmf
3674 # We grep out `Entering directory' and `Leaving directory'
3675 # messages which can occur if `w' ends up in MAKEFLAGS.
3676 # In particular we don't look at `^make:' because GNU make might
3677 # be invoked under some other name (usually "gmake"), in which
3678 # case it prints its new name instead of `make'.
3679 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3684 # Now try BSD make style include.
3685 if test "$am__include" = "#"; then
3686 echo '.include "confinc"' > confmf
3687 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3688 am__include=.include
3695 { echo "$as_me:$LINENO: result: $_am_result" >&5
3696 echo "${ECHO_T}$_am_result" >&6; }
3697 rm -f confinc confmf
3699 # Check whether --enable-dependency-tracking was given.
3700 if test "${enable_dependency_tracking+set}" = set; then
3701 enableval=$enable_dependency_tracking;
3704 if test "x$enable_dependency_tracking" != xno; then
3705 am_depcomp="$ac_aux_dir/depcomp"
3708 if test "x$enable_dependency_tracking" != xno; then
3718 ac_cpp='$CPP $CPPFLAGS'
3719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3722 if test -n "$ac_tool_prefix"; then
3723 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3724 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3727 if test "${ac_cv_prog_CC+set}" = set; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 if test -n "$CC"; then
3731 ac_cv_prog_CC="$CC" # Let the user override the test.
3733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3737 test -z "$as_dir" && as_dir=.
3738 for ac_exec_ext in '' $ac_executable_extensions; do
3739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3740 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 if test -n "$CC"; then
3752 { echo "$as_me:$LINENO: result: $CC" >&5
3753 echo "${ECHO_T}$CC" >&6; }
3755 { echo "$as_me:$LINENO: result: no" >&5
3756 echo "${ECHO_T}no" >&6; }
3761 if test -z "$ac_cv_prog_CC"; then
3763 # Extract the first word of "gcc", so it can be a program name with args.
3764 set dummy gcc; ac_word=$2
3765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3767 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3768 echo $ECHO_N "(cached) $ECHO_C" >&6
3770 if test -n "$ac_ct_CC"; then
3771 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777 test -z "$as_dir" && as_dir=.
3778 for ac_exec_ext in '' $ac_executable_extensions; do
3779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3780 ac_cv_prog_ac_ct_CC="gcc"
3781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3790 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3791 if test -n "$ac_ct_CC"; then
3792 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3793 echo "${ECHO_T}$ac_ct_CC" >&6; }
3795 { echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6; }
3799 if test "x$ac_ct_CC" = x; then
3802 case $cross_compiling:$ac_tool_warned in
3804 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3805 whose name does not start with the host triplet. If you think this
3806 configuration is useful to you, please write to autoconf@gnu.org." >&5
3807 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3808 whose name does not start with the host triplet. If you think this
3809 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3810 ac_tool_warned=yes ;;
3818 if test -z "$CC"; then
3819 if test -n "$ac_tool_prefix"; then
3820 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3821 set dummy ${ac_tool_prefix}cc; ac_word=$2
3822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3824 if test "${ac_cv_prog_CC+set}" = set; then
3825 echo $ECHO_N "(cached) $ECHO_C" >&6
3827 if test -n "$CC"; then
3828 ac_cv_prog_CC="$CC" # Let the user override the test.
3830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3834 test -z "$as_dir" && as_dir=.
3835 for ac_exec_ext in '' $ac_executable_extensions; do
3836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3837 ac_cv_prog_CC="${ac_tool_prefix}cc"
3838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3848 if test -n "$CC"; then
3849 { echo "$as_me:$LINENO: result: $CC" >&5
3850 echo "${ECHO_T}$CC" >&6; }
3852 { echo "$as_me:$LINENO: result: no" >&5
3853 echo "${ECHO_T}no" >&6; }
3859 if test -z "$CC"; then
3860 # Extract the first word of "cc", so it can be a program name with args.
3861 set dummy cc; ac_word=$2
3862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3864 if test "${ac_cv_prog_CC+set}" = set; then
3865 echo $ECHO_N "(cached) $ECHO_C" >&6
3867 if test -n "$CC"; then
3868 ac_cv_prog_CC="$CC" # Let the user override the test.
3871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3875 test -z "$as_dir" && as_dir=.
3876 for ac_exec_ext in '' $ac_executable_extensions; do
3877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3878 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3879 ac_prog_rejected=yes
3883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3890 if test $ac_prog_rejected = yes; then
3891 # We found a bogon in the path, so make sure we never use it.
3892 set dummy $ac_cv_prog_CC
3894 if test $# != 0; then
3895 # We chose a different compiler from the bogus one.
3896 # However, it has the same basename, so the bogon will be chosen
3897 # first if we set CC to just the basename; use the full file name.
3899 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3905 if test -n "$CC"; then
3906 { echo "$as_me:$LINENO: result: $CC" >&5
3907 echo "${ECHO_T}$CC" >&6; }
3909 { echo "$as_me:$LINENO: result: no" >&5
3910 echo "${ECHO_T}no" >&6; }
3915 if test -z "$CC"; then
3916 if test -n "$ac_tool_prefix"; then
3917 for ac_prog in cl.exe
3919 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3920 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3923 if test "${ac_cv_prog_CC+set}" = set; then
3924 echo $ECHO_N "(cached) $ECHO_C" >&6
3926 if test -n "$CC"; then
3927 ac_cv_prog_CC="$CC" # Let the user override the test.
3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3933 test -z "$as_dir" && as_dir=.
3934 for ac_exec_ext in '' $ac_executable_extensions; do
3935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3936 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3947 if test -n "$CC"; then
3948 { echo "$as_me:$LINENO: result: $CC" >&5
3949 echo "${ECHO_T}$CC" >&6; }
3951 { echo "$as_me:$LINENO: result: no" >&5
3952 echo "${ECHO_T}no" >&6; }
3956 test -n "$CC" && break
3959 if test -z "$CC"; then
3961 for ac_prog in cl.exe
3963 # Extract the first word of "$ac_prog", so it can be a program name with args.
3964 set dummy $ac_prog; ac_word=$2
3965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3967 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3968 echo $ECHO_N "(cached) $ECHO_C" >&6
3970 if test -n "$ac_ct_CC"; then
3971 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3977 test -z "$as_dir" && as_dir=.
3978 for ac_exec_ext in '' $ac_executable_extensions; do
3979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3980 ac_cv_prog_ac_ct_CC="$ac_prog"
3981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3991 if test -n "$ac_ct_CC"; then
3992 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3993 echo "${ECHO_T}$ac_ct_CC" >&6; }
3995 { echo "$as_me:$LINENO: result: no" >&5
3996 echo "${ECHO_T}no" >&6; }
4000 test -n "$ac_ct_CC" && break
4003 if test "x$ac_ct_CC" = x; then
4006 case $cross_compiling:$ac_tool_warned in
4008 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4009 whose name does not start with the host triplet. If you think this
4010 configuration is useful to you, please write to autoconf@gnu.org." >&5
4011 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4012 whose name does not start with the host triplet. If you think this
4013 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4014 ac_tool_warned=yes ;;
4023 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4024 See \`config.log' for more details." >&5
4025 echo "$as_me: error: no acceptable C compiler found in \$PATH
4026 See \`config.log' for more details." >&2;}
4027 { (exit 1); exit 1; }; }
4029 # Provide some information about the compiler.
4030 echo "$as_me:$LINENO: checking for C compiler version" >&5
4031 ac_compiler=`set X $ac_compile; echo $2`
4032 { (ac_try="$ac_compiler --version >&5"
4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4038 (eval "$ac_compiler --version >&5") 2>&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }
4042 { (ac_try="$ac_compiler -v >&5"
4044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4045 *) ac_try_echo=$ac_try;;
4047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4048 (eval "$ac_compiler -v >&5") 2>&5
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); }
4052 { (ac_try="$ac_compiler -V >&5"
4054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4055 *) ac_try_echo=$ac_try;;
4057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4058 (eval "$ac_compiler -V >&5") 2>&5
4060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4061 (exit $ac_status); }
4063 cat >conftest.$ac_ext <<_ACEOF
4066 cat confdefs.h >>conftest.$ac_ext
4067 cat >>conftest.$ac_ext <<_ACEOF
4068 /* end confdefs.h. */
4078 ac_clean_files_save=$ac_clean_files
4079 ac_clean_files="$ac_clean_files a.out a.exe b.out"
4080 # Try to create an executable without -o first, disregard a.out.
4081 # It will help us diagnose broken compilers, and finding out an intuition
4083 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4084 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
4085 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4087 # List of possible output files, starting from the most likely.
4088 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
4089 # only as a last resort. b.out is created by i960 compilers.
4090 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
4092 # The IRIX 6 linker writes into existing files which may not be
4093 # executable, retaining their permissions. Remove them first so a
4094 # subsequent execution test works.
4096 for ac_file in $ac_files
4099 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
4100 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4105 if { (ac_try="$ac_link_default"
4107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4108 *) ac_try_echo=$ac_try;;
4110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4111 (eval "$ac_link_default") 2>&5
4113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114 (exit $ac_status); }; then
4115 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4116 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4117 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4118 # so that the user can short-circuit this test for compilers unknown to
4120 for ac_file in $ac_files ''
4122 test -f "$ac_file" || continue
4124 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
4127 # We found the default executable, but exeext='' is most
4131 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4133 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4135 # We set ac_cv_exeext here because the later test for it is not
4136 # safe: cross compilers may not add the suffix if given an `-o'
4137 # argument, so we may need to know it at that point already.
4138 # Even if this section looks crufty: it has the advantage of
4145 test "$ac_cv_exeext" = no && ac_cv_exeext=
4151 { echo "$as_me:$LINENO: result: $ac_file" >&5
4152 echo "${ECHO_T}$ac_file" >&6; }
4153 if test -z "$ac_file"; then
4154 echo "$as_me: failed program was:" >&5
4155 sed 's/^/| /' conftest.$ac_ext >&5
4157 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
4158 See \`config.log' for more details." >&5
4159 echo "$as_me: error: C compiler cannot create executables
4160 See \`config.log' for more details." >&2;}
4161 { (exit 77); exit 77; }; }
4164 ac_exeext=$ac_cv_exeext
4166 # Check that the compiler produces executables we can run. If not, either
4167 # the compiler is broken, or we cross compile.
4168 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4169 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
4170 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4171 # If not cross compiling, check that we can run a simple program.
4172 if test "$cross_compiling" != yes; then
4173 if { ac_try='./$ac_file'
4174 { (case "(($ac_try" in
4175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4176 *) ac_try_echo=$ac_try;;
4178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4179 (eval "$ac_try") 2>&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); }; }; then
4185 if test "$cross_compiling" = maybe; then
4188 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
4189 If you meant to cross compile, use \`--host'.
4190 See \`config.log' for more details." >&5
4191 echo "$as_me: error: cannot run C compiled programs.
4192 If you meant to cross compile, use \`--host'.
4193 See \`config.log' for more details." >&2;}
4194 { (exit 1); exit 1; }; }
4198 { echo "$as_me:$LINENO: result: yes" >&5
4199 echo "${ECHO_T}yes" >&6; }
4201 rm -f a.out a.exe conftest$ac_cv_exeext b.out
4202 ac_clean_files=$ac_clean_files_save
4203 # Check that the compiler produces executables we can run. If not, either
4204 # the compiler is broken, or we cross compile.
4205 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4206 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
4207 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
4208 echo "${ECHO_T}$cross_compiling" >&6; }
4210 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
4211 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
4212 if { (ac_try="$ac_link"
4214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4215 *) ac_try_echo=$ac_try;;
4217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4218 (eval "$ac_link") 2>&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); }; then
4222 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4223 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4224 # work properly (i.e., refer to `conftest.exe'), while it won't with
4226 for ac_file in conftest.exe conftest conftest.*; do
4227 test -f "$ac_file" || continue
4229 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
4230 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4236 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4237 See \`config.log' for more details." >&5
4238 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4239 See \`config.log' for more details." >&2;}
4240 { (exit 1); exit 1; }; }
4243 rm -f conftest$ac_cv_exeext
4244 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4245 echo "${ECHO_T}$ac_cv_exeext" >&6; }
4247 rm -f conftest.$ac_ext
4248 EXEEXT=$ac_cv_exeext
4250 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
4251 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
4252 if test "${ac_cv_objext+set}" = set; then
4253 echo $ECHO_N "(cached) $ECHO_C" >&6
4255 cat >conftest.$ac_ext <<_ACEOF
4258 cat confdefs.h >>conftest.$ac_ext
4259 cat >>conftest.$ac_ext <<_ACEOF
4260 /* end confdefs.h. */
4270 rm -f conftest.o conftest.obj
4271 if { (ac_try="$ac_compile"
4273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4274 *) ac_try_echo=$ac_try;;
4276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4277 (eval "$ac_compile") 2>&5
4279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4280 (exit $ac_status); }; then
4281 for ac_file in conftest.o conftest.obj conftest.*; do
4282 test -f "$ac_file" || continue;
4284 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
4285 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4290 echo "$as_me: failed program was:" >&5
4291 sed 's/^/| /' conftest.$ac_ext >&5
4293 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
4294 See \`config.log' for more details." >&5
4295 echo "$as_me: error: cannot compute suffix of object files: cannot compile
4296 See \`config.log' for more details." >&2;}
4297 { (exit 1); exit 1; }; }
4300 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4302 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4303 echo "${ECHO_T}$ac_cv_objext" >&6; }
4304 OBJEXT=$ac_cv_objext
4306 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4307 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4308 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4309 echo $ECHO_N "(cached) $ECHO_C" >&6
4311 cat >conftest.$ac_ext <<_ACEOF
4314 cat confdefs.h >>conftest.$ac_ext
4315 cat >>conftest.$ac_ext <<_ACEOF
4316 /* end confdefs.h. */
4329 rm -f conftest.$ac_objext
4330 if { (ac_try="$ac_compile"
4332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4333 *) ac_try_echo=$ac_try;;
4335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4336 (eval "$ac_compile") 2>conftest.er1
4338 grep -v '^ *+' conftest.er1 >conftest.err
4340 cat conftest.err >&5
4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342 (exit $ac_status); } && {
4343 test -z "$ac_c_werror_flag" ||
4344 test ! -s conftest.err
4345 } && test -s conftest.$ac_objext; then
4348 echo "$as_me: failed program was:" >&5
4349 sed 's/^/| /' conftest.$ac_ext >&5
4354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4355 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4358 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4359 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4360 GCC=`test $ac_compiler_gnu = yes && echo yes`
4361 ac_test_CFLAGS=${CFLAGS+set}
4362 ac_save_CFLAGS=$CFLAGS
4363 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4364 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4365 if test "${ac_cv_prog_cc_g+set}" = set; then
4366 echo $ECHO_N "(cached) $ECHO_C" >&6
4368 ac_save_c_werror_flag=$ac_c_werror_flag
4369 ac_c_werror_flag=yes
4372 cat >conftest.$ac_ext <<_ACEOF
4375 cat confdefs.h >>conftest.$ac_ext
4376 cat >>conftest.$ac_ext <<_ACEOF
4377 /* end confdefs.h. */
4387 rm -f conftest.$ac_objext
4388 if { (ac_try="$ac_compile"
4390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4391 *) ac_try_echo=$ac_try;;
4393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4394 (eval "$ac_compile") 2>conftest.er1
4396 grep -v '^ *+' conftest.er1 >conftest.err
4398 cat conftest.err >&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); } && {
4401 test -z "$ac_c_werror_flag" ||
4402 test ! -s conftest.err
4403 } && test -s conftest.$ac_objext; then
4406 echo "$as_me: failed program was:" >&5
4407 sed 's/^/| /' conftest.$ac_ext >&5
4410 cat >conftest.$ac_ext <<_ACEOF
4413 cat confdefs.h >>conftest.$ac_ext
4414 cat >>conftest.$ac_ext <<_ACEOF
4415 /* end confdefs.h. */
4425 rm -f conftest.$ac_objext
4426 if { (ac_try="$ac_compile"
4428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4429 *) ac_try_echo=$ac_try;;
4431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4432 (eval "$ac_compile") 2>conftest.er1
4434 grep -v '^ *+' conftest.er1 >conftest.err
4436 cat conftest.err >&5
4437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4438 (exit $ac_status); } && {
4439 test -z "$ac_c_werror_flag" ||
4440 test ! -s conftest.err
4441 } && test -s conftest.$ac_objext; then
4444 echo "$as_me: failed program was:" >&5
4445 sed 's/^/| /' conftest.$ac_ext >&5
4447 ac_c_werror_flag=$ac_save_c_werror_flag
4449 cat >conftest.$ac_ext <<_ACEOF
4452 cat confdefs.h >>conftest.$ac_ext
4453 cat >>conftest.$ac_ext <<_ACEOF
4454 /* end confdefs.h. */
4464 rm -f conftest.$ac_objext
4465 if { (ac_try="$ac_compile"
4467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4468 *) ac_try_echo=$ac_try;;
4470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4471 (eval "$ac_compile") 2>conftest.er1
4473 grep -v '^ *+' conftest.er1 >conftest.err
4475 cat conftest.err >&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); } && {
4478 test -z "$ac_c_werror_flag" ||
4479 test ! -s conftest.err
4480 } && test -s conftest.$ac_objext; then
4483 echo "$as_me: failed program was:" >&5
4484 sed 's/^/| /' conftest.$ac_ext >&5
4489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4496 ac_c_werror_flag=$ac_save_c_werror_flag
4498 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4499 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4500 if test "$ac_test_CFLAGS" = set; then
4501 CFLAGS=$ac_save_CFLAGS
4502 elif test $ac_cv_prog_cc_g = yes; then
4503 if test "$GCC" = yes; then
4509 if test "$GCC" = yes; then
4515 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4516 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4517 if test "${ac_cv_prog_cc_c89+set}" = set; then
4518 echo $ECHO_N "(cached) $ECHO_C" >&6
4520 ac_cv_prog_cc_c89=no
4522 cat >conftest.$ac_ext <<_ACEOF
4525 cat confdefs.h >>conftest.$ac_ext
4526 cat >>conftest.$ac_ext <<_ACEOF
4527 /* end confdefs.h. */
4530 #include <sys/types.h>
4531 #include <sys/stat.h>
4532 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4533 struct buf { int x; };
4534 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4535 static char *e (p, i)
4541 static char *f (char * (*g) (char **, int), char **p, ...)
4546 s = g (p, va_arg (v,int));
4551 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4552 function prototypes and stuff, but not '\xHH' hex character constants.
4553 These don't provoke an error unfortunately, instead are silently treated
4554 as 'x'. The following induces an error, until -std is added to get
4555 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4556 array size at least. It's necessary to write '\x00'==0 to get something
4557 that's true only with -std. */
4558 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4560 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4561 inside strings and character constants. */
4563 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4565 int test (int i, double x);
4566 struct s1 {int (*f) (int a);};
4567 struct s2 {int (*f) (double a);};
4568 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4574 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4579 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4580 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4582 CC="$ac_save_CC $ac_arg"
4583 rm -f conftest.$ac_objext
4584 if { (ac_try="$ac_compile"
4586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4587 *) ac_try_echo=$ac_try;;
4589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4590 (eval "$ac_compile") 2>conftest.er1
4592 grep -v '^ *+' conftest.er1 >conftest.err
4594 cat conftest.err >&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); } && {
4597 test -z "$ac_c_werror_flag" ||
4598 test ! -s conftest.err
4599 } && test -s conftest.$ac_objext; then
4600 ac_cv_prog_cc_c89=$ac_arg
4602 echo "$as_me: failed program was:" >&5
4603 sed 's/^/| /' conftest.$ac_ext >&5
4608 rm -f core conftest.err conftest.$ac_objext
4609 test "x$ac_cv_prog_cc_c89" != "xno" && break
4611 rm -f conftest.$ac_ext
4616 case "x$ac_cv_prog_cc_c89" in
4618 { echo "$as_me:$LINENO: result: none needed" >&5
4619 echo "${ECHO_T}none needed" >&6; } ;;
4621 { echo "$as_me:$LINENO: result: unsupported" >&5
4622 echo "${ECHO_T}unsupported" >&6; } ;;
4624 CC="$CC $ac_cv_prog_cc_c89"
4625 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4626 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4631 ac_cpp='$CPP $CPPFLAGS'
4632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4636 depcc="$CC" am_compiler_list=
4638 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4639 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4640 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4641 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4644 # We make a subdir and do the tests there. Otherwise we can end up
4645 # making bogus files that we don't know about and never remove. For
4646 # instance it was reported that on HP-UX the gcc test will end up
4647 # making a dummy file named `D' -- because `-MD' means `put the output
4650 # Copy depcomp to subdir because otherwise we won't find it if we're
4651 # using a relative directory.
4652 cp "$am_depcomp" conftest.dir
4654 # We will build objects and dependencies in a subdirectory because
4655 # it helps to detect inapplicable dependency modes. For instance
4656 # both Tru64's cc and ICC support -MD to output dependencies as a
4657 # side effect of compilation, but ICC will put the dependencies in
4658 # the current directory while Tru64 will put them in the object
4662 am_cv_CC_dependencies_compiler_type=none
4663 if test "$am_compiler_list" = ""; then
4664 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4666 for depmode in $am_compiler_list; do
4667 # Setup a source with many dependencies, because some compilers
4668 # like to wrap large dependency lists on column 80 (with \), and
4669 # we should not choose a depcomp mode which is confused by this.
4671 # We need to recreate these files for each test, as the compiler may
4672 # overwrite some of them when testing with obscure command lines.
4673 # This happens at least with the AIX C compiler.
4675 for i in 1 2 3 4 5 6; do
4676 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4677 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4678 # Solaris 8's {/usr,}/bin/sh.
4679 touch sub/conftst$i.h
4681 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4685 # after this tag, mechanisms are not by side-effect, so they'll
4686 # only be used when explicitly requested
4687 if test "x$enable_dependency_tracking" = xyes; then
4695 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4696 # mode. It turns out that the SunPro C++ compiler does not properly
4697 # handle `-M -o', and we need to detect this.
4698 if depmode=$depmode \
4699 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4700 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4701 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4702 >/dev/null 2>conftest.err &&
4703 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4704 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4705 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4706 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4707 # icc doesn't choke on unknown options, it will just issue warnings
4708 # or remarks (even with -Werror). So we grep stderr for any message
4709 # that says an option was ignored or not supported.
4710 # When given -MP, icc 7.0 and 7.1 complain thusly:
4711 # icc: Command line warning: ignoring option '-M'; no argument required
4712 # The diagnosis changed in icc 8.0:
4713 # icc: Command line remark: option '-MP' not supported
4714 if (grep 'ignoring option' conftest.err ||
4715 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4716 am_cv_CC_dependencies_compiler_type=$depmode
4725 am_cv_CC_dependencies_compiler_type=none
4729 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4730 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4731 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4734 test "x$enable_dependency_tracking" != xno \
4735 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4737 am__fastdepCC_FALSE='#'
4739 am__fastdepCC_TRUE='#'
4740 am__fastdepCC_FALSE=
4745 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
4746 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
4747 if test "${ac_cv_search_strerror+set}" = set; then
4748 echo $ECHO_N "(cached) $ECHO_C" >&6
4750 ac_func_search_save_LIBS=$LIBS
4751 cat >conftest.$ac_ext <<_ACEOF
4754 cat confdefs.h >>conftest.$ac_ext
4755 cat >>conftest.$ac_ext <<_ACEOF
4756 /* end confdefs.h. */
4758 /* Override any GCC internal prototype to avoid an error.
4759 Use char because int might match the return type of a GCC
4760 builtin and then its argument prototype would still apply. */
4773 for ac_lib in '' cposix; do
4774 if test -z "$ac_lib"; then
4775 ac_res="none required"
4778 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4780 rm -f conftest.$ac_objext conftest$ac_exeext
4781 if { (ac_try="$ac_link"
4783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4784 *) ac_try_echo=$ac_try;;
4786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4787 (eval "$ac_link") 2>conftest.er1
4789 grep -v '^ *+' conftest.er1 >conftest.err
4791 cat conftest.err >&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); } && {
4794 test -z "$ac_c_werror_flag" ||
4795 test ! -s conftest.err
4796 } && test -s conftest$ac_exeext &&
4797 $as_test_x conftest$ac_exeext; then
4798 ac_cv_search_strerror=$ac_res
4800 echo "$as_me: failed program was:" >&5
4801 sed 's/^/| /' conftest.$ac_ext >&5
4806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4808 if test "${ac_cv_search_strerror+set}" = set; then
4812 if test "${ac_cv_search_strerror+set}" = set; then
4815 ac_cv_search_strerror=no
4818 LIBS=$ac_func_search_save_LIBS
4820 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
4821 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
4822 ac_res=$ac_cv_search_strerror
4823 if test "$ac_res" != no; then
4824 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4830 ac_cpp='$OBJCPP $CPPFLAGS'
4831 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4832 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4833 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
4834 if test -n "$ac_tool_prefix"; then
4835 for ac_prog in gcc objcc objc cc CC
4837 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4841 if test "${ac_cv_prog_OBJC+set}" = set; then
4842 echo $ECHO_N "(cached) $ECHO_C" >&6
4844 if test -n "$OBJC"; then
4845 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
4847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4851 test -z "$as_dir" && as_dir=.
4852 for ac_exec_ext in '' $ac_executable_extensions; do
4853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4854 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
4855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4864 OBJC=$ac_cv_prog_OBJC
4865 if test -n "$OBJC"; then
4866 { echo "$as_me:$LINENO: result: $OBJC" >&5
4867 echo "${ECHO_T}$OBJC" >&6; }
4869 { echo "$as_me:$LINENO: result: no" >&5
4870 echo "${ECHO_T}no" >&6; }
4874 test -n "$OBJC" && break
4877 if test -z "$OBJC"; then
4879 for ac_prog in gcc objcc objc cc CC
4881 # Extract the first word of "$ac_prog", so it can be a program name with args.
4882 set dummy $ac_prog; ac_word=$2
4883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4885 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
4886 echo $ECHO_N "(cached) $ECHO_C" >&6
4888 if test -n "$ac_ct_OBJC"; then
4889 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
4891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 test -z "$as_dir" && as_dir=.
4896 for ac_exec_ext in '' $ac_executable_extensions; do
4897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4898 ac_cv_prog_ac_ct_OBJC="$ac_prog"
4899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4908 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
4909 if test -n "$ac_ct_OBJC"; then
4910 { echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
4911 echo "${ECHO_T}$ac_ct_OBJC" >&6; }
4913 { echo "$as_me:$LINENO: result: no" >&5
4914 echo "${ECHO_T}no" >&6; }
4918 test -n "$ac_ct_OBJC" && break
4921 if test "x$ac_ct_OBJC" = x; then
4924 case $cross_compiling:$ac_tool_warned in
4926 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4927 whose name does not start with the host triplet. If you think this
4928 configuration is useful to you, please write to autoconf@gnu.org." >&5
4929 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4930 whose name does not start with the host triplet. If you think this
4931 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4932 ac_tool_warned=yes ;;
4938 # Provide some information about the compiler.
4939 echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
4940 ac_compiler=`set X $ac_compile; echo $2`
4941 { (ac_try="$ac_compiler --version >&5"
4943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4944 *) ac_try_echo=$ac_try;;
4946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4947 (eval "$ac_compiler --version >&5") 2>&5
4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950 (exit $ac_status); }
4951 { (ac_try="$ac_compiler -v >&5"
4953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4954 *) ac_try_echo=$ac_try;;
4956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4957 (eval "$ac_compiler -v >&5") 2>&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); }
4961 { (ac_try="$ac_compiler -V >&5"
4963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4964 *) ac_try_echo=$ac_try;;
4966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4967 (eval "$ac_compiler -V >&5") 2>&5
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); }
4972 { echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
4973 echo $ECHO_N "checking whether we are using the GNU Objective C compiler... $ECHO_C" >&6; }
4974 if test "${ac_cv_objc_compiler_gnu+set}" = set; then
4975 echo $ECHO_N "(cached) $ECHO_C" >&6
4977 cat >conftest.$ac_ext <<_ACEOF
4980 cat confdefs.h >>conftest.$ac_ext
4981 cat >>conftest.$ac_ext <<_ACEOF
4982 /* end confdefs.h. */
4995 rm -f conftest.$ac_objext
4996 if { (ac_try="$ac_compile"
4998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4999 *) ac_try_echo=$ac_try;;
5001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5002 (eval "$ac_compile") 2>conftest.er1
5004 grep -v '^ *+' conftest.er1 >conftest.err
5006 cat conftest.err >&5
5007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008 (exit $ac_status); } && {
5009 test -z "$ac_objc_werror_flag" ||
5010 test ! -s conftest.err
5011 } && test -s conftest.$ac_objext; then
5014 echo "$as_me: failed program was:" >&5
5015 sed 's/^/| /' conftest.$ac_ext >&5
5020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5021 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
5024 { echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
5025 echo "${ECHO_T}$ac_cv_objc_compiler_gnu" >&6; }
5026 GOBJC=`test $ac_compiler_gnu = yes && echo yes`
5027 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
5028 ac_save_OBJCFLAGS=$OBJCFLAGS
5029 { echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
5030 echo $ECHO_N "checking whether $OBJC accepts -g... $ECHO_C" >&6; }
5031 if test "${ac_cv_prog_objc_g+set}" = set; then
5032 echo $ECHO_N "(cached) $ECHO_C" >&6
5034 ac_save_objc_werror_flag=$ac_objc_werror_flag
5035 ac_objc_werror_flag=yes
5036 ac_cv_prog_objc_g=no
5038 cat >conftest.$ac_ext <<_ACEOF
5041 cat confdefs.h >>conftest.$ac_ext
5042 cat >>conftest.$ac_ext <<_ACEOF
5043 /* end confdefs.h. */
5053 rm -f conftest.$ac_objext
5054 if { (ac_try="$ac_compile"
5056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5057 *) ac_try_echo=$ac_try;;
5059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5060 (eval "$ac_compile") 2>conftest.er1
5062 grep -v '^ *+' conftest.er1 >conftest.err
5064 cat conftest.err >&5
5065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066 (exit $ac_status); } && {
5067 test -z "$ac_objc_werror_flag" ||
5068 test ! -s conftest.err
5069 } && test -s conftest.$ac_objext; then
5070 ac_cv_prog_objc_g=yes
5072 echo "$as_me: failed program was:" >&5
5073 sed 's/^/| /' conftest.$ac_ext >&5
5076 cat >conftest.$ac_ext <<_ACEOF
5079 cat confdefs.h >>conftest.$ac_ext
5080 cat >>conftest.$ac_ext <<_ACEOF
5081 /* end confdefs.h. */
5091 rm -f conftest.$ac_objext
5092 if { (ac_try="$ac_compile"
5094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5095 *) ac_try_echo=$ac_try;;
5097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5098 (eval "$ac_compile") 2>conftest.er1
5100 grep -v '^ *+' conftest.er1 >conftest.err
5102 cat conftest.err >&5
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); } && {
5105 test -z "$ac_objc_werror_flag" ||
5106 test ! -s conftest.err
5107 } && test -s conftest.$ac_objext; then
5110 echo "$as_me: failed program was:" >&5
5111 sed 's/^/| /' conftest.$ac_ext >&5
5113 ac_objc_werror_flag=$ac_save_objc_werror_flag
5115 cat >conftest.$ac_ext <<_ACEOF
5118 cat confdefs.h >>conftest.$ac_ext
5119 cat >>conftest.$ac_ext <<_ACEOF
5120 /* end confdefs.h. */
5130 rm -f conftest.$ac_objext
5131 if { (ac_try="$ac_compile"
5133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5134 *) ac_try_echo=$ac_try;;
5136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5137 (eval "$ac_compile") 2>conftest.er1
5139 grep -v '^ *+' conftest.er1 >conftest.err
5141 cat conftest.err >&5
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 (exit $ac_status); } && {
5144 test -z "$ac_objc_werror_flag" ||
5145 test ! -s conftest.err
5146 } && test -s conftest.$ac_objext; then
5147 ac_cv_prog_objc_g=yes
5149 echo "$as_me: failed program was:" >&5
5150 sed 's/^/| /' conftest.$ac_ext >&5
5155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5162 ac_objc_werror_flag=$ac_save_objc_werror_flag
5164 { echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
5165 echo "${ECHO_T}$ac_cv_prog_objc_g" >&6; }
5166 if test "$ac_test_OBJCFLAGS" = set; then
5167 OBJCFLAGS=$ac_save_OBJCFLAGS
5168 elif test $ac_cv_prog_objc_g = yes; then
5169 if test "$GOBJC" = yes; then
5175 if test "$GOBJC" = yes; then
5182 ac_cpp='$CPP $CPPFLAGS'
5183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5187 depcc="$OBJC" am_compiler_list='gcc3 gcc'
5189 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5190 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5191 if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then
5192 echo $ECHO_N "(cached) $ECHO_C" >&6
5194 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5195 # We make a subdir and do the tests there. Otherwise we can end up
5196 # making bogus files that we don't know about and never remove. For
5197 # instance it was reported that on HP-UX the gcc test will end up
5198 # making a dummy file named `D' -- because `-MD' means `put the output
5201 # Copy depcomp to subdir because otherwise we won't find it if we're
5202 # using a relative directory.
5203 cp "$am_depcomp" conftest.dir
5205 # We will build objects and dependencies in a subdirectory because
5206 # it helps to detect inapplicable dependency modes. For instance
5207 # both Tru64's cc and ICC support -MD to output dependencies as a
5208 # side effect of compilation, but ICC will put the dependencies in
5209 # the current directory while Tru64 will put them in the object
5213 am_cv_OBJC_dependencies_compiler_type=none
5214 if test "$am_compiler_list" = ""; then
5215 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5217 for depmode in $am_compiler_list; do
5218 # Setup a source with many dependencies, because some compilers
5219 # like to wrap large dependency lists on column 80 (with \), and
5220 # we should not choose a depcomp mode which is confused by this.
5222 # We need to recreate these files for each test, as the compiler may
5223 # overwrite some of them when testing with obscure command lines.
5224 # This happens at least with the AIX C compiler.
5226 for i in 1 2 3 4 5 6; do
5227 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5228 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5229 # Solaris 8's {/usr,}/bin/sh.
5230 touch sub/conftst$i.h
5232 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5236 # after this tag, mechanisms are not by side-effect, so they'll
5237 # only be used when explicitly requested
5238 if test "x$enable_dependency_tracking" = xyes; then
5246 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5247 # mode. It turns out that the SunPro C++ compiler does not properly
5248 # handle `-M -o', and we need to detect this.
5249 if depmode=$depmode \
5250 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5251 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5252 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5253 >/dev/null 2>conftest.err &&
5254 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5255 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5256 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5257 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5258 # icc doesn't choke on unknown options, it will just issue warnings
5259 # or remarks (even with -Werror). So we grep stderr for any message
5260 # that says an option was ignored or not supported.
5261 # When given -MP, icc 7.0 and 7.1 complain thusly:
5262 # icc: Command line warning: ignoring option '-M'; no argument required
5263 # The diagnosis changed in icc 8.0:
5264 # icc: Command line remark: option '-MP' not supported
5265 if (grep 'ignoring option' conftest.err ||
5266 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5267 am_cv_OBJC_dependencies_compiler_type=$depmode
5276 am_cv_OBJC_dependencies_compiler_type=none
5280 { echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5
5281 echo "${ECHO_T}$am_cv_OBJC_dependencies_compiler_type" >&6; }
5282 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
5285 test "x$enable_dependency_tracking" != xno \
5286 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
5287 am__fastdepOBJC_TRUE=
5288 am__fastdepOBJC_FALSE='#'
5290 am__fastdepOBJC_TRUE='#'
5291 am__fastdepOBJC_FALSE=
5296 depcc="$OBJC" am_compiler_list='gcc3 gcc'
5298 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5299 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5300 if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then
5301 echo $ECHO_N "(cached) $ECHO_C" >&6
5303 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5304 # We make a subdir and do the tests there. Otherwise we can end up
5305 # making bogus files that we don't know about and never remove. For
5306 # instance it was reported that on HP-UX the gcc test will end up
5307 # making a dummy file named `D' -- because `-MD' means `put the output
5310 # Copy depcomp to subdir because otherwise we won't find it if we're
5311 # using a relative directory.
5312 cp "$am_depcomp" conftest.dir
5314 # We will build objects and dependencies in a subdirectory because
5315 # it helps to detect inapplicable dependency modes. For instance
5316 # both Tru64's cc and ICC support -MD to output dependencies as a
5317 # side effect of compilation, but ICC will put the dependencies in
5318 # the current directory while Tru64 will put them in the object
5322 am_cv_OBJC_dependencies_compiler_type=none
5323 if test "$am_compiler_list" = ""; then
5324 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5326 for depmode in $am_compiler_list; do
5327 # Setup a source with many dependencies, because some compilers
5328 # like to wrap large dependency lists on column 80 (with \), and
5329 # we should not choose a depcomp mode which is confused by this.
5331 # We need to recreate these files for each test, as the compiler may
5332 # overwrite some of them when testing with obscure command lines.
5333 # This happens at least with the AIX C compiler.
5335 for i in 1 2 3 4 5 6; do
5336 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5337 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5338 # Solaris 8's {/usr,}/bin/sh.
5339 touch sub/conftst$i.h
5341 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5345 # after this tag, mechanisms are not by side-effect, so they'll
5346 # only be used when explicitly requested
5347 if test "x$enable_dependency_tracking" = xyes; then
5355 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5356 # mode. It turns out that the SunPro C++ compiler does not properly
5357 # handle `-M -o', and we need to detect this.
5358 if depmode=$depmode \
5359 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5360 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5361 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5362 >/dev/null 2>conftest.err &&
5363 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5364 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5365 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5366 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5367 # icc doesn't choke on unknown options, it will just issue warnings
5368 # or remarks (even with -Werror). So we grep stderr for any message
5369 # that says an option was ignored or not supported.
5370 # When given -MP, icc 7.0 and 7.1 complain thusly:
5371 # icc: Command line warning: ignoring option '-M'; no argument required
5372 # The diagnosis changed in icc 8.0:
5373 # icc: Command line remark: option '-MP' not supported
5374 if (grep 'ignoring option' conftest.err ||
5375 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5376 am_cv_OBJC_dependencies_compiler_type=$depmode
5385 am_cv_OBJC_dependencies_compiler_type=none
5389 { echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5
5390 echo "${ECHO_T}$am_cv_OBJC_dependencies_compiler_type" >&6; }
5391 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
5394 test "x$enable_dependency_tracking" != xno \
5395 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
5396 am__fastdepOBJC_TRUE=
5397 am__fastdepOBJC_FALSE='#'
5399 am__fastdepOBJC_TRUE='#'
5400 am__fastdepOBJC_FALSE=
5406 ac_cpp='$CXXCPP $CPPFLAGS'
5407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5410 if test -z "$CXX"; then
5411 if test -n "$CCC"; then
5414 if test -n "$ac_tool_prefix"; then
5415 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5417 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5418 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5419 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5421 if test "${ac_cv_prog_CXX+set}" = set; then
5422 echo $ECHO_N "(cached) $ECHO_C" >&6
5424 if test -n "$CXX"; then
5425 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5431 test -z "$as_dir" && as_dir=.
5432 for ac_exec_ext in '' $ac_executable_extensions; do
5433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5434 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 if test -n "$CXX"; then
5446 { echo "$as_me:$LINENO: result: $CXX" >&5
5447 echo "${ECHO_T}$CXX" >&6; }
5449 { echo "$as_me:$LINENO: result: no" >&5
5450 echo "${ECHO_T}no" >&6; }
5454 test -n "$CXX" && break
5457 if test -z "$CXX"; then
5459 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5461 # Extract the first word of "$ac_prog", so it can be a program name with args.
5462 set dummy $ac_prog; ac_word=$2
5463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5465 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5466 echo $ECHO_N "(cached) $ECHO_C" >&6
5468 if test -n "$ac_ct_CXX"; then
5469 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5475 test -z "$as_dir" && as_dir=.
5476 for ac_exec_ext in '' $ac_executable_extensions; do
5477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5478 ac_cv_prog_ac_ct_CXX="$ac_prog"
5479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5489 if test -n "$ac_ct_CXX"; then
5490 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5491 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5493 { echo "$as_me:$LINENO: result: no" >&5
5494 echo "${ECHO_T}no" >&6; }
5498 test -n "$ac_ct_CXX" && break
5501 if test "x$ac_ct_CXX" = x; then
5504 case $cross_compiling:$ac_tool_warned in
5506 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5507 whose name does not start with the host triplet. If you think this
5508 configuration is useful to you, please write to autoconf@gnu.org." >&5
5509 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5510 whose name does not start with the host triplet. If you think this
5511 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5512 ac_tool_warned=yes ;;
5520 # Provide some information about the compiler.
5521 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5522 ac_compiler=`set X $ac_compile; echo $2`
5523 { (ac_try="$ac_compiler --version >&5"
5525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5526 *) ac_try_echo=$ac_try;;
5528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5529 (eval "$ac_compiler --version >&5") 2>&5
5531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5532 (exit $ac_status); }
5533 { (ac_try="$ac_compiler -v >&5"
5535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5536 *) ac_try_echo=$ac_try;;
5538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5539 (eval "$ac_compiler -v >&5") 2>&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); }
5543 { (ac_try="$ac_compiler -V >&5"
5545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5546 *) ac_try_echo=$ac_try;;
5548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5549 (eval "$ac_compiler -V >&5") 2>&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); }
5554 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5555 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5556 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5557 echo $ECHO_N "(cached) $ECHO_C" >&6
5559 cat >conftest.$ac_ext <<_ACEOF
5562 cat confdefs.h >>conftest.$ac_ext
5563 cat >>conftest.$ac_ext <<_ACEOF
5564 /* end confdefs.h. */
5577 rm -f conftest.$ac_objext
5578 if { (ac_try="$ac_compile"
5580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5581 *) ac_try_echo=$ac_try;;
5583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5584 (eval "$ac_compile") 2>conftest.er1
5586 grep -v '^ *+' conftest.er1 >conftest.err
5588 cat conftest.err >&5
5589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); } && {
5591 test -z "$ac_cxx_werror_flag" ||
5592 test ! -s conftest.err
5593 } && test -s conftest.$ac_objext; then
5596 echo "$as_me: failed program was:" >&5
5597 sed 's/^/| /' conftest.$ac_ext >&5
5602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5603 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5606 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5607 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5608 GXX=`test $ac_compiler_gnu = yes && echo yes`
5609 ac_test_CXXFLAGS=${CXXFLAGS+set}
5610 ac_save_CXXFLAGS=$CXXFLAGS
5611 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5612 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5613 if test "${ac_cv_prog_cxx_g+set}" = set; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5616 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5617 ac_cxx_werror_flag=yes
5620 cat >conftest.$ac_ext <<_ACEOF
5623 cat confdefs.h >>conftest.$ac_ext
5624 cat >>conftest.$ac_ext <<_ACEOF
5625 /* end confdefs.h. */
5635 rm -f conftest.$ac_objext
5636 if { (ac_try="$ac_compile"
5638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5639 *) ac_try_echo=$ac_try;;
5641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5642 (eval "$ac_compile") 2>conftest.er1
5644 grep -v '^ *+' conftest.er1 >conftest.err
5646 cat conftest.err >&5
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); } && {
5649 test -z "$ac_cxx_werror_flag" ||
5650 test ! -s conftest.err
5651 } && test -s conftest.$ac_objext; then
5652 ac_cv_prog_cxx_g=yes
5654 echo "$as_me: failed program was:" >&5
5655 sed 's/^/| /' conftest.$ac_ext >&5
5658 cat >conftest.$ac_ext <<_ACEOF
5661 cat confdefs.h >>conftest.$ac_ext
5662 cat >>conftest.$ac_ext <<_ACEOF
5663 /* end confdefs.h. */
5673 rm -f conftest.$ac_objext
5674 if { (ac_try="$ac_compile"
5676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5677 *) ac_try_echo=$ac_try;;
5679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5680 (eval "$ac_compile") 2>conftest.er1
5682 grep -v '^ *+' conftest.er1 >conftest.err
5684 cat conftest.err >&5
5685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686 (exit $ac_status); } && {
5687 test -z "$ac_cxx_werror_flag" ||
5688 test ! -s conftest.err
5689 } && test -s conftest.$ac_objext; then
5692 echo "$as_me: failed program was:" >&5
5693 sed 's/^/| /' conftest.$ac_ext >&5
5695 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5697 cat >conftest.$ac_ext <<_ACEOF
5700 cat confdefs.h >>conftest.$ac_ext
5701 cat >>conftest.$ac_ext <<_ACEOF
5702 /* end confdefs.h. */
5712 rm -f conftest.$ac_objext
5713 if { (ac_try="$ac_compile"
5715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5716 *) ac_try_echo=$ac_try;;
5718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5719 (eval "$ac_compile") 2>conftest.er1
5721 grep -v '^ *+' conftest.er1 >conftest.err
5723 cat conftest.err >&5
5724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725 (exit $ac_status); } && {
5726 test -z "$ac_cxx_werror_flag" ||
5727 test ! -s conftest.err
5728 } && test -s conftest.$ac_objext; then
5729 ac_cv_prog_cxx_g=yes
5731 echo "$as_me: failed program was:" >&5
5732 sed 's/^/| /' conftest.$ac_ext >&5
5737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5744 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5746 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5747 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5748 if test "$ac_test_CXXFLAGS" = set; then
5749 CXXFLAGS=$ac_save_CXXFLAGS
5750 elif test $ac_cv_prog_cxx_g = yes; then
5751 if test "$GXX" = yes; then
5757 if test "$GXX" = yes; then
5764 ac_cpp='$CPP $CPPFLAGS'
5765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5769 depcc="$CXX" am_compiler_list=
5771 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5772 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5773 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5774 echo $ECHO_N "(cached) $ECHO_C" >&6
5776 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5777 # We make a subdir and do the tests there. Otherwise we can end up
5778 # making bogus files that we don't know about and never remove. For
5779 # instance it was reported that on HP-UX the gcc test will end up
5780 # making a dummy file named `D' -- because `-MD' means `put the output
5783 # Copy depcomp to subdir because otherwise we won't find it if we're
5784 # using a relative directory.
5785 cp "$am_depcomp" conftest.dir
5787 # We will build objects and dependencies in a subdirectory because
5788 # it helps to detect inapplicable dependency modes. For instance
5789 # both Tru64's cc and ICC support -MD to output dependencies as a
5790 # side effect of compilation, but ICC will put the dependencies in
5791 # the current directory while Tru64 will put them in the object
5795 am_cv_CXX_dependencies_compiler_type=none
5796 if test "$am_compiler_list" = ""; then
5797 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5799 for depmode in $am_compiler_list; do
5800 # Setup a source with many dependencies, because some compilers
5801 # like to wrap large dependency lists on column 80 (with \), and
5802 # we should not choose a depcomp mode which is confused by this.
5804 # We need to recreate these files for each test, as the compiler may
5805 # overwrite some of them when testing with obscure command lines.
5806 # This happens at least with the AIX C compiler.
5808 for i in 1 2 3 4 5 6; do
5809 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5810 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5811 # Solaris 8's {/usr,}/bin/sh.
5812 touch sub/conftst$i.h
5814 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5818 # after this tag, mechanisms are not by side-effect, so they'll
5819 # only be used when explicitly requested
5820 if test "x$enable_dependency_tracking" = xyes; then
5828 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5829 # mode. It turns out that the SunPro C++ compiler does not properly
5830 # handle `-M -o', and we need to detect this.
5831 if depmode=$depmode \
5832 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5833 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5834 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5835 >/dev/null 2>conftest.err &&
5836 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5837 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5838 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5839 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5840 # icc doesn't choke on unknown options, it will just issue warnings
5841 # or remarks (even with -Werror). So we grep stderr for any message
5842 # that says an option was ignored or not supported.
5843 # When given -MP, icc 7.0 and 7.1 complain thusly:
5844 # icc: Command line warning: ignoring option '-M'; no argument required
5845 # The diagnosis changed in icc 8.0:
5846 # icc: Command line remark: option '-MP' not supported
5847 if (grep 'ignoring option' conftest.err ||
5848 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5849 am_cv_CXX_dependencies_compiler_type=$depmode
5858 am_cv_CXX_dependencies_compiler_type=none
5862 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5863 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5864 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5867 test "x$enable_dependency_tracking" != xno \
5868 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5869 am__fastdepCXX_TRUE=
5870 am__fastdepCXX_FALSE='#'
5872 am__fastdepCXX_TRUE='#'
5873 am__fastdepCXX_FALSE=
5878 ac_cpp='$CPP $CPPFLAGS'
5879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5882 if test -n "$ac_tool_prefix"; then
5883 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5884 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5887 if test "${ac_cv_prog_CC+set}" = set; then
5888 echo $ECHO_N "(cached) $ECHO_C" >&6
5890 if test -n "$CC"; then
5891 ac_cv_prog_CC="$CC" # Let the user override the test.
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897 test -z "$as_dir" && as_dir=.
5898 for ac_exec_ext in '' $ac_executable_extensions; do
5899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5900 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 if test -n "$CC"; then
5912 { echo "$as_me:$LINENO: result: $CC" >&5
5913 echo "${ECHO_T}$CC" >&6; }
5915 { echo "$as_me:$LINENO: result: no" >&5
5916 echo "${ECHO_T}no" >&6; }
5921 if test -z "$ac_cv_prog_CC"; then
5923 # Extract the first word of "gcc", so it can be a program name with args.
5924 set dummy gcc; ac_word=$2
5925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5927 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5928 echo $ECHO_N "(cached) $ECHO_C" >&6
5930 if test -n "$ac_ct_CC"; then
5931 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5937 test -z "$as_dir" && as_dir=.
5938 for ac_exec_ext in '' $ac_executable_extensions; do
5939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5940 ac_cv_prog_ac_ct_CC="gcc"
5941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5950 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5951 if test -n "$ac_ct_CC"; then
5952 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5953 echo "${ECHO_T}$ac_ct_CC" >&6; }
5955 { echo "$as_me:$LINENO: result: no" >&5
5956 echo "${ECHO_T}no" >&6; }
5959 if test "x$ac_ct_CC" = x; then
5962 case $cross_compiling:$ac_tool_warned in
5964 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5965 whose name does not start with the host triplet. If you think this
5966 configuration is useful to you, please write to autoconf@gnu.org." >&5
5967 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5968 whose name does not start with the host triplet. If you think this
5969 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5970 ac_tool_warned=yes ;;
5978 if test -z "$CC"; then
5979 if test -n "$ac_tool_prefix"; then
5980 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5981 set dummy ${ac_tool_prefix}cc; ac_word=$2
5982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5984 if test "${ac_cv_prog_CC+set}" = set; then
5985 echo $ECHO_N "(cached) $ECHO_C" >&6
5987 if test -n "$CC"; then
5988 ac_cv_prog_CC="$CC" # Let the user override the test.
5990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5994 test -z "$as_dir" && as_dir=.
5995 for ac_exec_ext in '' $ac_executable_extensions; do
5996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5997 ac_cv_prog_CC="${ac_tool_prefix}cc"
5998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6008 if test -n "$CC"; then
6009 { echo "$as_me:$LINENO: result: $CC" >&5
6010 echo "${ECHO_T}$CC" >&6; }
6012 { echo "$as_me:$LINENO: result: no" >&5
6013 echo "${ECHO_T}no" >&6; }
6019 if test -z "$CC"; then
6020 # Extract the first word of "cc", so it can be a program name with args.
6021 set dummy cc; ac_word=$2
6022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6024 if test "${ac_cv_prog_CC+set}" = set; then
6025 echo $ECHO_N "(cached) $ECHO_C" >&6
6027 if test -n "$CC"; then
6028 ac_cv_prog_CC="$CC" # Let the user override the test.
6031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6035 test -z "$as_dir" && as_dir=.
6036 for ac_exec_ext in '' $ac_executable_extensions; do
6037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6038 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6039 ac_prog_rejected=yes
6043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6050 if test $ac_prog_rejected = yes; then
6051 # We found a bogon in the path, so make sure we never use it.
6052 set dummy $ac_cv_prog_CC
6054 if test $# != 0; then
6055 # We chose a different compiler from the bogus one.
6056 # However, it has the same basename, so the bogon will be chosen
6057 # first if we set CC to just the basename; use the full file name.
6059 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6065 if test -n "$CC"; then
6066 { echo "$as_me:$LINENO: result: $CC" >&5
6067 echo "${ECHO_T}$CC" >&6; }
6069 { echo "$as_me:$LINENO: result: no" >&5
6070 echo "${ECHO_T}no" >&6; }
6075 if test -z "$CC"; then
6076 if test -n "$ac_tool_prefix"; then
6077 for ac_prog in cl.exe
6079 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6080 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6083 if test "${ac_cv_prog_CC+set}" = set; then
6084 echo $ECHO_N "(cached) $ECHO_C" >&6
6086 if test -n "$CC"; then
6087 ac_cv_prog_CC="$CC" # Let the user override the test.
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6093 test -z "$as_dir" && as_dir=.
6094 for ac_exec_ext in '' $ac_executable_extensions; do
6095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6096 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 if test -n "$CC"; then
6108 { echo "$as_me:$LINENO: result: $CC" >&5
6109 echo "${ECHO_T}$CC" >&6; }
6111 { echo "$as_me:$LINENO: result: no" >&5
6112 echo "${ECHO_T}no" >&6; }
6116 test -n "$CC" && break
6119 if test -z "$CC"; then
6121 for ac_prog in cl.exe
6123 # Extract the first word of "$ac_prog", so it can be a program name with args.
6124 set dummy $ac_prog; ac_word=$2
6125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6127 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6128 echo $ECHO_N "(cached) $ECHO_C" >&6
6130 if test -n "$ac_ct_CC"; then
6131 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6137 test -z "$as_dir" && as_dir=.
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6140 ac_cv_prog_ac_ct_CC="$ac_prog"
6141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6150 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6151 if test -n "$ac_ct_CC"; then
6152 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6153 echo "${ECHO_T}$ac_ct_CC" >&6; }
6155 { echo "$as_me:$LINENO: result: no" >&5
6156 echo "${ECHO_T}no" >&6; }
6160 test -n "$ac_ct_CC" && break
6163 if test "x$ac_ct_CC" = x; then
6166 case $cross_compiling:$ac_tool_warned in
6168 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6169 whose name does not start with the host triplet. If you think this
6170 configuration is useful to you, please write to autoconf@gnu.org." >&5
6171 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6172 whose name does not start with the host triplet. If you think this
6173 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6174 ac_tool_warned=yes ;;
6183 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6184 See \`config.log' for more details." >&5
6185 echo "$as_me: error: no acceptable C compiler found in \$PATH
6186 See \`config.log' for more details." >&2;}
6187 { (exit 1); exit 1; }; }
6189 # Provide some information about the compiler.
6190 echo "$as_me:$LINENO: checking for C compiler version" >&5
6191 ac_compiler=`set X $ac_compile; echo $2`
6192 { (ac_try="$ac_compiler --version >&5"
6194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6195 *) ac_try_echo=$ac_try;;
6197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6198 (eval "$ac_compiler --version >&5") 2>&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); }
6202 { (ac_try="$ac_compiler -v >&5"
6204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6205 *) ac_try_echo=$ac_try;;
6207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6208 (eval "$ac_compiler -v >&5") 2>&5
6210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6211 (exit $ac_status); }
6212 { (ac_try="$ac_compiler -V >&5"
6214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6215 *) ac_try_echo=$ac_try;;
6217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6218 (eval "$ac_compiler -V >&5") 2>&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); }
6223 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6224 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
6225 if test "${ac_cv_c_compiler_gnu+set}" = set; then
6226 echo $ECHO_N "(cached) $ECHO_C" >&6
6228 cat >conftest.$ac_ext <<_ACEOF
6231 cat confdefs.h >>conftest.$ac_ext
6232 cat >>conftest.$ac_ext <<_ACEOF
6233 /* end confdefs.h. */
6246 rm -f conftest.$ac_objext
6247 if { (ac_try="$ac_compile"
6249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6250 *) ac_try_echo=$ac_try;;
6252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6253 (eval "$ac_compile") 2>conftest.er1
6255 grep -v '^ *+' conftest.er1 >conftest.err
6257 cat conftest.err >&5
6258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6259 (exit $ac_status); } && {
6260 test -z "$ac_c_werror_flag" ||
6261 test ! -s conftest.err
6262 } && test -s conftest.$ac_objext; then
6265 echo "$as_me: failed program was:" >&5
6266 sed 's/^/| /' conftest.$ac_ext >&5
6271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6272 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6275 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6276 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
6277 GCC=`test $ac_compiler_gnu = yes && echo yes`
6278 ac_test_CFLAGS=${CFLAGS+set}
6279 ac_save_CFLAGS=$CFLAGS
6280 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6281 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
6282 if test "${ac_cv_prog_cc_g+set}" = set; then
6283 echo $ECHO_N "(cached) $ECHO_C" >&6
6285 ac_save_c_werror_flag=$ac_c_werror_flag
6286 ac_c_werror_flag=yes
6289 cat >conftest.$ac_ext <<_ACEOF
6292 cat confdefs.h >>conftest.$ac_ext
6293 cat >>conftest.$ac_ext <<_ACEOF
6294 /* end confdefs.h. */
6304 rm -f conftest.$ac_objext
6305 if { (ac_try="$ac_compile"
6307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6308 *) ac_try_echo=$ac_try;;
6310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6311 (eval "$ac_compile") 2>conftest.er1
6313 grep -v '^ *+' conftest.er1 >conftest.err
6315 cat conftest.err >&5
6316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6317 (exit $ac_status); } && {
6318 test -z "$ac_c_werror_flag" ||
6319 test ! -s conftest.err
6320 } && test -s conftest.$ac_objext; then
6323 echo "$as_me: failed program was:" >&5
6324 sed 's/^/| /' conftest.$ac_ext >&5
6327 cat >conftest.$ac_ext <<_ACEOF
6330 cat confdefs.h >>conftest.$ac_ext
6331 cat >>conftest.$ac_ext <<_ACEOF
6332 /* end confdefs.h. */
6342 rm -f conftest.$ac_objext
6343 if { (ac_try="$ac_compile"
6345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6346 *) ac_try_echo=$ac_try;;
6348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6349 (eval "$ac_compile") 2>conftest.er1
6351 grep -v '^ *+' conftest.er1 >conftest.err
6353 cat conftest.err >&5
6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); } && {
6356 test -z "$ac_c_werror_flag" ||
6357 test ! -s conftest.err
6358 } && test -s conftest.$ac_objext; then
6361 echo "$as_me: failed program was:" >&5
6362 sed 's/^/| /' conftest.$ac_ext >&5
6364 ac_c_werror_flag=$ac_save_c_werror_flag
6366 cat >conftest.$ac_ext <<_ACEOF
6369 cat confdefs.h >>conftest.$ac_ext
6370 cat >>conftest.$ac_ext <<_ACEOF
6371 /* end confdefs.h. */
6381 rm -f conftest.$ac_objext
6382 if { (ac_try="$ac_compile"
6384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6385 *) ac_try_echo=$ac_try;;
6387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6388 (eval "$ac_compile") 2>conftest.er1
6390 grep -v '^ *+' conftest.er1 >conftest.err
6392 cat conftest.err >&5
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); } && {
6395 test -z "$ac_c_werror_flag" ||
6396 test ! -s conftest.err
6397 } && test -s conftest.$ac_objext; then
6400 echo "$as_me: failed program was:" >&5
6401 sed 's/^/| /' conftest.$ac_ext >&5
6406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6413 ac_c_werror_flag=$ac_save_c_werror_flag
6415 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6416 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
6417 if test "$ac_test_CFLAGS" = set; then
6418 CFLAGS=$ac_save_CFLAGS
6419 elif test $ac_cv_prog_cc_g = yes; then
6420 if test "$GCC" = yes; then
6426 if test "$GCC" = yes; then
6432 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
6433 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
6434 if test "${ac_cv_prog_cc_c89+set}" = set; then
6435 echo $ECHO_N "(cached) $ECHO_C" >&6
6437 ac_cv_prog_cc_c89=no
6439 cat >conftest.$ac_ext <<_ACEOF
6442 cat confdefs.h >>conftest.$ac_ext
6443 cat >>conftest.$ac_ext <<_ACEOF
6444 /* end confdefs.h. */
6447 #include <sys/types.h>
6448 #include <sys/stat.h>
6449 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6450 struct buf { int x; };
6451 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6452 static char *e (p, i)
6458 static char *f (char * (*g) (char **, int), char **p, ...)
6463 s = g (p, va_arg (v,int));
6468 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6469 function prototypes and stuff, but not '\xHH' hex character constants.
6470 These don't provoke an error unfortunately, instead are silently treated
6471 as 'x'. The following induces an error, until -std is added to get
6472 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6473 array size at least. It's necessary to write '\x00'==0 to get something
6474 that's true only with -std. */
6475 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6477 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6478 inside strings and character constants. */
6480 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6482 int test (int i, double x);
6483 struct s1 {int (*f) (int a);};
6484 struct s2 {int (*f) (double a);};
6485 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6491 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6496 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6497 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6499 CC="$ac_save_CC $ac_arg"
6500 rm -f conftest.$ac_objext
6501 if { (ac_try="$ac_compile"
6503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6504 *) ac_try_echo=$ac_try;;
6506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6507 (eval "$ac_compile") 2>conftest.er1
6509 grep -v '^ *+' conftest.er1 >conftest.err
6511 cat conftest.err >&5
6512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513 (exit $ac_status); } && {
6514 test -z "$ac_c_werror_flag" ||
6515 test ! -s conftest.err
6516 } && test -s conftest.$ac_objext; then
6517 ac_cv_prog_cc_c89=$ac_arg
6519 echo "$as_me: failed program was:" >&5
6520 sed 's/^/| /' conftest.$ac_ext >&5
6525 rm -f core conftest.err conftest.$ac_objext
6526 test "x$ac_cv_prog_cc_c89" != "xno" && break
6528 rm -f conftest.$ac_ext
6533 case "x$ac_cv_prog_cc_c89" in
6535 { echo "$as_me:$LINENO: result: none needed" >&5
6536 echo "${ECHO_T}none needed" >&6; } ;;
6538 { echo "$as_me:$LINENO: result: unsupported" >&5
6539 echo "${ECHO_T}unsupported" >&6; } ;;
6541 CC="$CC $ac_cv_prog_cc_c89"
6542 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
6543 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
6548 ac_cpp='$CPP $CPPFLAGS'
6549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6553 depcc="$CC" am_compiler_list=
6555 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6556 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6557 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6558 echo $ECHO_N "(cached) $ECHO_C" >&6
6560 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6561 # We make a subdir and do the tests there. Otherwise we can end up
6562 # making bogus files that we don't know about and never remove. For
6563 # instance it was reported that on HP-UX the gcc test will end up
6564 # making a dummy file named `D' -- because `-MD' means `put the output
6567 # Copy depcomp to subdir because otherwise we won't find it if we're
6568 # using a relative directory.
6569 cp "$am_depcomp" conftest.dir
6571 # We will build objects and dependencies in a subdirectory because
6572 # it helps to detect inapplicable dependency modes. For instance
6573 # both Tru64's cc and ICC support -MD to output dependencies as a
6574 # side effect of compilation, but ICC will put the dependencies in
6575 # the current directory while Tru64 will put them in the object
6579 am_cv_CC_dependencies_compiler_type=none
6580 if test "$am_compiler_list" = ""; then
6581 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6583 for depmode in $am_compiler_list; do
6584 # Setup a source with many dependencies, because some compilers
6585 # like to wrap large dependency lists on column 80 (with \), and
6586 # we should not choose a depcomp mode which is confused by this.
6588 # We need to recreate these files for each test, as the compiler may
6589 # overwrite some of them when testing with obscure command lines.
6590 # This happens at least with the AIX C compiler.
6592 for i in 1 2 3 4 5 6; do
6593 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6594 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6595 # Solaris 8's {/usr,}/bin/sh.
6596 touch sub/conftst$i.h
6598 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6602 # after this tag, mechanisms are not by side-effect, so they'll
6603 # only be used when explicitly requested
6604 if test "x$enable_dependency_tracking" = xyes; then
6612 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6613 # mode. It turns out that the SunPro C++ compiler does not properly
6614 # handle `-M -o', and we need to detect this.
6615 if depmode=$depmode \
6616 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6617 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6618 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6619 >/dev/null 2>conftest.err &&
6620 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6621 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6622 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6623 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6624 # icc doesn't choke on unknown options, it will just issue warnings
6625 # or remarks (even with -Werror). So we grep stderr for any message
6626 # that says an option was ignored or not supported.
6627 # When given -MP, icc 7.0 and 7.1 complain thusly:
6628 # icc: Command line warning: ignoring option '-M'; no argument required
6629 # The diagnosis changed in icc 8.0:
6630 # icc: Command line remark: option '-MP' not supported
6631 if (grep 'ignoring option' conftest.err ||
6632 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6633 am_cv_CC_dependencies_compiler_type=$depmode
6642 am_cv_CC_dependencies_compiler_type=none
6646 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6647 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
6648 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6651 test "x$enable_dependency_tracking" != xno \
6652 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6654 am__fastdepCC_FALSE='#'
6656 am__fastdepCC_TRUE='#'
6657 am__fastdepCC_FALSE=
6662 if test -n "$ac_tool_prefix"; then
6663 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6664 set dummy ${ac_tool_prefix}windres; ac_word=$2
6665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6667 if test "${ac_cv_prog_RC+set}" = set; then
6668 echo $ECHO_N "(cached) $ECHO_C" >&6
6670 if test -n "$RC"; then
6671 ac_cv_prog_RC="$RC" # Let the user override the test.
6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677 test -z "$as_dir" && as_dir=.
6678 for ac_exec_ext in '' $ac_executable_extensions; do
6679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6680 ac_cv_prog_RC="${ac_tool_prefix}windres"
6681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6691 if test -n "$RC"; then
6692 { echo "$as_me:$LINENO: result: $RC" >&5
6693 echo "${ECHO_T}$RC" >&6; }
6695 { echo "$as_me:$LINENO: result: no" >&5
6696 echo "${ECHO_T}no" >&6; }
6701 if test -z "$ac_cv_prog_RC"; then
6703 # Extract the first word of "windres", so it can be a program name with args.
6704 set dummy windres; ac_word=$2
6705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6707 if test "${ac_cv_prog_ac_ct_RC+set}" = set; then
6708 echo $ECHO_N "(cached) $ECHO_C" >&6
6710 if test -n "$ac_ct_RC"; then
6711 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
6713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717 test -z "$as_dir" && as_dir=.
6718 for ac_exec_ext in '' $ac_executable_extensions; do
6719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6720 ac_cv_prog_ac_ct_RC="windres"
6721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6730 ac_ct_RC=$ac_cv_prog_ac_ct_RC
6731 if test -n "$ac_ct_RC"; then
6732 { echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
6733 echo "${ECHO_T}$ac_ct_RC" >&6; }
6735 { echo "$as_me:$LINENO: result: no" >&5
6736 echo "${ECHO_T}no" >&6; }
6739 if test "x$ac_ct_RC" = x; then
6742 case $cross_compiling:$ac_tool_warned in
6744 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6745 whose name does not start with the host triplet. If you think this
6746 configuration is useful to you, please write to autoconf@gnu.org." >&5
6747 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6748 whose name does not start with the host triplet. If you think this
6749 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6750 ac_tool_warned=yes ;;
6761 ### Checks for libraries
6763 # Evil library for compilation on Windows
6769 { echo "$as_me:$LINENO: checking for EVIL" >&5
6770 echo $ECHO_N "checking for EVIL... $ECHO_C" >&6; }
6772 if test -n "$PKG_CONFIG"; then
6773 if test -n "$EVIL_CFLAGS"; then
6774 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
6776 if test -n "$PKG_CONFIG" && \
6777 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evil\"") >&5
6778 ($PKG_CONFIG --exists --print-errors "evil") 2>&5
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); }; then
6782 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil" 2>/dev/null`
6790 if test -n "$PKG_CONFIG"; then
6791 if test -n "$EVIL_LIBS"; then
6792 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
6794 if test -n "$PKG_CONFIG" && \
6795 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evil\"") >&5
6796 ($PKG_CONFIG --exists --print-errors "evil") 2>&5
6798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799 (exit $ac_status); }; then
6800 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil" 2>/dev/null`
6811 if test $pkg_failed = yes; then
6813 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6814 _pkg_short_errors_supported=yes
6816 _pkg_short_errors_supported=no
6818 if test $_pkg_short_errors_supported = yes; then
6819 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "evil"`
6821 EVIL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "evil"`
6823 # Put the nasty error message in config.log where it belongs
6824 echo "$EVIL_PKG_ERRORS" >&5
6826 { { echo "$as_me:$LINENO: error: Package requirements (evil) were not met:
6830 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6831 installed software in a non-standard prefix.
6833 Alternatively, you may set the environment variables EVIL_CFLAGS
6834 and EVIL_LIBS to avoid the need to call pkg-config.
6835 See the pkg-config man page for more details.
6837 echo "$as_me: error: Package requirements (evil) were not met:
6841 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6842 installed software in a non-standard prefix.
6844 Alternatively, you may set the environment variables EVIL_CFLAGS
6845 and EVIL_LIBS to avoid the need to call pkg-config.
6846 See the pkg-config man page for more details.
6848 { (exit 1); exit 1; }; }
6849 elif test $pkg_failed = untried; then
6850 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
6851 is in your PATH or set the PKG_CONFIG environment variable to the full
6854 Alternatively, you may set the environment variables EVIL_CFLAGS
6855 and EVIL_LIBS to avoid the need to call pkg-config.
6856 See the pkg-config man page for more details.
6858 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6859 See \`config.log' for more details." >&5
6860 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
6861 is in your PATH or set the PKG_CONFIG environment variable to the full
6864 Alternatively, you may set the environment variables EVIL_CFLAGS
6865 and EVIL_LIBS to avoid the need to call pkg-config.
6866 See the pkg-config man page for more details.
6868 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6869 See \`config.log' for more details." >&2;}
6870 { (exit 1); exit 1; }; }
6872 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
6873 EVIL_LIBS=$pkg_cv_EVIL_LIBS
6874 { echo "$as_me:$LINENO: result: yes" >&5
6875 echo "${ECHO_T}yes" >&6; }
6879 cat >>confdefs.h <<\_ACEOF
6890 { echo "$as_me:$LINENO: checking for EINA" >&5
6891 echo $ECHO_N "checking for EINA... $ECHO_C" >&6; }
6893 if test -n "$PKG_CONFIG"; then
6894 if test -n "$EINA_CFLAGS"; then
6895 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
6897 if test -n "$PKG_CONFIG" && \
6898 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"eina-0\"") >&5
6899 ($PKG_CONFIG --exists --print-errors "eina-0") 2>&5
6901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); }; then
6903 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina-0" 2>/dev/null`
6911 if test -n "$PKG_CONFIG"; then
6912 if test -n "$EINA_LIBS"; then
6913 pkg_cv_EINA_LIBS="$EINA_LIBS"
6915 if test -n "$PKG_CONFIG" && \
6916 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"eina-0\"") >&5
6917 ($PKG_CONFIG --exists --print-errors "eina-0") 2>&5
6919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920 (exit $ac_status); }; then
6921 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina-0" 2>/dev/null`
6932 if test $pkg_failed = yes; then
6934 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6935 _pkg_short_errors_supported=yes
6937 _pkg_short_errors_supported=no
6939 if test $_pkg_short_errors_supported = yes; then
6940 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "eina-0"`
6942 EINA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "eina-0"`
6944 # Put the nasty error message in config.log where it belongs
6945 echo "$EINA_PKG_ERRORS" >&5
6947 { { echo "$as_me:$LINENO: error: Package requirements (eina-0) were not met:
6951 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6952 installed software in a non-standard prefix.
6954 Alternatively, you may set the environment variables EINA_CFLAGS
6955 and EINA_LIBS to avoid the need to call pkg-config.
6956 See the pkg-config man page for more details.
6958 echo "$as_me: error: Package requirements (eina-0) were not met:
6962 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6963 installed software in a non-standard prefix.
6965 Alternatively, you may set the environment variables EINA_CFLAGS
6966 and EINA_LIBS to avoid the need to call pkg-config.
6967 See the pkg-config man page for more details.
6969 { (exit 1); exit 1; }; }
6970 elif test $pkg_failed = untried; then
6971 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
6972 is in your PATH or set the PKG_CONFIG environment variable to the full
6975 Alternatively, you may set the environment variables EINA_CFLAGS
6976 and EINA_LIBS to avoid the need to call pkg-config.
6977 See the pkg-config man page for more details.
6979 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6980 See \`config.log' for more details." >&5
6981 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
6982 is in your PATH or set the PKG_CONFIG environment variable to the full
6985 Alternatively, you may set the environment variables EINA_CFLAGS
6986 and EINA_LIBS to avoid the need to call pkg-config.
6987 See the pkg-config man page for more details.
6989 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6990 See \`config.log' for more details." >&2;}
6991 { (exit 1); exit 1; }; }
6993 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
6994 EINA_LIBS=$pkg_cv_EINA_LIBS
6995 { echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6; }
7004 { echo "$as_me:$LINENO: checking for EVAS" >&5
7005 echo $ECHO_N "checking for EVAS... $ECHO_C" >&6; }
7007 if test -n "$PKG_CONFIG"; then
7008 if test -n "$EVAS_CFLAGS"; then
7009 pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
7011 if test -n "$PKG_CONFIG" && \
7012 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas eet\"") >&5
7013 ($PKG_CONFIG --exists --print-errors "evas eet") 2>&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); }; then
7017 pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas eet" 2>/dev/null`
7025 if test -n "$PKG_CONFIG"; then
7026 if test -n "$EVAS_LIBS"; then
7027 pkg_cv_EVAS_LIBS="$EVAS_LIBS"
7029 if test -n "$PKG_CONFIG" && \
7030 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas eet\"") >&5
7031 ($PKG_CONFIG --exists --print-errors "evas eet") 2>&5
7033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034 (exit $ac_status); }; then
7035 pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas eet" 2>/dev/null`
7046 if test $pkg_failed = yes; then
7048 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7049 _pkg_short_errors_supported=yes
7051 _pkg_short_errors_supported=no
7053 if test $_pkg_short_errors_supported = yes; then
7054 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "evas eet"`
7056 EVAS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "evas eet"`
7058 # Put the nasty error message in config.log where it belongs
7059 echo "$EVAS_PKG_ERRORS" >&5
7061 { { echo "$as_me:$LINENO: error: Package requirements (evas eet) were not met:
7065 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7066 installed software in a non-standard prefix.
7068 Alternatively, you may set the environment variables EVAS_CFLAGS
7069 and EVAS_LIBS to avoid the need to call pkg-config.
7070 See the pkg-config man page for more details.
7072 echo "$as_me: error: Package requirements (evas eet) were not met:
7076 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7077 installed software in a non-standard prefix.
7079 Alternatively, you may set the environment variables EVAS_CFLAGS
7080 and EVAS_LIBS to avoid the need to call pkg-config.
7081 See the pkg-config man page for more details.
7083 { (exit 1); exit 1; }; }
7084 elif test $pkg_failed = untried; then
7085 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
7086 is in your PATH or set the PKG_CONFIG environment variable to the full
7089 Alternatively, you may set the environment variables EVAS_CFLAGS
7090 and EVAS_LIBS to avoid the need to call pkg-config.
7091 See the pkg-config man page for more details.
7093 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7094 See \`config.log' for more details." >&5
7095 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
7096 is in your PATH or set the PKG_CONFIG environment variable to the full
7099 Alternatively, you may set the environment variables EVAS_CFLAGS
7100 and EVAS_LIBS to avoid the need to call pkg-config.
7101 See the pkg-config man page for more details.
7103 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7104 See \`config.log' for more details." >&2;}
7105 { (exit 1); exit 1; }; }
7107 EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
7108 EVAS_LIBS=$pkg_cv_EVAS_LIBS
7109 { echo "$as_me:$LINENO: result: yes" >&5
7110 echo "${ECHO_T}yes" >&6; }
7116 if test "x$have_software_xlib" = "xyes" -o "x$have_software_16_x11" = "xyes" -o "x$have_xrender_x11" = "xyes" -o "x$have_opengl_x11" = "xyes"; then
7118 ac_cpp='$CPP $CPPFLAGS'
7119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7122 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7123 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
7124 # On Suns, sometimes $CPP names a directory.
7125 if test -n "$CPP" && test -d "$CPP"; then
7128 if test -z "$CPP"; then
7129 if test "${ac_cv_prog_CPP+set}" = set; then
7130 echo $ECHO_N "(cached) $ECHO_C" >&6
7132 # Double quotes because CPP needs to be expanded
7133 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7136 for ac_c_preproc_warn_flag in '' yes
7138 # Use a header file that comes with gcc, so configuring glibc
7139 # with a fresh cross-compiler works.
7140 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7141 # <limits.h> exists even on freestanding compilers.
7142 # On the NeXT, cc -E runs the code through the compiler's parser,
7143 # not just through cpp. "Syntax error" is here to catch this case.
7144 cat >conftest.$ac_ext <<_ACEOF
7147 cat confdefs.h >>conftest.$ac_ext
7148 cat >>conftest.$ac_ext <<_ACEOF
7149 /* end confdefs.h. */
7151 # include <limits.h>
7153 # include <assert.h>
7157 if { (ac_try="$ac_cpp conftest.$ac_ext"
7159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7160 *) ac_try_echo=$ac_try;;
7162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7163 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7165 grep -v '^ *+' conftest.er1 >conftest.err
7167 cat conftest.err >&5
7168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169 (exit $ac_status); } >/dev/null && {
7170 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7171 test ! -s conftest.err
7175 echo "$as_me: failed program was:" >&5
7176 sed 's/^/| /' conftest.$ac_ext >&5
7178 # Broken: fails on valid input.
7182 rm -f conftest.err conftest.$ac_ext
7184 # OK, works on sane cases. Now check whether nonexistent headers
7185 # can be detected and how.
7186 cat >conftest.$ac_ext <<_ACEOF
7189 cat confdefs.h >>conftest.$ac_ext
7190 cat >>conftest.$ac_ext <<_ACEOF
7191 /* end confdefs.h. */
7192 #include <ac_nonexistent.h>
7194 if { (ac_try="$ac_cpp conftest.$ac_ext"
7196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7197 *) ac_try_echo=$ac_try;;
7199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7200 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7202 grep -v '^ *+' conftest.er1 >conftest.err
7204 cat conftest.err >&5
7205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7206 (exit $ac_status); } >/dev/null && {
7207 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7208 test ! -s conftest.err
7210 # Broken: success on invalid input.
7213 echo "$as_me: failed program was:" >&5
7214 sed 's/^/| /' conftest.$ac_ext >&5
7216 # Passes both tests.
7221 rm -f conftest.err conftest.$ac_ext
7224 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7225 rm -f conftest.err conftest.$ac_ext
7226 if $ac_preproc_ok; then
7238 { echo "$as_me:$LINENO: result: $CPP" >&5
7239 echo "${ECHO_T}$CPP" >&6; }
7241 for ac_c_preproc_warn_flag in '' yes
7243 # Use a header file that comes with gcc, so configuring glibc
7244 # with a fresh cross-compiler works.
7245 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7246 # <limits.h> exists even on freestanding compilers.
7247 # On the NeXT, cc -E runs the code through the compiler's parser,
7248 # not just through cpp. "Syntax error" is here to catch this case.
7249 cat >conftest.$ac_ext <<_ACEOF
7252 cat confdefs.h >>conftest.$ac_ext
7253 cat >>conftest.$ac_ext <<_ACEOF
7254 /* end confdefs.h. */
7256 # include <limits.h>
7258 # include <assert.h>
7262 if { (ac_try="$ac_cpp conftest.$ac_ext"
7264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7265 *) ac_try_echo=$ac_try;;
7267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7268 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7270 grep -v '^ *+' conftest.er1 >conftest.err
7272 cat conftest.err >&5
7273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274 (exit $ac_status); } >/dev/null && {
7275 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7276 test ! -s conftest.err
7280 echo "$as_me: failed program was:" >&5
7281 sed 's/^/| /' conftest.$ac_ext >&5
7283 # Broken: fails on valid input.
7287 rm -f conftest.err conftest.$ac_ext
7289 # OK, works on sane cases. Now check whether nonexistent headers
7290 # can be detected and how.
7291 cat >conftest.$ac_ext <<_ACEOF
7294 cat confdefs.h >>conftest.$ac_ext
7295 cat >>conftest.$ac_ext <<_ACEOF
7296 /* end confdefs.h. */
7297 #include <ac_nonexistent.h>
7299 if { (ac_try="$ac_cpp conftest.$ac_ext"
7301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7302 *) ac_try_echo=$ac_try;;
7304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7305 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7307 grep -v '^ *+' conftest.er1 >conftest.err
7309 cat conftest.err >&5
7310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7311 (exit $ac_status); } >/dev/null && {
7312 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7313 test ! -s conftest.err
7315 # Broken: success on invalid input.
7318 echo "$as_me: failed program was:" >&5
7319 sed 's/^/| /' conftest.$ac_ext >&5
7321 # Passes both tests.
7326 rm -f conftest.err conftest.$ac_ext
7329 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7330 rm -f conftest.err conftest.$ac_ext
7331 if $ac_preproc_ok; then
7334 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7335 See \`config.log' for more details." >&5
7336 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7337 See \`config.log' for more details." >&2;}
7338 { (exit 1); exit 1; }; }
7342 ac_cpp='$CPP $CPPFLAGS'
7343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7348 { echo "$as_me:$LINENO: checking for X" >&5
7349 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
7352 # Check whether --with-x was given.
7353 if test "${with_x+set}" = set; then
7357 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7358 if test "x$with_x" = xno; then
7359 # The user explicitly disabled X.
7362 case $x_includes,$x_libraries in #(
7363 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
7364 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
7365 { (exit 1); exit 1; }; };; #(
7366 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
7367 echo $ECHO_N "(cached) $ECHO_C" >&6
7369 # One or both of the vars are not set, and there is no cached value.
7370 ac_x_includes=no ac_x_libraries=no
7371 rm -f -r conftest.dir
7372 if mkdir conftest.dir; then
7374 cat >Imakefile <<'_ACEOF'
7376 @echo incroot='${INCROOT}'
7378 @echo usrlibdir='${USRLIBDIR}'
7380 @echo libdir='${LIBDIR}'
7382 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7383 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7384 for ac_var in incroot usrlibdir libdir; do
7385 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7387 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7388 for ac_extension in a so sl; do
7389 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7390 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7391 ac_im_usrlibdir=$ac_im_libdir; break
7394 # Screen out bogus values from the imake configuration. They are
7395 # bogus both because they are the default anyway, and because
7396 # using them would break gcc on systems where it needs fixed includes.
7397 case $ac_im_incroot in
7398 /usr/include) ac_x_includes= ;;
7399 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7401 case $ac_im_usrlibdir in
7403 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7407 rm -f -r conftest.dir
7410 # Standard set of common directories for X headers.
7411 # Check X11 before X11Rn because it is often a symlink to the current release.
7423 /usr/local/X11/include
7424 /usr/local/X11R6/include
7425 /usr/local/X11R5/include
7426 /usr/local/X11R4/include
7428 /usr/local/include/X11
7429 /usr/local/include/X11R6
7430 /usr/local/include/X11R5
7431 /usr/local/include/X11R4
7435 /usr/XFree86/include/X11
7439 /usr/unsupported/include
7441 /usr/local/x11r5/include
7442 /usr/lpp/Xamples/include
7444 /usr/openwin/include
7445 /usr/openwin/share/include'
7447 if test "$ac_x_includes" = no; then
7448 # Guess where to find include files, by looking for Xlib.h.
7449 # First, try using that file with no special directory specified.
7450 cat >conftest.$ac_ext <<_ACEOF
7453 cat confdefs.h >>conftest.$ac_ext
7454 cat >>conftest.$ac_ext <<_ACEOF
7455 /* end confdefs.h. */
7456 #include <X11/Xlib.h>
7458 if { (ac_try="$ac_cpp conftest.$ac_ext"
7460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7461 *) ac_try_echo=$ac_try;;
7463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7464 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7466 grep -v '^ *+' conftest.er1 >conftest.err
7468 cat conftest.err >&5
7469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7470 (exit $ac_status); } >/dev/null && {
7471 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7472 test ! -s conftest.err
7474 # We can compile using X headers with no special include directory.
7477 echo "$as_me: failed program was:" >&5
7478 sed 's/^/| /' conftest.$ac_ext >&5
7480 for ac_dir in $ac_x_header_dirs; do
7481 if test -r "$ac_dir/X11/Xlib.h"; then
7482 ac_x_includes=$ac_dir
7488 rm -f conftest.err conftest.$ac_ext
7489 fi # $ac_x_includes = no
7491 if test "$ac_x_libraries" = no; then
7492 # Check for the libraries.
7493 # See if we find them without any special options.
7494 # Don't add to $LIBS permanently.
7497 cat >conftest.$ac_ext <<_ACEOF
7500 cat confdefs.h >>conftest.$ac_ext
7501 cat >>conftest.$ac_ext <<_ACEOF
7502 /* end confdefs.h. */
7503 #include <X11/Xlib.h>
7512 rm -f conftest.$ac_objext conftest$ac_exeext
7513 if { (ac_try="$ac_link"
7515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7516 *) ac_try_echo=$ac_try;;
7518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7519 (eval "$ac_link") 2>conftest.er1
7521 grep -v '^ *+' conftest.er1 >conftest.err
7523 cat conftest.err >&5
7524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525 (exit $ac_status); } && {
7526 test -z "$ac_c_werror_flag" ||
7527 test ! -s conftest.err
7528 } && test -s conftest$ac_exeext &&
7529 $as_test_x conftest$ac_exeext; then
7531 # We can link X programs with no special library path.
7534 echo "$as_me: failed program was:" >&5
7535 sed 's/^/| /' conftest.$ac_ext >&5
7538 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7540 # Don't even attempt the hair of trying to link an X program!
7541 for ac_extension in a so sl; do
7542 if test -r "$ac_dir/libX11.$ac_extension"; then
7543 ac_x_libraries=$ac_dir
7550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7551 conftest$ac_exeext conftest.$ac_ext
7552 fi # $ac_x_libraries = no
7554 case $ac_x_includes,$ac_x_libraries in #(
7556 # Didn't find X, or a directory has "'" in its name.
7557 ac_cv_have_x="have_x=no";; #(
7559 # Record where we found X for the cache.
7560 ac_cv_have_x="have_x=yes\
7561 ac_x_includes='$ac_x_includes'\
7562 ac_x_libraries='$ac_x_libraries'"
7568 eval "$ac_cv_have_x"
7571 if test "$have_x" != yes; then
7572 { echo "$as_me:$LINENO: result: $have_x" >&5
7573 echo "${ECHO_T}$have_x" >&6; }
7576 # If each of the values was on the command line, it overrides each guess.
7577 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7578 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7579 # Update the cache value to reflect the command line values.
7580 ac_cv_have_x="have_x=yes\
7581 ac_x_includes='$x_includes'\
7582 ac_x_libraries='$x_libraries'"
7583 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
7584 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
7587 if test "$no_x" = yes; then
7588 # Not all programs may use this symbol, but it does not hurt to define it.
7590 cat >>confdefs.h <<\_ACEOF
7591 #define X_DISPLAY_MISSING 1
7594 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7596 if test -n "$x_includes"; then
7597 X_CFLAGS="$X_CFLAGS -I$x_includes"
7600 # It would also be nice to do this for all -L options, not just this one.
7601 if test -n "$x_libraries"; then
7602 X_LIBS="$X_LIBS -L$x_libraries"
7603 # For Solaris; some versions of Sun CC require a space after -R and
7604 # others require no space. Words are not sufficient . . . .
7605 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
7606 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
7607 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7608 ac_xsave_c_werror_flag=$ac_c_werror_flag
7609 ac_c_werror_flag=yes
7610 cat >conftest.$ac_ext <<_ACEOF
7613 cat confdefs.h >>conftest.$ac_ext
7614 cat >>conftest.$ac_ext <<_ACEOF
7615 /* end confdefs.h. */
7625 rm -f conftest.$ac_objext conftest$ac_exeext
7626 if { (ac_try="$ac_link"
7628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7629 *) ac_try_echo=$ac_try;;
7631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7632 (eval "$ac_link") 2>conftest.er1
7634 grep -v '^ *+' conftest.er1 >conftest.err
7636 cat conftest.err >&5
7637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7638 (exit $ac_status); } && {
7639 test -z "$ac_c_werror_flag" ||
7640 test ! -s conftest.err
7641 } && test -s conftest$ac_exeext &&
7642 $as_test_x conftest$ac_exeext; then
7643 { echo "$as_me:$LINENO: result: no" >&5
7644 echo "${ECHO_T}no" >&6; }
7645 X_LIBS="$X_LIBS -R$x_libraries"
7647 echo "$as_me: failed program was:" >&5
7648 sed 's/^/| /' conftest.$ac_ext >&5
7650 LIBS="$ac_xsave_LIBS -R $x_libraries"
7651 cat >conftest.$ac_ext <<_ACEOF
7654 cat confdefs.h >>conftest.$ac_ext
7655 cat >>conftest.$ac_ext <<_ACEOF
7656 /* end confdefs.h. */
7666 rm -f conftest.$ac_objext conftest$ac_exeext
7667 if { (ac_try="$ac_link"
7669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7670 *) ac_try_echo=$ac_try;;
7672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7673 (eval "$ac_link") 2>conftest.er1
7675 grep -v '^ *+' conftest.er1 >conftest.err
7677 cat conftest.err >&5
7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); } && {
7680 test -z "$ac_c_werror_flag" ||
7681 test ! -s conftest.err
7682 } && test -s conftest$ac_exeext &&
7683 $as_test_x conftest$ac_exeext; then
7684 { echo "$as_me:$LINENO: result: yes" >&5
7685 echo "${ECHO_T}yes" >&6; }
7686 X_LIBS="$X_LIBS -R $x_libraries"
7688 echo "$as_me: failed program was:" >&5
7689 sed 's/^/| /' conftest.$ac_ext >&5
7691 { echo "$as_me:$LINENO: result: neither works" >&5
7692 echo "${ECHO_T}neither works" >&6; }
7695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7696 conftest$ac_exeext conftest.$ac_ext
7699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7700 conftest$ac_exeext conftest.$ac_ext
7701 ac_c_werror_flag=$ac_xsave_c_werror_flag
7705 # Check for system-dependent libraries X programs must link with.
7706 # Do this before checking for the system-independent R6 libraries
7707 # (-lICE), since we may need -lsocket or whatever for X linking.
7709 if test "$ISC" = yes; then
7710 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7712 # Martyn Johnson says this is needed for Ultrix, if the X
7713 # libraries were built with DECnet support. And Karl Berry says
7714 # the Alpha needs dnet_stub (dnet does not exist).
7715 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7716 cat >conftest.$ac_ext <<_ACEOF
7719 cat confdefs.h >>conftest.$ac_ext
7720 cat >>conftest.$ac_ext <<_ACEOF
7721 /* end confdefs.h. */
7723 /* Override any GCC internal prototype to avoid an error.
7724 Use char because int might match the return type of a GCC
7725 builtin and then its argument prototype would still apply. */
7729 char XOpenDisplay ();
7733 return XOpenDisplay ();
7738 rm -f conftest.$ac_objext conftest$ac_exeext
7739 if { (ac_try="$ac_link"
7741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7742 *) ac_try_echo=$ac_try;;
7744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7745 (eval "$ac_link") 2>conftest.er1
7747 grep -v '^ *+' conftest.er1 >conftest.err
7749 cat conftest.err >&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); } && {
7752 test -z "$ac_c_werror_flag" ||
7753 test ! -s conftest.err
7754 } && test -s conftest$ac_exeext &&
7755 $as_test_x conftest$ac_exeext; then
7758 echo "$as_me: failed program was:" >&5
7759 sed 's/^/| /' conftest.$ac_ext >&5
7761 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
7762 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
7763 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
7764 echo $ECHO_N "(cached) $ECHO_C" >&6
7766 ac_check_lib_save_LIBS=$LIBS
7768 cat >conftest.$ac_ext <<_ACEOF
7771 cat confdefs.h >>conftest.$ac_ext
7772 cat >>conftest.$ac_ext <<_ACEOF
7773 /* end confdefs.h. */
7775 /* Override any GCC internal prototype to avoid an error.
7776 Use char because int might match the return type of a GCC
7777 builtin and then its argument prototype would still apply. */
7785 return dnet_ntoa ();
7790 rm -f conftest.$ac_objext conftest$ac_exeext
7791 if { (ac_try="$ac_link"
7793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7794 *) ac_try_echo=$ac_try;;
7796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7797 (eval "$ac_link") 2>conftest.er1
7799 grep -v '^ *+' conftest.er1 >conftest.err
7801 cat conftest.err >&5
7802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7803 (exit $ac_status); } && {
7804 test -z "$ac_c_werror_flag" ||
7805 test ! -s conftest.err
7806 } && test -s conftest$ac_exeext &&
7807 $as_test_x conftest$ac_exeext; then
7808 ac_cv_lib_dnet_dnet_ntoa=yes
7810 echo "$as_me: failed program was:" >&5
7811 sed 's/^/| /' conftest.$ac_ext >&5
7813 ac_cv_lib_dnet_dnet_ntoa=no
7816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7817 conftest$ac_exeext conftest.$ac_ext
7818 LIBS=$ac_check_lib_save_LIBS
7820 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7821 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7822 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
7823 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7826 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7827 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
7828 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
7829 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
7830 echo $ECHO_N "(cached) $ECHO_C" >&6
7832 ac_check_lib_save_LIBS=$LIBS
7833 LIBS="-ldnet_stub $LIBS"
7834 cat >conftest.$ac_ext <<_ACEOF
7837 cat confdefs.h >>conftest.$ac_ext
7838 cat >>conftest.$ac_ext <<_ACEOF
7839 /* end confdefs.h. */
7841 /* Override any GCC internal prototype to avoid an error.
7842 Use char because int might match the return type of a GCC
7843 builtin and then its argument prototype would still apply. */
7851 return dnet_ntoa ();
7856 rm -f conftest.$ac_objext conftest$ac_exeext
7857 if { (ac_try="$ac_link"
7859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7860 *) ac_try_echo=$ac_try;;
7862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7863 (eval "$ac_link") 2>conftest.er1
7865 grep -v '^ *+' conftest.er1 >conftest.err
7867 cat conftest.err >&5
7868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7869 (exit $ac_status); } && {
7870 test -z "$ac_c_werror_flag" ||
7871 test ! -s conftest.err
7872 } && test -s conftest$ac_exeext &&
7873 $as_test_x conftest$ac_exeext; then
7874 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7876 echo "$as_me: failed program was:" >&5
7877 sed 's/^/| /' conftest.$ac_ext >&5
7879 ac_cv_lib_dnet_stub_dnet_ntoa=no
7882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7883 conftest$ac_exeext conftest.$ac_ext
7884 LIBS=$ac_check_lib_save_LIBS
7886 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7887 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7888 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
7889 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7896 conftest$ac_exeext conftest.$ac_ext
7897 LIBS="$ac_xsave_LIBS"
7899 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7900 # to get the SysV transport functions.
7901 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7903 # The nsl library prevents programs from opening the X display
7904 # on Irix 5.2, according to T.E. Dickey.
7905 # The functions gethostbyname, getservbyname, and inet_addr are
7906 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7907 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
7908 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
7909 if test "${ac_cv_func_gethostbyname+set}" = set; then
7910 echo $ECHO_N "(cached) $ECHO_C" >&6
7912 cat >conftest.$ac_ext <<_ACEOF
7915 cat confdefs.h >>conftest.$ac_ext
7916 cat >>conftest.$ac_ext <<_ACEOF
7917 /* end confdefs.h. */
7918 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
7919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7920 #define gethostbyname innocuous_gethostbyname
7922 /* System header to define __stub macros and hopefully few prototypes,
7923 which can conflict with char gethostbyname (); below.
7924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7925 <limits.h> exists even on freestanding compilers. */
7928 # include <limits.h>
7930 # include <assert.h>
7933 #undef gethostbyname
7935 /* Override any GCC internal prototype to avoid an error.
7936 Use char because int might match the return type of a GCC
7937 builtin and then its argument prototype would still apply. */
7941 char gethostbyname ();
7942 /* The GNU C library defines this for functions which it implements
7943 to always fail with ENOSYS. Some functions are actually named
7944 something starting with __ and the normal name is an alias. */
7945 #if defined __stub_gethostbyname || defined __stub___gethostbyname
7952 return gethostbyname ();
7957 rm -f conftest.$ac_objext conftest$ac_exeext
7958 if { (ac_try="$ac_link"
7960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7961 *) ac_try_echo=$ac_try;;
7963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7964 (eval "$ac_link") 2>conftest.er1
7966 grep -v '^ *+' conftest.er1 >conftest.err
7968 cat conftest.err >&5
7969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970 (exit $ac_status); } && {
7971 test -z "$ac_c_werror_flag" ||
7972 test ! -s conftest.err
7973 } && test -s conftest$ac_exeext &&
7974 $as_test_x conftest$ac_exeext; then
7975 ac_cv_func_gethostbyname=yes
7977 echo "$as_me: failed program was:" >&5
7978 sed 's/^/| /' conftest.$ac_ext >&5
7980 ac_cv_func_gethostbyname=no
7983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7984 conftest$ac_exeext conftest.$ac_ext
7986 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
7987 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
7989 if test $ac_cv_func_gethostbyname = no; then
7990 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7991 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
7992 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7993 echo $ECHO_N "(cached) $ECHO_C" >&6
7995 ac_check_lib_save_LIBS=$LIBS
7997 cat >conftest.$ac_ext <<_ACEOF
8000 cat confdefs.h >>conftest.$ac_ext
8001 cat >>conftest.$ac_ext <<_ACEOF
8002 /* end confdefs.h. */
8004 /* Override any GCC internal prototype to avoid an error.
8005 Use char because int might match the return type of a GCC
8006 builtin and then its argument prototype would still apply. */
8010 char gethostbyname ();
8014 return gethostbyname ();
8019 rm -f conftest.$ac_objext conftest$ac_exeext
8020 if { (ac_try="$ac_link"
8022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8023 *) ac_try_echo=$ac_try;;
8025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8026 (eval "$ac_link") 2>conftest.er1
8028 grep -v '^ *+' conftest.er1 >conftest.err
8030 cat conftest.err >&5
8031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8032 (exit $ac_status); } && {
8033 test -z "$ac_c_werror_flag" ||
8034 test ! -s conftest.err
8035 } && test -s conftest$ac_exeext &&
8036 $as_test_x conftest$ac_exeext; then
8037 ac_cv_lib_nsl_gethostbyname=yes
8039 echo "$as_me: failed program was:" >&5
8040 sed 's/^/| /' conftest.$ac_ext >&5
8042 ac_cv_lib_nsl_gethostbyname=no
8045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8046 conftest$ac_exeext conftest.$ac_ext
8047 LIBS=$ac_check_lib_save_LIBS
8049 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8050 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
8051 if test $ac_cv_lib_nsl_gethostbyname = yes; then
8052 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8055 if test $ac_cv_lib_nsl_gethostbyname = no; then
8056 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
8057 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
8058 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
8059 echo $ECHO_N "(cached) $ECHO_C" >&6
8061 ac_check_lib_save_LIBS=$LIBS
8063 cat >conftest.$ac_ext <<_ACEOF
8066 cat confdefs.h >>conftest.$ac_ext
8067 cat >>conftest.$ac_ext <<_ACEOF
8068 /* end confdefs.h. */
8070 /* Override any GCC internal prototype to avoid an error.
8071 Use char because int might match the return type of a GCC
8072 builtin and then its argument prototype would still apply. */
8076 char gethostbyname ();
8080 return gethostbyname ();
8085 rm -f conftest.$ac_objext conftest$ac_exeext
8086 if { (ac_try="$ac_link"
8088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8089 *) ac_try_echo=$ac_try;;
8091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8092 (eval "$ac_link") 2>conftest.er1
8094 grep -v '^ *+' conftest.er1 >conftest.err
8096 cat conftest.err >&5
8097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8098 (exit $ac_status); } && {
8099 test -z "$ac_c_werror_flag" ||
8100 test ! -s conftest.err
8101 } && test -s conftest$ac_exeext &&
8102 $as_test_x conftest$ac_exeext; then
8103 ac_cv_lib_bsd_gethostbyname=yes
8105 echo "$as_me: failed program was:" >&5
8106 sed 's/^/| /' conftest.$ac_ext >&5
8108 ac_cv_lib_bsd_gethostbyname=no
8111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8112 conftest$ac_exeext conftest.$ac_ext
8113 LIBS=$ac_check_lib_save_LIBS
8115 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
8116 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
8117 if test $ac_cv_lib_bsd_gethostbyname = yes; then
8118 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
8124 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8125 # socket/setsockopt and other routines are undefined under SCO ODT
8126 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8127 # on later versions), says Simon Leinen: it contains gethostby*
8128 # variants that don't use the name server (or something). -lsocket
8129 # must be given before -lnsl if both are needed. We assume that
8130 # if connect needs -lnsl, so does gethostbyname.
8131 { echo "$as_me:$LINENO: checking for connect" >&5
8132 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
8133 if test "${ac_cv_func_connect+set}" = set; then
8134 echo $ECHO_N "(cached) $ECHO_C" >&6
8136 cat >conftest.$ac_ext <<_ACEOF
8139 cat confdefs.h >>conftest.$ac_ext
8140 cat >>conftest.$ac_ext <<_ACEOF
8141 /* end confdefs.h. */
8142 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
8143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8144 #define connect innocuous_connect
8146 /* System header to define __stub macros and hopefully few prototypes,
8147 which can conflict with char connect (); below.
8148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8149 <limits.h> exists even on freestanding compilers. */
8152 # include <limits.h>
8154 # include <assert.h>
8159 /* Override any GCC internal prototype to avoid an error.
8160 Use char because int might match the return type of a GCC
8161 builtin and then its argument prototype would still apply. */
8166 /* The GNU C library defines this for functions which it implements
8167 to always fail with ENOSYS. Some functions are actually named
8168 something starting with __ and the normal name is an alias. */
8169 #if defined __stub_connect || defined __stub___connect
8181 rm -f conftest.$ac_objext conftest$ac_exeext
8182 if { (ac_try="$ac_link"
8184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8185 *) ac_try_echo=$ac_try;;
8187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8188 (eval "$ac_link") 2>conftest.er1
8190 grep -v '^ *+' conftest.er1 >conftest.err
8192 cat conftest.err >&5
8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); } && {
8195 test -z "$ac_c_werror_flag" ||
8196 test ! -s conftest.err
8197 } && test -s conftest$ac_exeext &&
8198 $as_test_x conftest$ac_exeext; then
8199 ac_cv_func_connect=yes
8201 echo "$as_me: failed program was:" >&5
8202 sed 's/^/| /' conftest.$ac_ext >&5
8204 ac_cv_func_connect=no
8207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8208 conftest$ac_exeext conftest.$ac_ext
8210 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
8211 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
8213 if test $ac_cv_func_connect = no; then
8214 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
8215 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
8216 if test "${ac_cv_lib_socket_connect+set}" = set; then
8217 echo $ECHO_N "(cached) $ECHO_C" >&6
8219 ac_check_lib_save_LIBS=$LIBS
8220 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
8221 cat >conftest.$ac_ext <<_ACEOF
8224 cat confdefs.h >>conftest.$ac_ext
8225 cat >>conftest.$ac_ext <<_ACEOF
8226 /* end confdefs.h. */
8228 /* Override any GCC internal prototype to avoid an error.
8229 Use char because int might match the return type of a GCC
8230 builtin and then its argument prototype would still apply. */
8243 rm -f conftest.$ac_objext conftest$ac_exeext
8244 if { (ac_try="$ac_link"
8246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8247 *) ac_try_echo=$ac_try;;
8249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8250 (eval "$ac_link") 2>conftest.er1
8252 grep -v '^ *+' conftest.er1 >conftest.err
8254 cat conftest.err >&5
8255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256 (exit $ac_status); } && {
8257 test -z "$ac_c_werror_flag" ||
8258 test ! -s conftest.err
8259 } && test -s conftest$ac_exeext &&
8260 $as_test_x conftest$ac_exeext; then
8261 ac_cv_lib_socket_connect=yes
8263 echo "$as_me: failed program was:" >&5
8264 sed 's/^/| /' conftest.$ac_ext >&5
8266 ac_cv_lib_socket_connect=no
8269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8270 conftest$ac_exeext conftest.$ac_ext
8271 LIBS=$ac_check_lib_save_LIBS
8273 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8274 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
8275 if test $ac_cv_lib_socket_connect = yes; then
8276 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
8281 # Guillermo Gomez says -lposix is necessary on A/UX.
8282 { echo "$as_me:$LINENO: checking for remove" >&5
8283 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
8284 if test "${ac_cv_func_remove+set}" = set; then
8285 echo $ECHO_N "(cached) $ECHO_C" >&6
8287 cat >conftest.$ac_ext <<_ACEOF
8290 cat confdefs.h >>conftest.$ac_ext
8291 cat >>conftest.$ac_ext <<_ACEOF
8292 /* end confdefs.h. */
8293 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
8294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8295 #define remove innocuous_remove
8297 /* System header to define __stub macros and hopefully few prototypes,
8298 which can conflict with char remove (); below.
8299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8300 <limits.h> exists even on freestanding compilers. */
8303 # include <limits.h>
8305 # include <assert.h>
8310 /* Override any GCC internal prototype to avoid an error.
8311 Use char because int might match the return type of a GCC
8312 builtin and then its argument prototype would still apply. */
8317 /* The GNU C library defines this for functions which it implements
8318 to always fail with ENOSYS. Some functions are actually named
8319 something starting with __ and the normal name is an alias. */
8320 #if defined __stub_remove || defined __stub___remove
8332 rm -f conftest.$ac_objext conftest$ac_exeext
8333 if { (ac_try="$ac_link"
8335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8336 *) ac_try_echo=$ac_try;;
8338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8339 (eval "$ac_link") 2>conftest.er1
8341 grep -v '^ *+' conftest.er1 >conftest.err
8343 cat conftest.err >&5
8344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345 (exit $ac_status); } && {
8346 test -z "$ac_c_werror_flag" ||
8347 test ! -s conftest.err
8348 } && test -s conftest$ac_exeext &&
8349 $as_test_x conftest$ac_exeext; then
8350 ac_cv_func_remove=yes
8352 echo "$as_me: failed program was:" >&5
8353 sed 's/^/| /' conftest.$ac_ext >&5
8355 ac_cv_func_remove=no
8358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8359 conftest$ac_exeext conftest.$ac_ext
8361 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
8362 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
8364 if test $ac_cv_func_remove = no; then
8365 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
8366 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
8367 if test "${ac_cv_lib_posix_remove+set}" = set; then
8368 echo $ECHO_N "(cached) $ECHO_C" >&6
8370 ac_check_lib_save_LIBS=$LIBS
8371 LIBS="-lposix $LIBS"
8372 cat >conftest.$ac_ext <<_ACEOF
8375 cat confdefs.h >>conftest.$ac_ext
8376 cat >>conftest.$ac_ext <<_ACEOF
8377 /* end confdefs.h. */
8379 /* Override any GCC internal prototype to avoid an error.
8380 Use char because int might match the return type of a GCC
8381 builtin and then its argument prototype would still apply. */
8394 rm -f conftest.$ac_objext conftest$ac_exeext
8395 if { (ac_try="$ac_link"
8397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8398 *) ac_try_echo=$ac_try;;
8400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8401 (eval "$ac_link") 2>conftest.er1
8403 grep -v '^ *+' conftest.er1 >conftest.err
8405 cat conftest.err >&5
8406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); } && {
8408 test -z "$ac_c_werror_flag" ||
8409 test ! -s conftest.err
8410 } && test -s conftest$ac_exeext &&
8411 $as_test_x conftest$ac_exeext; then
8412 ac_cv_lib_posix_remove=yes
8414 echo "$as_me: failed program was:" >&5
8415 sed 's/^/| /' conftest.$ac_ext >&5
8417 ac_cv_lib_posix_remove=no
8420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8421 conftest$ac_exeext conftest.$ac_ext
8422 LIBS=$ac_check_lib_save_LIBS
8424 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
8425 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
8426 if test $ac_cv_lib_posix_remove = yes; then
8427 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
8432 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8433 { echo "$as_me:$LINENO: checking for shmat" >&5
8434 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
8435 if test "${ac_cv_func_shmat+set}" = set; then
8436 echo $ECHO_N "(cached) $ECHO_C" >&6
8438 cat >conftest.$ac_ext <<_ACEOF
8441 cat confdefs.h >>conftest.$ac_ext
8442 cat >>conftest.$ac_ext <<_ACEOF
8443 /* end confdefs.h. */
8444 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
8445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8446 #define shmat innocuous_shmat
8448 /* System header to define __stub macros and hopefully few prototypes,
8449 which can conflict with char shmat (); below.
8450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8451 <limits.h> exists even on freestanding compilers. */
8454 # include <limits.h>
8456 # include <assert.h>
8461 /* Override any GCC internal prototype to avoid an error.
8462 Use char because int might match the return type of a GCC
8463 builtin and then its argument prototype would still apply. */
8468 /* The GNU C library defines this for functions which it implements
8469 to always fail with ENOSYS. Some functions are actually named
8470 something starting with __ and the normal name is an alias. */
8471 #if defined __stub_shmat || defined __stub___shmat
8483 rm -f conftest.$ac_objext conftest$ac_exeext
8484 if { (ac_try="$ac_link"
8486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8487 *) ac_try_echo=$ac_try;;
8489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8490 (eval "$ac_link") 2>conftest.er1
8492 grep -v '^ *+' conftest.er1 >conftest.err
8494 cat conftest.err >&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 (exit $ac_status); } && {
8497 test -z "$ac_c_werror_flag" ||
8498 test ! -s conftest.err
8499 } && test -s conftest$ac_exeext &&
8500 $as_test_x conftest$ac_exeext; then
8501 ac_cv_func_shmat=yes
8503 echo "$as_me: failed program was:" >&5
8504 sed 's/^/| /' conftest.$ac_ext >&5
8509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8510 conftest$ac_exeext conftest.$ac_ext
8512 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
8513 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
8515 if test $ac_cv_func_shmat = no; then
8516 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
8517 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
8518 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
8519 echo $ECHO_N "(cached) $ECHO_C" >&6
8521 ac_check_lib_save_LIBS=$LIBS
8523 cat >conftest.$ac_ext <<_ACEOF
8526 cat confdefs.h >>conftest.$ac_ext
8527 cat >>conftest.$ac_ext <<_ACEOF
8528 /* end confdefs.h. */
8530 /* Override any GCC internal prototype to avoid an error.
8531 Use char because int might match the return type of a GCC
8532 builtin and then its argument prototype would still apply. */
8545 rm -f conftest.$ac_objext conftest$ac_exeext
8546 if { (ac_try="$ac_link"
8548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8549 *) ac_try_echo=$ac_try;;
8551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8552 (eval "$ac_link") 2>conftest.er1
8554 grep -v '^ *+' conftest.er1 >conftest.err
8556 cat conftest.err >&5
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); } && {
8559 test -z "$ac_c_werror_flag" ||
8560 test ! -s conftest.err
8561 } && test -s conftest$ac_exeext &&
8562 $as_test_x conftest$ac_exeext; then
8563 ac_cv_lib_ipc_shmat=yes
8565 echo "$as_me: failed program was:" >&5
8566 sed 's/^/| /' conftest.$ac_ext >&5
8568 ac_cv_lib_ipc_shmat=no
8571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8572 conftest$ac_exeext conftest.$ac_ext
8573 LIBS=$ac_check_lib_save_LIBS
8575 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
8576 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
8577 if test $ac_cv_lib_ipc_shmat = yes; then
8578 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8584 # Check for libraries that X11R6 Xt/Xaw programs need.
8585 ac_save_LDFLAGS=$LDFLAGS
8586 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8587 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8588 # check for ICE first), but we must link in the order -lSM -lICE or
8589 # we get undefined symbols. So assume we have SM if we have ICE.
8590 # These have to be linked with before -lX11, unlike the other
8591 # libraries we check for below, so use a different variable.
8592 # John Interrante, Karl Berry
8593 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
8594 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
8595 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
8596 echo $ECHO_N "(cached) $ECHO_C" >&6
8598 ac_check_lib_save_LIBS=$LIBS
8599 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8600 cat >conftest.$ac_ext <<_ACEOF
8603 cat confdefs.h >>conftest.$ac_ext
8604 cat >>conftest.$ac_ext <<_ACEOF
8605 /* end confdefs.h. */
8607 /* Override any GCC internal prototype to avoid an error.
8608 Use char because int might match the return type of a GCC
8609 builtin and then its argument prototype would still apply. */
8613 char IceConnectionNumber ();
8617 return IceConnectionNumber ();
8622 rm -f conftest.$ac_objext conftest$ac_exeext
8623 if { (ac_try="$ac_link"
8625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8626 *) ac_try_echo=$ac_try;;
8628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8629 (eval "$ac_link") 2>conftest.er1
8631 grep -v '^ *+' conftest.er1 >conftest.err
8633 cat conftest.err >&5
8634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8635 (exit $ac_status); } && {
8636 test -z "$ac_c_werror_flag" ||
8637 test ! -s conftest.err
8638 } && test -s conftest$ac_exeext &&
8639 $as_test_x conftest$ac_exeext; then
8640 ac_cv_lib_ICE_IceConnectionNumber=yes
8642 echo "$as_me: failed program was:" >&5
8643 sed 's/^/| /' conftest.$ac_ext >&5
8645 ac_cv_lib_ICE_IceConnectionNumber=no
8648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8649 conftest$ac_exeext conftest.$ac_ext
8650 LIBS=$ac_check_lib_save_LIBS
8652 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8653 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8654 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
8655 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8658 LDFLAGS=$ac_save_LDFLAGS
8662 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
8663 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
8664 if test "${ac_cv_path_GREP+set}" = set; then
8665 echo $ECHO_N "(cached) $ECHO_C" >&6
8667 # Extract the first word of "grep ggrep" to use in msg output
8668 if test -z "$GREP"; then
8669 set dummy grep ggrep; ac_prog_name=$2
8670 if test "${ac_cv_path_GREP+set}" = set; then
8671 echo $ECHO_N "(cached) $ECHO_C" >&6
8673 ac_path_GREP_found=false
8674 # Loop through the user's path and test for each of PROGNAME-LIST
8675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8676 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8679 test -z "$as_dir" && as_dir=.
8680 for ac_prog in grep ggrep; do
8681 for ac_exec_ext in '' $ac_executable_extensions; do
8682 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
8683 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
8684 # Check for GNU ac_path_GREP and select it if it is found.
8685 # Check for GNU $ac_path_GREP
8686 case `"$ac_path_GREP" --version 2>&1` in
8688 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
8691 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
8694 cat "conftest.in" "conftest.in" >"conftest.tmp"
8695 mv "conftest.tmp" "conftest.in"
8696 cp "conftest.in" "conftest.nl"
8697 echo 'GREP' >> "conftest.nl"
8698 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8699 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8700 ac_count=`expr $ac_count + 1`
8701 if test $ac_count -gt ${ac_path_GREP_max-0}; then
8702 # Best one so far, save it but keep looking for a better one
8703 ac_cv_path_GREP="$ac_path_GREP"
8704 ac_path_GREP_max=$ac_count
8706 # 10*(2^10) chars as input seems more than enough
8707 test $ac_count -gt 10 && break
8709 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8713 $ac_path_GREP_found && break 3
8723 GREP="$ac_cv_path_GREP"
8724 if test -z "$GREP"; then
8725 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
8726 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
8727 { (exit 1); exit 1; }; }
8731 ac_cv_path_GREP=$GREP
8736 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
8737 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
8738 GREP="$ac_cv_path_GREP"
8741 { echo "$as_me:$LINENO: checking for egrep" >&5
8742 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
8743 if test "${ac_cv_path_EGREP+set}" = set; then
8744 echo $ECHO_N "(cached) $ECHO_C" >&6
8746 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
8747 then ac_cv_path_EGREP="$GREP -E"
8749 # Extract the first word of "egrep" to use in msg output
8750 if test -z "$EGREP"; then
8751 set dummy egrep; ac_prog_name=$2
8752 if test "${ac_cv_path_EGREP+set}" = set; then
8753 echo $ECHO_N "(cached) $ECHO_C" >&6
8755 ac_path_EGREP_found=false
8756 # Loop through the user's path and test for each of PROGNAME-LIST
8757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8758 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8761 test -z "$as_dir" && as_dir=.
8762 for ac_prog in egrep; do
8763 for ac_exec_ext in '' $ac_executable_extensions; do
8764 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
8765 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
8766 # Check for GNU ac_path_EGREP and select it if it is found.
8767 # Check for GNU $ac_path_EGREP
8768 case `"$ac_path_EGREP" --version 2>&1` in
8770 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
8773 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
8776 cat "conftest.in" "conftest.in" >"conftest.tmp"
8777 mv "conftest.tmp" "conftest.in"
8778 cp "conftest.in" "conftest.nl"
8779 echo 'EGREP' >> "conftest.nl"
8780 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8781 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8782 ac_count=`expr $ac_count + 1`
8783 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
8784 # Best one so far, save it but keep looking for a better one
8785 ac_cv_path_EGREP="$ac_path_EGREP"
8786 ac_path_EGREP_max=$ac_count
8788 # 10*(2^10) chars as input seems more than enough
8789 test $ac_count -gt 10 && break
8791 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8795 $ac_path_EGREP_found && break 3
8805 EGREP="$ac_cv_path_EGREP"
8806 if test -z "$EGREP"; then
8807 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
8808 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
8809 { (exit 1); exit 1; }; }
8813 ac_cv_path_EGREP=$EGREP
8819 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
8820 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
8821 EGREP="$ac_cv_path_EGREP"
8824 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8825 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8826 if test "${ac_cv_header_stdc+set}" = set; then
8827 echo $ECHO_N "(cached) $ECHO_C" >&6
8829 cat >conftest.$ac_ext <<_ACEOF
8832 cat confdefs.h >>conftest.$ac_ext
8833 cat >>conftest.$ac_ext <<_ACEOF
8834 /* end confdefs.h. */
8848 rm -f conftest.$ac_objext
8849 if { (ac_try="$ac_compile"
8851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8852 *) ac_try_echo=$ac_try;;
8854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8855 (eval "$ac_compile") 2>conftest.er1
8857 grep -v '^ *+' conftest.er1 >conftest.err
8859 cat conftest.err >&5
8860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8861 (exit $ac_status); } && {
8862 test -z "$ac_c_werror_flag" ||
8863 test ! -s conftest.err
8864 } && test -s conftest.$ac_objext; then
8865 ac_cv_header_stdc=yes
8867 echo "$as_me: failed program was:" >&5
8868 sed 's/^/| /' conftest.$ac_ext >&5
8870 ac_cv_header_stdc=no
8873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8875 if test $ac_cv_header_stdc = yes; then
8876 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8877 cat >conftest.$ac_ext <<_ACEOF
8880 cat confdefs.h >>conftest.$ac_ext
8881 cat >>conftest.$ac_ext <<_ACEOF
8882 /* end confdefs.h. */
8886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8887 $EGREP "memchr" >/dev/null 2>&1; then
8890 ac_cv_header_stdc=no
8896 if test $ac_cv_header_stdc = yes; then
8897 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8898 cat >conftest.$ac_ext <<_ACEOF
8901 cat confdefs.h >>conftest.$ac_ext
8902 cat >>conftest.$ac_ext <<_ACEOF
8903 /* end confdefs.h. */
8907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8908 $EGREP "free" >/dev/null 2>&1; then
8911 ac_cv_header_stdc=no
8917 if test $ac_cv_header_stdc = yes; then
8918 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8919 if test "$cross_compiling" = yes; then
8922 cat >conftest.$ac_ext <<_ACEOF
8925 cat confdefs.h >>conftest.$ac_ext
8926 cat >>conftest.$ac_ext <<_ACEOF
8927 /* end confdefs.h. */
8930 #if ((' ' & 0x0FF) == 0x020)
8931 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8932 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8934 # define ISLOWER(c) \
8935 (('a' <= (c) && (c) <= 'i') \
8936 || ('j' <= (c) && (c) <= 'r') \
8937 || ('s' <= (c) && (c) <= 'z'))
8938 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8941 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8946 for (i = 0; i < 256; i++)
8947 if (XOR (islower (i), ISLOWER (i))
8948 || toupper (i) != TOUPPER (i))
8953 rm -f conftest$ac_exeext
8954 if { (ac_try="$ac_link"
8956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8957 *) ac_try_echo=$ac_try;;
8959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8960 (eval "$ac_link") 2>&5
8962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8964 { (case "(($ac_try" in
8965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8966 *) ac_try_echo=$ac_try;;
8968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8969 (eval "$ac_try") 2>&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); }; }; then
8975 echo "$as_me: program exited with status $ac_status" >&5
8976 echo "$as_me: failed program was:" >&5
8977 sed 's/^/| /' conftest.$ac_ext >&5
8980 ac_cv_header_stdc=no
8982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8988 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8989 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8990 if test $ac_cv_header_stdc = yes; then
8992 cat >>confdefs.h <<\_ACEOF
8993 #define STDC_HEADERS 1
8998 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9008 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9009 inttypes.h stdint.h unistd.h
9011 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9012 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9014 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9015 echo $ECHO_N "(cached) $ECHO_C" >&6
9017 cat >conftest.$ac_ext <<_ACEOF
9020 cat confdefs.h >>conftest.$ac_ext
9021 cat >>conftest.$ac_ext <<_ACEOF
9022 /* end confdefs.h. */
9023 $ac_includes_default
9025 #include <$ac_header>
9027 rm -f conftest.$ac_objext
9028 if { (ac_try="$ac_compile"
9030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9031 *) ac_try_echo=$ac_try;;
9033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9034 (eval "$ac_compile") 2>conftest.er1
9036 grep -v '^ *+' conftest.er1 >conftest.err
9038 cat conftest.err >&5
9039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); } && {
9041 test -z "$ac_c_werror_flag" ||
9042 test ! -s conftest.err
9043 } && test -s conftest.$ac_objext; then
9044 eval "$as_ac_Header=yes"
9046 echo "$as_me: failed program was:" >&5
9047 sed 's/^/| /' conftest.$ac_ext >&5
9049 eval "$as_ac_Header=no"
9052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9054 ac_res=`eval echo '${'$as_ac_Header'}'`
9055 { echo "$as_me:$LINENO: result: $ac_res" >&5
9056 echo "${ECHO_T}$ac_res" >&6; }
9057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9058 cat >>confdefs.h <<_ACEOF
9059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9069 for ac_header in X11/Xlib.h X11/Xutil.h
9071 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9072 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9073 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9075 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9076 echo $ECHO_N "(cached) $ECHO_C" >&6
9078 ac_res=`eval echo '${'$as_ac_Header'}'`
9079 { echo "$as_me:$LINENO: result: $ac_res" >&5
9080 echo "${ECHO_T}$ac_res" >&6; }
9082 # Is the header compilable?
9083 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9084 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9085 cat >conftest.$ac_ext <<_ACEOF
9088 cat confdefs.h >>conftest.$ac_ext
9089 cat >>conftest.$ac_ext <<_ACEOF
9090 /* end confdefs.h. */
9091 $ac_includes_default
9092 #include <$ac_header>
9094 rm -f conftest.$ac_objext
9095 if { (ac_try="$ac_compile"
9097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9098 *) ac_try_echo=$ac_try;;
9100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9101 (eval "$ac_compile") 2>conftest.er1
9103 grep -v '^ *+' conftest.er1 >conftest.err
9105 cat conftest.err >&5
9106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9107 (exit $ac_status); } && {
9108 test -z "$ac_c_werror_flag" ||
9109 test ! -s conftest.err
9110 } && test -s conftest.$ac_objext; then
9111 ac_header_compiler=yes
9113 echo "$as_me: failed program was:" >&5
9114 sed 's/^/| /' conftest.$ac_ext >&5
9116 ac_header_compiler=no
9119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9120 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9121 echo "${ECHO_T}$ac_header_compiler" >&6; }
9123 # Is the header present?
9124 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9125 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9126 cat >conftest.$ac_ext <<_ACEOF
9129 cat confdefs.h >>conftest.$ac_ext
9130 cat >>conftest.$ac_ext <<_ACEOF
9131 /* end confdefs.h. */
9132 #include <$ac_header>
9134 if { (ac_try="$ac_cpp conftest.$ac_ext"
9136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9137 *) ac_try_echo=$ac_try;;
9139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9140 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9142 grep -v '^ *+' conftest.er1 >conftest.err
9144 cat conftest.err >&5
9145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146 (exit $ac_status); } >/dev/null && {
9147 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9148 test ! -s conftest.err
9150 ac_header_preproc=yes
9152 echo "$as_me: failed program was:" >&5
9153 sed 's/^/| /' conftest.$ac_ext >&5
9155 ac_header_preproc=no
9158 rm -f conftest.err conftest.$ac_ext
9159 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9160 echo "${ECHO_T}$ac_header_preproc" >&6; }
9162 # So? What about this header?
9163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9165 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9166 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9168 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9169 ac_header_preproc=yes
9172 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9173 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9174 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9175 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9176 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9177 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9178 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9179 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9181 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9182 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9183 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9185 ## -------------------------------------------------------- ##
9186 ## Report this to enlightenment-devel@lists.sourceforge.net ##
9187 ## -------------------------------------------------------- ##
9189 ) | sed "s/^/$as_me: WARNING: /" >&2
9192 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9194 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9195 echo $ECHO_N "(cached) $ECHO_C" >&6
9197 eval "$as_ac_Header=\$ac_header_preproc"
9199 ac_res=`eval echo '${'$as_ac_Header'}'`
9200 { echo "$as_me:$LINENO: result: $ac_res" >&5
9201 echo "${ECHO_T}$ac_res" >&6; }
9204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9205 cat >>confdefs.h <<_ACEOF
9206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9215 if test "x$want_evas_simple_x11" = "xyes"; then
9216 x_libs="${x_libs} -lX11 -lXext -lXrender"
9218 x_dir=${x_dir:-/usr/X11R6}
9219 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
9220 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
9223 if test "x$have_xlib" = "xyes"; then
9237 if test "x$have_software_xcb" = "xyes"; then
9240 { echo "$as_me:$LINENO: checking for XCB" >&5
9241 echo $ECHO_N "checking for XCB... $ECHO_C" >&6; }
9243 if test -n "$PKG_CONFIG"; then
9244 if test -n "$XCB_CFLAGS"; then
9245 pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
9247 if test -n "$PKG_CONFIG" && \
9248 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xcb xcb-keysyms\"") >&5
9249 ($PKG_CONFIG --exists --print-errors "xcb xcb-keysyms") 2>&5
9251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252 (exit $ac_status); }; then
9253 pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-keysyms" 2>/dev/null`
9261 if test -n "$PKG_CONFIG"; then
9262 if test -n "$XCB_LIBS"; then
9263 pkg_cv_XCB_LIBS="$XCB_LIBS"
9265 if test -n "$PKG_CONFIG" && \
9266 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xcb xcb-keysyms\"") >&5
9267 ($PKG_CONFIG --exists --print-errors "xcb xcb-keysyms") 2>&5
9269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9270 (exit $ac_status); }; then
9271 pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb xcb-keysyms" 2>/dev/null`
9282 if test $pkg_failed = yes; then
9284 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9285 _pkg_short_errors_supported=yes
9287 _pkg_short_errors_supported=no
9289 if test $_pkg_short_errors_supported = yes; then
9290 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb xcb-keysyms"`
9292 XCB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb xcb-keysyms"`
9294 # Put the nasty error message in config.log where it belongs
9295 echo "$XCB_PKG_ERRORS" >&5
9297 { echo "$as_me:$LINENO: result: no" >&5
9298 echo "${ECHO_T}no" >&6; }
9300 elif test $pkg_failed = untried; then
9303 XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
9304 XCB_LIBS=$pkg_cv_XCB_LIBS
9305 { echo "$as_me:$LINENO: result: yes" >&5
9306 echo "${ECHO_T}yes" >&6; }
9310 if test "x$have_xcb" = "xyes"; then
9318 if test "x$have_xcb" = "xyes"; then
9320 cat >>confdefs.h <<\_ACEOF
9328 if test "x$have_software_sdl" = "xyes" -o "x$have_gl_sdl" = "xyes"; then
9331 { echo "$as_me:$LINENO: checking for SDL" >&5
9332 echo $ECHO_N "checking for SDL... $ECHO_C" >&6; }
9334 if test -n "$PKG_CONFIG"; then
9335 if test -n "$SDL_CFLAGS"; then
9336 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
9338 if test -n "$PKG_CONFIG" && \
9339 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl\"") >&5
9340 ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
9342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9343 (exit $ac_status); }; then
9344 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl" 2>/dev/null`
9352 if test -n "$PKG_CONFIG"; then
9353 if test -n "$SDL_LIBS"; then
9354 pkg_cv_SDL_LIBS="$SDL_LIBS"
9356 if test -n "$PKG_CONFIG" && \
9357 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl\"") >&5
9358 ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
9360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361 (exit $ac_status); }; then
9362 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl" 2>/dev/null`
9373 if test $pkg_failed = yes; then
9375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9376 _pkg_short_errors_supported=yes
9378 _pkg_short_errors_supported=no
9380 if test $_pkg_short_errors_supported = yes; then
9381 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sdl"`
9383 SDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sdl"`
9385 # Put the nasty error message in config.log where it belongs
9386 echo "$SDL_PKG_ERRORS" >&5
9388 { echo "$as_me:$LINENO: result: no" >&5
9389 echo "${ECHO_T}no" >&6; }
9391 elif test $pkg_failed = untried; then
9394 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
9395 SDL_LIBS=$pkg_cv_SDL_LIBS
9396 { echo "$as_me:$LINENO: result: yes" >&5
9397 echo "${ECHO_T}yes" >&6; }
9401 if test "x$have_sdl" = "xyes"; then
9412 if test "x$have_directfb" = "xyes"; then
9415 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
9416 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
9418 if test -n "$PKG_CONFIG"; then
9419 if test -n "$DIRECTFB_CFLAGS"; then
9420 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
9422 if test -n "$PKG_CONFIG" && \
9423 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb\"") >&5
9424 ($PKG_CONFIG --exists --print-errors "directfb") 2>&5
9426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9427 (exit $ac_status); }; then
9428 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb" 2>/dev/null`
9436 if test -n "$PKG_CONFIG"; then
9437 if test -n "$DIRECTFB_LIBS"; then
9438 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
9440 if test -n "$PKG_CONFIG" && \
9441 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb\"") >&5
9442 ($PKG_CONFIG --exists --print-errors "directfb") 2>&5
9444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9445 (exit $ac_status); }; then
9446 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb" 2>/dev/null`
9457 if test $pkg_failed = yes; then
9459 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9460 _pkg_short_errors_supported=yes
9462 _pkg_short_errors_supported=no
9464 if test $_pkg_short_errors_supported = yes; then
9465 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb"`
9467 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb"`
9469 # Put the nasty error message in config.log where it belongs
9470 echo "$DIRECTFB_PKG_ERRORS" >&5
9472 { echo "$as_me:$LINENO: result: no" >&5
9473 echo "${ECHO_T}no" >&6; }
9475 elif test $pkg_failed = untried; then
9478 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
9479 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
9480 { echo "$as_me:$LINENO: result: yes" >&5
9481 echo "${ECHO_T}yes" >&6; }
9485 if test "x$have_directfb" = "xyes"; then
9486 BUILD_DIRECTFB_TRUE=
9487 BUILD_DIRECTFB_FALSE='#'
9489 BUILD_DIRECTFB_TRUE='#'
9490 BUILD_DIRECTFB_FALSE=
9495 ### Checks for header files
9498 ### Checks for types
9501 ### Checks for structures
9504 ### Checks for compiler characteristics
9507 ac_cpp='$CPP $CPPFLAGS'
9508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9511 if test -n "$ac_tool_prefix"; then
9512 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9513 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9516 if test "${ac_cv_prog_CC+set}" = set; then
9517 echo $ECHO_N "(cached) $ECHO_C" >&6
9519 if test -n "$CC"; then
9520 ac_cv_prog_CC="$CC" # Let the user override the test.
9522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9526 test -z "$as_dir" && as_dir=.
9527 for ac_exec_ext in '' $ac_executable_extensions; do
9528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9529 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9540 if test -n "$CC"; then
9541 { echo "$as_me:$LINENO: result: $CC" >&5
9542 echo "${ECHO_T}$CC" >&6; }
9544 { echo "$as_me:$LINENO: result: no" >&5
9545 echo "${ECHO_T}no" >&6; }
9550 if test -z "$ac_cv_prog_CC"; then
9552 # Extract the first word of "gcc", so it can be a program name with args.
9553 set dummy gcc; ac_word=$2
9554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9556 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9557 echo $ECHO_N "(cached) $ECHO_C" >&6
9559 if test -n "$ac_ct_CC"; then
9560 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9566 test -z "$as_dir" && as_dir=.
9567 for ac_exec_ext in '' $ac_executable_extensions; do
9568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9569 ac_cv_prog_ac_ct_CC="gcc"
9570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9579 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9580 if test -n "$ac_ct_CC"; then
9581 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9582 echo "${ECHO_T}$ac_ct_CC" >&6; }
9584 { echo "$as_me:$LINENO: result: no" >&5
9585 echo "${ECHO_T}no" >&6; }
9588 if test "x$ac_ct_CC" = x; then
9591 case $cross_compiling:$ac_tool_warned in
9593 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9594 whose name does not start with the host triplet. If you think this
9595 configuration is useful to you, please write to autoconf@gnu.org." >&5
9596 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9597 whose name does not start with the host triplet. If you think this
9598 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9599 ac_tool_warned=yes ;;
9607 if test -z "$CC"; then
9608 if test -n "$ac_tool_prefix"; then
9609 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9610 set dummy ${ac_tool_prefix}cc; ac_word=$2
9611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9613 if test "${ac_cv_prog_CC+set}" = set; then
9614 echo $ECHO_N "(cached) $ECHO_C" >&6
9616 if test -n "$CC"; then
9617 ac_cv_prog_CC="$CC" # Let the user override the test.
9619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9623 test -z "$as_dir" && as_dir=.
9624 for ac_exec_ext in '' $ac_executable_extensions; do
9625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9626 ac_cv_prog_CC="${ac_tool_prefix}cc"
9627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9637 if test -n "$CC"; then
9638 { echo "$as_me:$LINENO: result: $CC" >&5
9639 echo "${ECHO_T}$CC" >&6; }
9641 { echo "$as_me:$LINENO: result: no" >&5
9642 echo "${ECHO_T}no" >&6; }
9648 if test -z "$CC"; then
9649 # Extract the first word of "cc", so it can be a program name with args.
9650 set dummy cc; ac_word=$2
9651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9653 if test "${ac_cv_prog_CC+set}" = set; then
9654 echo $ECHO_N "(cached) $ECHO_C" >&6
9656 if test -n "$CC"; then
9657 ac_cv_prog_CC="$CC" # Let the user override the test.
9660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9664 test -z "$as_dir" && as_dir=.
9665 for ac_exec_ext in '' $ac_executable_extensions; do
9666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9667 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9668 ac_prog_rejected=yes
9672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9679 if test $ac_prog_rejected = yes; then
9680 # We found a bogon in the path, so make sure we never use it.
9681 set dummy $ac_cv_prog_CC
9683 if test $# != 0; then
9684 # We chose a different compiler from the bogus one.
9685 # However, it has the same basename, so the bogon will be chosen
9686 # first if we set CC to just the basename; use the full file name.
9688 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9694 if test -n "$CC"; then
9695 { echo "$as_me:$LINENO: result: $CC" >&5
9696 echo "${ECHO_T}$CC" >&6; }
9698 { echo "$as_me:$LINENO: result: no" >&5
9699 echo "${ECHO_T}no" >&6; }
9704 if test -z "$CC"; then
9705 if test -n "$ac_tool_prefix"; then
9706 for ac_prog in cl.exe
9708 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9709 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9712 if test "${ac_cv_prog_CC+set}" = set; then
9713 echo $ECHO_N "(cached) $ECHO_C" >&6
9715 if test -n "$CC"; then
9716 ac_cv_prog_CC="$CC" # Let the user override the test.
9718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9722 test -z "$as_dir" && as_dir=.
9723 for ac_exec_ext in '' $ac_executable_extensions; do
9724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9725 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9736 if test -n "$CC"; then
9737 { echo "$as_me:$LINENO: result: $CC" >&5
9738 echo "${ECHO_T}$CC" >&6; }
9740 { echo "$as_me:$LINENO: result: no" >&5
9741 echo "${ECHO_T}no" >&6; }
9745 test -n "$CC" && break
9748 if test -z "$CC"; then
9750 for ac_prog in cl.exe
9752 # Extract the first word of "$ac_prog", so it can be a program name with args.
9753 set dummy $ac_prog; ac_word=$2
9754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9756 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9757 echo $ECHO_N "(cached) $ECHO_C" >&6
9759 if test -n "$ac_ct_CC"; then
9760 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9766 test -z "$as_dir" && as_dir=.
9767 for ac_exec_ext in '' $ac_executable_extensions; do
9768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9769 ac_cv_prog_ac_ct_CC="$ac_prog"
9770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9779 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9780 if test -n "$ac_ct_CC"; then
9781 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9782 echo "${ECHO_T}$ac_ct_CC" >&6; }
9784 { echo "$as_me:$LINENO: result: no" >&5
9785 echo "${ECHO_T}no" >&6; }
9789 test -n "$ac_ct_CC" && break
9792 if test "x$ac_ct_CC" = x; then
9795 case $cross_compiling:$ac_tool_warned in
9797 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9798 whose name does not start with the host triplet. If you think this
9799 configuration is useful to you, please write to autoconf@gnu.org." >&5
9800 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9801 whose name does not start with the host triplet. If you think this
9802 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9803 ac_tool_warned=yes ;;
9812 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9813 See \`config.log' for more details." >&5
9814 echo "$as_me: error: no acceptable C compiler found in \$PATH
9815 See \`config.log' for more details." >&2;}
9816 { (exit 1); exit 1; }; }
9818 # Provide some information about the compiler.
9819 echo "$as_me:$LINENO: checking for C compiler version" >&5
9820 ac_compiler=`set X $ac_compile; echo $2`
9821 { (ac_try="$ac_compiler --version >&5"
9823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9824 *) ac_try_echo=$ac_try;;
9826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9827 (eval "$ac_compiler --version >&5") 2>&5
9829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9830 (exit $ac_status); }
9831 { (ac_try="$ac_compiler -v >&5"
9833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9834 *) ac_try_echo=$ac_try;;
9836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9837 (eval "$ac_compiler -v >&5") 2>&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); }
9841 { (ac_try="$ac_compiler -V >&5"
9843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9844 *) ac_try_echo=$ac_try;;
9846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9847 (eval "$ac_compiler -V >&5") 2>&5
9849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9850 (exit $ac_status); }
9852 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
9853 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
9854 if test "${ac_cv_c_compiler_gnu+set}" = set; then
9855 echo $ECHO_N "(cached) $ECHO_C" >&6
9857 cat >conftest.$ac_ext <<_ACEOF
9860 cat confdefs.h >>conftest.$ac_ext
9861 cat >>conftest.$ac_ext <<_ACEOF
9862 /* end confdefs.h. */
9875 rm -f conftest.$ac_objext
9876 if { (ac_try="$ac_compile"
9878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9879 *) ac_try_echo=$ac_try;;
9881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9882 (eval "$ac_compile") 2>conftest.er1
9884 grep -v '^ *+' conftest.er1 >conftest.err
9886 cat conftest.err >&5
9887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9888 (exit $ac_status); } && {
9889 test -z "$ac_c_werror_flag" ||
9890 test ! -s conftest.err
9891 } && test -s conftest.$ac_objext; then
9894 echo "$as_me: failed program was:" >&5
9895 sed 's/^/| /' conftest.$ac_ext >&5
9900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9901 ac_cv_c_compiler_gnu=$ac_compiler_gnu
9904 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
9905 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
9906 GCC=`test $ac_compiler_gnu = yes && echo yes`
9907 ac_test_CFLAGS=${CFLAGS+set}
9908 ac_save_CFLAGS=$CFLAGS
9909 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
9910 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
9911 if test "${ac_cv_prog_cc_g+set}" = set; then
9912 echo $ECHO_N "(cached) $ECHO_C" >&6
9914 ac_save_c_werror_flag=$ac_c_werror_flag
9915 ac_c_werror_flag=yes
9918 cat >conftest.$ac_ext <<_ACEOF
9921 cat confdefs.h >>conftest.$ac_ext
9922 cat >>conftest.$ac_ext <<_ACEOF
9923 /* end confdefs.h. */
9933 rm -f conftest.$ac_objext
9934 if { (ac_try="$ac_compile"
9936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9937 *) ac_try_echo=$ac_try;;
9939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9940 (eval "$ac_compile") 2>conftest.er1
9942 grep -v '^ *+' conftest.er1 >conftest.err
9944 cat conftest.err >&5
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); } && {
9947 test -z "$ac_c_werror_flag" ||
9948 test ! -s conftest.err
9949 } && test -s conftest.$ac_objext; then
9952 echo "$as_me: failed program was:" >&5
9953 sed 's/^/| /' conftest.$ac_ext >&5
9956 cat >conftest.$ac_ext <<_ACEOF
9959 cat confdefs.h >>conftest.$ac_ext
9960 cat >>conftest.$ac_ext <<_ACEOF
9961 /* end confdefs.h. */
9971 rm -f conftest.$ac_objext
9972 if { (ac_try="$ac_compile"
9974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9975 *) ac_try_echo=$ac_try;;
9977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9978 (eval "$ac_compile") 2>conftest.er1
9980 grep -v '^ *+' conftest.er1 >conftest.err
9982 cat conftest.err >&5
9983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); } && {
9985 test -z "$ac_c_werror_flag" ||
9986 test ! -s conftest.err
9987 } && test -s conftest.$ac_objext; then
9990 echo "$as_me: failed program was:" >&5
9991 sed 's/^/| /' conftest.$ac_ext >&5
9993 ac_c_werror_flag=$ac_save_c_werror_flag
9995 cat >conftest.$ac_ext <<_ACEOF
9998 cat confdefs.h >>conftest.$ac_ext
9999 cat >>conftest.$ac_ext <<_ACEOF
10000 /* end confdefs.h. */
10010 rm -f conftest.$ac_objext
10011 if { (ac_try="$ac_compile"
10012 case "(($ac_try" in
10013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10014 *) ac_try_echo=$ac_try;;
10016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10017 (eval "$ac_compile") 2>conftest.er1
10019 grep -v '^ *+' conftest.er1 >conftest.err
10021 cat conftest.err >&5
10022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10023 (exit $ac_status); } && {
10024 test -z "$ac_c_werror_flag" ||
10025 test ! -s conftest.err
10026 } && test -s conftest.$ac_objext; then
10027 ac_cv_prog_cc_g=yes
10029 echo "$as_me: failed program was:" >&5
10030 sed 's/^/| /' conftest.$ac_ext >&5
10035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10042 ac_c_werror_flag=$ac_save_c_werror_flag
10044 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10045 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
10046 if test "$ac_test_CFLAGS" = set; then
10047 CFLAGS=$ac_save_CFLAGS
10048 elif test $ac_cv_prog_cc_g = yes; then
10049 if test "$GCC" = yes; then
10055 if test "$GCC" = yes; then
10061 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
10062 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
10063 if test "${ac_cv_prog_cc_c89+set}" = set; then
10064 echo $ECHO_N "(cached) $ECHO_C" >&6
10066 ac_cv_prog_cc_c89=no
10068 cat >conftest.$ac_ext <<_ACEOF
10071 cat confdefs.h >>conftest.$ac_ext
10072 cat >>conftest.$ac_ext <<_ACEOF
10073 /* end confdefs.h. */
10074 #include <stdarg.h>
10076 #include <sys/types.h>
10077 #include <sys/stat.h>
10078 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10079 struct buf { int x; };
10080 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10081 static char *e (p, i)
10087 static char *f (char * (*g) (char **, int), char **p, ...)
10092 s = g (p, va_arg (v,int));
10097 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10098 function prototypes and stuff, but not '\xHH' hex character constants.
10099 These don't provoke an error unfortunately, instead are silently treated
10100 as 'x'. The following induces an error, until -std is added to get
10101 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10102 array size at least. It's necessary to write '\x00'==0 to get something
10103 that's true only with -std. */
10104 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10106 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
10107 inside strings and character constants. */
10109 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
10111 int test (int i, double x);
10112 struct s1 {int (*f) (int a);};
10113 struct s2 {int (*f) (double a);};
10114 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10120 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10125 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
10126 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10128 CC="$ac_save_CC $ac_arg"
10129 rm -f conftest.$ac_objext
10130 if { (ac_try="$ac_compile"
10131 case "(($ac_try" in
10132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10133 *) ac_try_echo=$ac_try;;
10135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10136 (eval "$ac_compile") 2>conftest.er1
10138 grep -v '^ *+' conftest.er1 >conftest.err
10140 cat conftest.err >&5
10141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10142 (exit $ac_status); } && {
10143 test -z "$ac_c_werror_flag" ||
10144 test ! -s conftest.err
10145 } && test -s conftest.$ac_objext; then
10146 ac_cv_prog_cc_c89=$ac_arg
10148 echo "$as_me: failed program was:" >&5
10149 sed 's/^/| /' conftest.$ac_ext >&5
10154 rm -f core conftest.err conftest.$ac_objext
10155 test "x$ac_cv_prog_cc_c89" != "xno" && break
10157 rm -f conftest.$ac_ext
10162 case "x$ac_cv_prog_cc_c89" in
10164 { echo "$as_me:$LINENO: result: none needed" >&5
10165 echo "${ECHO_T}none needed" >&6; } ;;
10167 { echo "$as_me:$LINENO: result: unsupported" >&5
10168 echo "${ECHO_T}unsupported" >&6; } ;;
10170 CC="$CC $ac_cv_prog_cc_c89"
10171 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
10172 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
10177 ac_cpp='$CPP $CPPFLAGS'
10178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10182 depcc="$CC" am_compiler_list=
10184 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
10185 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
10186 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
10187 echo $ECHO_N "(cached) $ECHO_C" >&6
10189 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10190 # We make a subdir and do the tests there. Otherwise we can end up
10191 # making bogus files that we don't know about and never remove. For
10192 # instance it was reported that on HP-UX the gcc test will end up
10193 # making a dummy file named `D' -- because `-MD' means `put the output
10196 # Copy depcomp to subdir because otherwise we won't find it if we're
10197 # using a relative directory.
10198 cp "$am_depcomp" conftest.dir
10200 # We will build objects and dependencies in a subdirectory because
10201 # it helps to detect inapplicable dependency modes. For instance
10202 # both Tru64's cc and ICC support -MD to output dependencies as a
10203 # side effect of compilation, but ICC will put the dependencies in
10204 # the current directory while Tru64 will put them in the object
10208 am_cv_CC_dependencies_compiler_type=none
10209 if test "$am_compiler_list" = ""; then
10210 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10212 for depmode in $am_compiler_list; do
10213 # Setup a source with many dependencies, because some compilers
10214 # like to wrap large dependency lists on column 80 (with \), and
10215 # we should not choose a depcomp mode which is confused by this.
10217 # We need to recreate these files for each test, as the compiler may
10218 # overwrite some of them when testing with obscure command lines.
10219 # This happens at least with the AIX C compiler.
10221 for i in 1 2 3 4 5 6; do
10222 echo '#include "conftst'$i'.h"' >> sub/conftest.c
10223 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
10224 # Solaris 8's {/usr,}/bin/sh.
10225 touch sub/conftst$i.h
10227 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
10231 # after this tag, mechanisms are not by side-effect, so they'll
10232 # only be used when explicitly requested
10233 if test "x$enable_dependency_tracking" = xyes; then
10241 # We check with `-c' and `-o' for the sake of the "dashmstdout"
10242 # mode. It turns out that the SunPro C++ compiler does not properly
10243 # handle `-M -o', and we need to detect this.
10244 if depmode=$depmode \
10245 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
10246 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
10247 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
10248 >/dev/null 2>conftest.err &&
10249 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
10250 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
10251 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
10252 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
10253 # icc doesn't choke on unknown options, it will just issue warnings
10254 # or remarks (even with -Werror). So we grep stderr for any message
10255 # that says an option was ignored or not supported.
10256 # When given -MP, icc 7.0 and 7.1 complain thusly:
10257 # icc: Command line warning: ignoring option '-M'; no argument required
10258 # The diagnosis changed in icc 8.0:
10259 # icc: Command line remark: option '-MP' not supported
10260 if (grep 'ignoring option' conftest.err ||
10261 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
10262 am_cv_CC_dependencies_compiler_type=$depmode
10269 rm -rf conftest.dir
10271 am_cv_CC_dependencies_compiler_type=none
10275 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
10276 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
10277 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
10280 test "x$enable_dependency_tracking" != xno \
10281 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
10282 am__fastdepCC_TRUE=
10283 am__fastdepCC_FALSE='#'
10285 am__fastdepCC_TRUE='#'
10286 am__fastdepCC_FALSE=
10291 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
10293 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10294 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
10295 if test "${ac_cv_header_stdc+set}" = set; then
10296 echo $ECHO_N "(cached) $ECHO_C" >&6
10298 cat >conftest.$ac_ext <<_ACEOF
10301 cat confdefs.h >>conftest.$ac_ext
10302 cat >>conftest.$ac_ext <<_ACEOF
10303 /* end confdefs.h. */
10304 #include <stdlib.h>
10305 #include <stdarg.h>
10306 #include <string.h>
10317 rm -f conftest.$ac_objext
10318 if { (ac_try="$ac_compile"
10319 case "(($ac_try" in
10320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10321 *) ac_try_echo=$ac_try;;
10323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10324 (eval "$ac_compile") 2>conftest.er1
10326 grep -v '^ *+' conftest.er1 >conftest.err
10328 cat conftest.err >&5
10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10330 (exit $ac_status); } && {
10331 test -z "$ac_c_werror_flag" ||
10332 test ! -s conftest.err
10333 } && test -s conftest.$ac_objext; then
10334 ac_cv_header_stdc=yes
10336 echo "$as_me: failed program was:" >&5
10337 sed 's/^/| /' conftest.$ac_ext >&5
10339 ac_cv_header_stdc=no
10342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10344 if test $ac_cv_header_stdc = yes; then
10345 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10346 cat >conftest.$ac_ext <<_ACEOF
10349 cat confdefs.h >>conftest.$ac_ext
10350 cat >>conftest.$ac_ext <<_ACEOF
10351 /* end confdefs.h. */
10352 #include <string.h>
10355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10356 $EGREP "memchr" >/dev/null 2>&1; then
10359 ac_cv_header_stdc=no
10365 if test $ac_cv_header_stdc = yes; then
10366 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10367 cat >conftest.$ac_ext <<_ACEOF
10370 cat confdefs.h >>conftest.$ac_ext
10371 cat >>conftest.$ac_ext <<_ACEOF
10372 /* end confdefs.h. */
10373 #include <stdlib.h>
10376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10377 $EGREP "free" >/dev/null 2>&1; then
10380 ac_cv_header_stdc=no
10386 if test $ac_cv_header_stdc = yes; then
10387 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10388 if test "$cross_compiling" = yes; then
10391 cat >conftest.$ac_ext <<_ACEOF
10394 cat confdefs.h >>conftest.$ac_ext
10395 cat >>conftest.$ac_ext <<_ACEOF
10396 /* end confdefs.h. */
10398 #include <stdlib.h>
10399 #if ((' ' & 0x0FF) == 0x020)
10400 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10401 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10403 # define ISLOWER(c) \
10404 (('a' <= (c) && (c) <= 'i') \
10405 || ('j' <= (c) && (c) <= 'r') \
10406 || ('s' <= (c) && (c) <= 'z'))
10407 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10410 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10415 for (i = 0; i < 256; i++)
10416 if (XOR (islower (i), ISLOWER (i))
10417 || toupper (i) != TOUPPER (i))
10422 rm -f conftest$ac_exeext
10423 if { (ac_try="$ac_link"
10424 case "(($ac_try" in
10425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10426 *) ac_try_echo=$ac_try;;
10428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10429 (eval "$ac_link") 2>&5
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10433 { (case "(($ac_try" in
10434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10435 *) ac_try_echo=$ac_try;;
10437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10438 (eval "$ac_try") 2>&5
10440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10441 (exit $ac_status); }; }; then
10444 echo "$as_me: program exited with status $ac_status" >&5
10445 echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.$ac_ext >&5
10448 ( exit $ac_status )
10449 ac_cv_header_stdc=no
10451 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10457 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10458 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
10459 if test $ac_cv_header_stdc = yes; then
10461 cat >>confdefs.h <<\_ACEOF
10462 #define STDC_HEADERS 1
10467 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
10468 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
10469 if test "${ac_cv_c_const+set}" = set; then
10470 echo $ECHO_N "(cached) $ECHO_C" >&6
10472 cat >conftest.$ac_ext <<_ACEOF
10475 cat confdefs.h >>conftest.$ac_ext
10476 cat >>conftest.$ac_ext <<_ACEOF
10477 /* end confdefs.h. */
10482 /* FIXME: Include the comments suggested by Paul. */
10483 #ifndef __cplusplus
10484 /* Ultrix mips cc rejects this. */
10485 typedef int charset[2];
10487 /* SunOS 4.1.1 cc rejects this. */
10488 char const *const *pcpcc;
10490 /* NEC SVR4.0.2 mips cc rejects this. */
10491 struct point {int x, y;};
10492 static struct point const zero = {0,0};
10493 /* AIX XL C 1.02.0.0 rejects this.
10494 It does not let you subtract one const X* pointer from another in
10495 an arm of an if-expression whose if-part is not a constant
10497 const char *g = "string";
10498 pcpcc = &g + (g ? g-g : 0);
10499 /* HPUX 7.0 cc rejects these. */
10501 ppc = (char**) pcpcc;
10502 pcpcc = (char const *const *) ppc;
10503 { /* SCO 3.2v4 cc rejects this. */
10505 char const *s = 0 ? (char *) 0 : (char const *) 0;
10510 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10511 int x[] = {25, 17};
10512 const int *foo = &x[0];
10515 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10516 typedef const int *iptr;
10520 { /* AIX XL C 1.02.0.0 rejects this saying
10521 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10522 struct s { int j; const int *ap[3]; };
10523 struct s *b; b->j = 5;
10525 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10526 const int foo = 10;
10527 if (!foo) return 0;
10529 return !cs[0] && !zero.x;
10536 rm -f conftest.$ac_objext
10537 if { (ac_try="$ac_compile"
10538 case "(($ac_try" in
10539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10540 *) ac_try_echo=$ac_try;;
10542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10543 (eval "$ac_compile") 2>conftest.er1
10545 grep -v '^ *+' conftest.er1 >conftest.err
10547 cat conftest.err >&5
10548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10549 (exit $ac_status); } && {
10550 test -z "$ac_c_werror_flag" ||
10551 test ! -s conftest.err
10552 } && test -s conftest.$ac_objext; then
10555 echo "$as_me: failed program was:" >&5
10556 sed 's/^/| /' conftest.$ac_ext >&5
10561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10563 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
10564 echo "${ECHO_T}$ac_cv_c_const" >&6; }
10565 if test $ac_cv_c_const = no; then
10567 cat >>confdefs.h <<\_ACEOF
10573 if test "x$CC" != xcc; then
10574 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
10575 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
10577 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
10578 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
10580 set dummy $CC; ac_cc=`echo $2 |
10581 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
10582 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
10583 echo $ECHO_N "(cached) $ECHO_C" >&6
10585 cat >conftest.$ac_ext <<_ACEOF
10588 cat confdefs.h >>conftest.$ac_ext
10589 cat >>conftest.$ac_ext <<_ACEOF
10590 /* end confdefs.h. */
10600 # Make sure it works both with $CC and with simple cc.
10601 # We do the test twice because some compilers refuse to overwrite an
10602 # existing .o file with -o, though they will create one.
10603 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
10605 if { (case "(($ac_try" in
10606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10607 *) ac_try_echo=$ac_try;;
10609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10610 (eval "$ac_try") 2>&5
10612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10613 (exit $ac_status); } &&
10614 test -f conftest2.$ac_objext && { (case "(($ac_try" in
10615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10616 *) ac_try_echo=$ac_try;;
10618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10619 (eval "$ac_try") 2>&5
10621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10622 (exit $ac_status); };
10624 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
10625 if test "x$CC" != xcc; then
10626 # Test first that cc exists at all.
10627 if { ac_try='cc -c conftest.$ac_ext >&5'
10628 { (case "(($ac_try" in
10629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10630 *) ac_try_echo=$ac_try;;
10632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10633 (eval "$ac_try") 2>&5
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); }; }; then
10637 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
10639 if { (case "(($ac_try" in
10640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10641 *) ac_try_echo=$ac_try;;
10643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10644 (eval "$ac_try") 2>&5
10646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10647 (exit $ac_status); } &&
10648 test -f conftest2.$ac_objext && { (case "(($ac_try" in
10649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10650 *) ac_try_echo=$ac_try;;
10652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10653 (eval "$ac_try") 2>&5
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); };
10661 # cc exists but doesn't like -o.
10662 eval ac_cv_prog_cc_${ac_cc}_c_o=no
10667 eval ac_cv_prog_cc_${ac_cc}_c_o=no
10669 rm -f core conftest*
10672 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
10673 { echo "$as_me:$LINENO: result: yes" >&5
10674 echo "${ECHO_T}yes" >&6; }
10676 { echo "$as_me:$LINENO: result: no" >&5
10677 echo "${ECHO_T}no" >&6; }
10679 cat >>confdefs.h <<\_ACEOF
10680 #define NO_MINUS_C_MINUS_O 1
10685 # FIXME: we rely on the cache variable name because
10686 # there is no other way.
10688 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
10689 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
10690 if test "$am_t" != yes; then
10691 # Losing compiler, so override with the script.
10692 # FIXME: It is wrong to rewrite CC.
10693 # But if we don't then we get into trouble of one sort or another.
10694 # A longer-term fix would be to have automake use am__CC in this case,
10695 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
10696 CC="$am_aux_dir/compile $CC"
10704 WIN32_CFLAGS="-mwin32"
10709 EXPEDITE_CXXFLAGS=""
10711 ac_cpp='$CXXCPP $CPPFLAGS'
10712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10716 CXXFLAGS_save="${CXXFLAGS}"
10717 CXXFLAGS="${CXXFLAGS} -fno-rtti -fno-exceptions"
10719 cat >conftest.$ac_ext <<_ACEOF
10722 cat confdefs.h >>conftest.$ac_ext
10723 cat >>conftest.$ac_ext <<_ACEOF
10724 /* end confdefs.h. */
10734 rm -f conftest.$ac_objext conftest$ac_exeext
10735 if { (ac_try="$ac_link"
10736 case "(($ac_try" in
10737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10738 *) ac_try_echo=$ac_try;;
10740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10741 (eval "$ac_link") 2>conftest.er1
10743 grep -v '^ *+' conftest.er1 >conftest.err
10745 cat conftest.err >&5
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); } && {
10748 test -z "$ac_cxx_werror_flag" ||
10749 test ! -s conftest.err
10750 } && test -s conftest$ac_exeext &&
10751 $as_test_x conftest$ac_exeext; then
10752 have_cxx_flags="yes"
10754 echo "$as_me: failed program was:" >&5
10755 sed 's/^/| /' conftest.$ac_ext >&5
10757 have_cxx_flags="no"
10760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10761 conftest$ac_exeext conftest.$ac_ext
10762 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-rtti -fno-exceptions" >&5
10763 echo $ECHO_N "checking whether the compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
10764 { echo "$as_me:$LINENO: result: ${have_cxx_flags}" >&5
10765 echo "${ECHO_T}${have_cxx_flags}" >&6; }
10766 CXXFLAGS="${CXXFLAGS_save}"
10767 if test "x${have_cxx_flags}" = "xyes" ; then
10768 EXPEDITE_CXXFLAGS="-fno-rtti -fno-exceptions"
10771 ac_cpp='$CPP $CPPFLAGS'
10772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10779 ### Checks for linker characteristics
10781 lt_enable_auto_import=""
10784 lt_enable_auto_import="-Wl,--enable-auto-import"
10790 ### Checks for library functions
10793 ac_config_files="$ac_config_files Makefile src/Makefile src/bin/Makefile data/Makefile"
10795 cat >confcache <<\_ACEOF
10796 # This file is a shell script that caches the results of configure
10797 # tests run on this system so they can be shared between configure
10798 # scripts and configure runs, see configure's option --config-cache.
10799 # It is not useful on other systems. If it contains results you don't
10800 # want to keep, you may remove or edit it.
10802 # config.status only pays attention to the cache file if you give it
10803 # the --recheck option to rerun configure.
10805 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10806 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10807 # following values.
10811 # The following way of writing the cache mishandles newlines in values,
10812 # but we know of no workaround that is simple, portable, and efficient.
10813 # So, we kill variables containing newlines.
10814 # Ultrix sh set writes to stderr and can't be redirected directly,
10815 # and sets the high bit in the cache file unless we assign to the vars.
10817 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10818 eval ac_val=\$$ac_var
10822 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
10823 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
10826 _ | IFS | as_nl) ;; #(
10827 *) $as_unset $ac_var ;;
10833 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10834 *${as_nl}ac_space=\ *)
10835 # `set' does not quote correctly, so add quotes (double-quote
10836 # substitution turns \\\\ into \\, and sed turns \\ into \).
10839 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10842 # `set' quotes correctly as required by POSIX, so do not add quotes.
10843 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10852 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10854 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10856 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
10857 if test -w "$cache_file"; then
10858 test "x$cache_file" != "x/dev/null" &&
10859 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
10860 echo "$as_me: updating cache $cache_file" >&6;}
10861 cat confcache >$cache_file
10863 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10864 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10869 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10870 # Let make expand exec_prefix.
10871 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10873 DEFS=-DHAVE_CONFIG_H
10877 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10878 # 1. Remove the extension, and $U if already installed.
10879 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
10880 ac_i=`echo "$ac_i" | sed "$ac_script"`
10881 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10882 # will be set to the directory where LIBOBJS objects are built.
10883 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10884 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10886 LIBOBJS=$ac_libobjs
10888 LTLIBOBJS=$ac_ltlibobjs
10891 if test -z "${BUILD_SOFTWARE_X11_TRUE}" && test -z "${BUILD_SOFTWARE_X11_FALSE}"; then
10892 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOFTWARE_X11\" was never defined.
10893 Usually this means the macro was only invoked conditionally." >&5
10894 echo "$as_me: error: conditional \"BUILD_SOFTWARE_X11\" was never defined.
10895 Usually this means the macro was only invoked conditionally." >&2;}
10896 { (exit 1); exit 1; }; }
10898 if test -z "${BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_SOFTWARE_XLIB_FALSE}"; then
10899 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOFTWARE_XLIB\" was never defined.
10900 Usually this means the macro was only invoked conditionally." >&5
10901 echo "$as_me: error: conditional \"BUILD_SOFTWARE_XLIB\" was never defined.
10902 Usually this means the macro was only invoked conditionally." >&2;}
10903 { (exit 1); exit 1; }; }
10905 if test -z "${BUILD_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_SOFTWARE_XCB_FALSE}"; then
10906 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOFTWARE_XCB\" was never defined.
10907 Usually this means the macro was only invoked conditionally." >&5
10908 echo "$as_me: error: conditional \"BUILD_SOFTWARE_XCB\" was never defined.
10909 Usually this means the macro was only invoked conditionally." >&2;}
10910 { (exit 1); exit 1; }; }
10912 if test -z "${BUILD_XRENDER_X11_TRUE}" && test -z "${BUILD_XRENDER_X11_FALSE}"; then
10913 { { echo "$as_me:$LINENO: error: conditional \"BUILD_XRENDER_X11\" was never defined.
10914 Usually this means the macro was only invoked conditionally." >&5
10915 echo "$as_me: error: conditional \"BUILD_XRENDER_X11\" was never defined.
10916 Usually this means the macro was only invoked conditionally." >&2;}
10917 { (exit 1); exit 1; }; }
10919 if test -z "${BUILD_OPENGL_X11_TRUE}" && test -z "${BUILD_OPENGL_X11_FALSE}"; then
10920 { { echo "$as_me:$LINENO: error: conditional \"BUILD_OPENGL_X11\" was never defined.
10921 Usually this means the macro was only invoked conditionally." >&5
10922 echo "$as_me: error: conditional \"BUILD_OPENGL_X11\" was never defined.
10923 Usually this means the macro was only invoked conditionally." >&2;}
10924 { (exit 1); exit 1; }; }
10926 if test -z "${BUILD_XRENDER_XCB_TRUE}" && test -z "${BUILD_XRENDER_XCB_FALSE}"; then
10927 { { echo "$as_me:$LINENO: error: conditional \"BUILD_XRENDER_XCB\" was never defined.
10928 Usually this means the macro was only invoked conditionally." >&5
10929 echo "$as_me: error: conditional \"BUILD_XRENDER_XCB\" was never defined.
10930 Usually this means the macro was only invoked conditionally." >&2;}
10931 { (exit 1); exit 1; }; }
10933 if test -z "${BUILD_SOFTWARE_GDI_TRUE}" && test -z "${BUILD_SOFTWARE_GDI_FALSE}"; then
10934 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOFTWARE_GDI\" was never defined.
10935 Usually this means the macro was only invoked conditionally." >&5
10936 echo "$as_me: error: conditional \"BUILD_SOFTWARE_GDI\" was never defined.
10937 Usually this means the macro was only invoked conditionally." >&2;}
10938 { (exit 1); exit 1; }; }
10940 if test -z "${BUILD_SOFTWARE_DDRAW_TRUE}" && test -z "${BUILD_SOFTWARE_DDRAW_FALSE}"; then
10941 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOFTWARE_DDRAW\" was never defined.
10942 Usually this means the macro was only invoked conditionally." >&5
10943 echo "$as_me: error: conditional \"BUILD_SOFTWARE_DDRAW\" was never defined.
10944 Usually this means the macro was only invoked conditionally." >&2;}
10945 { (exit 1); exit 1; }; }
10947 if test -z "${BUILD_DIRECT3D_TRUE}" && test -z "${BUILD_DIRECT3D_FALSE}"; then
10948 { { echo "$as_me:$LINENO: error: conditional \"BUILD_DIRECT3D\" was never defined.
10949 Usually this means the macro was only invoked conditionally." >&5
10950 echo "$as_me: error: conditional \"BUILD_DIRECT3D\" was never defined.
10951 Usually this means the macro was only invoked conditionally." >&2;}
10952 { (exit 1); exit 1; }; }
10954 if test -z "${BUILD_OPENGL_GLEW_TRUE}" && test -z "${BUILD_OPENGL_GLEW_FALSE}"; then
10955 { { echo "$as_me:$LINENO: error: conditional \"BUILD_OPENGL_GLEW\" was never defined.
10956 Usually this means the macro was only invoked conditionally." >&5
10957 echo "$as_me: error: conditional \"BUILD_OPENGL_GLEW\" was never defined.
10958 Usually this means the macro was only invoked conditionally." >&2;}
10959 { (exit 1); exit 1; }; }
10961 if test -z "${BUILD_SOFTWARE_SDL_TRUE}" && test -z "${BUILD_SOFTWARE_SDL_FALSE}"; then
10962 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOFTWARE_SDL\" was never defined.
10963 Usually this means the macro was only invoked conditionally." >&5
10964 echo "$as_me: error: conditional \"BUILD_SOFTWARE_SDL\" was never defined.
10965 Usually this means the macro was only invoked conditionally." >&2;}
10966 { (exit 1); exit 1; }; }
10968 if test -z "${BUILD_OPENGL_SDL_TRUE}" && test -z "${BUILD_OPENGL_SDL_FALSE}"; then
10969 { { echo "$as_me:$LINENO: error: conditional \"BUILD_OPENGL_SDL\" was never defined.
10970 Usually this means the macro was only invoked conditionally." >&5
10971 echo "$as_me: error: conditional \"BUILD_OPENGL_SDL\" was never defined.
10972 Usually this means the macro was only invoked conditionally." >&2;}
10973 { (exit 1); exit 1; }; }
10975 if test -z "${BUILD_FB_TRUE}" && test -z "${BUILD_FB_FALSE}"; then
10976 { { echo "$as_me:$LINENO: error: conditional \"BUILD_FB\" was never defined.
10977 Usually this means the macro was only invoked conditionally." >&5
10978 echo "$as_me: error: conditional \"BUILD_FB\" was never defined.
10979 Usually this means the macro was only invoked conditionally." >&2;}
10980 { (exit 1); exit 1; }; }
10982 if test -z "${BUILD_DIRECTFB_TRUE}" && test -z "${BUILD_DIRECTFB_FALSE}"; then
10983 { { echo "$as_me:$LINENO: error: conditional \"BUILD_DIRECTFB\" was never defined.
10984 Usually this means the macro was only invoked conditionally." >&5
10985 echo "$as_me: error: conditional \"BUILD_DIRECTFB\" was never defined.
10986 Usually this means the macro was only invoked conditionally." >&2;}
10987 { (exit 1); exit 1; }; }
10989 if test -z "${BUILD_QUARTZ_TRUE}" && test -z "${BUILD_QUARTZ_FALSE}"; then
10990 { { echo "$as_me:$LINENO: error: conditional \"BUILD_QUARTZ\" was never defined.
10991 Usually this means the macro was only invoked conditionally." >&5
10992 echo "$as_me: error: conditional \"BUILD_QUARTZ\" was never defined.
10993 Usually this means the macro was only invoked conditionally." >&2;}
10994 { (exit 1); exit 1; }; }
10996 if test -z "${BUILD_SOFTWARE_16_X11_TRUE}" && test -z "${BUILD_SOFTWARE_16_X11_FALSE}"; then
10997 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOFTWARE_16_X11\" was never defined.
10998 Usually this means the macro was only invoked conditionally." >&5
10999 echo "$as_me: error: conditional \"BUILD_SOFTWARE_16_X11\" was never defined.
11000 Usually this means the macro was only invoked conditionally." >&2;}
11001 { (exit 1); exit 1; }; }
11003 if test -z "${BUILD_SOFTWARE_16_DDRAW_TRUE}" && test -z "${BUILD_SOFTWARE_16_DDRAW_FALSE}"; then
11004 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOFTWARE_16_DDRAW\" was never defined.
11005 Usually this means the macro was only invoked conditionally." >&5
11006 echo "$as_me: error: conditional \"BUILD_SOFTWARE_16_DDRAW\" was never defined.
11007 Usually this means the macro was only invoked conditionally." >&2;}
11008 { (exit 1); exit 1; }; }
11010 if test -z "${BUILD_SOFTWARE_16_WINCE_TRUE}" && test -z "${BUILD_SOFTWARE_16_WINCE_FALSE}"; then
11011 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOFTWARE_16_WINCE\" was never defined.
11012 Usually this means the macro was only invoked conditionally." >&5
11013 echo "$as_me: error: conditional \"BUILD_SOFTWARE_16_WINCE\" was never defined.
11014 Usually this means the macro was only invoked conditionally." >&2;}
11015 { (exit 1); exit 1; }; }
11017 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11018 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11019 Usually this means the macro was only invoked conditionally." >&5
11020 echo "$as_me: error: conditional \"AMDEP\" was never defined.
11021 Usually this means the macro was only invoked conditionally." >&2;}
11022 { (exit 1); exit 1; }; }
11024 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11025 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11026 Usually this means the macro was only invoked conditionally." >&5
11027 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11028 Usually this means the macro was only invoked conditionally." >&2;}
11029 { (exit 1); exit 1; }; }
11031 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
11032 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined.
11033 Usually this means the macro was only invoked conditionally." >&5
11034 echo "$as_me: error: conditional \"am__fastdepOBJC\" was never defined.
11035 Usually this means the macro was only invoked conditionally." >&2;}
11036 { (exit 1); exit 1; }; }
11038 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
11039 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined.
11040 Usually this means the macro was only invoked conditionally." >&5
11041 echo "$as_me: error: conditional \"am__fastdepOBJC\" was never defined.
11042 Usually this means the macro was only invoked conditionally." >&2;}
11043 { (exit 1); exit 1; }; }
11045 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
11046 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
11047 Usually this means the macro was only invoked conditionally." >&5
11048 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
11049 Usually this means the macro was only invoked conditionally." >&2;}
11050 { (exit 1); exit 1; }; }
11052 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11053 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11054 Usually this means the macro was only invoked conditionally." >&5
11055 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11056 Usually this means the macro was only invoked conditionally." >&2;}
11057 { (exit 1); exit 1; }; }
11059 if test -z "${BUILD_X11_TRUE}" && test -z "${BUILD_X11_FALSE}"; then
11060 { { echo "$as_me:$LINENO: error: conditional \"BUILD_X11\" was never defined.
11061 Usually this means the macro was only invoked conditionally." >&5
11062 echo "$as_me: error: conditional \"BUILD_X11\" was never defined.
11063 Usually this means the macro was only invoked conditionally." >&2;}
11064 { (exit 1); exit 1; }; }
11066 if test -z "${BUILD_XCB_TRUE}" && test -z "${BUILD_XCB_FALSE}"; then
11067 { { echo "$as_me:$LINENO: error: conditional \"BUILD_XCB\" was never defined.
11068 Usually this means the macro was only invoked conditionally." >&5
11069 echo "$as_me: error: conditional \"BUILD_XCB\" was never defined.
11070 Usually this means the macro was only invoked conditionally." >&2;}
11071 { (exit 1); exit 1; }; }
11073 if test -z "${BUILD_SDL_TRUE}" && test -z "${BUILD_SDL_FALSE}"; then
11074 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SDL\" was never defined.
11075 Usually this means the macro was only invoked conditionally." >&5
11076 echo "$as_me: error: conditional \"BUILD_SDL\" was never defined.
11077 Usually this means the macro was only invoked conditionally." >&2;}
11078 { (exit 1); exit 1; }; }
11080 if test -z "${BUILD_DIRECTFB_TRUE}" && test -z "${BUILD_DIRECTFB_FALSE}"; then
11081 { { echo "$as_me:$LINENO: error: conditional \"BUILD_DIRECTFB\" was never defined.
11082 Usually this means the macro was only invoked conditionally." >&5
11083 echo "$as_me: error: conditional \"BUILD_DIRECTFB\" was never defined.
11084 Usually this means the macro was only invoked conditionally." >&2;}
11085 { (exit 1); exit 1; }; }
11087 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11088 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11089 Usually this means the macro was only invoked conditionally." >&5
11090 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11091 Usually this means the macro was only invoked conditionally." >&2;}
11092 { (exit 1); exit 1; }; }
11095 : ${CONFIG_STATUS=./config.status}
11096 ac_clean_files_save=$ac_clean_files
11097 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11098 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11099 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11100 cat >$CONFIG_STATUS <<_ACEOF
11102 # Generated by $as_me.
11103 # Run this file to recreate the current configuration.
11104 # Compiler output produced by configure, useful for debugging
11105 # configure, is in config.log if it exists.
11108 ac_cs_recheck=false
11110 SHELL=\${CONFIG_SHELL-$SHELL}
11113 cat >>$CONFIG_STATUS <<\_ACEOF
11114 ## --------------------- ##
11115 ## M4sh Initialization. ##
11116 ## --------------------- ##
11118 # Be more Bourne compatible
11119 DUALCASE=1; export DUALCASE # for MKS sh
11120 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11123 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11124 # is contrary to our usage. Disable this feature.
11125 alias -g '${1+"$@"}'='"$@"'
11126 setopt NO_GLOB_SUBST
11128 case `(set -o) 2>/dev/null` in
11129 *posix*) set -o posix ;;
11138 # Avoid depending upon Character Ranges.
11139 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11140 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11141 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11142 as_cr_digits='0123456789'
11143 as_cr_alnum=$as_cr_Letters$as_cr_digits
11145 # The user is always right.
11146 if test "${PATH_SEPARATOR+set}" != set; then
11147 echo "#! /bin/sh" >conf$$.sh
11148 echo "exit 0" >>conf$$.sh
11150 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11158 # Support unset when possible.
11159 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11167 # We need space, tab and new line, in precisely that order. Quoting is
11168 # there to prevent editors from complaining about space-tab.
11169 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11170 # splitting by setting IFS to empty value.)
11175 # Find who we are. Look in the path if we contain no directory separator.
11177 *[\\/]* ) as_myself=$0 ;;
11178 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11179 for as_dir in $PATH
11182 test -z "$as_dir" && as_dir=.
11183 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11189 # We did not find ourselves, most probably we were run as `sh COMMAND'
11190 # in which case we are not to be found in the path.
11191 if test "x$as_myself" = x; then
11194 if test ! -f "$as_myself"; then
11195 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11196 { (exit 1); exit 1; }
11199 # Work around bugs in pre-3.0 UWIN ksh.
11200 for as_var in ENV MAIL MAILPATH
11201 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11209 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11210 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11211 LC_TELEPHONE LC_TIME
11213 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11214 eval $as_var=C; export $as_var
11216 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11220 # Required to use basename.
11221 if expr a : '\(a\)' >/dev/null 2>&1 &&
11222 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11228 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11229 as_basename=basename
11235 # Name of the executable.
11236 as_me=`$as_basename -- "$0" ||
11237 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11238 X"$0" : 'X\(//\)$' \| \
11239 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11241 sed '/^.*\/\([^/][^/]*\)\/*$/{
11260 as_lineno_1=$LINENO
11261 as_lineno_2=$LINENO
11262 test "x$as_lineno_1" != "x$as_lineno_2" &&
11263 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11265 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11266 # uniformly replaced by the line number. The first 'sed' inserts a
11267 # line-number line after each line using $LINENO; the second 'sed'
11268 # does the real work. The second script uses 'N' to pair each
11269 # line-number line with the line containing $LINENO, and appends
11270 # trailing '-' during substitution so that $LINENO is not a special
11271 # case at line end.
11272 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11273 # scripts with optimization help from Paolo Bonzini. Blame Lee
11274 # E. McMahon (1931-1989) for sed's syntax. :-)
11286 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11289 ' >$as_me.lineno &&
11290 chmod +x "$as_me.lineno" ||
11291 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11292 { (exit 1); exit 1; }; }
11294 # Don't try to exec as it changes $[0], causing all sort of problems
11295 # (the dirname of $[0] is not the place where we might find the
11296 # original and so on. Autoconf is especially sensitive to this).
11297 . "./$as_me.lineno"
11298 # Exit status is that of the last command.
11303 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11309 ECHO_C= ECHO_N= ECHO_T=
11310 case `echo -n x` in
11312 case `echo 'x\c'` in
11313 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11320 if expr a : '\(a\)' >/dev/null 2>&1 &&
11321 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11327 rm -f conf$$ conf$$.exe conf$$.file
11328 if test -d conf$$.dir; then
11329 rm -f conf$$.dir/conf$$.file
11335 if ln -s conf$$.file conf$$ 2>/dev/null; then
11337 # ... but there are two gotchas:
11338 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11339 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11340 # In both cases, we have to default to `cp -p'.
11341 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11343 elif ln conf$$.file conf$$ 2>/dev/null; then
11348 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11349 rmdir conf$$.dir 2>/dev/null
11351 if mkdir -p . 2>/dev/null; then
11354 test -d ./-p && rmdir ./-p
11358 if test -x / >/dev/null 2>&1; then
11359 as_test_x='test -x'
11361 if ls -dL / >/dev/null 2>&1; then
11368 if test -d "$1"; then
11374 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
11375 ???[sx]*):;;*)false;;esac;fi
11379 as_executable_p=$as_test_x
11381 # Sed expression to map a string onto a valid CPP name.
11382 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11384 # Sed expression to map a string onto a valid variable name.
11385 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11390 # Save the log message, to keep $[0] and so on meaningful, and to
11391 # report actual input values of CONFIG_FILES etc. instead of their
11392 # values after options handling.
11394 This file was extended by expedite $as_me 0.7.0, which was
11395 generated by GNU Autoconf 2.61. Invocation command line was
11397 CONFIG_FILES = $CONFIG_FILES
11398 CONFIG_HEADERS = $CONFIG_HEADERS
11399 CONFIG_LINKS = $CONFIG_LINKS
11400 CONFIG_COMMANDS = $CONFIG_COMMANDS
11403 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11408 cat >>$CONFIG_STATUS <<_ACEOF
11409 # Files that config.status was made for.
11410 config_files="$ac_config_files"
11411 config_headers="$ac_config_headers"
11412 config_commands="$ac_config_commands"
11416 cat >>$CONFIG_STATUS <<\_ACEOF
11418 \`$as_me' instantiates files from templates according to the
11419 current configuration.
11421 Usage: $0 [OPTIONS] [FILE]...
11423 -h, --help print this help, then exit
11424 -V, --version print version number and configuration settings, then exit
11425 -q, --quiet do not print progress messages
11426 -d, --debug don't remove temporary files
11427 --recheck update $as_me by reconfiguring in the same conditions
11428 --file=FILE[:TEMPLATE]
11429 instantiate the configuration file FILE
11430 --header=FILE[:TEMPLATE]
11431 instantiate the configuration header FILE
11433 Configuration files:
11436 Configuration headers:
11439 Configuration commands:
11442 Report bugs to <bug-autoconf@gnu.org>."
11445 cat >>$CONFIG_STATUS <<_ACEOF
11447 expedite config.status 0.7.0
11448 configured by $0, generated by GNU Autoconf 2.61,
11449 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11451 Copyright (C) 2006 Free Software Foundation, Inc.
11452 This config.status script is free software; the Free Software Foundation
11453 gives unlimited permission to copy, distribute and modify it."
11461 cat >>$CONFIG_STATUS <<\_ACEOF
11462 # If no file are specified by the user, then we need to provide default
11463 # value. By we need to know if files were specified by the user.
11469 ac_option=`expr "X$1" : 'X\([^=]*\)='`
11470 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11481 # Handling of the options.
11482 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11484 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11485 echo "$ac_cs_version"; exit ;;
11486 --debug | --debu | --deb | --de | --d | -d )
11488 --file | --fil | --fi | --f )
11490 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11491 ac_need_defaults=false;;
11492 --header | --heade | --head | --hea )
11494 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11495 ac_need_defaults=false;;
11497 # Conflict between --help and --header
11498 { echo "$as_me: error: ambiguous option: $1
11499 Try \`$0 --help' for more information." >&2
11500 { (exit 1); exit 1; }; };;
11501 --help | --hel | -h )
11502 echo "$ac_cs_usage"; exit ;;
11503 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11504 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11507 # This is an error.
11508 -*) { echo "$as_me: error: unrecognized option: $1
11509 Try \`$0 --help' for more information." >&2
11510 { (exit 1); exit 1; }; } ;;
11512 *) ac_config_targets="$ac_config_targets $1"
11513 ac_need_defaults=false ;;
11519 ac_configure_extra_args=
11521 if $ac_cs_silent; then
11523 ac_configure_extra_args="$ac_configure_extra_args --silent"
11527 cat >>$CONFIG_STATUS <<_ACEOF
11528 if \$ac_cs_recheck; then
11529 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11530 CONFIG_SHELL=$SHELL
11531 export CONFIG_SHELL
11532 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11536 cat >>$CONFIG_STATUS <<\_ACEOF
11540 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11541 ## Running $as_me. ##
11547 cat >>$CONFIG_STATUS <<_ACEOF
11551 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11555 cat >>$CONFIG_STATUS <<\_ACEOF
11557 # Handling of arguments.
11558 for ac_config_target in $ac_config_targets
11560 case $ac_config_target in
11561 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11562 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11563 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11564 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
11565 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
11566 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
11568 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11569 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11570 { (exit 1); exit 1; }; };;
11575 # If the user did not use the arguments to specify the items to instantiate,
11576 # then the envvar interface is used. Set only those that are not.
11577 # We use the long form for the default assignment because of an extremely
11578 # bizarre bug on SunOS 4.1.3.
11579 if $ac_need_defaults; then
11580 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11581 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11582 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11585 # Have a temporary directory for convenience. Make it in the build tree
11586 # simply because there is no reason against having it here, and in addition,
11587 # creating and moving files from /tmp can sometimes cause problems.
11588 # Hook for its removal unless debugging.
11589 # Note that there is a small window in which the directory will not be cleaned:
11590 # after its creation but before its name has been assigned to `$tmp'.
11594 trap 'exit_status=$?
11595 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11597 trap '{ (exit 1); exit 1; }' 1 2 13 15
11599 # Create a (secure) tmp directory for tmp files.
11602 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11603 test -n "$tmp" && test -d "$tmp"
11606 tmp=./conf$$-$RANDOM
11607 (umask 077 && mkdir "$tmp")
11610 echo "$me: cannot create a temporary directory in ." >&2
11611 { (exit 1); exit 1; }
11615 # Set up the sed scripts for CONFIG_FILES section.
11618 # No need to generate the scripts if there are no CONFIG_FILES.
11619 # This happens for instance when ./config.status config.h
11620 if test -n "$CONFIG_FILES"; then
11627 for ac_last_try in false false false false false :; do
11628 cat >conf$$subs.sed <<_ACEOF
11629 SHELL!$SHELL$ac_delim
11630 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
11631 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
11632 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
11633 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
11634 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
11635 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
11636 exec_prefix!$exec_prefix$ac_delim
11637 prefix!$prefix$ac_delim
11638 program_transform_name!$program_transform_name$ac_delim
11639 bindir!$bindir$ac_delim
11640 sbindir!$sbindir$ac_delim
11641 libexecdir!$libexecdir$ac_delim
11642 datarootdir!$datarootdir$ac_delim
11643 datadir!$datadir$ac_delim
11644 sysconfdir!$sysconfdir$ac_delim
11645 sharedstatedir!$sharedstatedir$ac_delim
11646 localstatedir!$localstatedir$ac_delim
11647 includedir!$includedir$ac_delim
11648 oldincludedir!$oldincludedir$ac_delim
11649 docdir!$docdir$ac_delim
11650 infodir!$infodir$ac_delim
11651 htmldir!$htmldir$ac_delim
11652 dvidir!$dvidir$ac_delim
11653 pdfdir!$pdfdir$ac_delim
11654 psdir!$psdir$ac_delim
11655 libdir!$libdir$ac_delim
11656 localedir!$localedir$ac_delim
11657 mandir!$mandir$ac_delim
11658 DEFS!$DEFS$ac_delim
11659 ECHO_C!$ECHO_C$ac_delim
11660 ECHO_N!$ECHO_N$ac_delim
11661 ECHO_T!$ECHO_T$ac_delim
11662 LIBS!$LIBS$ac_delim
11663 build_alias!$build_alias$ac_delim
11664 host_alias!$host_alias$ac_delim
11665 target_alias!$target_alias$ac_delim
11666 build!$build$ac_delim
11667 build_cpu!$build_cpu$ac_delim
11668 build_vendor!$build_vendor$ac_delim
11669 build_os!$build_os$ac_delim
11670 host!$host$ac_delim
11671 host_cpu!$host_cpu$ac_delim
11672 host_vendor!$host_vendor$ac_delim
11673 host_os!$host_os$ac_delim
11674 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
11675 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
11676 INSTALL_DATA!$INSTALL_DATA$ac_delim
11677 am__isrc!$am__isrc$ac_delim
11678 CYGPATH_W!$CYGPATH_W$ac_delim
11679 PACKAGE!$PACKAGE$ac_delim
11680 VERSION!$VERSION$ac_delim
11681 ACLOCAL!$ACLOCAL$ac_delim
11682 AUTOCONF!$AUTOCONF$ac_delim
11683 AUTOMAKE!$AUTOMAKE$ac_delim
11684 AUTOHEADER!$AUTOHEADER$ac_delim
11685 MAKEINFO!$MAKEINFO$ac_delim
11686 install_sh!$install_sh$ac_delim
11687 STRIP!$STRIP$ac_delim
11688 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
11689 mkdir_p!$mkdir_p$ac_delim
11691 SET_MAKE!$SET_MAKE$ac_delim
11692 am__leading_dot!$am__leading_dot$ac_delim
11693 AMTAR!$AMTAR$ac_delim
11694 am__tar!$am__tar$ac_delim
11695 am__untar!$am__untar$ac_delim
11696 PKG_CONFIG!$PKG_CONFIG$ac_delim
11697 BUILD_SOFTWARE_X11_TRUE!$BUILD_SOFTWARE_X11_TRUE$ac_delim
11698 BUILD_SOFTWARE_X11_FALSE!$BUILD_SOFTWARE_X11_FALSE$ac_delim
11699 BUILD_SOFTWARE_XLIB_TRUE!$BUILD_SOFTWARE_XLIB_TRUE$ac_delim
11700 BUILD_SOFTWARE_XLIB_FALSE!$BUILD_SOFTWARE_XLIB_FALSE$ac_delim
11701 BUILD_SOFTWARE_XCB_TRUE!$BUILD_SOFTWARE_XCB_TRUE$ac_delim
11702 BUILD_SOFTWARE_XCB_FALSE!$BUILD_SOFTWARE_XCB_FALSE$ac_delim
11703 BUILD_XRENDER_X11_TRUE!$BUILD_XRENDER_X11_TRUE$ac_delim
11704 BUILD_XRENDER_X11_FALSE!$BUILD_XRENDER_X11_FALSE$ac_delim
11705 BUILD_OPENGL_X11_TRUE!$BUILD_OPENGL_X11_TRUE$ac_delim
11706 BUILD_OPENGL_X11_FALSE!$BUILD_OPENGL_X11_FALSE$ac_delim
11707 BUILD_XRENDER_XCB_TRUE!$BUILD_XRENDER_XCB_TRUE$ac_delim
11708 BUILD_XRENDER_XCB_FALSE!$BUILD_XRENDER_XCB_FALSE$ac_delim
11709 BUILD_SOFTWARE_GDI_TRUE!$BUILD_SOFTWARE_GDI_TRUE$ac_delim
11710 BUILD_SOFTWARE_GDI_FALSE!$BUILD_SOFTWARE_GDI_FALSE$ac_delim
11711 gdi_libs!$gdi_libs$ac_delim
11712 BUILD_SOFTWARE_DDRAW_TRUE!$BUILD_SOFTWARE_DDRAW_TRUE$ac_delim
11713 BUILD_SOFTWARE_DDRAW_FALSE!$BUILD_SOFTWARE_DDRAW_FALSE$ac_delim
11714 ddraw_libs!$ddraw_libs$ac_delim
11715 BUILD_DIRECT3D_TRUE!$BUILD_DIRECT3D_TRUE$ac_delim
11716 BUILD_DIRECT3D_FALSE!$BUILD_DIRECT3D_FALSE$ac_delim
11717 d3d_libs!$d3d_libs$ac_delim
11718 BUILD_OPENGL_GLEW_TRUE!$BUILD_OPENGL_GLEW_TRUE$ac_delim
11719 BUILD_OPENGL_GLEW_FALSE!$BUILD_OPENGL_GLEW_FALSE$ac_delim
11720 glew_libs!$glew_libs$ac_delim
11721 BUILD_SOFTWARE_SDL_TRUE!$BUILD_SOFTWARE_SDL_TRUE$ac_delim
11722 BUILD_SOFTWARE_SDL_FALSE!$BUILD_SOFTWARE_SDL_FALSE$ac_delim
11723 BUILD_OPENGL_SDL_TRUE!$BUILD_OPENGL_SDL_TRUE$ac_delim
11724 BUILD_OPENGL_SDL_FALSE!$BUILD_OPENGL_SDL_FALSE$ac_delim
11725 BUILD_FB_TRUE!$BUILD_FB_TRUE$ac_delim
11728 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
11730 elif $ac_last_try; then
11731 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11732 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11733 { (exit 1); exit 1; }; }
11735 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11739 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11740 if test -n "$ac_eof"; then
11741 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
11742 ac_eof=`expr $ac_eof + 1`
11745 cat >>$CONFIG_STATUS <<_ACEOF
11746 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
11747 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11750 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11751 s/^/s,@/; s/!/@,|#_!!_#|/
11754 s/'"$ac_delim"'$/,g/; t
11756 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11757 ' >>$CONFIG_STATUS <conf$$subs.sed
11758 rm -f conf$$subs.sed
11759 cat >>$CONFIG_STATUS <<_ACEOF
11765 for ac_last_try in false false false false false :; do
11766 cat >conf$$subs.sed <<_ACEOF
11767 BUILD_FB_FALSE!$BUILD_FB_FALSE$ac_delim
11768 BUILD_DIRECTFB_TRUE!$BUILD_DIRECTFB_TRUE$ac_delim
11769 BUILD_DIRECTFB_FALSE!$BUILD_DIRECTFB_FALSE$ac_delim
11770 BUILD_QUARTZ_TRUE!$BUILD_QUARTZ_TRUE$ac_delim
11771 BUILD_QUARTZ_FALSE!$BUILD_QUARTZ_FALSE$ac_delim
11772 quartz_libs!$quartz_libs$ac_delim
11773 BUILD_SOFTWARE_16_X11_TRUE!$BUILD_SOFTWARE_16_X11_TRUE$ac_delim
11774 BUILD_SOFTWARE_16_X11_FALSE!$BUILD_SOFTWARE_16_X11_FALSE$ac_delim
11775 BUILD_SOFTWARE_16_DDRAW_TRUE!$BUILD_SOFTWARE_16_DDRAW_TRUE$ac_delim
11776 BUILD_SOFTWARE_16_DDRAW_FALSE!$BUILD_SOFTWARE_16_DDRAW_FALSE$ac_delim
11777 ddraw_16_libs!$ddraw_16_libs$ac_delim
11778 BUILD_SOFTWARE_16_WINCE_TRUE!$BUILD_SOFTWARE_16_WINCE_TRUE$ac_delim
11779 BUILD_SOFTWARE_16_WINCE_FALSE!$BUILD_SOFTWARE_16_WINCE_FALSE$ac_delim
11780 wince_16_libs!$wince_16_libs$ac_delim
11782 CFLAGS!$CFLAGS$ac_delim
11783 LDFLAGS!$LDFLAGS$ac_delim
11784 CPPFLAGS!$CPPFLAGS$ac_delim
11785 ac_ct_CC!$ac_ct_CC$ac_delim
11786 EXEEXT!$EXEEXT$ac_delim
11787 OBJEXT!$OBJEXT$ac_delim
11788 DEPDIR!$DEPDIR$ac_delim
11789 am__include!$am__include$ac_delim
11790 am__quote!$am__quote$ac_delim
11791 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
11792 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
11793 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
11794 CCDEPMODE!$CCDEPMODE$ac_delim
11795 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
11796 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
11797 OBJC!$OBJC$ac_delim
11798 OBJCFLAGS!$OBJCFLAGS$ac_delim
11799 ac_ct_OBJC!$ac_ct_OBJC$ac_delim
11800 OBJCDEPMODE!$OBJCDEPMODE$ac_delim
11801 am__fastdepOBJC_TRUE!$am__fastdepOBJC_TRUE$ac_delim
11802 am__fastdepOBJC_FALSE!$am__fastdepOBJC_FALSE$ac_delim
11804 CXXFLAGS!$CXXFLAGS$ac_delim
11805 ac_ct_CXX!$ac_ct_CXX$ac_delim
11806 CXXDEPMODE!$CXXDEPMODE$ac_delim
11807 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
11808 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
11810 EVIL_CFLAGS!$EVIL_CFLAGS$ac_delim
11811 EVIL_LIBS!$EVIL_LIBS$ac_delim
11812 EINA_CFLAGS!$EINA_CFLAGS$ac_delim
11813 EINA_LIBS!$EINA_LIBS$ac_delim
11814 EVAS_CFLAGS!$EVAS_CFLAGS$ac_delim
11815 EVAS_LIBS!$EVAS_LIBS$ac_delim
11816 XMKMF!$XMKMF$ac_delim
11818 X_CFLAGS!$X_CFLAGS$ac_delim
11819 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
11820 X_LIBS!$X_LIBS$ac_delim
11821 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
11822 GREP!$GREP$ac_delim
11823 EGREP!$EGREP$ac_delim
11824 BUILD_X11_TRUE!$BUILD_X11_TRUE$ac_delim
11825 BUILD_X11_FALSE!$BUILD_X11_FALSE$ac_delim
11826 x_cflags!$x_cflags$ac_delim
11827 x_libs!$x_libs$ac_delim
11828 XCB_CFLAGS!$XCB_CFLAGS$ac_delim
11829 XCB_LIBS!$XCB_LIBS$ac_delim
11830 BUILD_XCB_TRUE!$BUILD_XCB_TRUE$ac_delim
11831 BUILD_XCB_FALSE!$BUILD_XCB_FALSE$ac_delim
11832 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
11833 SDL_LIBS!$SDL_LIBS$ac_delim
11834 BUILD_SDL_TRUE!$BUILD_SDL_TRUE$ac_delim
11835 BUILD_SDL_FALSE!$BUILD_SDL_FALSE$ac_delim
11836 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
11837 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
11838 WIN32_CFLAGS!$WIN32_CFLAGS$ac_delim
11839 EXPEDITE_CXXFLAGS!$EXPEDITE_CXXFLAGS$ac_delim
11840 lt_enable_auto_import!$lt_enable_auto_import$ac_delim
11841 LIBOBJS!$LIBOBJS$ac_delim
11842 LTLIBOBJS!$LTLIBOBJS$ac_delim
11845 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
11847 elif $ac_last_try; then
11848 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11849 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11850 { (exit 1); exit 1; }; }
11852 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11856 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11857 if test -n "$ac_eof"; then
11858 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
11859 ac_eof=`expr $ac_eof + 1`
11862 cat >>$CONFIG_STATUS <<_ACEOF
11863 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
11864 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
11867 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11868 s/^/s,@/; s/!/@,|#_!!_#|/
11871 s/'"$ac_delim"'$/,g/; t
11873 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11874 ' >>$CONFIG_STATUS <conf$$subs.sed
11875 rm -f conf$$subs.sed
11876 cat >>$CONFIG_STATUS <<_ACEOF
11883 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11884 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11885 # trailing colons and then remove the whole line if VPATH becomes empty
11886 # (actually we leave an empty line to preserve line numbers).
11887 if test "x$srcdir" = x.; then
11888 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11889 s/:*\$(srcdir):*/:/
11890 s/:*\${srcdir}:*/:/
11892 s/^\([^=]*=[ ]*\):*/\1/
11898 cat >>$CONFIG_STATUS <<\_ACEOF
11899 fi # test -n "$CONFIG_FILES"
11902 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
11905 :[FHLC]) ac_mode=$ac_tag; continue;;
11907 case $ac_mode$ac_tag in
11909 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
11910 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
11911 { (exit 1); exit 1; }; };;
11912 :[FH]-) ac_tag=-:-;;
11913 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
11930 -) ac_f="$tmp/stdin";;
11931 *) # Look for the file first in the build tree, then in the source tree
11932 # (if the path is not absolute). The absolute path cannot be DOS-style,
11933 # because $ac_f cannot contain `:'.
11937 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
11939 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
11940 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11941 { (exit 1); exit 1; }; };;
11943 ac_file_inputs="$ac_file_inputs $ac_f"
11946 # Let's still pretend it is `configure' which instantiates (i.e., don't
11947 # use $as_me), people would be surprised to read:
11948 # /* config.h. Generated by config.status. */
11949 configure_input="Generated from "`IFS=:
11950 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
11951 if test x"$ac_file" != x-; then
11952 configure_input="$ac_file. $configure_input"
11953 { echo "$as_me:$LINENO: creating $ac_file" >&5
11954 echo "$as_me: creating $ac_file" >&6;}
11958 *:-:* | *:-) cat >"$tmp/stdin";;
11963 ac_dir=`$as_dirname -- "$ac_file" ||
11964 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11965 X"$ac_file" : 'X\(//\)[^/]' \| \
11966 X"$ac_file" : 'X\(//\)$' \| \
11967 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11973 /^X\(\/\/\)[^/].*/{
11988 -*) as_dir=./$as_dir;;
11990 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11994 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11995 *) as_qdir=$as_dir;;
11997 as_dirs="'$as_qdir' $as_dirs"
11998 as_dir=`$as_dirname -- "$as_dir" ||
11999 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12000 X"$as_dir" : 'X\(//\)[^/]' \| \
12001 X"$as_dir" : 'X\(//\)$' \| \
12002 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12008 /^X\(\/\/\)[^/].*/{
12021 test -d "$as_dir" && break
12023 test -z "$as_dirs" || eval "mkdir $as_dirs"
12024 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12025 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12026 { (exit 1); exit 1; }; }; }
12030 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12032 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12033 # A ".." for each directory in $ac_dir_suffix.
12034 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
12035 case $ac_top_builddir_sub in
12036 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12037 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12040 ac_abs_top_builddir=$ac_pwd
12041 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12042 # for backward compatibility:
12043 ac_top_builddir=$ac_top_build_prefix
12046 .) # We are building in place.
12048 ac_top_srcdir=$ac_top_builddir_sub
12049 ac_abs_top_srcdir=$ac_pwd ;;
12050 [\\/]* | ?:[\\/]* ) # Absolute name.
12051 ac_srcdir=$srcdir$ac_dir_suffix;
12052 ac_top_srcdir=$srcdir
12053 ac_abs_top_srcdir=$srcdir ;;
12054 *) # Relative name.
12055 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12056 ac_top_srcdir=$ac_top_build_prefix$srcdir
12057 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12059 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12069 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12070 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12072 ac_MKDIR_P=$MKDIR_P
12074 [\\/$]* | ?:[\\/]* ) ;;
12075 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12079 cat >>$CONFIG_STATUS <<\_ACEOF
12080 # If the template does not know about datarootdir, expand it.
12081 # FIXME: This hack should be removed a few years after 2.60.
12082 ac_datarootdir_hack=; ac_datarootdir_seen=
12084 case `sed -n '/datarootdir/ {
12093 ' $ac_file_inputs` in
12094 *datarootdir*) ac_datarootdir_seen=yes;;
12095 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12096 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12097 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12099 cat >>$CONFIG_STATUS <<_ACEOF
12100 ac_datarootdir_hack='
12101 s&@datadir@&$datadir&g
12102 s&@docdir@&$docdir&g
12103 s&@infodir@&$infodir&g
12104 s&@localedir@&$localedir&g
12105 s&@mandir@&$mandir&g
12106 s&\\\${datarootdir}&$datarootdir&g' ;;
12110 # Neutralize VPATH when `$srcdir' = `.'.
12111 # Shell code in configure.ac might set extrasub.
12112 # FIXME: do we really want to maintain this feature?
12113 cat >>$CONFIG_STATUS <<_ACEOF
12117 cat >>$CONFIG_STATUS <<\_ACEOF
12119 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12120 s&@configure_input@&$configure_input&;t t
12121 s&@top_builddir@&$ac_top_builddir_sub&;t t
12122 s&@srcdir@&$ac_srcdir&;t t
12123 s&@abs_srcdir@&$ac_abs_srcdir&;t t
12124 s&@top_srcdir@&$ac_top_srcdir&;t t
12125 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12126 s&@builddir@&$ac_builddir&;t t
12127 s&@abs_builddir@&$ac_abs_builddir&;t t
12128 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12129 s&@INSTALL@&$ac_INSTALL&;t t
12130 s&@MKDIR_P@&$ac_MKDIR_P&;t t
12131 $ac_datarootdir_hack
12132 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
12134 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12135 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12136 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12137 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12138 which seems to be undefined. Please make sure it is defined." >&5
12139 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12140 which seems to be undefined. Please make sure it is defined." >&2;}
12144 -) cat "$tmp/out"; rm -f "$tmp/out";;
12145 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
12154 # Transform confdefs.h into a sed script `conftest.defines', that
12155 # substitutes the proper values into config.h.in to produce config.h.
12156 rm -f conftest.defines conftest.tail
12157 # First, append a space to every undef/define line, to ease matching.
12158 echo 's/$/ /' >conftest.defines
12159 # Then, protect against being on the right side of a sed subst, or in
12160 # an unquoted here document, in config.status. If some macros were
12161 # called several times there might be several #defines for the same
12162 # symbol, which is useless. But do not sort them, since the last
12163 # AC_DEFINE must be honored.
12164 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12165 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
12166 # NAME is the cpp macro being defined, VALUE is the value it is being given.
12167 # PARAMS is the parameter list in the macro definition--in most cases, it's
12168 # just an empty string.
12169 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
12170 ac_dB='\\)[ (].*,\\1define\\2'
12178 s/^[ ]*#[ ]*define[ ][ ]*//
12183 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
12184 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
12185 ' >>conftest.defines
12187 # Remove the space that was appended to ease matching.
12188 # Then replace #undef with comments. This is necessary, for
12189 # example, in the case of _POSIX_SOURCE, which is predefined and required
12190 # on some systems where configure will not decide to define it.
12191 # (The regexp can be short, since the line contains either #define or #undef.)
12193 s,^[ #]*u.*,/* & */,' >>conftest.defines
12195 # Break up conftest.defines:
12196 ac_max_sed_lines=50
12198 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
12199 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
12200 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
12202 ac_in='$ac_file_inputs'
12203 ac_out='"$tmp/out1"'
12204 ac_nxt='"$tmp/out2"'
12208 # Write a here document:
12209 cat >>$CONFIG_STATUS <<_ACEOF
12210 # First, check the format of the line:
12211 cat >"\$tmp/defines.sed" <<\\CEOF
12212 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
12213 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
12217 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
12219 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
12220 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
12221 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
12222 grep . conftest.tail >/dev/null || break
12223 rm -f conftest.defines
12224 mv conftest.tail conftest.defines
12226 rm -f conftest.defines conftest.tail
12228 echo "ac_result=$ac_in" >>$CONFIG_STATUS
12229 cat >>$CONFIG_STATUS <<\_ACEOF
12230 if test x"$ac_file" != x-; then
12231 echo "/* $configure_input */" >"$tmp/config.h"
12232 cat "$ac_result" >>"$tmp/config.h"
12233 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
12234 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12235 echo "$as_me: $ac_file is unchanged" >&6;}
12238 mv "$tmp/config.h" $ac_file
12241 echo "/* $configure_input */"
12245 # Compute $ac_file's index in $config_headers.
12248 for _am_header in $config_headers :; do
12249 case $_am_header in
12250 $_am_arg | $_am_arg:* )
12253 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12256 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12257 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12258 X"$_am_arg" : 'X\(//\)[^/]' \| \
12259 X"$_am_arg" : 'X\(//\)$' \| \
12260 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12266 /^X\(\/\/\)[^/].*/{
12278 s/.*/./; q'`/stamp-h$_am_stamp_count
12281 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
12282 echo "$as_me: executing $ac_file commands" >&6;}
12287 case $ac_file$ac_mode in
12288 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
12289 # are listed without --file. Let's play safe and only enable the eval
12290 # if we detect the quoting.
12291 case $CONFIG_FILES in
12292 *\'*) eval set x "$CONFIG_FILES" ;;
12293 *) set x $CONFIG_FILES ;;
12298 # Strip MF so we end up with the name of the file.
12299 mf=`echo "$mf" | sed -e 's/:.*$//'`
12300 # Check whether this is an Automake generated Makefile or not.
12301 # We used to match only the files named `Makefile.in', but
12302 # some people rename them; so instead we look at the file content.
12303 # Grep'ing the first line is not enough: some people post-process
12304 # each Makefile.in and add a new line on top of each file to say so.
12305 # Grep'ing the whole file is not good either: AIX grep has a line
12306 # limit of 2048, but all sed's we know have understand at least 4000.
12307 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12308 dirpart=`$as_dirname -- "$mf" ||
12309 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12310 X"$mf" : 'X\(//\)[^/]' \| \
12311 X"$mf" : 'X\(//\)$' \| \
12312 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12318 /^X\(\/\/\)[^/].*/{
12334 # Extract the definition of DEPDIR, am__include, and am__quote
12335 # from the Makefile without running `make'.
12336 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12337 test -z "$DEPDIR" && continue
12338 am__include=`sed -n 's/^am__include = //p' < "$mf"`
12339 test -z "am__include" && continue
12340 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12341 # When using ansi2knr, U may be empty or an underscore; expand it
12342 U=`sed -n 's/^U = //p' < "$mf"`
12343 # Find all dependency output files, they are included files with
12344 # $(DEPDIR) in their names. We invoke sed twice because it is the
12345 # simplest approach to changing $(DEPDIR) to its actual value in the
12347 for file in `sed -n "
12348 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12349 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12350 # Make sure the directory exists.
12351 test -f "$dirpart/$file" && continue
12352 fdir=`$as_dirname -- "$file" ||
12353 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12354 X"$file" : 'X\(//\)[^/]' \| \
12355 X"$file" : 'X\(//\)$' \| \
12356 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12362 /^X\(\/\/\)[^/].*/{
12375 { as_dir=$dirpart/$fdir
12377 -*) as_dir=./$as_dir;;
12379 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12383 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12384 *) as_qdir=$as_dir;;
12386 as_dirs="'$as_qdir' $as_dirs"
12387 as_dir=`$as_dirname -- "$as_dir" ||
12388 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12389 X"$as_dir" : 'X\(//\)[^/]' \| \
12390 X"$as_dir" : 'X\(//\)$' \| \
12391 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12397 /^X\(\/\/\)[^/].*/{
12410 test -d "$as_dir" && break
12412 test -z "$as_dirs" || eval "mkdir $as_dirs"
12413 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12414 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12415 { (exit 1); exit 1; }; }; }
12416 # echo "creating $dirpart/$file"
12417 echo '# dummy' > "$dirpart/$file"
12426 { (exit 0); exit 0; }
12428 chmod +x $CONFIG_STATUS
12429 ac_clean_files=$ac_clean_files_save
12432 # configure is writing to config.log, and then calls config.status.
12433 # config.status does its own redirection, appending to config.log.
12434 # Unfortunately, on DOS this fails, as config.log is still kept open
12435 # by configure, so config.status won't be able to write to it; its
12436 # output is simply discarded. So we exec the FD to /dev/null,
12437 # effectively closing config.log, so it can be properly (re)opened and
12438 # appended to by config.status. When coming back to configure, we
12439 # need to make the FD available again.
12440 if test "$no_create" != yes; then
12442 ac_config_status_args=
12443 test "$silent" = yes &&
12444 ac_config_status_args="$ac_config_status_args --quiet"
12446 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12448 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12449 # would make configure fail if this is the last instruction.
12450 $ac_cs_success || { (exit 1); exit 1; }
12455 echo " $PACKAGE $VERSION"
12458 echo " Software X11.................: ${have_software_x11} (Xlib: ${have_software_xlib}) (XCB: ${have_software_xcb})"
12459 echo " X Render X11.................: ${have_xrender_x11}"
12460 echo " Open GL X11..................: ${have_opengl_x11}"
12461 echo " X Render XCB.................: ${have_xrender_xcb}"
12462 echo " Software GDI.................: ${have_software_gdi}"
12463 echo " Software DirectDraw..........: ${have_software_ddraw}"
12464 echo " Direct3D.....................: ${have_direct3d}"
12465 echo " Open GL Glew.................: ${have_opengl_glew}"
12466 echo " Software SDL.................: ${have_software_sdl}"
12467 echo " Open GL SDL..................: ${have_opengl_sdl}"
12468 echo " FB...........................: ${have_fb}"
12469 echo " DirectFB.....................: ${have_directfb}"
12470 echo " Quartz.......................: ${have_quartz}"
12471 echo " Software X11 16 bits.........: ${have_software_16_x11}"
12472 echo " Software DirectDraw 16 bits..: ${have_software_16_ddraw}"
12473 echo " Software WinCE 16 bits.......: ${have_software_16_wince}"
12475 echo " Installation:"
12476 echo " prefix.......................: ${prefix}"