2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for wmpower 0.4.3.
5 # Report bugs to <michele.noberasco@tiscali.it>.
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
='wmpower'
576 PACKAGE_TARNAME
='wmpower'
577 PACKAGE_VERSION
='0.4.3'
578 PACKAGE_STRING
='wmpower 0.4.3'
579 PACKAGE_BUGREPORT
='michele.noberasco@tiscali.it'
581 ac_unique_file
="src/wmpower.c"
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
669 INSTALL_STRIP_PROGRAM
697 ac_precious_vars
='build_alias
708 # Initialize some variables set by options.
710 ac_init_version
=false
711 # The variables have the same names as the options, with
712 # dashes changed to underlines.
720 program_transform_name
=s
,x
,x
,
728 # Installation directory options.
729 # These are left unexpanded so users can "make install exec_prefix=/foo"
730 # and all the variables that are supposed to be based on exec_prefix
731 # by default will actually change.
732 # Use braces instead of parens because sh, perl, etc. also accept them.
733 # (The list follows the same order as the GNU Coding Standards.)
734 bindir
='${exec_prefix}/bin'
735 sbindir
='${exec_prefix}/sbin'
736 libexecdir
='${exec_prefix}/libexec'
737 datarootdir
='${prefix}/share'
738 datadir
='${datarootdir}'
739 sysconfdir
='${prefix}/etc'
740 sharedstatedir
='${prefix}/com'
741 localstatedir
='${prefix}/var'
742 includedir
='${prefix}/include'
743 oldincludedir
='/usr/include'
744 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
745 infodir
='${datarootdir}/info'
750 libdir
='${exec_prefix}/lib'
751 localedir
='${datarootdir}/locale'
752 mandir
='${datarootdir}/man'
758 # If the previous option needs an argument, assign it.
759 if test -n "$ac_prev"; then
760 eval $ac_prev=\
$ac_option
766 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
770 # Accept the important Cygnus configure options, so we can diagnose typos.
772 case $ac_dashdash$ac_option in
776 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
778 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
781 -build |
--build |
--buil |
--bui |
--bu)
782 ac_prev
=build_alias
;;
783 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
784 build_alias
=$ac_optarg ;;
786 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
787 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
788 ac_prev
=cache_file
;;
789 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
790 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
791 cache_file
=$ac_optarg ;;
794 cache_file
=config.cache
;;
796 -datadir |
--datadir |
--datadi |
--datad)
798 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
799 datadir
=$ac_optarg ;;
801 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
802 |
--dataroo |
--dataro |
--datar)
803 ac_prev
=datarootdir
;;
804 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
805 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
806 datarootdir
=$ac_optarg ;;
808 -disable-* |
--disable-*)
809 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
810 # Reject names that are not valid shell variable names.
811 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
812 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
813 { (exit 1); exit 1; }; }
814 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
815 eval enable_
$ac_feature=no
;;
817 -docdir |
--docdir |
--docdi |
--doc |
--do)
819 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
822 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
824 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
827 -enable-* |
--enable-*)
828 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
829 # Reject names that are not valid shell variable names.
830 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
831 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
832 { (exit 1); exit 1; }; }
833 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
834 eval enable_
$ac_feature=\
$ac_optarg ;;
836 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
837 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
838 |
--exec |
--exe |
--ex)
839 ac_prev
=exec_prefix
;;
840 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
841 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
842 |
--exec=* |
--exe=* |
--ex=*)
843 exec_prefix
=$ac_optarg ;;
845 -gas |
--gas |
--ga |
--g)
846 # Obsolete; use --with-gas.
849 -help |
--help |
--hel |
--he |
-h)
851 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
852 ac_init_help
=recursive
;;
853 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
854 ac_init_help
=short
;;
856 -host |
--host |
--hos |
--ho)
857 ac_prev
=host_alias
;;
858 -host=* |
--host=* |
--hos=* |
--ho=*)
859 host_alias
=$ac_optarg ;;
861 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
863 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
865 htmldir
=$ac_optarg ;;
867 -includedir |
--includedir |
--includedi |
--included |
--include \
868 |
--includ |
--inclu |
--incl |
--inc)
869 ac_prev
=includedir
;;
870 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
871 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
872 includedir
=$ac_optarg ;;
874 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
876 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
877 infodir
=$ac_optarg ;;
879 -libdir |
--libdir |
--libdi |
--libd)
881 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
884 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
885 |
--libexe |
--libex |
--libe)
886 ac_prev
=libexecdir
;;
887 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
888 |
--libexe=* |
--libex=* |
--libe=*)
889 libexecdir
=$ac_optarg ;;
891 -localedir |
--localedir |
--localedi |
--localed |
--locale)
893 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
894 localedir
=$ac_optarg ;;
896 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
897 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
898 ac_prev
=localstatedir
;;
899 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
900 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
901 localstatedir
=$ac_optarg ;;
903 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
905 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
909 # Obsolete; use --without-fp.
912 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
913 |
--no-cr |
--no-c |
-n)
916 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
917 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
920 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
921 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
922 |
--oldin |
--oldi |
--old |
--ol |
--o)
923 ac_prev
=oldincludedir
;;
924 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
925 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
926 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
927 oldincludedir
=$ac_optarg ;;
929 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
931 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
934 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
935 |
--program-pre |
--program-pr |
--program-p)
936 ac_prev
=program_prefix
;;
937 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
938 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
939 program_prefix
=$ac_optarg ;;
941 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
942 |
--program-suf |
--program-su |
--program-s)
943 ac_prev
=program_suffix
;;
944 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
945 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
946 program_suffix
=$ac_optarg ;;
948 -program-transform-name |
--program-transform-name \
949 |
--program-transform-nam |
--program-transform-na \
950 |
--program-transform-n |
--program-transform- \
951 |
--program-transform |
--program-transfor \
952 |
--program-transfo |
--program-transf \
953 |
--program-trans |
--program-tran \
954 |
--progr-tra |
--program-tr |
--program-t)
955 ac_prev
=program_transform_name
;;
956 -program-transform-name=* |
--program-transform-name=* \
957 |
--program-transform-nam=* |
--program-transform-na=* \
958 |
--program-transform-n=* |
--program-transform-=* \
959 |
--program-transform=* |
--program-transfor=* \
960 |
--program-transfo=* |
--program-transf=* \
961 |
--program-trans=* |
--program-tran=* \
962 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
963 program_transform_name
=$ac_optarg ;;
965 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
967 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
970 -psdir |
--psdir |
--psdi |
--psd |
--ps)
972 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
975 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
976 |
-silent |
--silent |
--silen |
--sile |
--sil)
979 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
981 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
983 sbindir
=$ac_optarg ;;
985 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
986 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
987 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
989 ac_prev
=sharedstatedir
;;
990 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
991 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
992 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
994 sharedstatedir
=$ac_optarg ;;
996 -site |
--site |
--sit)
998 -site=* |
--site=* |
--sit=*)
1001 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1003 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1004 srcdir
=$ac_optarg ;;
1006 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1007 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1008 ac_prev
=sysconfdir
;;
1009 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1010 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1011 sysconfdir
=$ac_optarg ;;
1013 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1014 ac_prev
=target_alias
;;
1015 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1016 target_alias
=$ac_optarg ;;
1018 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1021 -version |
--version |
--versio |
--versi |
--vers |
-V)
1022 ac_init_version
=: ;;
1025 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1028 { echo "$as_me: error: invalid package name: $ac_package" >&2
1029 { (exit 1); exit 1; }; }
1030 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1031 eval with_
$ac_package=\
$ac_optarg ;;
1033 -without-* |
--without-*)
1034 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1035 # Reject names that are not valid shell variable names.
1036 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1037 { echo "$as_me: error: invalid package name: $ac_package" >&2
1038 { (exit 1); exit 1; }; }
1039 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1040 eval with_
$ac_package=no
;;
1043 # Obsolete; use --with-x.
1046 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1047 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1048 ac_prev
=x_includes
;;
1049 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1050 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1051 x_includes
=$ac_optarg ;;
1053 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1054 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1055 ac_prev
=x_libraries
;;
1056 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1057 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1058 x_libraries
=$ac_optarg ;;
1060 -*) { echo "$as_me: error: unrecognized option: $ac_option
1061 Try \`$0 --help' for more information." >&2
1062 { (exit 1); exit 1; }; }
1066 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1069 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1070 { (exit 1); exit 1; }; }
1071 eval $ac_envvar=\
$ac_optarg
1072 export $ac_envvar ;;
1075 # FIXME: should be removed in autoconf 3.0.
1076 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1077 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1078 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1079 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1085 if test -n "$ac_prev"; then
1086 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1087 { echo "$as_me: error: missing argument to $ac_option" >&2
1088 { (exit 1); exit 1; }; }
1091 # Be sure to have absolute directory names.
1092 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1093 datadir sysconfdir sharedstatedir localstatedir includedir \
1094 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1095 libdir localedir mandir
1097 eval ac_val
=\$
$ac_var
1099 [\\/$
]* | ?
:[\\/]* ) continue;;
1100 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1102 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1103 { (exit 1); exit 1; }; }
1106 # There might be people who depend on the old broken behavior: `$host'
1107 # used to hold the argument of --host etc.
1108 # FIXME: To remove some day.
1111 target
=$target_alias
1113 # FIXME: To remove some day.
1114 if test "x$host_alias" != x
; then
1115 if test "x$build_alias" = x
; then
1116 cross_compiling
=maybe
1117 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1118 If a cross compiler is detected then cross compile mode will be used." >&2
1119 elif test "x$build_alias" != "x$host_alias"; then
1125 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1127 test "$silent" = yes && exec 6>/dev
/null
1130 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1131 ac_ls_di
=`ls -di .` &&
1132 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1133 { echo "$as_me: error: Working directory cannot be determined" >&2
1134 { (exit 1); exit 1; }; }
1135 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1136 { echo "$as_me: error: pwd does not report name of working directory" >&2
1137 { (exit 1); exit 1; }; }
1140 # Find the source files, if location was not specified.
1141 if test -z "$srcdir"; then
1142 ac_srcdir_defaulted
=yes
1143 # Try the directory containing this script, then the parent directory.
1144 ac_confdir
=`$as_dirname -- "$0" ||
1145 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1146 X"$0" : 'X\(//\)[^/]' \| \
1147 X"$0" : 'X\(//\)$' \| \
1148 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1168 if test ! -r "$srcdir/$ac_unique_file"; then
1172 ac_srcdir_defaulted
=no
1174 if test ! -r "$srcdir/$ac_unique_file"; then
1175 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1176 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1177 { (exit 1); exit 1; }; }
1179 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1181 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1182 { (exit 1); exit 1; }; }
1184 # When building in place, set srcdir=.
1185 if test "$ac_abs_confdir" = "$ac_pwd"; then
1188 # Remove unnecessary trailing slashes from srcdir.
1189 # Double slashes in file names in object file debugging info
1190 # mess up M-x gdb in Emacs.
1192 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1194 for ac_var
in $ac_precious_vars; do
1195 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1196 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1197 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1198 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1202 # Report the --help message.
1204 if test "$ac_init_help" = "long"; then
1205 # Omit some internal or obsolete options to make the list less imposing.
1206 # This message is too long to be a string in the A/UX 3.1 sh.
1208 \`configure' configures wmpower 0.4.3 to adapt to many kinds of systems.
1210 Usage: $0 [OPTION]... [VAR=VALUE]...
1212 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1213 VAR=VALUE. See below for descriptions of some of the useful variables.
1215 Defaults for the options are specified in brackets.
1218 -h, --help display this help and exit
1219 --help=short display options specific to this package
1220 --help=recursive display the short help of all the included packages
1221 -V, --version display version information and exit
1222 -q, --quiet, --silent do not print \`checking...' messages
1223 --cache-file=FILE cache test results in FILE [disabled]
1224 -C, --config-cache alias for \`--cache-file=config.cache'
1225 -n, --no-create do not create output files
1226 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1228 Installation directories:
1229 --prefix=PREFIX install architecture-independent files in PREFIX
1230 [$ac_default_prefix]
1231 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1234 By default, \`make install' will install all the files in
1235 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1236 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1237 for instance \`--prefix=\$HOME'.
1239 For better control, use the options below.
1241 Fine tuning of the installation directories:
1242 --bindir=DIR user executables [EPREFIX/bin]
1243 --sbindir=DIR system admin executables [EPREFIX/sbin]
1244 --libexecdir=DIR program executables [EPREFIX/libexec]
1245 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1246 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1247 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1248 --libdir=DIR object code libraries [EPREFIX/lib]
1249 --includedir=DIR C header files [PREFIX/include]
1250 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1251 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1252 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1253 --infodir=DIR info documentation [DATAROOTDIR/info]
1254 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1255 --mandir=DIR man documentation [DATAROOTDIR/man]
1256 --docdir=DIR documentation root [DATAROOTDIR/doc/wmpower]
1257 --htmldir=DIR html documentation [DOCDIR]
1258 --dvidir=DIR dvi documentation [DOCDIR]
1259 --pdfdir=DIR pdf documentation [DOCDIR]
1260 --psdir=DIR ps documentation [DOCDIR]
1266 --program-prefix=PREFIX prepend PREFIX to installed program names
1267 --program-suffix=SUFFIX append SUFFIX to installed program names
1268 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1272 if test -n "$ac_init_help"; then
1273 case $ac_init_help in
1274 short | recursive
) echo "Configuration of wmpower 0.4.3:";;
1279 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1280 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1281 --disable-dependency-tracking Speeds up one-time builds
1282 --enable-dependency-tracking Do not reject slow dependency extractors
1284 Some influential environment variables
:
1285 CC C compiler
command
1286 CFLAGS C compiler flags
1287 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1288 nonstandard directory
<lib dir
>
1289 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1290 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1291 you have headers
in a nonstandard directory
<include dir
>
1294 Use these variables to override the choices made by
`configure' or to help
1295 it to find libraries and programs with nonstandard names/locations.
1297 Report bugs to <michele.noberasco@tiscali.it>.
1302 if test "$ac_init_help" = "recursive"; then
1303 # If there are subdirs, report their specific --help.
1304 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1305 test -d "$ac_dir" || continue
1309 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1311 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1312 # A ".." for each directory in $ac_dir_suffix.
1313 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1314 case $ac_top_builddir_sub in
1315 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1316 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1319 ac_abs_top_builddir=$ac_pwd
1320 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1321 # for backward compatibility:
1322 ac_top_builddir=$ac_top_build_prefix
1325 .) # We are building in place.
1327 ac_top_srcdir=$ac_top_builddir_sub
1328 ac_abs_top_srcdir=$ac_pwd ;;
1329 [\\/]* | ?:[\\/]* ) # Absolute name.
1330 ac_srcdir=$srcdir$ac_dir_suffix;
1331 ac_top_srcdir=$srcdir
1332 ac_abs_top_srcdir=$srcdir ;;
1334 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1335 ac_top_srcdir=$ac_top_build_prefix$srcdir
1336 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1338 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1340 cd "$ac_dir" || { ac_status=$?; continue; }
1341 # Check for guested configure.
1342 if test -f "$ac_srcdir/configure.gnu"; then
1344 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1345 elif test -f "$ac_srcdir/configure"; then
1347 $SHELL "$ac_srcdir/configure" --help=recursive
1349 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1351 cd "$ac_pwd" || { ac_status=$?; break; }
1355 test -n "$ac_init_help" && exit $ac_status
1356 if $ac_init_version; then
1358 wmpower configure 0.4.3
1359 generated by GNU Autoconf 2.61
1361 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1362 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1363 This configure script is free software; the Free Software Foundation
1364 gives unlimited permission to copy, distribute and modify it.
1368 cat >config.log <<_ACEOF
1369 This file contains any messages produced by compilers while
1370 running configure, to aid debugging if configure makes a mistake.
1372 It was created by wmpower $as_me 0.4.3, which was
1373 generated by GNU Autoconf 2.61. Invocation command line was
1385 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1386 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1387 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1388 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1389 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1391 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1392 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1394 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1395 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1396 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1397 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1398 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1399 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1400 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1408 test -z "$as_dir" && as_dir=.
1409 echo "PATH: $as_dir"
1425 # Keep a trace of the command line.
1426 # Strip out --no-create and --no-recursion so they do not pile up.
1427 # Strip out --silent because we don't want to record it for future runs.
1428 # Also quote any args containing shell meta-characters.
1429 # Make two passes to allow for proper duplicate-argument suppression.
1433 ac_must_keep_next=false
1439 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1440 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1441 | -silent | --silent | --silen | --sile | --sil)
1444 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1447 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1449 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1450 if test $ac_must_keep_next = true; then
1451 ac_must_keep_next=false # Got value, back to normal.
1454 *=* | --config-cache | -C | -disable-* | --disable-* \
1455 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1456 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1457 | -with-* | --with-* | -without-* | --without-* | --x)
1458 case "$ac_configure_args0 " in
1459 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1462 -* ) ac_must_keep_next=true ;;
1465 ac_configure_args="$ac_configure_args '$ac_arg'"
1470 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1471 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1473 # When interrupted or exit'd, cleanup temporary files, and complete
1474 # config.log. We remove comments because anyway the quotes in there
1475 # would cause problems or look ugly.
1476 # WARNING: Use '\'' to represent an apostrophe within the trap.
1477 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1478 trap 'exit_status=$?
1479 # Save into config.log some information that might help in debugging.
1484 ## ---------------- ##
1485 ## Cache variables. ##
1486 ## ---------------- ##
1489 # The following way of writing the cache mishandles newlines in values,
1491 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1492 eval ac_val=\$$ac_var
1496 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1497 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1500 _ | IFS | as_nl) ;; #(
1501 *) $as_unset $ac_var ;;
1506 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1507 *${as_nl}ac_space=\ *)
1509 "s/'\''/'\''\\\\'\'''\''/g;
1510 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1513 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1521 ## ----------------- ##
1522 ## Output variables. ##
1523 ## ----------------- ##
1526 for ac_var in $ac_subst_vars
1528 eval ac_val=\$$ac_var
1530 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1532 echo "$ac_var='\''$ac_val'\''"
1536 if test -n "$ac_subst_files"; then
1538 ## ------------------- ##
1539 ## File substitutions. ##
1540 ## ------------------- ##
1543 for ac_var in $ac_subst_files
1545 eval ac_val=\$$ac_var
1547 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1549 echo "$ac_var='\''$ac_val'\''"
1554 if test -s confdefs.h; then
1564 test "$ac_signal" != 0 &&
1565 echo "$as_me: caught signal $ac_signal"
1566 echo "$as_me: exit $exit_status"
1568 rm -f core *.core core.conftest.* &&
1569 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1572 for ac_signal in 1 2 13 15; do
1573 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1577 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1578 rm -f -r conftest* confdefs.h
1580 # Predefined preprocessor variables.
1582 cat >>confdefs.h <<_ACEOF
1583 #define PACKAGE_NAME "$PACKAGE_NAME"
1587 cat >>confdefs.h <<_ACEOF
1588 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1592 cat >>confdefs.h <<_ACEOF
1593 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1597 cat >>confdefs.h <<_ACEOF
1598 #define PACKAGE_STRING "$PACKAGE_STRING"
1602 cat >>confdefs.h <<_ACEOF
1603 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1607 # Let the site file select an alternate cache file if it wants to.
1608 # Prefer explicitly selected file to automatically selected ones.
1609 if test -n "$CONFIG_SITE"; then
1610 set x "$CONFIG_SITE"
1611 elif test "x$prefix" != xNONE; then
1612 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1614 set x "$ac_default_prefix/share/config.site" \
1615 "$ac_default_prefix/etc/config.site"
1620 if test -r "$ac_site_file"; then
1621 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1622 echo "$as_me: loading site script $ac_site_file" >&6;}
1623 sed 's/^/| /' "$ac_site_file" >&5
1628 if test -r "$cache_file"; then
1629 # Some versions of bash will fail to source /dev/null (special
1630 # files actually), so we avoid doing that.
1631 if test -f "$cache_file"; then
1632 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1633 echo "$as_me: loading cache $cache_file" >&6;}
1635 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1636 *) . "./$cache_file";;
1640 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1641 echo "$as_me: creating cache $cache_file" >&6;}
1645 # Check that the precious variables saved in the cache have kept the same
1647 ac_cache_corrupted=false
1648 for ac_var in $ac_precious_vars; do
1649 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1650 eval ac_new_set=\$ac_env_${ac_var}_set
1651 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1652 eval ac_new_val=\$ac_env_${ac_var}_value
1653 case $ac_old_set,$ac_new_set in
1655 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1656 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1657 ac_cache_corrupted=: ;;
1659 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1660 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1661 ac_cache_corrupted=: ;;
1664 if test "x$ac_old_val" != "x$ac_new_val"; then
1665 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1666 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1667 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1668 echo "$as_me: former value
: $ac_old_val" >&2;}
1669 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1670 echo "$as_me: current value
: $ac_new_val" >&2;}
1671 ac_cache_corrupted=:
1674 # Pass precious variables to config.status.
1675 if test "$ac_new_set" = set; then
1677 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1678 *) ac_arg=$ac_var=$ac_new_val ;;
1680 case " $ac_configure_args " in
1681 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1682 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1686 if $ac_cache_corrupted; then
1687 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1688 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1689 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1690 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1691 { (exit 1); exit 1; }; }
1719 ac_cpp='$CPP $CPPFLAGS'
1720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1727 am__api_version="1.7"
1729 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1730 if test -f "$ac_dir/install-sh"; then
1732 ac_install_sh="$ac_aux_dir/install-sh -c"
1734 elif test -f "$ac_dir/install.sh"; then
1736 ac_install_sh="$ac_aux_dir/install.sh -c"
1738 elif test -f "$ac_dir/shtool"; then
1740 ac_install_sh="$ac_aux_dir/shtool install -c"
1744 if test -z "$ac_aux_dir"; then
1745 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1746 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1747 { (exit 1); exit 1; }; }
1750 # These three variables are undocumented and unsupported,
1751 # and are intended to be withdrawn in a future Autoconf release.
1752 # They can cause serious problems if a builder's source tree is in a directory
1753 # whose full name contains unusual characters.
1754 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1755 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1756 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1759 # Find a good install program. We prefer a C program (faster),
1760 # so one script is as good as another. But avoid the broken or
1761 # incompatible versions:
1762 # SysV /etc/install, /usr/sbin/install
1763 # SunOS /usr/etc/install
1764 # IRIX /sbin/install
1766 # AmigaOS /C/install, which installs bootblocks on floppy discs
1767 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1768 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1769 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1770 # OS/2's system install, which has a completely different semantic
1771 # ./install, which can be erroneously created by make from ./install.sh.
1772 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1773 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1774 if test -z "$INSTALL"; then
1775 if test "${ac_cv_path_install+set}" = set; then
1776 echo $ECHO_N "(cached) $ECHO_C" >&6
1778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1782 test -z "$as_dir" && as_dir=.
1783 # Account for people who put trailing slashes in PATH elements.
1785 ./ | .// | /cC/* | \
1786 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1787 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1790 # OSF1 and SCO ODT 3.0 have their own names for install.
1791 # Don't use installbsd from OSF since it installs stuff as root
1793 for ac_prog in ginstall scoinst install; do
1794 for ac_exec_ext in '' $ac_executable_extensions; do
1795 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1796 if test $ac_prog = install &&
1797 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1798 # AIX install. It has an incompatible calling convention.
1800 elif test $ac_prog = install &&
1801 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1802 # program-specific install script used by HP pwplus--don't use.
1805 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1818 if test "${ac_cv_path_install+set}" = set; then
1819 INSTALL=$ac_cv_path_install
1821 # As a last resort, use the slow shell script. Don't cache a
1822 # value for INSTALL within a source directory, because that will
1823 # break other packages using the cache if that directory is
1824 # removed, or if the value is a relative name.
1825 INSTALL=$ac_install_sh
1828 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1829 echo "${ECHO_T}$INSTALL" >&6; }
1831 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1832 # It thinks the first close brace ends the variable substitution.
1833 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1835 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1837 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1839 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1840 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1843 echo timestamp > conftest.file
1844 # Do `set' in a subshell so we don't clobber the current shell
's
1845 # arguments. Must try -L first in case configure is actually a
1846 # symlink; some systems play weird games with the mod time of symlinks
1847 # (eg FreeBSD returns the mod time of the symlink's containing
1850 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1851 if test "$*" = "X"; then
1853 set X
`ls -t $srcdir/configure conftest.file`
1856 if test "$*" != "X $srcdir/configure conftest.file" \
1857 && test "$*" != "X conftest.file $srcdir/configure"; then
1859 # If neither matched, then we have a broken ls. This can happen
1860 # if, for instance, CONFIG_SHELL is bash and it inherits a
1861 # broken ls alias from the environment. This has actually
1862 # happened. Such a system could not be considered "sane".
1863 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1864 alias in your environment" >&5
1865 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1866 alias in your environment" >&2;}
1867 { (exit 1); exit 1; }; }
1870 test "$2" = conftest.
file
1876 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1877 Check your system clock" >&5
1878 echo "$as_me: error: newly created file is older than distributed files!
1879 Check your system clock" >&2;}
1880 { (exit 1); exit 1; }; }
1882 { echo "$as_me:$LINENO: result: yes" >&5
1883 echo "${ECHO_T}yes" >&6; }
1884 test "$program_prefix" != NONE
&&
1885 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1886 # Use a double $ so make ignores it.
1887 test "$program_suffix" != NONE
&&
1888 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1889 # Double any \ or $. echo might interpret backslashes.
1890 # By default was `s,x,x', remove it if useless.
1891 cat <<\_ACEOF
>conftest.
sed
1892 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1894 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1898 # expand $ac_aux_dir to an absolute path
1899 am_aux_dir
=`cd $ac_aux_dir && pwd`
1901 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1902 # Use eval to expand $SHELL
1903 if eval "$MISSING --run true"; then
1904 am_missing_run
="$MISSING --run "
1907 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1908 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1911 for ac_prog
in gawk mawk nawk
awk
1913 # Extract the first word of "$ac_prog", so it can be a program name with args.
1914 set dummy
$ac_prog; ac_word
=$2
1915 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1917 if test "${ac_cv_prog_AWK+set}" = set; then
1918 echo $ECHO_N "(cached) $ECHO_C" >&6
1920 if test -n "$AWK"; then
1921 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1927 test -z "$as_dir" && as_dir
=.
1928 for ac_exec_ext
in '' $ac_executable_extensions; do
1929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1930 ac_cv_prog_AWK
="$ac_prog"
1931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1941 if test -n "$AWK"; then
1942 { echo "$as_me:$LINENO: result: $AWK" >&5
1943 echo "${ECHO_T}$AWK" >&6; }
1945 { echo "$as_me:$LINENO: result: no" >&5
1946 echo "${ECHO_T}no" >&6; }
1950 test -n "$AWK" && break
1953 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1954 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1955 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1956 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1957 echo $ECHO_N "(cached) $ECHO_C" >&6
1959 cat >conftest.
make <<\_ACEOF
1962 @
echo '@@@%%%=$(MAKE)=@@@%%%'
1964 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1965 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1967 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
1969 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
1973 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
1974 { echo "$as_me:$LINENO: result: yes" >&5
1975 echo "${ECHO_T}yes" >&6; }
1978 { echo "$as_me:$LINENO: result: no" >&5
1979 echo "${ECHO_T}no" >&6; }
1980 SET_MAKE
="MAKE=${MAKE-make}"
1983 rm -rf .tst
2>/dev
/null
1984 mkdir .tst
2>/dev
/null
1985 if test -d .tst
; then
1990 rmdir .tst
2>/dev
/null
1992 # test to see if srcdir already configured
1993 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1994 test -f $srcdir/config.status
; then
1995 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1996 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1997 { (exit 1); exit 1; }; }
2000 # test whether we have cygpath
2001 if test -z "$CYGPATH_W"; then
2002 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2003 CYGPATH_W
='cygpath -w'
2010 # Define the identity of the package.
2015 cat >>confdefs.h
<<_ACEOF
2016 #define PACKAGE "$PACKAGE"
2020 cat >>confdefs.h
<<_ACEOF
2021 #define VERSION "$VERSION"
2024 # Some tools Automake needs.
2026 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2029 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2032 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2035 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2038 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2041 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2043 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2045 # Installed binaries are usually stripped using `strip' when the user
2046 # run `make install-strip'. However `strip' might not be the right
2047 # tool to use in cross-compilation environments, therefore Automake
2048 # will honor the `STRIP' environment variable to overrule this program.
2049 if test "$cross_compiling" != no
; then
2050 if test -n "$ac_tool_prefix"; then
2051 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2052 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2055 if test "${ac_cv_prog_STRIP+set}" = set; then
2056 echo $ECHO_N "(cached) $ECHO_C" >&6
2058 if test -n "$STRIP"; then
2059 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2065 test -z "$as_dir" && as_dir
=.
2066 for ac_exec_ext
in '' $ac_executable_extensions; do
2067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2068 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2078 STRIP
=$ac_cv_prog_STRIP
2079 if test -n "$STRIP"; then
2080 { echo "$as_me:$LINENO: result: $STRIP" >&5
2081 echo "${ECHO_T}$STRIP" >&6; }
2083 { echo "$as_me:$LINENO: result: no" >&5
2084 echo "${ECHO_T}no" >&6; }
2089 if test -z "$ac_cv_prog_STRIP"; then
2091 # Extract the first word of "strip", so it can be a program name with args.
2092 set dummy strip
; ac_word
=$2
2093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2095 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 if test -n "$ac_ct_STRIP"; then
2099 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir
=.
2106 for ac_exec_ext
in '' $ac_executable_extensions; do
2107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2108 ac_cv_prog_ac_ct_STRIP
="strip"
2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2119 if test -n "$ac_ct_STRIP"; then
2120 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2121 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2123 { echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6; }
2127 if test "x$ac_ct_STRIP" = x
; then
2130 case $cross_compiling:$ac_tool_warned in
2132 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2133 whose name does not start with the host triplet. If you think this
2134 configuration is useful to you, please write to autoconf@gnu.org." >&5
2135 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2136 whose name does not start with the host triplet. If you think this
2137 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2138 ac_tool_warned
=yes ;;
2143 STRIP
="$ac_cv_prog_STRIP"
2147 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2149 # We need awk for the "check" target. The system "awk" is bad on
2156 cat >>confdefs.h
<<\_ACEOF
2157 #define _GNU_SOURCE 1
2161 # Find a good install program. We prefer a C program (faster),
2162 # so one script is as good as another. But avoid the broken or
2163 # incompatible versions:
2164 # SysV /etc/install, /usr/sbin/install
2165 # SunOS /usr/etc/install
2166 # IRIX /sbin/install
2168 # AmigaOS /C/install, which installs bootblocks on floppy discs
2169 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2170 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2171 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2172 # OS/2's system install, which has a completely different semantic
2173 # ./install, which can be erroneously created by make from ./install.sh.
2174 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2175 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2176 if test -z "$INSTALL"; then
2177 if test "${ac_cv_path_install+set}" = set; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2184 test -z "$as_dir" && as_dir
=.
2185 # Account for people who put trailing slashes in PATH elements.
2187 .
/ | .
// |
/cC
/* | \
2188 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2189 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2192 # OSF1 and SCO ODT 3.0 have their own names for install.
2193 # Don't use installbsd from OSF since it installs stuff as root
2195 for ac_prog
in ginstall scoinst
install; do
2196 for ac_exec_ext
in '' $ac_executable_extensions; do
2197 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2198 if test $ac_prog = install &&
2199 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2200 # AIX install. It has an incompatible calling convention.
2202 elif test $ac_prog = install &&
2203 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2204 # program-specific install script used by HP pwplus--don't use.
2207 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2220 if test "${ac_cv_path_install+set}" = set; then
2221 INSTALL
=$ac_cv_path_install
2223 # As a last resort, use the slow shell script. Don't cache a
2224 # value for INSTALL within a source directory, because that will
2225 # break other packages using the cache if that directory is
2226 # removed, or if the value is a relative name.
2227 INSTALL
=$ac_install_sh
2230 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2231 echo "${ECHO_T}$INSTALL" >&6; }
2233 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2234 # It thinks the first close brace ends the variable substitution.
2235 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2237 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2239 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2242 ac_cpp
='$CPP $CPPFLAGS'
2243 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2244 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2245 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2246 if test -n "$ac_tool_prefix"; then
2247 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2248 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2251 if test "${ac_cv_prog_CC+set}" = set; then
2252 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 if test -n "$CC"; then
2255 ac_cv_prog_CC
="$CC" # Let the user override the test.
2257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2261 test -z "$as_dir" && as_dir
=.
2262 for ac_exec_ext
in '' $ac_executable_extensions; do
2263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2264 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2275 if test -n "$CC"; then
2276 { echo "$as_me:$LINENO: result: $CC" >&5
2277 echo "${ECHO_T}$CC" >&6; }
2279 { echo "$as_me:$LINENO: result: no" >&5
2280 echo "${ECHO_T}no" >&6; }
2285 if test -z "$ac_cv_prog_CC"; then
2287 # Extract the first word of "gcc", so it can be a program name with args.
2288 set dummy gcc
; ac_word
=$2
2289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2291 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2292 echo $ECHO_N "(cached) $ECHO_C" >&6
2294 if test -n "$ac_ct_CC"; then
2295 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2301 test -z "$as_dir" && as_dir
=.
2302 for ac_exec_ext
in '' $ac_executable_extensions; do
2303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2304 ac_cv_prog_ac_ct_CC
="gcc"
2305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2314 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2315 if test -n "$ac_ct_CC"; then
2316 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2317 echo "${ECHO_T}$ac_ct_CC" >&6; }
2319 { echo "$as_me:$LINENO: result: no" >&5
2320 echo "${ECHO_T}no" >&6; }
2323 if test "x$ac_ct_CC" = x
; then
2326 case $cross_compiling:$ac_tool_warned in
2328 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2329 whose name does not start with the host triplet. If you think this
2330 configuration is useful to you, please write to autoconf@gnu.org." >&5
2331 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2332 whose name does not start with the host triplet. If you think this
2333 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2334 ac_tool_warned
=yes ;;
2342 if test -z "$CC"; then
2343 if test -n "$ac_tool_prefix"; then
2344 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2345 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2348 if test "${ac_cv_prog_CC+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6
2351 if test -n "$CC"; then
2352 ac_cv_prog_CC
="$CC" # Let the user override the test.
2354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2358 test -z "$as_dir" && as_dir
=.
2359 for ac_exec_ext
in '' $ac_executable_extensions; do
2360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2361 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372 if test -n "$CC"; then
2373 { echo "$as_me:$LINENO: result: $CC" >&5
2374 echo "${ECHO_T}$CC" >&6; }
2376 { echo "$as_me:$LINENO: result: no" >&5
2377 echo "${ECHO_T}no" >&6; }
2383 if test -z "$CC"; then
2384 # Extract the first word of "cc", so it can be a program name with args.
2385 set dummy cc
; ac_word
=$2
2386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2388 if test "${ac_cv_prog_CC+set}" = set; then
2389 echo $ECHO_N "(cached) $ECHO_C" >&6
2391 if test -n "$CC"; then
2392 ac_cv_prog_CC
="$CC" # Let the user override the test.
2395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2399 test -z "$as_dir" && as_dir
=.
2400 for ac_exec_ext
in '' $ac_executable_extensions; do
2401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2402 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2403 ac_prog_rejected
=yes
2407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2414 if test $ac_prog_rejected = yes; then
2415 # We found a bogon in the path, so make sure we never use it.
2416 set dummy
$ac_cv_prog_CC
2418 if test $# != 0; then
2419 # We chose a different compiler from the bogus one.
2420 # However, it has the same basename, so the bogon will be chosen
2421 # first if we set CC to just the basename; use the full file name.
2423 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2429 if test -n "$CC"; then
2430 { echo "$as_me:$LINENO: result: $CC" >&5
2431 echo "${ECHO_T}$CC" >&6; }
2433 { echo "$as_me:$LINENO: result: no" >&5
2434 echo "${ECHO_T}no" >&6; }
2439 if test -z "$CC"; then
2440 if test -n "$ac_tool_prefix"; then
2441 for ac_prog
in cl.exe
2443 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2444 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2447 if test "${ac_cv_prog_CC+set}" = set; then
2448 echo $ECHO_N "(cached) $ECHO_C" >&6
2450 if test -n "$CC"; then
2451 ac_cv_prog_CC
="$CC" # Let the user override the test.
2453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2457 test -z "$as_dir" && as_dir
=.
2458 for ac_exec_ext
in '' $ac_executable_extensions; do
2459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2460 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2471 if test -n "$CC"; then
2472 { echo "$as_me:$LINENO: result: $CC" >&5
2473 echo "${ECHO_T}$CC" >&6; }
2475 { echo "$as_me:$LINENO: result: no" >&5
2476 echo "${ECHO_T}no" >&6; }
2480 test -n "$CC" && break
2483 if test -z "$CC"; then
2485 for ac_prog
in cl.exe
2487 # Extract the first word of "$ac_prog", so it can be a program name with args.
2488 set dummy
$ac_prog; ac_word
=$2
2489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2491 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2492 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 if test -n "$ac_ct_CC"; then
2495 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2501 test -z "$as_dir" && as_dir
=.
2502 for ac_exec_ext
in '' $ac_executable_extensions; do
2503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2504 ac_cv_prog_ac_ct_CC
="$ac_prog"
2505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2514 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2515 if test -n "$ac_ct_CC"; then
2516 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2517 echo "${ECHO_T}$ac_ct_CC" >&6; }
2519 { echo "$as_me:$LINENO: result: no" >&5
2520 echo "${ECHO_T}no" >&6; }
2524 test -n "$ac_ct_CC" && break
2527 if test "x$ac_ct_CC" = x
; then
2530 case $cross_compiling:$ac_tool_warned in
2532 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2533 whose name does not start with the host triplet. If you think this
2534 configuration is useful to you, please write to autoconf@gnu.org." >&5
2535 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2536 whose name does not start with the host triplet. If you think this
2537 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2538 ac_tool_warned
=yes ;;
2547 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2548 See \`config.log' for more details." >&5
2549 echo "$as_me: error: no acceptable C compiler found in \$PATH
2550 See \`config.log' for more details." >&2;}
2551 { (exit 1); exit 1; }; }
2553 # Provide some information about the compiler.
2554 echo "$as_me:$LINENO: checking for C compiler version" >&5
2555 ac_compiler
=`set X $ac_compile; echo $2`
2556 { (ac_try
="$ac_compiler --version >&5"
2558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2559 *) ac_try_echo=$ac_try;;
2561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2562 (eval "$ac_compiler --version >&5") 2>&5
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); }
2566 { (ac_try="$ac_compiler -v >&5"
2568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2569 *) ac_try_echo
=$ac_try;;
2571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2572 (eval "$ac_compiler -v >&5") 2>&5
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); }
2576 { (ac_try
="$ac_compiler -V >&5"
2578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2579 *) ac_try_echo=$ac_try;;
2581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2582 (eval "$ac_compiler -V >&5") 2>&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }
2587 cat >conftest.$ac_ext <<_ACEOF
2590 cat confdefs.h >>conftest.$ac_ext
2591 cat >>conftest.$ac_ext <<_ACEOF
2592 /* end confdefs.h. */
2602 ac_clean_files_save=$ac_clean_files
2603 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2604 # Try to create an executable without -o first, disregard a.out.
2605 # It will help us diagnose broken compilers, and finding out an intuition
2607 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2608 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2609 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2611 # List of possible output files, starting from the most likely.
2612 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2613 # only as a last resort. b.out is created by i960 compilers.
2614 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2616 # The IRIX 6 linker writes into existing files which may not be
2617 # executable, retaining their permissions. Remove them first so a
2618 # subsequent execution test works.
2620 for ac_file in $ac_files
2623 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2624 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2629 if { (ac_try="$ac_link_default"
2631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2632 *) ac_try_echo=$ac_try;;
2634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2635 (eval "$ac_link_default") 2>&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; then
2639 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2640 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2641 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2642 # so that the user can short-circuit this test for compilers unknown to
2644 for ac_file
in $ac_files ''
2646 test -f "$ac_file" ||
continue
2648 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2651 # We found the default executable, but exeext='' is most
2655 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2657 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2659 # We set ac_cv_exeext here because the later test for it is not
2660 # safe: cross compilers may not add the suffix if given an `-o'
2661 # argument, so we may need to know it at that point already.
2662 # Even if this section looks crufty: it has the advantage of
2669 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2675 { echo "$as_me:$LINENO: result: $ac_file" >&5
2676 echo "${ECHO_T}$ac_file" >&6; }
2677 if test -z "$ac_file"; then
2678 echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.
$ac_ext >&5
2681 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2682 See \`config.log' for more details." >&5
2683 echo "$as_me: error: C compiler cannot create executables
2684 See \`config.log' for more details." >&2;}
2685 { (exit 77); exit 77; }; }
2688 ac_exeext
=$ac_cv_exeext
2690 # Check that the compiler produces executables we can run. If not, either
2691 # the compiler is broken, or we cross compile.
2692 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2693 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2694 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2695 # If not cross compiling, check that we can run a simple program.
2696 if test "$cross_compiling" != yes; then
2697 if { ac_try
='./$ac_file'
2698 { (case "(($ac_try" in
2699 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2700 *) ac_try_echo=$ac_try;;
2702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2703 (eval "$ac_try") 2>&5
2705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706 (exit $ac_status); }; }; then
2709 if test "$cross_compiling" = maybe; then
2712 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2713 If you meant to cross compile, use \`--host'.
2714 See \`config.log' for more details.
" >&5
2715 echo "$as_me: error
: cannot run C compiled programs.
2716 If you meant to cross compile
, use \
`--host'.
2717 See \`config.log
' for more details." >&2;}
2718 { (exit 1); exit 1; }; }
2722 { echo "$as_me:$LINENO: result: yes" >&5
2723 echo "${ECHO_T}yes" >&6; }
2725 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2726 ac_clean_files=$ac_clean_files_save
2727 # Check that the compiler produces executables we can run. If not, either
2728 # the compiler is broken, or we cross compile.
2729 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2730 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2731 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2732 echo "${ECHO_T}$cross_compiling" >&6; }
2734 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2735 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2736 if { (ac_try="$ac_link"
2738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2739 *) ac_try_echo=$ac_try;;
2741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2742 (eval "$ac_link") 2>&5
2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 (exit $ac_status); }; then
2746 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2747 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2748 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2750 for ac_file
in conftest.exe conftest conftest.
*; do
2751 test -f "$ac_file" ||
continue
2753 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2754 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2760 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2761 See \`config.log' for more details." >&5
2762 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2763 See \`config.log' for more details." >&2;}
2764 { (exit 1); exit 1; }; }
2767 rm -f conftest
$ac_cv_exeext
2768 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2769 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2771 rm -f conftest.
$ac_ext
2772 EXEEXT
=$ac_cv_exeext
2774 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2775 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2776 if test "${ac_cv_objext+set}" = set; then
2777 echo $ECHO_N "(cached) $ECHO_C" >&6
2779 cat >conftest.
$ac_ext <<_ACEOF
2782 cat confdefs.h
>>conftest.
$ac_ext
2783 cat >>conftest.
$ac_ext <<_ACEOF
2784 /* end confdefs.h. */
2794 rm -f conftest.o conftest.obj
2795 if { (ac_try
="$ac_compile"
2797 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2798 *) ac_try_echo=$ac_try;;
2800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2801 (eval "$ac_compile") 2>&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }; then
2805 for ac_file in conftest.o conftest.obj conftest.*; do
2806 test -f "$ac_file" || continue;
2808 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2809 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2814 echo "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.$ac_ext >&5
2817 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2818 See \`config.log
' for more details." >&5
2819 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2820 See \`config.log' for more details.
" >&2;}
2821 { (exit 1); exit 1; }; }
2824 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2826 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2827 echo "${ECHO_T}$ac_cv_objext" >&6; }
2828 OBJEXT=$ac_cv_objext
2830 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2831 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2832 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2833 echo $ECHO_N "(cached
) $ECHO_C" >&6
2835 cat >conftest.$ac_ext <<_ACEOF
2838 cat confdefs.h >>conftest.$ac_ext
2839 cat >>conftest.$ac_ext <<_ACEOF
2840 /* end confdefs.h. */
2853 rm -f conftest.$ac_objext
2854 if { (ac_try="$ac_compile"
2856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2857 *) ac_try_echo=$ac_try;;
2859 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2860 (eval "$ac_compile") 2>conftest.er1
2862 grep -v '^ *+' conftest.er1 >conftest.err
2864 cat conftest.err >&5
2865 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2866 (exit $ac_status); } && {
2867 test -z "$ac_c_werror_flag" ||
2868 test ! -s conftest.err
2869 } && test -s conftest.$ac_objext; then
2872 echo "$as_me: failed program was
:" >&5
2873 sed 's/^/| /' conftest.$ac_ext >&5
2878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2879 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2882 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2883 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2884 GCC=`test $ac_compiler_gnu = yes && echo yes`
2885 ac_test_CFLAGS=${CFLAGS+set}
2886 ac_save_CFLAGS=$CFLAGS
2887 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2888 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2889 if test "${ac_cv_prog_cc_g+set}" = set; then
2890 echo $ECHO_N "(cached
) $ECHO_C" >&6
2892 ac_save_c_werror_flag=$ac_c_werror_flag
2893 ac_c_werror_flag=yes
2896 cat >conftest.$ac_ext <<_ACEOF
2899 cat confdefs.h >>conftest.$ac_ext
2900 cat >>conftest.$ac_ext <<_ACEOF
2901 /* end confdefs.h. */
2911 rm -f conftest.$ac_objext
2912 if { (ac_try="$ac_compile"
2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2917 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2918 (eval "$ac_compile") 2>conftest.er1
2920 grep -v '^ *+' conftest.er1 >conftest.err
2922 cat conftest.err >&5
2923 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2924 (exit $ac_status); } && {
2925 test -z "$ac_c_werror_flag" ||
2926 test ! -s conftest.err
2927 } && test -s conftest.$ac_objext; then
2930 echo "$as_me: failed program was
:" >&5
2931 sed 's/^/| /' conftest.$ac_ext >&5
2934 cat >conftest.$ac_ext <<_ACEOF
2937 cat confdefs.h >>conftest.$ac_ext
2938 cat >>conftest.$ac_ext <<_ACEOF
2939 /* end confdefs.h. */
2949 rm -f conftest.$ac_objext
2950 if { (ac_try="$ac_compile"
2952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953 *) ac_try_echo=$ac_try;;
2955 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2956 (eval "$ac_compile") 2>conftest.er1
2958 grep -v '^ *+' conftest.er1 >conftest.err
2960 cat conftest.err >&5
2961 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2962 (exit $ac_status); } && {
2963 test -z "$ac_c_werror_flag" ||
2964 test ! -s conftest.err
2965 } && test -s conftest.$ac_objext; then
2968 echo "$as_me: failed program was
:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2971 ac_c_werror_flag=$ac_save_c_werror_flag
2973 cat >conftest.$ac_ext <<_ACEOF
2976 cat confdefs.h >>conftest.$ac_ext
2977 cat >>conftest.$ac_ext <<_ACEOF
2978 /* end confdefs.h. */
2988 rm -f conftest.$ac_objext
2989 if { (ac_try="$ac_compile"
2991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992 *) ac_try_echo=$ac_try;;
2994 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2995 (eval "$ac_compile") 2>conftest.er1
2997 grep -v '^ *+' conftest.er1 >conftest.err
2999 cat conftest.err >&5
3000 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3001 (exit $ac_status); } && {
3002 test -z "$ac_c_werror_flag" ||
3003 test ! -s conftest.err
3004 } && test -s conftest.$ac_objext; then
3007 echo "$as_me: failed program was
:" >&5
3008 sed 's/^/| /' conftest.$ac_ext >&5
3013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3020 ac_c_werror_flag=$ac_save_c_werror_flag
3022 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3023 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3024 if test "$ac_test_CFLAGS" = set; then
3025 CFLAGS=$ac_save_CFLAGS
3026 elif test $ac_cv_prog_cc_g = yes; then
3027 if test "$GCC" = yes; then
3033 if test "$GCC" = yes; then
3039 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3040 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3041 if test "${ac_cv_prog_cc_c89+set}" = set; then
3042 echo $ECHO_N "(cached
) $ECHO_C" >&6
3044 ac_cv_prog_cc_c89=no
3046 cat >conftest.$ac_ext <<_ACEOF
3049 cat confdefs.h >>conftest.$ac_ext
3050 cat >>conftest.$ac_ext <<_ACEOF
3051 /* end confdefs.h. */
3054 #include <sys/types.h>
3055 #include <sys/stat.h>
3056 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3057 struct buf { int x; };
3058 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3059 static char *e (p, i)
3065 static char *f (char * (*g) (char **, int), char **p, ...)
3070 s = g (p, va_arg (v,int));
3075 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3076 function prototypes and stuff, but not '\xHH' hex character constants.
3077 These don't provoke an error unfortunately, instead are silently treated
3078 as 'x'. The following induces an error, until -std is added to get
3079 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3080 array size at least. It's necessary to write '\x00'==0 to get something
3081 that's true only with -std. */
3082 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3084 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3085 inside strings and character constants. */
3087 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3089 int test (int i, double x);
3090 struct s1 {int (*f) (int a);};
3091 struct s2 {int (*f) (double a);};
3092 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3098 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3103 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3104 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3106 CC="$ac_save_CC $ac_arg"
3107 rm -f conftest.$ac_objext
3108 if { (ac_try="$ac_compile"
3110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3111 *) ac_try_echo=$ac_try;;
3113 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3114 (eval "$ac_compile") 2>conftest.er1
3116 grep -v '^ *+' conftest.er1 >conftest.err
3118 cat conftest.err >&5
3119 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3120 (exit $ac_status); } && {
3121 test -z "$ac_c_werror_flag" ||
3122 test ! -s conftest.err
3123 } && test -s conftest.$ac_objext; then
3124 ac_cv_prog_cc_c89=$ac_arg
3126 echo "$as_me: failed program was
:" >&5
3127 sed 's/^/| /' conftest.$ac_ext >&5
3132 rm -f core conftest.err conftest.$ac_objext
3133 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3135 rm -f conftest.$ac_ext
3140 case "x
$ac_cv_prog_cc_c89" in
3142 { echo "$as_me:$LINENO: result
: none needed
" >&5
3143 echo "${ECHO_T}none needed
" >&6; } ;;
3145 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3146 echo "${ECHO_T}unsupported
" >&6; } ;;
3148 CC="$CC $ac_cv_prog_cc_c89"
3149 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3150 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3155 ac_cpp='$CPP $CPPFLAGS'
3156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3159 DEPDIR="${am__leading_dot}deps
"
3161 ac_config_commands="$ac_config_commands depfiles
"
3164 am_make=${MAKE-make}
3165 cat > confinc << 'END'
3170 # If we don't find an include directive, just comment out the code.
3171 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3172 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3176 # First try GNU make style include.
3177 echo "include confinc" > confmf
3178 # We grep out `Entering directory' and `Leaving directory'
3179 # messages which can occur if `w' ends up in MAKEFLAGS.
3180 # In particular we don't look at `^make:' because GNU make might
3181 # be invoked under some other name (usually "gmake"), in which
3182 # case it prints its new name instead of `make'.
3183 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3188 # Now try BSD make style include.
3189 if test "$am__include" = "#"; then
3190 echo '.include "confinc"' > confmf
3191 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3192 am__include
=.include
3199 { echo "$as_me:$LINENO: result: $_am_result" >&5
3200 echo "${ECHO_T}$_am_result" >&6; }
3201 rm -f confinc confmf
3203 # Check whether --enable-dependency-tracking was given.
3204 if test "${enable_dependency_tracking+set}" = set; then
3205 enableval
=$enable_dependency_tracking;
3208 if test "x$enable_dependency_tracking" != xno
; then
3209 am_depcomp
="$ac_aux_dir/depcomp"
3214 if test "x$enable_dependency_tracking" != xno; then
3225 depcc
="$CC" am_compiler_list
=
3227 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3228 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3229 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3230 echo $ECHO_N "(cached) $ECHO_C" >&6
3232 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3233 # We make a subdir and do the tests there. Otherwise we can end up
3234 # making bogus files that we don't know about and never remove. For
3235 # instance it was reported that on HP-UX the gcc test will end up
3236 # making a dummy file named `D' -- because `-MD' means `put the output
3239 # Copy depcomp to subdir because otherwise we won't find it if we're
3240 # using a relative directory.
3241 cp "$am_depcomp" conftest.dir
3243 # We will build objects and dependencies in a subdirectory because
3244 # it helps to detect inapplicable dependency modes. For instance
3245 # both Tru64's cc and ICC support -MD to output dependencies as a
3246 # side effect of compilation, but ICC will put the dependencies in
3247 # the current directory while Tru64 will put them in the object
3251 am_cv_CC_dependencies_compiler_type
=none
3252 if test "$am_compiler_list" = ""; then
3253 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3255 for depmode
in $am_compiler_list; do
3256 # Setup a source with many dependencies, because some compilers
3257 # like to wrap large dependency lists on column 80 (with \), and
3258 # we should not choose a depcomp mode which is confused by this.
3260 # We need to recreate these files for each test, as the compiler may
3261 # overwrite some of them when testing with obscure command lines.
3262 # This happens at least with the AIX C compiler.
3264 for i
in 1 2 3 4 5 6; do
3265 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3268 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3272 # after this tag, mechanisms are not by side-effect, so they'll
3273 # only be used when explicitly requested
3274 if test "x$enable_dependency_tracking" = xyes
; then
3282 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3283 # mode. It turns out that the SunPro C++ compiler does not properly
3284 # handle `-M -o', and we need to detect this.
3285 if depmode
=$depmode \
3286 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3287 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3288 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3289 >/dev
/null
2>conftest.err
&&
3290 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3291 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3292 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3293 # icc doesn't choke on unknown options, it will just issue warnings
3294 # (even with -Werror). So we grep stderr for any message
3295 # that says an option was ignored.
3296 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
3297 am_cv_CC_dependencies_compiler_type
=$depmode
3306 am_cv_CC_dependencies_compiler_type
=none
3310 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3311 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3312 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3317 test "x$enable_dependency_tracking" != xno \
3318 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3320 am__fastdepCC_FALSE
='#'
3322 am__fastdepCC_TRUE
='#'
3323 am__fastdepCC_FALSE
=
3327 if test -n "$ac_tool_prefix"; then
3328 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3329 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3330 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3332 if test "${ac_cv_prog_RANLIB+set}" = set; then
3333 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 if test -n "$RANLIB"; then
3336 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3342 test -z "$as_dir" && as_dir
=.
3343 for ac_exec_ext
in '' $ac_executable_extensions; do
3344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3345 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3355 RANLIB
=$ac_cv_prog_RANLIB
3356 if test -n "$RANLIB"; then
3357 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3358 echo "${ECHO_T}$RANLIB" >&6; }
3360 { echo "$as_me:$LINENO: result: no" >&5
3361 echo "${ECHO_T}no" >&6; }
3366 if test -z "$ac_cv_prog_RANLIB"; then
3367 ac_ct_RANLIB
=$RANLIB
3368 # Extract the first word of "ranlib", so it can be a program name with args.
3369 set dummy ranlib
; ac_word
=$2
3370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3372 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3373 echo $ECHO_N "(cached) $ECHO_C" >&6
3375 if test -n "$ac_ct_RANLIB"; then
3376 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3382 test -z "$as_dir" && as_dir
=.
3383 for ac_exec_ext
in '' $ac_executable_extensions; do
3384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3385 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3395 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3396 if test -n "$ac_ct_RANLIB"; then
3397 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3398 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3400 { echo "$as_me:$LINENO: result: no" >&5
3401 echo "${ECHO_T}no" >&6; }
3404 if test "x$ac_ct_RANLIB" = x
; then
3407 case $cross_compiling:$ac_tool_warned in
3409 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3410 whose name does not start with the host triplet. If you think this
3411 configuration is useful to you, please write to autoconf@gnu.org." >&5
3412 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3413 whose name does not start with the host triplet. If you think this
3414 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3415 ac_tool_warned
=yes ;;
3417 RANLIB
=$ac_ct_RANLIB
3420 RANLIB
="$ac_cv_prog_RANLIB"
3424 # Set my own flags for gcc
3425 if test "$MY_CFLAGS" = ""; then
3426 if test "x$GCC" = "xyes"; then
3428 MY_CFLAGS
="-Os -fomit-frame-pointer -pipe -W -Wall"
3429 GCC_TEST_MESSAGE
="Checking for gcc version"
3430 { echo "$as_me:$LINENO: checking $GCC_TEST_MESSAGE" >&5
3431 echo $ECHO_N "checking $GCC_TEST_MESSAGE... $ECHO_C" >&6; }
3432 GCCVERSION
="`$CC -dumpversion`"
3433 { echo "$as_me:$LINENO: result: $GCCVERSION" >&5
3434 echo "${ECHO_T}$GCCVERSION" >&6; }
3435 if test "`$CC -dumpversion | grep 3.`" != ""; then
3436 #Good! let see if we can see the system arch
3437 PROCESSOR
=`cat /proc/cpuinfo`
3438 #Is our CPU a Celeron?
3439 if test "`echo $PROCESSOR | grep \"Celeron\"`" != ""; then
3440 CPUFLAGS
="-march=pentium2"
3442 if test "`echo $PROCESSOR | grep \"Celeron (Coppermine)\"`" != ""; then
3443 CPUFLAGS
="-march=pentium3"
3445 #Is our CPU a Pentium?
3446 if test "`echo $PROCESSOR | grep \"Pentium\"`" != ""; then
3447 CPUFLAGS
="-march=pentium"
3449 #Is our CPU a Pentium II?
3450 if test "`echo $PROCESSOR | grep \"Pentium II\"`" != ""; then
3451 CPUFLAGS
="-march=pentium2"
3453 #Is our CPU a Pentium III?
3454 if test "`echo $PROCESSOR | grep \"Pentium III\"`" != ""; then
3455 CPUFLAGS
="-march=pentium3"
3457 #Is our CPU a Pentium 4?
3458 if test "`echo $PROCESSOR | grep \"Intel(R) Pentium(R) 4\"`" != ""; then
3459 CPUFLAGS
="-march=pentium4"
3462 if test "`echo $PROCESSOR | grep \"AMD-K6(tm)\"`" != ""; then
3463 CPUFLAGS
="-march=k6"
3466 if test "`echo $PROCESSOR | grep \"AMD Athlon(tm)\"`" != ""; then
3467 CPUFLAGS
="-march=athlon"
3469 if test "`echo $PROCESSOR | grep \"AMD Athlon(tm) MP\"`" != ""; then
3470 CPUFLAGS
="-march=athlon-mp"
3472 if test "`echo $PROCESSOR | grep \"AMD Athlon(tm) XP\"`" != ""; then
3473 CPUFLAGS
="-march=athlon-xp"
3475 if test "`echo $PROCESSOR | grep \"AMD Athlon(tm) 64\"`" != ""; then
3476 CPUFLAGS
="-march=athlon64"
3478 #Is our CPU an Ultra Sparc?
3479 if test "`echo $PROCESSOR | grep \"UltraSparc\"`" != ""; then
3480 CPUFLAGS
="-mcpu=ultrasparc"
3483 #Alas, we can set only generic arch optimizations
3484 PROCESSOR
=`uname -m | grep 86`
3485 if test "$PROCESSOR" != ""; then
3486 CPUFLAGS
="-march=$PROCESSOR"
3489 if test "$CPUFLAGS" != ""; then
3490 echo "Applying architecture optimizations: "$CPUFLAGS
3492 CFLAGS
="$CPUFLAGS $MY_CFLAGS"
3497 # End of setting suctom flags for gcc
3499 # Check wether we are x86 or not
3500 { echo "$as_me:$LINENO: checking for machine class" >&5
3501 echo $ECHO_N "checking for machine class... $ECHO_C" >&6; }
3504 if test "`echo $HW | grep \"86\"`" != ""; then
3508 { echo "$as_me:$LINENO: result: $HW" >&5
3509 echo "${ECHO_T}$HW" >&6; }
3510 # End check for x86 hardware
3512 # Check for C headers
3513 HEADERS
="stdio.h stdlib.h stdarg.h string.h syslog.h time.h unistd.h ctype.h pwd.h sys/types.h \
3514 fcntl.h sys/stat.h sys/ioctl.h envz.h X11/X.h X11/Xlib.h X11/xpm.h X11/extensions/shape.h"
3515 HEADERS_ERROR_MESSAGE
="One or more system headers that are necessary to compile this program are missing on this system. Cannot continue."
3518 ac_cpp
='$CPP $CPPFLAGS'
3519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3522 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3523 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3524 # On Suns, sometimes $CPP names a directory.
3525 if test -n "$CPP" && test -d "$CPP"; then
3528 if test -z "$CPP"; then
3529 if test "${ac_cv_prog_CPP+set}" = set; then
3530 echo $ECHO_N "(cached) $ECHO_C" >&6
3532 # Double quotes because CPP needs to be expanded
3533 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3536 for ac_c_preproc_warn_flag
in '' yes
3538 # Use a header file that comes with gcc, so configuring glibc
3539 # with a fresh cross-compiler works.
3540 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3541 # <limits.h> exists even on freestanding compilers.
3542 # On the NeXT, cc -E runs the code through the compiler's parser,
3543 # not just through cpp. "Syntax error" is here to catch this case.
3544 cat >conftest.
$ac_ext <<_ACEOF
3547 cat confdefs.h
>>conftest.
$ac_ext
3548 cat >>conftest.
$ac_ext <<_ACEOF
3549 /* end confdefs.h. */
3551 # include <limits.h>
3553 # include <assert.h>
3557 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3560 *) ac_try_echo=$ac_try;;
3562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3563 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3565 grep -v '^ *+' conftest.er1 >conftest.err
3567 cat conftest.err >&5
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); } >/dev/null && {
3570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3571 test ! -s conftest.err
3575 echo "$as_me: failed program was:" >&5
3576 sed 's/^/| /' conftest.$ac_ext >&5
3578 # Broken: fails on valid input.
3582 rm -f conftest.err conftest.$ac_ext
3584 # OK, works on sane cases. Now check whether nonexistent headers
3585 # can be detected and how.
3586 cat >conftest.$ac_ext <<_ACEOF
3589 cat confdefs.h >>conftest.$ac_ext
3590 cat >>conftest.$ac_ext <<_ACEOF
3591 /* end confdefs.h. */
3592 #include <ac_nonexistent.h>
3594 if { (ac_try="$ac_cpp conftest.$ac_ext"
3596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3597 *) ac_try_echo
=$ac_try;;
3599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3600 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3602 grep -v '^ *+' conftest.er1
>conftest.err
3604 cat conftest.err
>&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } >/dev
/null
&& {
3607 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3608 test ! -s conftest.err
3610 # Broken: success on invalid input.
3613 echo "$as_me: failed program was:" >&5
3614 sed 's/^/| /' conftest.
$ac_ext >&5
3616 # Passes both tests.
3621 rm -f conftest.err conftest.
$ac_ext
3624 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3625 rm -f conftest.err conftest.
$ac_ext
3626 if $ac_preproc_ok; then
3638 { echo "$as_me:$LINENO: result: $CPP" >&5
3639 echo "${ECHO_T}$CPP" >&6; }
3641 for ac_c_preproc_warn_flag
in '' yes
3643 # Use a header file that comes with gcc, so configuring glibc
3644 # with a fresh cross-compiler works.
3645 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3646 # <limits.h> exists even on freestanding compilers.
3647 # On the NeXT, cc -E runs the code through the compiler's parser,
3648 # not just through cpp. "Syntax error" is here to catch this case.
3649 cat >conftest.
$ac_ext <<_ACEOF
3652 cat confdefs.h
>>conftest.
$ac_ext
3653 cat >>conftest.
$ac_ext <<_ACEOF
3654 /* end confdefs.h. */
3656 # include <limits.h>
3658 # include <assert.h>
3662 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3665 *) ac_try_echo=$ac_try;;
3667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3670 grep -v '^ *+' conftest.er1 >conftest.err
3672 cat conftest.err >&5
3673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674 (exit $ac_status); } >/dev/null && {
3675 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3676 test ! -s conftest.err
3680 echo "$as_me: failed program was:" >&5
3681 sed 's/^/| /' conftest.$ac_ext >&5
3683 # Broken: fails on valid input.
3687 rm -f conftest.err conftest.$ac_ext
3689 # OK, works on sane cases. Now check whether nonexistent headers
3690 # can be detected and how.
3691 cat >conftest.$ac_ext <<_ACEOF
3694 cat confdefs.h >>conftest.$ac_ext
3695 cat >>conftest.$ac_ext <<_ACEOF
3696 /* end confdefs.h. */
3697 #include <ac_nonexistent.h>
3699 if { (ac_try="$ac_cpp conftest.$ac_ext"
3701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3702 *) ac_try_echo
=$ac_try;;
3704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3707 grep -v '^ *+' conftest.er1
>conftest.err
3709 cat conftest.err
>&5
3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711 (exit $ac_status); } >/dev
/null
&& {
3712 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3713 test ! -s conftest.err
3715 # Broken: success on invalid input.
3718 echo "$as_me: failed program was:" >&5
3719 sed 's/^/| /' conftest.
$ac_ext >&5
3721 # Passes both tests.
3726 rm -f conftest.err conftest.
$ac_ext
3729 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3730 rm -f conftest.err conftest.
$ac_ext
3731 if $ac_preproc_ok; then
3734 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3735 See \`config.log' for more details." >&5
3736 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3737 See \`config.log' for more details." >&2;}
3738 { (exit 1); exit 1; }; }
3742 ac_cpp
='$CPP $CPPFLAGS'
3743 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3744 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3745 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3748 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3749 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3750 if test "${ac_cv_path_GREP+set}" = set; then
3751 echo $ECHO_N "(cached) $ECHO_C" >&6
3753 # Extract the first word of "grep ggrep" to use in msg output
3754 if test -z "$GREP"; then
3755 set dummy
grep ggrep
; ac_prog_name
=$2
3756 if test "${ac_cv_path_GREP+set}" = set; then
3757 echo $ECHO_N "(cached) $ECHO_C" >&6
3759 ac_path_GREP_found
=false
3760 # Loop through the user's path and test for each of PROGNAME-LIST
3761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3762 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3765 test -z "$as_dir" && as_dir
=.
3766 for ac_prog
in grep ggrep
; do
3767 for ac_exec_ext
in '' $ac_executable_extensions; do
3768 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3769 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3770 # Check for GNU ac_path_GREP and select it if it is found.
3771 # Check for GNU $ac_path_GREP
3772 case `"$ac_path_GREP" --version 2>&1` in
3774 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3777 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3780 cat "conftest.in" "conftest.in" >"conftest.tmp"
3781 mv "conftest.tmp" "conftest.in"
3782 cp "conftest.in" "conftest.nl"
3783 echo 'GREP' >> "conftest.nl"
3784 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3785 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3786 ac_count
=`expr $ac_count + 1`
3787 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3788 # Best one so far, save it but keep looking for a better one
3789 ac_cv_path_GREP
="$ac_path_GREP"
3790 ac_path_GREP_max
=$ac_count
3792 # 10*(2^10) chars as input seems more than enough
3793 test $ac_count -gt 10 && break
3795 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3799 $ac_path_GREP_found && break 3
3809 GREP
="$ac_cv_path_GREP"
3810 if test -z "$GREP"; then
3811 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3812 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3813 { (exit 1); exit 1; }; }
3817 ac_cv_path_GREP
=$GREP
3822 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3823 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3824 GREP
="$ac_cv_path_GREP"
3827 { echo "$as_me:$LINENO: checking for egrep" >&5
3828 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3829 if test "${ac_cv_path_EGREP+set}" = set; then
3830 echo $ECHO_N "(cached) $ECHO_C" >&6
3832 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3833 then ac_cv_path_EGREP
="$GREP -E"
3835 # Extract the first word of "egrep" to use in msg output
3836 if test -z "$EGREP"; then
3837 set dummy
egrep; ac_prog_name
=$2
3838 if test "${ac_cv_path_EGREP+set}" = set; then
3839 echo $ECHO_N "(cached) $ECHO_C" >&6
3841 ac_path_EGREP_found
=false
3842 # Loop through the user's path and test for each of PROGNAME-LIST
3843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3844 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3847 test -z "$as_dir" && as_dir
=.
3848 for ac_prog
in egrep; do
3849 for ac_exec_ext
in '' $ac_executable_extensions; do
3850 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3851 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3852 # Check for GNU ac_path_EGREP and select it if it is found.
3853 # Check for GNU $ac_path_EGREP
3854 case `"$ac_path_EGREP" --version 2>&1` in
3856 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3859 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3862 cat "conftest.in" "conftest.in" >"conftest.tmp"
3863 mv "conftest.tmp" "conftest.in"
3864 cp "conftest.in" "conftest.nl"
3865 echo 'EGREP' >> "conftest.nl"
3866 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3867 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3868 ac_count
=`expr $ac_count + 1`
3869 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3870 # Best one so far, save it but keep looking for a better one
3871 ac_cv_path_EGREP
="$ac_path_EGREP"
3872 ac_path_EGREP_max
=$ac_count
3874 # 10*(2^10) chars as input seems more than enough
3875 test $ac_count -gt 10 && break
3877 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3881 $ac_path_EGREP_found && break 3
3891 EGREP
="$ac_cv_path_EGREP"
3892 if test -z "$EGREP"; then
3893 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3894 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3895 { (exit 1); exit 1; }; }
3899 ac_cv_path_EGREP
=$EGREP
3905 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3906 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3907 EGREP
="$ac_cv_path_EGREP"
3910 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3911 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3912 if test "${ac_cv_header_stdc+set}" = set; then
3913 echo $ECHO_N "(cached) $ECHO_C" >&6
3915 cat >conftest.
$ac_ext <<_ACEOF
3918 cat confdefs.h
>>conftest.
$ac_ext
3919 cat >>conftest.
$ac_ext <<_ACEOF
3920 /* end confdefs.h. */
3934 rm -f conftest.
$ac_objext
3935 if { (ac_try
="$ac_compile"
3937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3938 *) ac_try_echo=$ac_try;;
3940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3941 (eval "$ac_compile") 2>conftest.er1
3943 grep -v '^ *+' conftest.er1 >conftest.err
3945 cat conftest.err >&5
3946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3947 (exit $ac_status); } && {
3948 test -z "$ac_c_werror_flag" ||
3949 test ! -s conftest.err
3950 } && test -s conftest.$ac_objext; then
3951 ac_cv_header_stdc=yes
3953 echo "$as_me: failed program was:" >&5
3954 sed 's/^/| /' conftest.$ac_ext >&5
3956 ac_cv_header_stdc=no
3959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3961 if test $ac_cv_header_stdc = yes; then
3962 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3963 cat >conftest.$ac_ext <<_ACEOF
3966 cat confdefs.h >>conftest.$ac_ext
3967 cat >>conftest.$ac_ext <<_ACEOF
3968 /* end confdefs.h. */
3972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3973 $EGREP "memchr" >/dev/null 2>&1; then
3976 ac_cv_header_stdc=no
3982 if test $ac_cv_header_stdc = yes; then
3983 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3984 cat >conftest.$ac_ext <<_ACEOF
3987 cat confdefs.h >>conftest.$ac_ext
3988 cat >>conftest.$ac_ext <<_ACEOF
3989 /* end confdefs.h. */
3993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3994 $EGREP "free" >/dev/null 2>&1; then
3997 ac_cv_header_stdc=no
4003 if test $ac_cv_header_stdc = yes; then
4004 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4005 if test "$cross_compiling" = yes; then
4008 cat >conftest.$ac_ext <<_ACEOF
4011 cat confdefs.h >>conftest.$ac_ext
4012 cat >>conftest.$ac_ext <<_ACEOF
4013 /* end confdefs.h. */
4016 #if ((' ' & 0x0FF) == 0x020)
4017 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4018 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4020 # define ISLOWER(c) \
4021 (('a' <= (c) && (c) <= 'i') \
4022 || ('j' <= (c) && (c) <= 'r') \
4023 || ('s' <= (c) && (c) <= 'z'))
4024 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4027 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4032 for (i = 0; i < 256; i++)
4033 if (XOR (islower (i), ISLOWER (i))
4034 || toupper (i) != TOUPPER (i))
4039 rm -f conftest$ac_exeext
4040 if { (ac_try="$ac_link"
4042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4043 *) ac_try_echo
=$ac_try;;
4045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4046 (eval "$ac_link") 2>&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4050 { (case "(($ac_try" in
4051 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4052 *) ac_try_echo=$ac_try;;
4054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4055 (eval "$ac_try") 2>&5
4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058 (exit $ac_status); }; }; then
4061 echo "$as_me: program exited with status $ac_status" >&5
4062 echo "$as_me: failed program was:" >&5
4063 sed 's/^/| /' conftest.$ac_ext >&5
4066 ac_cv_header_stdc=no
4068 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4074 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4075 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4076 if test $ac_cv_header_stdc = yes; then
4078 cat >>confdefs.h <<\_ACEOF
4079 #define STDC_HEADERS 1
4084 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4094 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4095 inttypes.h stdint.h unistd.h
4097 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4098 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4100 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4101 echo $ECHO_N "(cached) $ECHO_C" >&6
4103 cat >conftest.$ac_ext <<_ACEOF
4106 cat confdefs.h >>conftest.$ac_ext
4107 cat >>conftest.$ac_ext <<_ACEOF
4108 /* end confdefs.h. */
4109 $ac_includes_default
4111 #include <$ac_header>
4113 rm -f conftest.$ac_objext
4114 if { (ac_try="$ac_compile"
4116 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4117 *) ac_try_echo
=$ac_try;;
4119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4120 (eval "$ac_compile") 2>conftest.er1
4122 grep -v '^ *+' conftest.er1
>conftest.err
4124 cat conftest.err
>&5
4125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126 (exit $ac_status); } && {
4127 test -z "$ac_c_werror_flag" ||
4128 test ! -s conftest.err
4129 } && test -s conftest.
$ac_objext; then
4130 eval "$as_ac_Header=yes"
4132 echo "$as_me: failed program was:" >&5
4133 sed 's/^/| /' conftest.
$ac_ext >&5
4135 eval "$as_ac_Header=no"
4138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4140 ac_res
=`eval echo '${'$as_ac_Header'}'`
4141 { echo "$as_me:$LINENO: result: $ac_res" >&5
4142 echo "${ECHO_T}$ac_res" >&6; }
4143 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4144 cat >>confdefs.h
<<_ACEOF
4145 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4154 for ac_header
in $HEADERS
4156 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4157 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4158 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4160 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 ac_res
=`eval echo '${'$as_ac_Header'}'`
4164 { echo "$as_me:$LINENO: result: $ac_res" >&5
4165 echo "${ECHO_T}$ac_res" >&6; }
4167 # Is the header compilable?
4168 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4169 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4170 cat >conftest.
$ac_ext <<_ACEOF
4173 cat confdefs.h
>>conftest.
$ac_ext
4174 cat >>conftest.
$ac_ext <<_ACEOF
4175 /* end confdefs.h. */
4176 $ac_includes_default
4177 #include <$ac_header>
4179 rm -f conftest.
$ac_objext
4180 if { (ac_try
="$ac_compile"
4182 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4183 *) ac_try_echo=$ac_try;;
4185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4186 (eval "$ac_compile") 2>conftest.er1
4188 grep -v '^ *+' conftest.er1 >conftest.err
4190 cat conftest.err >&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); } && {
4193 test -z "$ac_c_werror_flag" ||
4194 test ! -s conftest.err
4195 } && test -s conftest.$ac_objext; then
4196 ac_header_compiler=yes
4198 echo "$as_me: failed program was:" >&5
4199 sed 's/^/| /' conftest.$ac_ext >&5
4201 ac_header_compiler=no
4204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4205 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4206 echo "${ECHO_T}$ac_header_compiler" >&6; }
4208 # Is the header present?
4209 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4210 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4211 cat >conftest.$ac_ext <<_ACEOF
4214 cat confdefs.h >>conftest.$ac_ext
4215 cat >>conftest.$ac_ext <<_ACEOF
4216 /* end confdefs.h. */
4217 #include <$ac_header>
4219 if { (ac_try="$ac_cpp conftest.$ac_ext"
4221 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4222 *) ac_try_echo
=$ac_try;;
4224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4225 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4227 grep -v '^ *+' conftest.er1
>conftest.err
4229 cat conftest.err
>&5
4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231 (exit $ac_status); } >/dev
/null
&& {
4232 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4233 test ! -s conftest.err
4235 ac_header_preproc
=yes
4237 echo "$as_me: failed program was:" >&5
4238 sed 's/^/| /' conftest.
$ac_ext >&5
4240 ac_header_preproc
=no
4243 rm -f conftest.err conftest.
$ac_ext
4244 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4245 echo "${ECHO_T}$ac_header_preproc" >&6; }
4247 # So? What about this header?
4248 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4250 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4251 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4253 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4254 ac_header_preproc
=yes
4257 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4258 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4259 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4260 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4261 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4262 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4263 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4264 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4267 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4268 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4270 ## ------------------------------------------- ##
4271 ## Report this to michele.noberasco@tiscali.it ##
4272 ## ------------------------------------------- ##
4274 ) |
sed "s/^/$as_me: WARNING: /" >&2
4277 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4279 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4280 echo $ECHO_N "(cached) $ECHO_C" >&6
4282 eval "$as_ac_Header=\$ac_header_preproc"
4284 ac_res
=`eval echo '${'$as_ac_Header'}'`
4285 { echo "$as_me:$LINENO: result: $ac_res" >&5
4286 echo "${ECHO_T}$ac_res" >&6; }
4289 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4290 cat >>confdefs.h
<<_ACEOF
4291 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4295 { { echo "$as_me:$LINENO: error: $HEADERS_ERROR_MESSAGE" >&5
4296 echo "$as_me: error: $HEADERS_ERROR_MESSAGE" >&2;}
4297 { (exit 1); exit 1; }; }
4308 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4309 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4310 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4311 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
4312 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4313 echo $ECHO_N "(cached) $ECHO_C" >&6
4315 cat >conftest.
$ac_ext <<_ACEOF
4318 cat confdefs.h
>>conftest.
$ac_ext
4319 cat >>conftest.
$ac_ext <<_ACEOF
4320 /* end confdefs.h. */
4321 #include <sys/types.h>
4333 rm -f conftest.
$ac_objext
4334 if { (ac_try
="$ac_compile"
4336 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4337 *) ac_try_echo=$ac_try;;
4339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4340 (eval "$ac_compile") 2>conftest.er1
4342 grep -v '^ *+' conftest.er1 >conftest.err
4344 cat conftest.err >&5
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); } && {
4347 test -z "$ac_c_werror_flag" ||
4348 test ! -s conftest.err
4349 } && test -s conftest.$ac_objext; then
4350 eval "$as_ac_Header=yes"
4352 echo "$as_me: failed program was:" >&5
4353 sed 's/^/| /' conftest.$ac_ext >&5
4355 eval "$as_ac_Header=no"
4358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4360 ac_res=`eval echo '${'$as_ac_Header'}'`
4361 { echo "$as_me:$LINENO: result: $ac_res" >&5
4362 echo "${ECHO_T}$ac_res" >&6; }
4363 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4364 cat >>confdefs.h <<_ACEOF
4365 #define `echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
4368 ac_header_dirent=$ac_hdr; break
4372 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4373 if test $ac_header_dirent = dirent.h; then
4374 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4375 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4376 if test "${ac_cv_search_opendir+set}" = set; then
4377 echo $ECHO_N "(cached) $ECHO_C" >&6
4379 ac_func_search_save_LIBS=$LIBS
4380 cat >conftest.$ac_ext <<_ACEOF
4383 cat confdefs.h >>conftest.$ac_ext
4384 cat >>conftest.$ac_ext <<_ACEOF
4385 /* end confdefs.h. */
4387 /* Override any GCC internal prototype to avoid an error.
4388 Use char because int might match the return type of a GCC
4389 builtin and then its argument prototype would still apply. */
4402 for ac_lib in '' dir; do
4403 if test -z "$ac_lib"; then
4404 ac_res="none required"
4407 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4409 rm -f conftest.$ac_objext conftest$ac_exeext
4410 if { (ac_try="$ac_link"
4412 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4413 *) ac_try_echo
=$ac_try;;
4415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4416 (eval "$ac_link") 2>conftest.er1
4418 grep -v '^ *+' conftest.er1
>conftest.err
4420 cat conftest.err
>&5
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); } && {
4423 test -z "$ac_c_werror_flag" ||
4424 test ! -s conftest.err
4425 } && test -s conftest
$ac_exeext &&
4426 $as_test_x conftest
$ac_exeext; then
4427 ac_cv_search_opendir
=$ac_res
4429 echo "$as_me: failed program was:" >&5
4430 sed 's/^/| /' conftest.
$ac_ext >&5
4435 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4437 if test "${ac_cv_search_opendir+set}" = set; then
4441 if test "${ac_cv_search_opendir+set}" = set; then
4444 ac_cv_search_opendir
=no
4447 LIBS
=$ac_func_search_save_LIBS
4449 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4450 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4451 ac_res
=$ac_cv_search_opendir
4452 if test "$ac_res" != no
; then
4453 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4458 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4459 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4460 if test "${ac_cv_search_opendir+set}" = set; then
4461 echo $ECHO_N "(cached) $ECHO_C" >&6
4463 ac_func_search_save_LIBS
=$LIBS
4464 cat >conftest.
$ac_ext <<_ACEOF
4467 cat confdefs.h
>>conftest.
$ac_ext
4468 cat >>conftest.
$ac_ext <<_ACEOF
4469 /* end confdefs.h. */
4471 /* Override any GCC internal prototype to avoid an error.
4472 Use char because int might match the return type of a GCC
4473 builtin and then its argument prototype would still apply. */
4486 for ac_lib
in '' x
; do
4487 if test -z "$ac_lib"; then
4488 ac_res
="none required"
4491 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4493 rm -f conftest.
$ac_objext conftest
$ac_exeext
4494 if { (ac_try
="$ac_link"
4496 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4497 *) ac_try_echo=$ac_try;;
4499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4500 (eval "$ac_link") 2>conftest.er1
4502 grep -v '^ *+' conftest.er1 >conftest.err
4504 cat conftest.err >&5
4505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506 (exit $ac_status); } && {
4507 test -z "$ac_c_werror_flag" ||
4508 test ! -s conftest.err
4509 } && test -s conftest$ac_exeext &&
4510 $as_test_x conftest$ac_exeext; then
4511 ac_cv_search_opendir=$ac_res
4513 echo "$as_me: failed program was:" >&5
4514 sed 's/^/| /' conftest.$ac_ext >&5
4519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4521 if test "${ac_cv_search_opendir+set}" = set; then
4525 if test "${ac_cv_search_opendir+set}" = set; then
4528 ac_cv_search_opendir=no
4531 LIBS=$ac_func_search_save_LIBS
4533 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4534 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4535 ac_res=$ac_cv_search_opendir
4536 if test "$ac_res" != no; then
4537 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4543 # End check for C headers
4545 # Check wether we can spawn new threads
4547 for ac_header in pthread.h
4549 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4551 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4553 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4554 echo $ECHO_N "(cached) $ECHO_C" >&6
4556 ac_res=`eval echo '${'$as_ac_Header'}'`
4557 { echo "$as_me:$LINENO: result: $ac_res" >&5
4558 echo "${ECHO_T}$ac_res" >&6; }
4560 # Is the header compilable?
4561 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4562 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4563 cat >conftest.$ac_ext <<_ACEOF
4566 cat confdefs.h >>conftest.$ac_ext
4567 cat >>conftest.$ac_ext <<_ACEOF
4568 /* end confdefs.h. */
4569 $ac_includes_default
4570 #include <$ac_header>
4572 rm -f conftest.$ac_objext
4573 if { (ac_try="$ac_compile"
4575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4576 *) ac_try_echo
=$ac_try;;
4578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4579 (eval "$ac_compile") 2>conftest.er1
4581 grep -v '^ *+' conftest.er1
>conftest.err
4583 cat conftest.err
>&5
4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); } && {
4586 test -z "$ac_c_werror_flag" ||
4587 test ! -s conftest.err
4588 } && test -s conftest.
$ac_objext; then
4589 ac_header_compiler
=yes
4591 echo "$as_me: failed program was:" >&5
4592 sed 's/^/| /' conftest.
$ac_ext >&5
4594 ac_header_compiler
=no
4597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4598 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4599 echo "${ECHO_T}$ac_header_compiler" >&6; }
4601 # Is the header present?
4602 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4603 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4604 cat >conftest.
$ac_ext <<_ACEOF
4607 cat confdefs.h
>>conftest.
$ac_ext
4608 cat >>conftest.
$ac_ext <<_ACEOF
4609 /* end confdefs.h. */
4610 #include <$ac_header>
4612 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4615 *) ac_try_echo=$ac_try;;
4617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4618 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4620 grep -v '^ *+' conftest.er1 >conftest.err
4622 cat conftest.err >&5
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); } >/dev/null && {
4625 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4626 test ! -s conftest.err
4628 ac_header_preproc=yes
4630 echo "$as_me: failed program was:" >&5
4631 sed 's/^/| /' conftest.$ac_ext >&5
4633 ac_header_preproc=no
4636 rm -f conftest.err conftest.$ac_ext
4637 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4638 echo "${ECHO_T}$ac_header_preproc" >&6; }
4640 # So? What about this header?
4641 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4643 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4644 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4645 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4646 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4647 ac_header_preproc=yes
4650 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4651 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4652 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4653 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4654 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4655 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4656 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4657 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4658 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4659 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4660 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4661 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4663 ## ------------------------------------------- ##
4664 ## Report this to michele.noberasco@tiscali.it ##
4665 ## ------------------------------------------- ##
4667 ) | sed "s/^/$as_me: WARNING: /" >&2
4670 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4673 echo $ECHO_N "(cached) $ECHO_C" >&6
4675 eval "$as_ac_Header=\$ac_header_preproc"
4677 ac_res=`eval echo '${'$as_ac_Header'}'`
4678 { echo "$as_me:$LINENO: result: $ac_res" >&5
4679 echo "${ECHO_T}$ac_res" >&6; }
4682 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4683 cat >>confdefs.h <<_ACEOF
4684 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4688 { { echo "$as_me:$LINENO: error: $HEADERS_ERROR_MESSAGE" >&5
4689 echo "$as_me: error: $HEADERS_ERROR_MESSAGE" >&2;}
4690 { (exit 1); exit 1; }; }
4696 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
4697 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
4698 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 ac_check_lib_save_LIBS=$LIBS
4702 LIBS="-lpthread $LIBS"
4703 cat >conftest.$ac_ext <<_ACEOF
4706 cat confdefs.h >>conftest.$ac_ext
4707 cat >>conftest.$ac_ext <<_ACEOF
4708 /* end confdefs.h. */
4710 /* Override any GCC internal prototype to avoid an error.
4711 Use char because int might match the return type of a GCC
4712 builtin and then its argument prototype would still apply. */
4716 char pthread_create ();
4720 return pthread_create ();
4725 rm -f conftest.$ac_objext conftest$ac_exeext
4726 if { (ac_try="$ac_link"
4728 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4729 *) ac_try_echo
=$ac_try;;
4731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4732 (eval "$ac_link") 2>conftest.er1
4734 grep -v '^ *+' conftest.er1
>conftest.err
4736 cat conftest.err
>&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } && {
4739 test -z "$ac_c_werror_flag" ||
4740 test ! -s conftest.err
4741 } && test -s conftest
$ac_exeext &&
4742 $as_test_x conftest
$ac_exeext; then
4743 ac_cv_lib_pthread_pthread_create
=yes
4745 echo "$as_me: failed program was:" >&5
4746 sed 's/^/| /' conftest.
$ac_ext >&5
4748 ac_cv_lib_pthread_pthread_create
=no
4751 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4752 conftest
$ac_exeext conftest.
$ac_ext
4753 LIBS
=$ac_check_lib_save_LIBS
4755 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
4756 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
4757 if test $ac_cv_lib_pthread_pthread_create = yes; then
4758 cat >>confdefs.h
<<_ACEOF
4759 #define HAVE_LIBPTHREAD 1
4762 LIBS
="-lpthread $LIBS"
4768 ac_config_files
="$ac_config_files Makefile src/Makefile src/dockapp/Makefile src/power_management/Makefile"
4770 cat >confcache
<<\_ACEOF
4771 # This file is a shell script that caches the results of configure
4772 # tests run on this system so they can be shared between configure
4773 # scripts and configure runs, see configure's option --config-cache.
4774 # It is not useful on other systems. If it contains results you don't
4775 # want to keep, you may remove or edit it.
4777 # config.status only pays attention to the cache file if you give it
4778 # the --recheck option to rerun configure.
4780 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4781 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4786 # The following way of writing the cache mishandles newlines in values,
4787 # but we know of no workaround that is simple, portable, and efficient.
4788 # So, we kill variables containing newlines.
4789 # Ultrix sh set writes to stderr and can't be redirected directly,
4790 # and sets the high bit in the cache file unless we assign to the vars.
4792 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4793 eval ac_val
=\$
$ac_var
4797 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4798 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4801 _ | IFS | as_nl
) ;; #(
4802 *) $as_unset $ac_var ;;
4808 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4809 *${as_nl}ac_space
=\
*)
4810 # `set' does not quote correctly, so add quotes (double-quote
4811 # substitution turns \\\\ into \\, and sed turns \\ into \).
4814 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4817 # `set' quotes correctly as required by POSIX, so do not add quotes.
4818 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4827 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4829 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4831 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4832 if test -w "$cache_file"; then
4833 test "x$cache_file" != "x/dev/null" &&
4834 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4835 echo "$as_me: updating cache $cache_file" >&6;}
4836 cat confcache
>$cache_file
4838 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4839 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4844 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4845 # Let make expand exec_prefix.
4846 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4848 # Transform confdefs.h into DEFS.
4849 # Protect against shell expansion while executing Makefile rules.
4850 # Protect against Makefile macro expansion.
4852 # If the first sed substitution is executed (which looks for macros that
4853 # take arguments), then branch to the quote section. Otherwise,
4854 # look for a macro that doesn't take arguments.
4858 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4860 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4864 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4877 DEFS
=`sed -n "$ac_script" confdefs.h`
4882 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4883 # 1. Remove the extension, and $U if already installed.
4884 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4885 ac_i
=`echo "$ac_i" | sed "$ac_script"`
4886 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4887 # will be set to the directory where LIBOBJS objects are built.
4888 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4889 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4893 LTLIBOBJS
=$ac_ltlibobjs
4896 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4897 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4898 Usually this means the macro was only invoked conditionally." >&5
4899 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4900 Usually this means the macro was only invoked conditionally." >&2;}
4901 { (exit 1); exit 1; }; }
4903 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4904 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4905 Usually this means the macro was only invoked conditionally." >&5
4906 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4907 Usually this means the macro was only invoked conditionally." >&2;}
4908 { (exit 1); exit 1; }; }
4911 : ${CONFIG_STATUS=./config.status}
4912 ac_clean_files_save
=$ac_clean_files
4913 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4914 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4915 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4916 cat >$CONFIG_STATUS <<_ACEOF
4918 # Generated by $as_me.
4919 # Run this file to recreate the current configuration.
4920 # Compiler output produced by configure, useful for debugging
4921 # configure, is in config.log if it exists.
4926 SHELL=\${CONFIG_SHELL-$SHELL}
4929 cat >>$CONFIG_STATUS <<\_ACEOF
4930 ## --------------------- ##
4931 ## M4sh Initialization. ##
4932 ## --------------------- ##
4934 # Be more Bourne compatible
4935 DUALCASE
=1; export DUALCASE
# for MKS sh
4936 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
4939 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4940 # is contrary to our usage. Disable this feature.
4941 alias -g '${1+"$@"}'='"$@"'
4942 setopt NO_GLOB_SUBST
4944 case `(set -o) 2>/dev/null` in
4945 *posix
*) set -o posix
;;
4954 # Avoid depending upon Character Ranges.
4955 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4956 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4957 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4958 as_cr_digits
='0123456789'
4959 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4961 # The user is always right.
4962 if test "${PATH_SEPARATOR+set}" != set; then
4963 echo "#! /bin/sh" >conf$$.sh
4964 echo "exit 0" >>conf$$.sh
4966 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4974 # Support unset when possible.
4975 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4983 # We need space, tab and new line, in precisely that order. Quoting is
4984 # there to prevent editors from complaining about space-tab.
4985 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4986 # splitting by setting IFS to empty value.)
4991 # Find who we are. Look in the path if we contain no directory separator.
4993 *[\\/]* ) as_myself
=$0 ;;
4994 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4998 test -z "$as_dir" && as_dir
=.
4999 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5005 # We did not find ourselves, most probably we were run as `sh COMMAND'
5006 # in which case we are not to be found in the path.
5007 if test "x$as_myself" = x
; then
5010 if test ! -f "$as_myself"; then
5011 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5012 { (exit 1); exit 1; }
5015 # Work around bugs in pre-3.0 UWIN ksh.
5016 for as_var
in ENV MAIL MAILPATH
5017 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
5025 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5026 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5027 LC_TELEPHONE LC_TIME
5029 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5030 eval $as_var=C
; export $as_var
5032 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
5036 # Required to use basename.
5037 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5038 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5044 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5045 as_basename
=basename
5051 # Name of the executable.
5052 as_me
=`$as_basename -- "$0" ||
5053 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5054 X"$0" : 'X\(//\)$' \| \
5055 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5057 sed '/^.*\/\([^/][^/]*\)\/*$/{
5078 test "x$as_lineno_1" != "x$as_lineno_2" &&
5079 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
5081 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5082 # uniformly replaced by the line number. The first 'sed' inserts a
5083 # line-number line after each line using $LINENO; the second 'sed'
5084 # does the real work. The second script uses 'N' to pair each
5085 # line-number line with the line containing $LINENO, and appends
5086 # trailing '-' during substitution so that $LINENO is not a special
5088 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5089 # scripts with optimization help from Paolo Bonzini. Blame Lee
5090 # E. McMahon (1931-1989) for sed's syntax. :-)
5102 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5106 chmod +x
"$as_me.lineno" ||
5107 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5108 { (exit 1); exit 1; }; }
5110 # Don't try to exec as it changes $[0], causing all sort of problems
5111 # (the dirname of $[0] is not the place where we might find the
5112 # original and so on. Autoconf is especially sensitive to this).
5114 # Exit status is that of the last command.
5119 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5125 ECHO_C
= ECHO_N
= ECHO_T
=
5128 case `echo 'x\c'` in
5129 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5136 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5137 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5143 rm -f conf$$ conf$$.exe conf$$.
file
5144 if test -d conf$$.dir
; then
5145 rm -f conf$$.dir
/conf$$.
file
5151 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5153 # ... but there are two gotchas:
5154 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5155 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5156 # In both cases, we have to default to `cp -p'.
5157 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5159 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5164 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5165 rmdir conf$$.dir
2>/dev
/null
5167 if mkdir
-p .
2>/dev
/null
; then
5170 test -d .
/-p && rmdir .
/-p
5174 if test -x / >/dev
/null
2>&1; then
5177 if ls -dL / >/dev
/null
2>&1; then
5184 if test -d "$1"; then
5190 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5191 ???[sx]*):;;*)false;;esac;fi
5195 as_executable_p
=$as_test_x
5197 # Sed expression to map a string onto a valid CPP name.
5198 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5200 # Sed expression to map a string onto a valid variable name.
5201 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5206 # Save the log message, to keep $[0] and so on meaningful, and to
5207 # report actual input values of CONFIG_FILES etc. instead of their
5208 # values after options handling.
5210 This file was extended by wmpower $as_me 0.4.3, which was
5211 generated by GNU Autoconf 2.61. Invocation command line was
5213 CONFIG_FILES = $CONFIG_FILES
5214 CONFIG_HEADERS = $CONFIG_HEADERS
5215 CONFIG_LINKS = $CONFIG_LINKS
5216 CONFIG_COMMANDS = $CONFIG_COMMANDS
5219 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5224 cat >>$CONFIG_STATUS <<_ACEOF
5225 # Files that config.status was made for.
5226 config_files="$ac_config_files"
5227 config_commands="$ac_config_commands"
5231 cat >>$CONFIG_STATUS <<\_ACEOF
5233 \`$as_me' instantiates files from templates according to the
5234 current configuration.
5236 Usage: $0 [OPTIONS] [FILE]...
5238 -h, --help print this help, then exit
5239 -V, --version print version number and configuration settings, then exit
5240 -q, --quiet do not print progress messages
5241 -d, --debug don't remove temporary files
5242 --recheck update $as_me by reconfiguring in the same conditions
5243 --file=FILE[:TEMPLATE]
5244 instantiate the configuration file FILE
5246 Configuration files:
5249 Configuration commands:
5252 Report bugs to <bug-autoconf@gnu.org>."
5255 cat >>$CONFIG_STATUS <<_ACEOF
5257 wmpower config.status 0.4.3
5258 configured by $0, generated by GNU Autoconf 2.61,
5259 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5261 Copyright (C) 2006 Free Software Foundation, Inc.
5262 This config.status script is free software; the Free Software Foundation
5263 gives unlimited permission to copy, distribute and modify it."
5270 cat >>$CONFIG_STATUS <<\_ACEOF
5271 # If no file are specified by the user, then we need to provide default
5272 # value. By we need to know if files were specified by the user.
5278 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5279 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5290 # Handling of the options.
5291 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5293 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5294 echo "$ac_cs_version"; exit ;;
5295 --debug |
--debu |
--deb |
--de |
--d |
-d )
5297 --file |
--fil |
--fi |
--f )
5299 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5300 ac_need_defaults
=false
;;
5301 --he |
--h |
--help |
--hel |
-h )
5302 echo "$ac_cs_usage"; exit ;;
5303 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5304 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5308 -*) { echo "$as_me: error: unrecognized option: $1
5309 Try \`$0 --help' for more information." >&2
5310 { (exit 1); exit 1; }; } ;;
5312 *) ac_config_targets
="$ac_config_targets $1"
5313 ac_need_defaults
=false
;;
5319 ac_configure_extra_args
=
5321 if $ac_cs_silent; then
5323 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5327 cat >>$CONFIG_STATUS <<_ACEOF
5328 if \$ac_cs_recheck; then
5329 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5332 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5336 cat >>$CONFIG_STATUS <<\_ACEOF
5340 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5341 ## Running $as_me. ##
5347 cat >>$CONFIG_STATUS <<_ACEOF
5351 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5355 cat >>$CONFIG_STATUS <<\_ACEOF
5357 # Handling of arguments.
5358 for ac_config_target
in $ac_config_targets
5360 case $ac_config_target in
5361 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5362 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5363 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
5364 "src/dockapp/Makefile") CONFIG_FILES
="$CONFIG_FILES src/dockapp/Makefile" ;;
5365 "src/power_management/Makefile") CONFIG_FILES
="$CONFIG_FILES src/power_management/Makefile" ;;
5367 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5368 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5369 { (exit 1); exit 1; }; };;
5374 # If the user did not use the arguments to specify the items to instantiate,
5375 # then the envvar interface is used. Set only those that are not.
5376 # We use the long form for the default assignment because of an extremely
5377 # bizarre bug on SunOS 4.1.3.
5378 if $ac_need_defaults; then
5379 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5380 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5383 # Have a temporary directory for convenience. Make it in the build tree
5384 # simply because there is no reason against having it here, and in addition,
5385 # creating and moving files from /tmp can sometimes cause problems.
5386 # Hook for its removal unless debugging.
5387 # Note that there is a small window in which the directory will not be cleaned:
5388 # after its creation but before its name has been assigned to `$tmp'.
5392 trap 'exit_status=$?
5393 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5395 trap '{ (exit 1); exit 1; }' 1 2 13 15
5397 # Create a (secure) tmp directory for tmp files.
5400 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5401 test -n "$tmp" && test -d "$tmp"
5404 tmp
=.
/conf$$
-$RANDOM
5405 (umask 077 && mkdir
"$tmp")
5408 echo "$me: cannot create a temporary directory in ." >&2
5409 { (exit 1); exit 1; }
5413 # Set up the sed scripts for CONFIG_FILES section.
5416 # No need to generate the scripts if there are no CONFIG_FILES.
5417 # This happens for instance when ./config.status config.h
5418 if test -n "$CONFIG_FILES"; then
5425 for ac_last_try
in false false false false false
:; do
5426 cat >conf$
$subs.
sed <<_ACEOF
5427 SHELL!$SHELL$ac_delim
5428 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5429 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5430 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5431 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5432 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5433 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5434 exec_prefix!$exec_prefix$ac_delim
5435 prefix!$prefix$ac_delim
5436 program_transform_name!$program_transform_name$ac_delim
5437 bindir!$bindir$ac_delim
5438 sbindir!$sbindir$ac_delim
5439 libexecdir!$libexecdir$ac_delim
5440 datarootdir!$datarootdir$ac_delim
5441 datadir!$datadir$ac_delim
5442 sysconfdir!$sysconfdir$ac_delim
5443 sharedstatedir!$sharedstatedir$ac_delim
5444 localstatedir!$localstatedir$ac_delim
5445 includedir!$includedir$ac_delim
5446 oldincludedir!$oldincludedir$ac_delim
5447 docdir!$docdir$ac_delim
5448 infodir!$infodir$ac_delim
5449 htmldir!$htmldir$ac_delim
5450 dvidir!$dvidir$ac_delim
5451 pdfdir!$pdfdir$ac_delim
5452 psdir!$psdir$ac_delim
5453 libdir!$libdir$ac_delim
5454 localedir!$localedir$ac_delim
5455 mandir!$mandir$ac_delim
5457 ECHO_C!$ECHO_C$ac_delim
5458 ECHO_N!$ECHO_N$ac_delim
5459 ECHO_T!$ECHO_T$ac_delim
5461 build_alias!$build_alias$ac_delim
5462 host_alias!$host_alias$ac_delim
5463 target_alias!$target_alias$ac_delim
5464 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5465 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5466 INSTALL_DATA!$INSTALL_DATA$ac_delim
5467 CYGPATH_W!$CYGPATH_W$ac_delim
5468 PACKAGE!$PACKAGE$ac_delim
5469 VERSION!$VERSION$ac_delim
5470 ACLOCAL!$ACLOCAL$ac_delim
5471 AUTOCONF!$AUTOCONF$ac_delim
5472 AUTOMAKE!$AUTOMAKE$ac_delim
5473 AUTOHEADER!$AUTOHEADER$ac_delim
5474 MAKEINFO!$MAKEINFO$ac_delim
5475 AMTAR!$AMTAR$ac_delim
5476 install_sh!$install_sh$ac_delim
5477 STRIP!$STRIP$ac_delim
5478 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5480 SET_MAKE!$SET_MAKE$ac_delim
5481 am__leading_dot!$am__leading_dot$ac_delim
5483 CFLAGS!$CFLAGS$ac_delim
5484 LDFLAGS!$LDFLAGS$ac_delim
5485 CPPFLAGS!$CPPFLAGS$ac_delim
5486 ac_ct_CC!$ac_ct_CC$ac_delim
5487 EXEEXT!$EXEEXT$ac_delim
5488 OBJEXT!$OBJEXT$ac_delim
5489 DEPDIR!$DEPDIR$ac_delim
5490 am__include!$am__include$ac_delim
5491 am__quote!$am__quote$ac_delim
5492 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5493 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5494 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5495 CCDEPMODE!$CCDEPMODE$ac_delim
5496 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5497 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5498 RANLIB!$RANLIB$ac_delim
5502 EGREP!$EGREP$ac_delim
5503 LIBOBJS!$LIBOBJS$ac_delim
5504 LTLIBOBJS!$LTLIBOBJS$ac_delim
5507 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
5509 elif $ac_last_try; then
5510 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5511 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5512 { (exit 1); exit 1; }; }
5514 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
5518 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5519 if test -n "$ac_eof"; then
5520 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
5521 ac_eof
=`expr $ac_eof + 1`
5524 cat >>$CONFIG_STATUS <<_ACEOF
5525 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5526 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5529 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5530 s/^/s,@/; s/!/@,|#_!!_#|/
5533 s/'"$ac_delim"'$/,g/; t
5535 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5536 ' >>$CONFIG_STATUS <conf$
$subs.
sed
5537 rm -f conf$
$subs.
sed
5538 cat >>$CONFIG_STATUS <<_ACEOF
5545 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5546 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5547 # trailing colons and then remove the whole line if VPATH becomes empty
5548 # (actually we leave an empty line to preserve line numbers).
5549 if test "x$srcdir" = x.
; then
5550 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5554 s/^\([^=]*=[ ]*\):*/\1/
5560 cat >>$CONFIG_STATUS <<\_ACEOF
5561 fi # test -n "$CONFIG_FILES"
5564 for ac_tag
in :F
$CONFIG_FILES :C
$CONFIG_COMMANDS
5567 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5569 case $ac_mode$ac_tag in
5571 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5572 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5573 { (exit 1); exit 1; }; };;
5574 :[FH
]-) ac_tag
=-:-;;
5575 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5592 -) ac_f
="$tmp/stdin";;
5593 *) # Look for the file first in the build tree, then in the source tree
5594 # (if the path is not absolute). The absolute path cannot be DOS-style,
5595 # because $ac_f cannot contain `:'.
5599 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5601 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5602 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5603 { (exit 1); exit 1; }; };;
5605 ac_file_inputs
="$ac_file_inputs $ac_f"
5608 # Let's still pretend it is `configure' which instantiates (i.e., don't
5609 # use $as_me), people would be surprised to read:
5610 # /* config.h. Generated by config.status. */
5611 configure_input
="Generated from "`IFS=:
5612 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5613 if test x
"$ac_file" != x-
; then
5614 configure_input
="$ac_file. $configure_input"
5615 { echo "$as_me:$LINENO: creating $ac_file" >&5
5616 echo "$as_me: creating $ac_file" >&6;}
5620 *:-:* |
*:-) cat >"$tmp/stdin";;
5625 ac_dir
=`$as_dirname -- "$ac_file" ||
5626 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5627 X"$ac_file" : 'X\(//\)[^/]' \| \
5628 X"$ac_file" : 'X\(//\)$' \| \
5629 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5650 -*) as_dir
=.
/$as_dir;;
5652 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
5656 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5657 *) as_qdir
=$as_dir;;
5659 as_dirs
="'$as_qdir' $as_dirs"
5660 as_dir
=`$as_dirname -- "$as_dir" ||
5661 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5662 X"$as_dir" : 'X\(//\)[^/]' \| \
5663 X"$as_dir" : 'X\(//\)$' \| \
5664 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5683 test -d "$as_dir" && break
5685 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5686 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5687 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5688 { (exit 1); exit 1; }; }; }
5692 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5694 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5695 # A ".." for each directory in $ac_dir_suffix.
5696 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5697 case $ac_top_builddir_sub in
5698 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5699 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5702 ac_abs_top_builddir
=$ac_pwd
5703 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5704 # for backward compatibility:
5705 ac_top_builddir
=$ac_top_build_prefix
5708 .
) # We are building in place.
5710 ac_top_srcdir
=$ac_top_builddir_sub
5711 ac_abs_top_srcdir
=$ac_pwd ;;
5712 [\\/]* | ?
:[\\/]* ) # Absolute name.
5713 ac_srcdir
=$srcdir$ac_dir_suffix;
5714 ac_top_srcdir
=$srcdir
5715 ac_abs_top_srcdir
=$srcdir ;;
5717 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5718 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5719 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5721 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5731 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5732 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5736 cat >>$CONFIG_STATUS <<\_ACEOF
5737 # If the template does not know about datarootdir, expand it.
5738 # FIXME: This hack should be removed a few years after 2.60.
5739 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5741 case `sed -n '/datarootdir/ {
5750 ' $ac_file_inputs` in
5751 *datarootdir
*) ac_datarootdir_seen
=yes;;
5752 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5753 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5754 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5756 cat >>$CONFIG_STATUS <<_ACEOF
5757 ac_datarootdir_hack='
5758 s&@datadir@&$datadir&g
5759 s&@docdir@&$docdir&g
5760 s&@infodir@&$infodir&g
5761 s&@localedir@&$localedir&g
5762 s&@mandir@&$mandir&g
5763 s&\\\${datarootdir}&$datarootdir&g' ;;
5767 # Neutralize VPATH when `$srcdir' = `.'.
5768 # Shell code in configure.ac might set extrasub.
5769 # FIXME: do we really want to maintain this feature?
5770 cat >>$CONFIG_STATUS <<_ACEOF
5774 cat >>$CONFIG_STATUS <<\_ACEOF
5776 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5777 s
&@configure_input@
&$configure_input&;t t
5778 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5779 s
&@srcdir@
&$ac_srcdir&;t t
5780 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5781 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5782 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5783 s
&@builddir@
&$ac_builddir&;t t
5784 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5785 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5786 s
&@INSTALL@
&$ac_INSTALL&;t t
5787 $ac_datarootdir_hack
5788 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
5790 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5791 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
5792 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
5793 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5794 which seems to be undefined. Please make sure it is defined." >&5
5795 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5796 which seems to be undefined. Please make sure it is defined." >&2;}
5800 -) cat "$tmp/out"; rm -f "$tmp/out";;
5801 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5806 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5807 echo "$as_me: executing $ac_file commands" >&6;}
5812 case $ac_file$ac_mode in
5813 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5814 # Strip MF so we end up with the name of the file.
5815 mf=`echo "$mf" | sed -e 's
/:.
*$
//'`
5816 # Check whether this is an Automake generated Makefile or not.
5817 # We used to match only the files named `Makefile.in', but
5818 # some people rename them; so instead we look at the file content.
5819 # Grep'ing the first line is not enough: some people post-process
5820 # each Makefile.in and add a new line on top of each file to say so.
5821 # So let's grep whole file.
5822 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
5823 dirpart
=`$as_dirname -- "$mf" ||
5824 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5825 X"$mf" : 'X\(//\)[^/]' \| \
5826 X"$mf" : 'X\(//\)$' \| \
5827 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5829 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5849 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
5850 # Extract the definition of DEP_FILES from the Makefile without
5852 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5853 test -z "$DEPDIR" && continue
5854 # When using ansi2knr, U may be empty or an underscore; expand it
5855 U
=`sed -n -e '/^U = / s///p' < "$mf"`
5856 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
5857 # We invoke sed twice because it is the simplest approach to
5858 # changing $(DEPDIR) to its actual value in the expansion.
5859 for file in `sed -n -e '
5860 /^DEP_FILES = .*\\\\$/ {
5869 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
5870 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5871 # Make sure the directory exists.
5872 test -f "$dirpart/$file" && continue
5873 fdir
=`$as_dirname -- "$file" ||
5874 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5875 X"$file" : 'X\(//\)[^/]' \| \
5876 X"$file" : 'X\(//\)$' \| \
5877 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5896 { as_dir
=$dirpart/$fdir
5898 -*) as_dir
=.
/$as_dir;;
5900 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
5904 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5905 *) as_qdir
=$as_dir;;
5907 as_dirs
="'$as_qdir' $as_dirs"
5908 as_dir
=`$as_dirname -- "$as_dir" ||
5909 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5910 X"$as_dir" : 'X\(//\)[^/]' \| \
5911 X"$as_dir" : 'X\(//\)$' \| \
5912 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5931 test -d "$as_dir" && break
5933 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5934 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5935 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5936 { (exit 1); exit 1; }; }; }
5937 # echo "creating $dirpart/$file"
5938 echo '# dummy' > "$dirpart/$file"
5947 { (exit 0); exit 0; }
5949 chmod +x
$CONFIG_STATUS
5950 ac_clean_files
=$ac_clean_files_save
5953 # configure is writing to config.log, and then calls config.status.
5954 # config.status does its own redirection, appending to config.log.
5955 # Unfortunately, on DOS this fails, as config.log is still kept open
5956 # by configure, so config.status won't be able to write to it; its
5957 # output is simply discarded. So we exec the FD to /dev/null,
5958 # effectively closing config.log, so it can be properly (re)opened and
5959 # appended to by config.status. When coming back to configure, we
5960 # need to make the FD available again.
5961 if test "$no_create" != yes; then
5963 ac_config_status_args
=
5964 test "$silent" = yes &&
5965 ac_config_status_args
="$ac_config_status_args --quiet"
5967 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5969 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5970 # would make configure fail if this is the last instruction.
5971 $ac_cs_success ||
{ (exit 1); exit 1; }