wmauda: Fix compilation error
[dockapps.git] / wmpower-0.4.3 / configure
blob513eeb329a62100a1edc2365fdc9a2121f03315d
1 #! /bin/sh
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
18 emulate sh
19 NULLCMD=:
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+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
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
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
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.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
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
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
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
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
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 \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
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 ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
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
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
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
243 emulate sh
244 NULLCMD=:
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+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
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+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
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; }
335 _ASEOF
336 }; then
337 break
342 done
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
347 done
348 export CONFIG_SHELL
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 () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
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
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
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
436 # case at line end.
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. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
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).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
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 ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
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
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
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
556 # Name of the host.
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`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
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="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 INSTALL_PROGRAM
656 INSTALL_SCRIPT
657 INSTALL_DATA
658 CYGPATH_W
659 PACKAGE
660 VERSION
661 ACLOCAL
662 AUTOCONF
663 AUTOMAKE
664 AUTOHEADER
665 MAKEINFO
666 AMTAR
667 install_sh
668 STRIP
669 INSTALL_STRIP_PROGRAM
671 SET_MAKE
672 am__leading_dot
674 CFLAGS
675 LDFLAGS
676 CPPFLAGS
677 ac_ct_CC
678 EXEEXT
679 OBJEXT
680 DEPDIR
681 am__include
682 am__quote
683 AMDEP_TRUE
684 AMDEP_FALSE
685 AMDEPBACKSLASH
686 CCDEPMODE
687 am__fastdepCC_TRUE
688 am__fastdepCC_FALSE
689 RANLIB
692 GREP
693 EGREP
694 LIBOBJS
695 LTLIBOBJS'
696 ac_subst_files=''
697 ac_precious_vars='build_alias
698 host_alias
699 target_alias
701 CFLAGS
702 LDFLAGS
703 LIBS
704 CPPFLAGS
705 CPP'
708 # Initialize some variables set by options.
709 ac_init_help=
710 ac_init_version=false
711 # The variables have the same names as the options, with
712 # dashes changed to underlines.
713 cache_file=/dev/null
714 exec_prefix=NONE
715 no_create=
716 no_recursion=
717 prefix=NONE
718 program_prefix=NONE
719 program_suffix=NONE
720 program_transform_name=s,x,x,
721 silent=
722 site=
723 srcdir=
724 verbose=
725 x_includes=NONE
726 x_libraries=NONE
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'
746 htmldir='${docdir}'
747 dvidir='${docdir}'
748 pdfdir='${docdir}'
749 psdir='${docdir}'
750 libdir='${exec_prefix}/lib'
751 localedir='${datarootdir}/locale'
752 mandir='${datarootdir}/man'
754 ac_prev=
755 ac_dashdash=
756 for ac_option
758 # If the previous option needs an argument, assign it.
759 if test -n "$ac_prev"; then
760 eval $ac_prev=\$ac_option
761 ac_prev=
762 continue
765 case $ac_option in
766 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
767 *) ac_optarg=yes ;;
768 esac
770 # Accept the important Cygnus configure options, so we can diagnose typos.
772 case $ac_dashdash$ac_option in
774 ac_dashdash=yes ;;
776 -bindir | --bindir | --bindi | --bind | --bin | --bi)
777 ac_prev=bindir ;;
778 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
779 bindir=$ac_optarg ;;
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 ;;
793 --config-cache | -C)
794 cache_file=config.cache ;;
796 -datadir | --datadir | --datadi | --datad)
797 ac_prev=datadir ;;
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)
818 ac_prev=docdir ;;
819 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
820 docdir=$ac_optarg ;;
822 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
823 ac_prev=dvidir ;;
824 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
825 dvidir=$ac_optarg ;;
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.
847 with_gas=yes ;;
849 -help | --help | --hel | --he | -h)
850 ac_init_help=long ;;
851 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
852 ac_init_help=recursive ;;
853 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
854 ac_init_help=short ;;
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)
862 ac_prev=htmldir ;;
863 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
864 | --ht=*)
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)
875 ac_prev=infodir ;;
876 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
877 infodir=$ac_optarg ;;
879 -libdir | --libdir | --libdi | --libd)
880 ac_prev=libdir ;;
881 -libdir=* | --libdir=* | --libdi=* | --libd=*)
882 libdir=$ac_optarg ;;
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)
892 ac_prev=localedir ;;
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)
904 ac_prev=mandir ;;
905 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
906 mandir=$ac_optarg ;;
908 -nfp | --nfp | --nf)
909 # Obsolete; use --without-fp.
910 with_fp=no ;;
912 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
913 | --no-cr | --no-c | -n)
914 no_create=yes ;;
916 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
917 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
918 no_recursion=yes ;;
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)
930 ac_prev=prefix ;;
931 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
932 prefix=$ac_optarg ;;
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)
966 ac_prev=pdfdir ;;
967 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
968 pdfdir=$ac_optarg ;;
970 -psdir | --psdir | --psdi | --psd | --ps)
971 ac_prev=psdir ;;
972 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
973 psdir=$ac_optarg ;;
975 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
976 | -silent | --silent | --silen | --sile | --sil)
977 silent=yes ;;
979 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
980 ac_prev=sbindir ;;
981 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
982 | --sbi=* | --sb=*)
983 sbindir=$ac_optarg ;;
985 -sharedstatedir | --sharedstatedir | --sharedstatedi \
986 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
987 | --sharedst | --shareds | --shared | --share | --shar \
988 | --sha | --sh)
989 ac_prev=sharedstatedir ;;
990 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
991 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
992 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
993 | --sha=* | --sh=*)
994 sharedstatedir=$ac_optarg ;;
996 -site | --site | --sit)
997 ac_prev=site ;;
998 -site=* | --site=* | --sit=*)
999 site=$ac_optarg ;;
1001 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1002 ac_prev=srcdir ;;
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)
1019 verbose=yes ;;
1021 -version | --version | --versio | --versi | --vers | -V)
1022 ac_init_version=: ;;
1024 -with-* | --with-*)
1025 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1028 { echo "$as_me: error: invalid package name: $ac_package" >&2
1029 { (exit 1); exit 1; }; }
1030 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1031 eval with_$ac_package=\$ac_optarg ;;
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 ;;
1042 --x)
1043 # Obsolete; use --with-x.
1044 with_x=yes ;;
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; }; }
1065 *=*)
1066 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1069 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1070 { (exit 1); exit 1; }; }
1071 eval $ac_envvar=\$ac_optarg
1072 export $ac_envvar ;;
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}
1082 esac
1083 done
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
1098 case $ac_val in
1099 [\\/$]* | ?:[\\/]* ) continue;;
1100 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1101 esac
1102 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1103 { (exit 1); exit 1; }; }
1104 done
1106 # There might be people who depend on the old broken behavior: `$host'
1107 # used to hold the argument of --host etc.
1108 # FIXME: To remove some day.
1109 build=$build_alias
1110 host=$host_alias
1111 target=$target_alias
1113 # FIXME: To remove some day.
1114 if test "x$host_alias" != x; then
1115 if test "x$build_alias" = x; then
1116 cross_compiling=maybe
1117 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1118 If a cross compiler is detected then cross compile mode will be used." >&2
1119 elif test "x$build_alias" != "x$host_alias"; then
1120 cross_compiling=yes
1124 ac_tool_prefix=
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 ||
1149 echo X"$0" |
1150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1151 s//\1/
1154 /^X\(\/\/\)[^/].*/{
1155 s//\1/
1158 /^X\(\/\/\)$/{
1159 s//\1/
1162 /^X\(\/\).*/{
1163 s//\1/
1166 s/.*/./; q'`
1167 srcdir=$ac_confdir
1168 if test ! -r "$srcdir/$ac_unique_file"; then
1169 srcdir=..
1171 else
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"
1180 ac_abs_confdir=`(
1181 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1182 { (exit 1); exit 1; }; }
1183 pwd)`
1184 # When building in place, set srcdir=.
1185 if test "$ac_abs_confdir" = "$ac_pwd"; then
1186 srcdir=.
1188 # Remove unnecessary trailing slashes from srcdir.
1189 # Double slashes in file names in object file debugging info
1190 # mess up M-x gdb in Emacs.
1191 case $srcdir in
1192 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1193 esac
1194 for ac_var in $ac_precious_vars; do
1195 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1196 eval ac_env_${ac_var}_value=\$${ac_var}
1197 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1198 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1199 done
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.
1207 cat <<_ACEOF
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.
1217 Configuration:
1218 -h, --help display this help and exit
1219 --help=short display options specific to this package
1220 --help=recursive display the short help of all the included packages
1221 -V, --version display version information and exit
1222 -q, --quiet, --silent do not print \`checking...' messages
1223 --cache-file=FILE cache test results in FILE [disabled]
1224 -C, --config-cache alias for \`--cache-file=config.cache'
1225 -n, --no-create do not create output files
1226 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1228 Installation directories:
1229 --prefix=PREFIX install architecture-independent files in PREFIX
1230 [$ac_default_prefix]
1231 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1232 [PREFIX]
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]
1261 _ACEOF
1263 cat <<\_ACEOF
1265 Program names:
1266 --program-prefix=PREFIX prepend PREFIX to installed program names
1267 --program-suffix=SUFFIX append SUFFIX to installed program names
1268 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1269 _ACEOF
1272 if test -n "$ac_init_help"; then
1273 case $ac_init_help in
1274 short | recursive ) echo "Configuration of wmpower 0.4.3:";;
1275 esac
1276 cat <<\_ACEOF
1278 Optional Features:
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>
1292 CPP C preprocessor
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>.
1298 _ACEOF
1299 ac_status=$?
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
1306 ac_builddir=.
1308 case "$ac_dir" in
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/ ;;
1317 esac ;;
1318 esac
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
1324 case $srcdir in
1325 .) # We are building in place.
1326 ac_srcdir=.
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 ;;
1333 *) # Relative name.
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 ;;
1337 esac
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
1343 echo &&
1344 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1345 elif test -f "$ac_srcdir/configure"; then
1346 echo &&
1347 $SHELL "$ac_srcdir/configure" --help=recursive
1348 else
1349 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1350 fi || ac_status=$?
1351 cd "$ac_pwd" || { ac_status=$?; break; }
1352 done
1355 test -n "$ac_init_help" && exit $ac_status
1356 if $ac_init_version; then
1357 cat <<\_ACEOF
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.
1365 _ACEOF
1366 exit
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
1375 $ $0 $@
1377 _ACEOF
1378 exec 5>>config.log
1380 cat <<_ASUNAME
1381 ## --------- ##
1382 ## Platform. ##
1383 ## --------- ##
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`
1402 _ASUNAME
1404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1405 for as_dir in $PATH
1407 IFS=$as_save_IFS
1408 test -z "$as_dir" && as_dir=.
1409 echo "PATH: $as_dir"
1410 done
1411 IFS=$as_save_IFS
1413 } >&5
1415 cat >&5 <<_ACEOF
1418 ## ----------- ##
1419 ## Core tests. ##
1420 ## ----------- ##
1422 _ACEOF
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.
1430 ac_configure_args=
1431 ac_configure_args0=
1432 ac_configure_args1=
1433 ac_must_keep_next=false
1434 for ac_pass in 1 2
1436 for ac_arg
1438 case $ac_arg in
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)
1442 continue ;;
1443 *\'*)
1444 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1445 esac
1446 case $ac_pass in
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.
1452 else
1453 case $ac_arg in
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 ;;
1460 esac
1462 -* ) ac_must_keep_next=true ;;
1463 esac
1465 ac_configure_args="$ac_configure_args '$ac_arg'"
1467 esac
1468 done
1469 done
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.
1481 echo
1483 cat <<\_ASBOX
1484 ## ---------------- ##
1485 ## Cache variables. ##
1486 ## ---------------- ##
1487 _ASBOX
1488 echo
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
1493 case $ac_val in #(
1494 *${as_nl}*)
1495 case $ac_var in #(
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;} ;;
1498 esac
1499 case $ac_var in #(
1500 _ | IFS | as_nl) ;; #(
1501 *) $as_unset $ac_var ;;
1502 esac ;;
1503 esac
1504 done
1505 (set) 2>&1 |
1506 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1507 *${as_nl}ac_space=\ *)
1508 sed -n \
1509 "s/'\''/'\''\\\\'\'''\''/g;
1510 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1511 ;; #(
1513 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1515 esac |
1516 sort
1518 echo
1520 cat <<\_ASBOX
1521 ## ----------------- ##
1522 ## Output variables. ##
1523 ## ----------------- ##
1524 _ASBOX
1525 echo
1526 for ac_var in $ac_subst_vars
1528 eval ac_val=\$$ac_var
1529 case $ac_val in
1530 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1531 esac
1532 echo "$ac_var='\''$ac_val'\''"
1533 done | sort
1534 echo
1536 if test -n "$ac_subst_files"; then
1537 cat <<\_ASBOX
1538 ## ------------------- ##
1539 ## File substitutions. ##
1540 ## ------------------- ##
1541 _ASBOX
1542 echo
1543 for ac_var in $ac_subst_files
1545 eval ac_val=\$$ac_var
1546 case $ac_val in
1547 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1548 esac
1549 echo "$ac_var='\''$ac_val'\''"
1550 done | sort
1551 echo
1554 if test -s confdefs.h; then
1555 cat <<\_ASBOX
1556 ## ----------- ##
1557 ## confdefs.h. ##
1558 ## ----------- ##
1559 _ASBOX
1560 echo
1561 cat confdefs.h
1562 echo
1564 test "$ac_signal" != 0 &&
1565 echo "$as_me: caught signal $ac_signal"
1566 echo "$as_me: exit $exit_status"
1567 } >&5
1568 rm -f core *.core core.conftest.* &&
1569 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1570 exit $exit_status
1572 for ac_signal in 1 2 13 15; do
1573 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1574 done
1575 ac_signal=0
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"
1584 _ACEOF
1587 cat >>confdefs.h <<_ACEOF
1588 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1589 _ACEOF
1592 cat >>confdefs.h <<_ACEOF
1593 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1594 _ACEOF
1597 cat >>confdefs.h <<_ACEOF
1598 #define PACKAGE_STRING "$PACKAGE_STRING"
1599 _ACEOF
1602 cat >>confdefs.h <<_ACEOF
1603 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1604 _ACEOF
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"
1613 else
1614 set x "$ac_default_prefix/share/config.site" \
1615 "$ac_default_prefix/etc/config.site"
1617 shift
1618 for ac_site_file
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
1624 . "$ac_site_file"
1626 done
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;}
1634 case $cache_file in
1635 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1636 *) . "./$cache_file";;
1637 esac
1639 else
1640 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1641 echo "$as_me: creating cache $cache_file" >&6;}
1642 >$cache_file
1645 # Check that the precious variables saved in the cache have kept the same
1646 # value.
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
1654 set,)
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=: ;;
1658 ,set)
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=: ;;
1662 ,);;
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=:
1672 fi;;
1673 esac
1674 # Pass precious variables to config.status.
1675 if test "$ac_new_set" = set; then
1676 case $ac_new_val in
1677 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1678 *) ac_arg=$ac_var=$ac_new_val ;;
1679 esac
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'" ;;
1683 esac
1685 done
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; }; }
1718 ac_ext=c
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"
1728 ac_aux_dir=
1729 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1730 if test -f "$ac_dir/install-sh"; then
1731 ac_aux_dir=$ac_dir
1732 ac_install_sh="$ac_aux_dir/install-sh -c"
1733 break
1734 elif test -f "$ac_dir/install.sh"; then
1735 ac_aux_dir=$ac_dir
1736 ac_install_sh="$ac_aux_dir/install.sh -c"
1737 break
1738 elif test -f "$ac_dir/shtool"; then
1739 ac_aux_dir=$ac_dir
1740 ac_install_sh="$ac_aux_dir/shtool install -c"
1741 break
1743 done
1744 if test -z "$ac_aux_dir"; then
1745 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1746 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1747 { (exit 1); exit 1; }; }
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
1765 # AIX /bin/install
1766 # AmigaOS /C/install, which installs bootblocks on floppy discs
1767 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1768 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1769 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1770 # OS/2's system install, which has a completely different semantic
1771 # ./install, which can be erroneously created by make from ./install.sh.
1772 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1773 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1774 if test -z "$INSTALL"; then
1775 if test "${ac_cv_path_install+set}" = set; then
1776 echo $ECHO_N "(cached) $ECHO_C" >&6
1777 else
1778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1779 for as_dir in $PATH
1781 IFS=$as_save_IFS
1782 test -z "$as_dir" && as_dir=.
1783 # Account for people who put trailing slashes in PATH elements.
1784 case $as_dir/ in
1785 ./ | .// | /cC/* | \
1786 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1787 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1788 /usr/ucb/* ) ;;
1790 # OSF1 and SCO ODT 3.0 have their own names for install.
1791 # Don't use installbsd from OSF since it installs stuff as root
1792 # by default.
1793 for ac_prog in ginstall scoinst install; do
1794 for ac_exec_ext in '' $ac_executable_extensions; do
1795 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1796 if test $ac_prog = install &&
1797 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1798 # AIX install. It has an incompatible calling convention.
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.
1804 else
1805 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1806 break 3
1809 done
1810 done
1812 esac
1813 done
1814 IFS=$as_save_IFS
1818 if test "${ac_cv_path_install+set}" = set; then
1819 INSTALL=$ac_cv_path_install
1820 else
1821 # As a last resort, use the slow shell script. Don't cache a
1822 # value for INSTALL within a source directory, because that will
1823 # break other packages using the cache if that directory is
1824 # removed, or if the value is a relative name.
1825 INSTALL=$ac_install_sh
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; }
1841 # Just in case
1842 sleep 1
1843 echo timestamp > conftest.file
1844 # Do `set' in a subshell so we don't clobber the current shell's
1845 # arguments. Must try -L first in case configure is actually a
1846 # symlink; some systems play weird games with the mod time of symlinks
1847 # (eg FreeBSD returns the mod time of the symlink's containing
1848 # directory).
1849 if (
1850 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1851 if test "$*" = "X"; then
1852 # -L didn't work.
1853 set X `ls -t $srcdir/configure conftest.file`
1855 rm -f 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
1872 then
1873 # Ok.
1875 else
1876 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1877 Check your system clock" >&5
1878 echo "$as_me: error: newly created file is older than distributed files!
1879 Check your system clock" >&2;}
1880 { (exit 1); exit 1; }; }
1882 { echo "$as_me:$LINENO: result: yes" >&5
1883 echo "${ECHO_T}yes" >&6; }
1884 test "$program_prefix" != NONE &&
1885 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1886 # Use a double $ so make ignores it.
1887 test "$program_suffix" != NONE &&
1888 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1889 # Double any \ or $. echo might interpret backslashes.
1890 # By default was `s,x,x', remove it if useless.
1891 cat <<\_ACEOF >conftest.sed
1892 s/[\\$]/&&/g;s/;s,x,x,$//
1893 _ACEOF
1894 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1895 rm -f conftest.sed
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 "
1905 else
1906 am_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
1919 else
1920 if test -n "$AWK"; then
1921 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1922 else
1923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1924 for as_dir in $PATH
1926 IFS=$as_save_IFS
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
1932 break 2
1934 done
1935 done
1936 IFS=$as_save_IFS
1940 AWK=$ac_cv_prog_AWK
1941 if test -n "$AWK"; then
1942 { echo "$as_me:$LINENO: result: $AWK" >&5
1943 echo "${ECHO_T}$AWK" >&6; }
1944 else
1945 { echo "$as_me:$LINENO: result: no" >&5
1946 echo "${ECHO_T}no" >&6; }
1950 test -n "$AWK" && break
1951 done
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
1958 else
1959 cat >conftest.make <<\_ACEOF
1960 SHELL = /bin/sh
1961 all:
1962 @echo '@@@%%%=$(MAKE)=@@@%%%'
1963 _ACEOF
1964 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1965 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1966 *@@@%%%=?*=@@@%%%*)
1967 eval ac_cv_prog_make_${ac_make}_set=yes;;
1969 eval ac_cv_prog_make_${ac_make}_set=no;;
1970 esac
1971 rm -f conftest.make
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; }
1976 SET_MAKE=
1977 else
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
1986 am__leading_dot=.
1987 else
1988 am__leading_dot=_
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'
2004 else
2005 CYGPATH_W=echo
2010 # Define the identity of the package.
2011 PACKAGE='wmpower'
2012 VERSION='0.4.3'
2015 cat >>confdefs.h <<_ACEOF
2016 #define PACKAGE "$PACKAGE"
2017 _ACEOF
2020 cat >>confdefs.h <<_ACEOF
2021 #define VERSION "$VERSION"
2022 _ACEOF
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
2057 else
2058 if test -n "$STRIP"; then
2059 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2060 else
2061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2062 for as_dir in $PATH
2064 IFS=$as_save_IFS
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
2070 break 2
2072 done
2073 done
2074 IFS=$as_save_IFS
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; }
2082 else
2083 { echo "$as_me:$LINENO: result: no" >&5
2084 echo "${ECHO_T}no" >&6; }
2089 if test -z "$ac_cv_prog_STRIP"; then
2090 ac_ct_STRIP=$STRIP
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
2097 else
2098 if test -n "$ac_ct_STRIP"; then
2099 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2100 else
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 for as_dir in $PATH
2104 IFS=$as_save_IFS
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
2110 break 2
2112 done
2113 done
2114 IFS=$as_save_IFS
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; }
2122 else
2123 { echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6; }
2127 if test "x$ac_ct_STRIP" = x; then
2128 STRIP=":"
2129 else
2130 case $cross_compiling:$ac_tool_warned in
2131 yes:)
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 ;;
2139 esac
2140 STRIP=$ac_ct_STRIP
2142 else
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
2150 # some platforms.
2156 cat >>confdefs.h <<\_ACEOF
2157 #define _GNU_SOURCE 1
2158 _ACEOF
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
2167 # AIX /bin/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
2179 else
2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181 for as_dir in $PATH
2183 IFS=$as_save_IFS
2184 test -z "$as_dir" && as_dir=.
2185 # Account for people who put trailing slashes in PATH elements.
2186 case $as_dir/ in
2187 ./ | .// | /cC/* | \
2188 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2189 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2190 /usr/ucb/* ) ;;
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
2194 # by default.
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.
2206 else
2207 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2208 break 3
2211 done
2212 done
2214 esac
2215 done
2216 IFS=$as_save_IFS
2220 if test "${ac_cv_path_install+set}" = set; then
2221 INSTALL=$ac_cv_path_install
2222 else
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'
2241 ac_ext=c
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
2253 else
2254 if test -n "$CC"; then
2255 ac_cv_prog_CC="$CC" # Let the user override the test.
2256 else
2257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2258 for as_dir in $PATH
2260 IFS=$as_save_IFS
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
2266 break 2
2268 done
2269 done
2270 IFS=$as_save_IFS
2274 CC=$ac_cv_prog_CC
2275 if test -n "$CC"; then
2276 { echo "$as_me:$LINENO: result: $CC" >&5
2277 echo "${ECHO_T}$CC" >&6; }
2278 else
2279 { echo "$as_me:$LINENO: result: no" >&5
2280 echo "${ECHO_T}no" >&6; }
2285 if test -z "$ac_cv_prog_CC"; then
2286 ac_ct_CC=$CC
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
2293 else
2294 if test -n "$ac_ct_CC"; then
2295 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2296 else
2297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2298 for as_dir in $PATH
2300 IFS=$as_save_IFS
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
2306 break 2
2308 done
2309 done
2310 IFS=$as_save_IFS
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; }
2318 else
2319 { echo "$as_me:$LINENO: result: no" >&5
2320 echo "${ECHO_T}no" >&6; }
2323 if test "x$ac_ct_CC" = x; then
2324 CC=""
2325 else
2326 case $cross_compiling:$ac_tool_warned in
2327 yes:)
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 ;;
2335 esac
2336 CC=$ac_ct_CC
2338 else
2339 CC="$ac_cv_prog_CC"
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
2350 else
2351 if test -n "$CC"; then
2352 ac_cv_prog_CC="$CC" # Let the user override the test.
2353 else
2354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2355 for as_dir in $PATH
2357 IFS=$as_save_IFS
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
2363 break 2
2365 done
2366 done
2367 IFS=$as_save_IFS
2371 CC=$ac_cv_prog_CC
2372 if test -n "$CC"; then
2373 { echo "$as_me:$LINENO: result: $CC" >&5
2374 echo "${ECHO_T}$CC" >&6; }
2375 else
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
2390 else
2391 if test -n "$CC"; then
2392 ac_cv_prog_CC="$CC" # Let the user override the test.
2393 else
2394 ac_prog_rejected=no
2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2396 for as_dir in $PATH
2398 IFS=$as_save_IFS
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
2404 continue
2406 ac_cv_prog_CC="cc"
2407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2408 break 2
2410 done
2411 done
2412 IFS=$as_save_IFS
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
2417 shift
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.
2422 shift
2423 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2428 CC=$ac_cv_prog_CC
2429 if test -n "$CC"; then
2430 { echo "$as_me:$LINENO: result: $CC" >&5
2431 echo "${ECHO_T}$CC" >&6; }
2432 else
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
2449 else
2450 if test -n "$CC"; then
2451 ac_cv_prog_CC="$CC" # Let the user override the test.
2452 else
2453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2454 for as_dir in $PATH
2456 IFS=$as_save_IFS
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
2462 break 2
2464 done
2465 done
2466 IFS=$as_save_IFS
2470 CC=$ac_cv_prog_CC
2471 if test -n "$CC"; then
2472 { echo "$as_me:$LINENO: result: $CC" >&5
2473 echo "${ECHO_T}$CC" >&6; }
2474 else
2475 { echo "$as_me:$LINENO: result: no" >&5
2476 echo "${ECHO_T}no" >&6; }
2480 test -n "$CC" && break
2481 done
2483 if test -z "$CC"; then
2484 ac_ct_CC=$CC
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
2493 else
2494 if test -n "$ac_ct_CC"; then
2495 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2496 else
2497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2498 for as_dir in $PATH
2500 IFS=$as_save_IFS
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
2506 break 2
2508 done
2509 done
2510 IFS=$as_save_IFS
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; }
2518 else
2519 { echo "$as_me:$LINENO: result: no" >&5
2520 echo "${ECHO_T}no" >&6; }
2524 test -n "$ac_ct_CC" && break
2525 done
2527 if test "x$ac_ct_CC" = x; then
2528 CC=""
2529 else
2530 case $cross_compiling:$ac_tool_warned in
2531 yes:)
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 ;;
2539 esac
2540 CC=$ac_ct_CC
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"
2557 case "(($ac_try" in
2558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2559 *) ac_try_echo=$ac_try;;
2560 esac
2561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2562 (eval "$ac_compiler --version >&5") 2>&5
2563 ac_status=$?
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); }
2566 { (ac_try="$ac_compiler -v >&5"
2567 case "(($ac_try" in
2568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2569 *) ac_try_echo=$ac_try;;
2570 esac
2571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2572 (eval "$ac_compiler -v >&5") 2>&5
2573 ac_status=$?
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); }
2576 { (ac_try="$ac_compiler -V >&5"
2577 case "(($ac_try" in
2578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2579 *) ac_try_echo=$ac_try;;
2580 esac
2581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2582 (eval "$ac_compiler -V >&5") 2>&5
2583 ac_status=$?
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }
2587 cat >conftest.$ac_ext <<_ACEOF
2588 /* confdefs.h. */
2589 _ACEOF
2590 cat confdefs.h >>conftest.$ac_ext
2591 cat >>conftest.$ac_ext <<_ACEOF
2592 /* end confdefs.h. */
2595 main ()
2599 return 0;
2601 _ACEOF
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
2606 # of exeext.
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.
2619 ac_rmfiles=
2620 for ac_file in $ac_files
2622 case $ac_file in
2623 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2624 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2625 esac
2626 done
2627 rm -f $ac_rmfiles
2629 if { (ac_try="$ac_link_default"
2630 case "(($ac_try" in
2631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2632 *) ac_try_echo=$ac_try;;
2633 esac
2634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2635 (eval "$ac_link_default") 2>&5
2636 ac_status=$?
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
2643 # Autoconf.
2644 for ac_file in $ac_files ''
2646 test -f "$ac_file" || continue
2647 case $ac_file in
2648 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2650 [ab].out )
2651 # We found the default executable, but exeext='' is most
2652 # certainly right.
2653 break;;
2654 *.* )
2655 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2656 then :; else
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
2663 # actually working.
2664 break;;
2666 break;;
2667 esac
2668 done
2669 test "$ac_cv_exeext" = no && ac_cv_exeext=
2671 else
2672 ac_file=''
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;;
2701 esac
2702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2703 (eval "$ac_try") 2>&5
2704 ac_status=$?
2705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706 (exit $ac_status); }; }; then
2707 cross_compiling=no
2708 else
2709 if test "$cross_compiling" = maybe; then
2710 cross_compiling=yes
2711 else
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"
2737 case "(($ac_try" in
2738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2739 *) ac_try_echo=$ac_try;;
2740 esac
2741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2742 (eval "$ac_link") 2>&5
2743 ac_status=$?
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
2749 # `rm'.
2750 for ac_file in conftest.exe conftest conftest.*; do
2751 test -f "$ac_file" || continue
2752 case $ac_file in
2753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2754 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2755 break;;
2756 * ) break;;
2757 esac
2758 done
2759 else
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
2773 ac_exeext=$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
2778 else
2779 cat >conftest.$ac_ext <<_ACEOF
2780 /* confdefs.h. */
2781 _ACEOF
2782 cat confdefs.h >>conftest.$ac_ext
2783 cat >>conftest.$ac_ext <<_ACEOF
2784 /* end confdefs.h. */
2787 main ()
2791 return 0;
2793 _ACEOF
2794 rm -f conftest.o conftest.obj
2795 if { (ac_try="$ac_compile"
2796 case "(($ac_try" in
2797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2798 *) ac_try_echo=$ac_try;;
2799 esac
2800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2801 (eval "$ac_compile") 2>&5
2802 ac_status=$?
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;
2807 case $ac_file in
2808 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2809 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2810 break;;
2811 esac
2812 done
2813 else
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
2829 ac_objext=$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
2834 else
2835 cat >conftest.$ac_ext <<_ACEOF
2836 /* confdefs.h. */
2837 _ACEOF
2838 cat confdefs.h >>conftest.$ac_ext
2839 cat >>conftest.$ac_ext <<_ACEOF
2840 /* end confdefs.h. */
2843 main ()
2845 #ifndef __GNUC__
2846 choke me
2847 #endif
2850 return 0;
2852 _ACEOF
2853 rm -f conftest.$ac_objext
2854 if { (ac_try="$ac_compile"
2855 case "(($ac_try" in
2856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2857 *) ac_try_echo=$ac_try;;
2858 esac
2859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2860 (eval "$ac_compile") 2>conftest.er1
2861 ac_status=$?
2862 grep -v '^ *+' conftest.er1 >conftest.err
2863 rm -f conftest.er1
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
2870 ac_compiler_gnu=yes
2871 else
2872 echo "$as_me: failed program was:" >&5
2873 sed 's/^/| /' conftest.$ac_ext >&5
2875 ac_compiler_gnu=no
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
2891 else
2892 ac_save_c_werror_flag=$ac_c_werror_flag
2893 ac_c_werror_flag=yes
2894 ac_cv_prog_cc_g=no
2895 CFLAGS="-g"
2896 cat >conftest.$ac_ext <<_ACEOF
2897 /* confdefs.h. */
2898 _ACEOF
2899 cat confdefs.h >>conftest.$ac_ext
2900 cat >>conftest.$ac_ext <<_ACEOF
2901 /* end confdefs.h. */
2904 main ()
2908 return 0;
2910 _ACEOF
2911 rm -f conftest.$ac_objext
2912 if { (ac_try="$ac_compile"
2913 case "(($ac_try" in
2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2916 esac
2917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2918 (eval "$ac_compile") 2>conftest.er1
2919 ac_status=$?
2920 grep -v '^ *+' conftest.er1 >conftest.err
2921 rm -f conftest.er1
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
2928 ac_cv_prog_cc_g=yes
2929 else
2930 echo "$as_me: failed program was:" >&5
2931 sed 's/^/| /' conftest.$ac_ext >&5
2933 CFLAGS=""
2934 cat >conftest.$ac_ext <<_ACEOF
2935 /* confdefs.h. */
2936 _ACEOF
2937 cat confdefs.h >>conftest.$ac_ext
2938 cat >>conftest.$ac_ext <<_ACEOF
2939 /* end confdefs.h. */
2942 main ()
2946 return 0;
2948 _ACEOF
2949 rm -f conftest.$ac_objext
2950 if { (ac_try="$ac_compile"
2951 case "(($ac_try" in
2952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953 *) ac_try_echo=$ac_try;;
2954 esac
2955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2956 (eval "$ac_compile") 2>conftest.er1
2957 ac_status=$?
2958 grep -v '^ *+' conftest.er1 >conftest.err
2959 rm -f conftest.er1
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
2967 else
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
2972 CFLAGS="-g"
2973 cat >conftest.$ac_ext <<_ACEOF
2974 /* confdefs.h. */
2975 _ACEOF
2976 cat confdefs.h >>conftest.$ac_ext
2977 cat >>conftest.$ac_ext <<_ACEOF
2978 /* end confdefs.h. */
2981 main ()
2985 return 0;
2987 _ACEOF
2988 rm -f conftest.$ac_objext
2989 if { (ac_try="$ac_compile"
2990 case "(($ac_try" in
2991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992 *) ac_try_echo=$ac_try;;
2993 esac
2994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2995 (eval "$ac_compile") 2>conftest.er1
2996 ac_status=$?
2997 grep -v '^ *+' conftest.er1 >conftest.err
2998 rm -f conftest.er1
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
3005 ac_cv_prog_cc_g=yes
3006 else
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
3028 CFLAGS="-g -O2"
3029 else
3030 CFLAGS="-g"
3032 else
3033 if test "$GCC" = yes; then
3034 CFLAGS="-O2"
3035 else
3036 CFLAGS=
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
3043 else
3044 ac_cv_prog_cc_c89=no
3045 ac_save_CC=$CC
3046 cat >conftest.$ac_ext <<_ACEOF
3047 /* confdefs.h. */
3048 _ACEOF
3049 cat confdefs.h >>conftest.$ac_ext
3050 cat >>conftest.$ac_ext <<_ACEOF
3051 /* end confdefs.h. */
3052 #include <stdarg.h>
3053 #include <stdio.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)
3060 char **p;
3061 int i;
3063 return p[i];
3065 static char *f (char * (*g) (char **, int), char **p, ...)
3067 char *s;
3068 va_list v;
3069 va_start (v,p);
3070 s = g (p, va_arg (v,int));
3071 va_end (v);
3072 return s;
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. */
3086 #define FOO(x) 'x'
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);
3093 int argc;
3094 char **argv;
3096 main ()
3098 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3100 return 0;
3102 _ACEOF
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"
3109 case "(($ac_try" in
3110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3111 *) ac_try_echo=$ac_try;;
3112 esac
3113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3114 (eval "$ac_compile") 2>conftest.er1
3115 ac_status=$?
3116 grep -v '^ *+' conftest.er1 >conftest.err
3117 rm -f conftest.er1
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
3125 else
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
3134 done
3135 rm -f conftest.$ac_ext
3136 CC=$ac_save_CC
3139 # AC_CACHE_VAL
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; } ;;
3144 xno)
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; } ;;
3151 esac
3154 ac_ext=c
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'
3166 am__doit:
3167 @echo done
3168 .PHONY: am__doit
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; }
3173 am__include="#"
3174 am__quote=
3175 _am_result=none
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
3184 am__include=include
3185 am__quote=
3186 _am_result=GNU
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
3193 am__quote="\""
3194 _am_result=BSD
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"
3210 AMDEPBACKSLASH='\'
3214 if test "x$enable_dependency_tracking" != xno; then
3215 AMDEP_TRUE=
3216 AMDEP_FALSE='#'
3217 else
3218 AMDEP_TRUE='#'
3219 AMDEP_FALSE=
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
3231 else
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
3237 # in D'.
3238 mkdir conftest.dir
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
3242 cd 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
3248 # directory.
3249 mkdir sub
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.
3263 : > sub/conftest.c
3264 for i in 1 2 3 4 5 6; do
3265 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3266 : > sub/conftst$i.h
3267 done
3268 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3270 case $depmode in
3271 nosideeffect)
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
3275 continue
3276 else
3277 break
3280 none) break ;;
3281 esac
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
3298 break
3301 done
3303 cd ..
3304 rm -rf conftest.dir
3305 else
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
3319 am__fastdepCC_TRUE=
3320 am__fastdepCC_FALSE='#'
3321 else
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
3334 else
3335 if test -n "$RANLIB"; then
3336 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3337 else
3338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3339 for as_dir in $PATH
3341 IFS=$as_save_IFS
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
3347 break 2
3349 done
3350 done
3351 IFS=$as_save_IFS
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; }
3359 else
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
3374 else
3375 if test -n "$ac_ct_RANLIB"; then
3376 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3377 else
3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 for as_dir in $PATH
3381 IFS=$as_save_IFS
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
3387 break 2
3389 done
3390 done
3391 IFS=$as_save_IFS
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; }
3399 else
3400 { echo "$as_me:$LINENO: result: no" >&5
3401 echo "${ECHO_T}no" >&6; }
3404 if test "x$ac_ct_RANLIB" = x; then
3405 RANLIB=":"
3406 else
3407 case $cross_compiling:$ac_tool_warned in
3408 yes:)
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 ;;
3416 esac
3417 RANLIB=$ac_ct_RANLIB
3419 else
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
3427 CPULAGS=""
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"
3461 #K6 processor
3462 if test "`echo $PROCESSOR | grep \"AMD-K6(tm)\"`" != ""; then
3463 CPUFLAGS="-march=k6"
3465 #Athlon processors
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"
3482 else
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"
3494 else
3495 CFLAGS="$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; }
3502 X86=""
3503 HW=`uname -m`
3504 if test "`echo $HW | grep \"86\"`" != ""; then
3505 X86="1"
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."
3517 ac_ext=c
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
3526 CPP=
3528 if test -z "$CPP"; then
3529 if test "${ac_cv_prog_CPP+set}" = set; then
3530 echo $ECHO_N "(cached) $ECHO_C" >&6
3531 else
3532 # Double quotes because CPP needs to be expanded
3533 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3535 ac_preproc_ok=false
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
3545 /* confdefs.h. */
3546 _ACEOF
3547 cat confdefs.h >>conftest.$ac_ext
3548 cat >>conftest.$ac_ext <<_ACEOF
3549 /* end confdefs.h. */
3550 #ifdef __STDC__
3551 # include <limits.h>
3552 #else
3553 # include <assert.h>
3554 #endif
3555 Syntax error
3556 _ACEOF
3557 if { (ac_try="$ac_cpp conftest.$ac_ext"
3558 case "(($ac_try" in
3559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3560 *) ac_try_echo=$ac_try;;
3561 esac
3562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3563 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3564 ac_status=$?
3565 grep -v '^ *+' conftest.er1 >conftest.err
3566 rm -f conftest.er1
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
3572 }; then
3574 else
3575 echo "$as_me: failed program was:" >&5
3576 sed 's/^/| /' conftest.$ac_ext >&5
3578 # Broken: fails on valid input.
3579 continue
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
3587 /* confdefs.h. */
3588 _ACEOF
3589 cat confdefs.h >>conftest.$ac_ext
3590 cat >>conftest.$ac_ext <<_ACEOF
3591 /* end confdefs.h. */
3592 #include <ac_nonexistent.h>
3593 _ACEOF
3594 if { (ac_try="$ac_cpp conftest.$ac_ext"
3595 case "(($ac_try" in
3596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3598 esac
3599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3600 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3601 ac_status=$?
3602 grep -v '^ *+' conftest.er1 >conftest.err
3603 rm -f conftest.er1
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
3609 }; then
3610 # Broken: success on invalid input.
3611 continue
3612 else
3613 echo "$as_me: failed program was:" >&5
3614 sed 's/^/| /' conftest.$ac_ext >&5
3616 # Passes both tests.
3617 ac_preproc_ok=:
3618 break
3621 rm -f conftest.err conftest.$ac_ext
3623 done
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
3627 break
3630 done
3631 ac_cv_prog_CPP=$CPP
3634 CPP=$ac_cv_prog_CPP
3635 else
3636 ac_cv_prog_CPP=$CPP
3638 { echo "$as_me:$LINENO: result: $CPP" >&5
3639 echo "${ECHO_T}$CPP" >&6; }
3640 ac_preproc_ok=false
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
3650 /* confdefs.h. */
3651 _ACEOF
3652 cat confdefs.h >>conftest.$ac_ext
3653 cat >>conftest.$ac_ext <<_ACEOF
3654 /* end confdefs.h. */
3655 #ifdef __STDC__
3656 # include <limits.h>
3657 #else
3658 # include <assert.h>
3659 #endif
3660 Syntax error
3661 _ACEOF
3662 if { (ac_try="$ac_cpp conftest.$ac_ext"
3663 case "(($ac_try" in
3664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3665 *) ac_try_echo=$ac_try;;
3666 esac
3667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3669 ac_status=$?
3670 grep -v '^ *+' conftest.er1 >conftest.err
3671 rm -f conftest.er1
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
3677 }; then
3679 else
3680 echo "$as_me: failed program was:" >&5
3681 sed 's/^/| /' conftest.$ac_ext >&5
3683 # Broken: fails on valid input.
3684 continue
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
3692 /* confdefs.h. */
3693 _ACEOF
3694 cat confdefs.h >>conftest.$ac_ext
3695 cat >>conftest.$ac_ext <<_ACEOF
3696 /* end confdefs.h. */
3697 #include <ac_nonexistent.h>
3698 _ACEOF
3699 if { (ac_try="$ac_cpp conftest.$ac_ext"
3700 case "(($ac_try" in
3701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3702 *) ac_try_echo=$ac_try;;
3703 esac
3704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3706 ac_status=$?
3707 grep -v '^ *+' conftest.er1 >conftest.err
3708 rm -f conftest.er1
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
3714 }; then
3715 # Broken: success on invalid input.
3716 continue
3717 else
3718 echo "$as_me: failed program was:" >&5
3719 sed 's/^/| /' conftest.$ac_ext >&5
3721 # Passes both tests.
3722 ac_preproc_ok=:
3723 break
3726 rm -f conftest.err conftest.$ac_ext
3728 done
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
3733 else
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; }; }
3741 ac_ext=c
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
3752 else
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
3758 else
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/xpg4/bin
3764 IFS=$as_save_IFS
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
3773 *GNU*)
3774 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3776 ac_count=0
3777 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3778 while :
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
3794 done
3795 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3796 esac
3799 $ac_path_GREP_found && break 3
3800 done
3801 done
3803 done
3804 IFS=$as_save_IFS
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; }; }
3816 else
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
3831 else
3832 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3833 then ac_cv_path_EGREP="$GREP -E"
3834 else
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
3840 else
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/xpg4/bin
3846 IFS=$as_save_IFS
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
3855 *GNU*)
3856 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3858 ac_count=0
3859 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3860 while :
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
3876 done
3877 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3878 esac
3881 $ac_path_EGREP_found && break 3
3882 done
3883 done
3885 done
3886 IFS=$as_save_IFS
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; }; }
3898 else
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
3914 else
3915 cat >conftest.$ac_ext <<_ACEOF
3916 /* confdefs.h. */
3917 _ACEOF
3918 cat confdefs.h >>conftest.$ac_ext
3919 cat >>conftest.$ac_ext <<_ACEOF
3920 /* end confdefs.h. */
3921 #include <stdlib.h>
3922 #include <stdarg.h>
3923 #include <string.h>
3924 #include <float.h>
3927 main ()
3931 return 0;
3933 _ACEOF
3934 rm -f conftest.$ac_objext
3935 if { (ac_try="$ac_compile"
3936 case "(($ac_try" in
3937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3938 *) ac_try_echo=$ac_try;;
3939 esac
3940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3941 (eval "$ac_compile") 2>conftest.er1
3942 ac_status=$?
3943 grep -v '^ *+' conftest.er1 >conftest.err
3944 rm -f conftest.er1
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
3952 else
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
3964 /* confdefs.h. */
3965 _ACEOF
3966 cat confdefs.h >>conftest.$ac_ext
3967 cat >>conftest.$ac_ext <<_ACEOF
3968 /* end confdefs.h. */
3969 #include <string.h>
3971 _ACEOF
3972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3973 $EGREP "memchr" >/dev/null 2>&1; then
3975 else
3976 ac_cv_header_stdc=no
3978 rm -f conftest*
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
3985 /* confdefs.h. */
3986 _ACEOF
3987 cat confdefs.h >>conftest.$ac_ext
3988 cat >>conftest.$ac_ext <<_ACEOF
3989 /* end confdefs.h. */
3990 #include <stdlib.h>
3992 _ACEOF
3993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3994 $EGREP "free" >/dev/null 2>&1; then
3996 else
3997 ac_cv_header_stdc=no
3999 rm -f conftest*
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
4007 else
4008 cat >conftest.$ac_ext <<_ACEOF
4009 /* confdefs.h. */
4010 _ACEOF
4011 cat confdefs.h >>conftest.$ac_ext
4012 cat >>conftest.$ac_ext <<_ACEOF
4013 /* end confdefs.h. */
4014 #include <ctype.h>
4015 #include <stdlib.h>
4016 #if ((' ' & 0x0FF) == 0x020)
4017 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4018 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4019 #else
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))
4025 #endif
4027 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4029 main ()
4031 int i;
4032 for (i = 0; i < 256; i++)
4033 if (XOR (islower (i), ISLOWER (i))
4034 || toupper (i) != TOUPPER (i))
4035 return 2;
4036 return 0;
4038 _ACEOF
4039 rm -f conftest$ac_exeext
4040 if { (ac_try="$ac_link"
4041 case "(($ac_try" in
4042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4044 esac
4045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4046 (eval "$ac_link") 2>&5
4047 ac_status=$?
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;;
4053 esac
4054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4055 (eval "$ac_try") 2>&5
4056 ac_status=$?
4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058 (exit $ac_status); }; }; then
4060 else
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
4065 ( exit $ac_status )
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
4080 _ACEOF
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
4102 else
4103 cat >conftest.$ac_ext <<_ACEOF
4104 /* confdefs.h. */
4105 _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>
4112 _ACEOF
4113 rm -f conftest.$ac_objext
4114 if { (ac_try="$ac_compile"
4115 case "(($ac_try" in
4116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4117 *) ac_try_echo=$ac_try;;
4118 esac
4119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4120 (eval "$ac_compile") 2>conftest.er1
4121 ac_status=$?
4122 grep -v '^ *+' conftest.er1 >conftest.err
4123 rm -f conftest.er1
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"
4131 else
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
4146 _ACEOF
4150 done
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; }
4166 else
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
4171 /* confdefs.h. */
4172 _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>
4178 _ACEOF
4179 rm -f conftest.$ac_objext
4180 if { (ac_try="$ac_compile"
4181 case "(($ac_try" in
4182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4183 *) ac_try_echo=$ac_try;;
4184 esac
4185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4186 (eval "$ac_compile") 2>conftest.er1
4187 ac_status=$?
4188 grep -v '^ *+' conftest.er1 >conftest.err
4189 rm -f conftest.er1
4190 cat conftest.err >&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); } && {
4193 test -z "$ac_c_werror_flag" ||
4194 test ! -s conftest.err
4195 } && test -s conftest.$ac_objext; then
4196 ac_header_compiler=yes
4197 else
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
4212 /* confdefs.h. */
4213 _ACEOF
4214 cat confdefs.h >>conftest.$ac_ext
4215 cat >>conftest.$ac_ext <<_ACEOF
4216 /* end confdefs.h. */
4217 #include <$ac_header>
4218 _ACEOF
4219 if { (ac_try="$ac_cpp conftest.$ac_ext"
4220 case "(($ac_try" in
4221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4222 *) ac_try_echo=$ac_try;;
4223 esac
4224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4225 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4226 ac_status=$?
4227 grep -v '^ *+' conftest.er1 >conftest.err
4228 rm -f conftest.er1
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
4234 }; then
4235 ac_header_preproc=yes
4236 else
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
4249 yes:no: )
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
4256 no: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;}
4269 ( cat <<\_ASBOX
4270 ## ------------------------------------------- ##
4271 ## Report this to michele.noberasco@tiscali.it ##
4272 ## ------------------------------------------- ##
4273 _ASBOX
4274 ) | sed "s/^/$as_me: WARNING: /" >&2
4276 esac
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
4281 else
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
4292 _ACEOF
4294 else
4295 { { echo "$as_me:$LINENO: error: $HEADERS_ERROR_MESSAGE" >&5
4296 echo "$as_me: error: $HEADERS_ERROR_MESSAGE" >&2;}
4297 { (exit 1); exit 1; }; }
4300 done
4307 ac_header_dirent=no
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
4314 else
4315 cat >conftest.$ac_ext <<_ACEOF
4316 /* confdefs.h. */
4317 _ACEOF
4318 cat confdefs.h >>conftest.$ac_ext
4319 cat >>conftest.$ac_ext <<_ACEOF
4320 /* end confdefs.h. */
4321 #include <sys/types.h>
4322 #include <$ac_hdr>
4325 main ()
4327 if ((DIR *) 0)
4328 return 0;
4330 return 0;
4332 _ACEOF
4333 rm -f conftest.$ac_objext
4334 if { (ac_try="$ac_compile"
4335 case "(($ac_try" in
4336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4337 *) ac_try_echo=$ac_try;;
4338 esac
4339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4340 (eval "$ac_compile") 2>conftest.er1
4341 ac_status=$?
4342 grep -v '^ *+' conftest.er1 >conftest.err
4343 rm -f conftest.er1
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"
4351 else
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
4366 _ACEOF
4368 ac_header_dirent=$ac_hdr; break
4371 done
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
4378 else
4379 ac_func_search_save_LIBS=$LIBS
4380 cat >conftest.$ac_ext <<_ACEOF
4381 /* confdefs.h. */
4382 _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. */
4390 #ifdef __cplusplus
4391 extern "C"
4392 #endif
4393 char opendir ();
4395 main ()
4397 return opendir ();
4399 return 0;
4401 _ACEOF
4402 for ac_lib in '' dir; do
4403 if test -z "$ac_lib"; then
4404 ac_res="none required"
4405 else
4406 ac_res=-l$ac_lib
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"
4411 case "(($ac_try" in
4412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4413 *) ac_try_echo=$ac_try;;
4414 esac
4415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4416 (eval "$ac_link") 2>conftest.er1
4417 ac_status=$?
4418 grep -v '^ *+' conftest.er1 >conftest.err
4419 rm -f conftest.er1
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
4428 else
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 \
4436 conftest$ac_exeext
4437 if test "${ac_cv_search_opendir+set}" = set; then
4438 break
4440 done
4441 if test "${ac_cv_search_opendir+set}" = set; then
4443 else
4444 ac_cv_search_opendir=no
4446 rm conftest.$ac_ext
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"
4457 else
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
4462 else
4463 ac_func_search_save_LIBS=$LIBS
4464 cat >conftest.$ac_ext <<_ACEOF
4465 /* confdefs.h. */
4466 _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. */
4474 #ifdef __cplusplus
4475 extern "C"
4476 #endif
4477 char opendir ();
4479 main ()
4481 return opendir ();
4483 return 0;
4485 _ACEOF
4486 for ac_lib in '' x; do
4487 if test -z "$ac_lib"; then
4488 ac_res="none required"
4489 else
4490 ac_res=-l$ac_lib
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"
4495 case "(($ac_try" in
4496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4497 *) ac_try_echo=$ac_try;;
4498 esac
4499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4500 (eval "$ac_link") 2>conftest.er1
4501 ac_status=$?
4502 grep -v '^ *+' conftest.er1 >conftest.err
4503 rm -f conftest.er1
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
4512 else
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 \
4520 conftest$ac_exeext
4521 if test "${ac_cv_search_opendir+set}" = set; then
4522 break
4524 done
4525 if test "${ac_cv_search_opendir+set}" = set; then
4527 else
4528 ac_cv_search_opendir=no
4530 rm conftest.$ac_ext
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; }
4559 else
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
4564 /* confdefs.h. */
4565 _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>
4571 _ACEOF
4572 rm -f conftest.$ac_objext
4573 if { (ac_try="$ac_compile"
4574 case "(($ac_try" in
4575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4576 *) ac_try_echo=$ac_try;;
4577 esac
4578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4579 (eval "$ac_compile") 2>conftest.er1
4580 ac_status=$?
4581 grep -v '^ *+' conftest.er1 >conftest.err
4582 rm -f conftest.er1
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
4590 else
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
4605 /* confdefs.h. */
4606 _ACEOF
4607 cat confdefs.h >>conftest.$ac_ext
4608 cat >>conftest.$ac_ext <<_ACEOF
4609 /* end confdefs.h. */
4610 #include <$ac_header>
4611 _ACEOF
4612 if { (ac_try="$ac_cpp conftest.$ac_ext"
4613 case "(($ac_try" in
4614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4615 *) ac_try_echo=$ac_try;;
4616 esac
4617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4618 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4619 ac_status=$?
4620 grep -v '^ *+' conftest.er1 >conftest.err
4621 rm -f conftest.er1
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
4627 }; then
4628 ac_header_preproc=yes
4629 else
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
4642 yes:no: )
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
4649 no: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;}
4662 ( cat <<\_ASBOX
4663 ## ------------------------------------------- ##
4664 ## Report this to michele.noberasco@tiscali.it ##
4665 ## ------------------------------------------- ##
4666 _ASBOX
4667 ) | sed "s/^/$as_me: WARNING: /" >&2
4669 esac
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
4674 else
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
4685 _ACEOF
4687 else
4688 { { echo "$as_me:$LINENO: error: $HEADERS_ERROR_MESSAGE" >&5
4689 echo "$as_me: error: $HEADERS_ERROR_MESSAGE" >&2;}
4690 { (exit 1); exit 1; }; }
4693 done
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
4700 else
4701 ac_check_lib_save_LIBS=$LIBS
4702 LIBS="-lpthread $LIBS"
4703 cat >conftest.$ac_ext <<_ACEOF
4704 /* confdefs.h. */
4705 _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. */
4713 #ifdef __cplusplus
4714 extern "C"
4715 #endif
4716 char pthread_create ();
4718 main ()
4720 return pthread_create ();
4722 return 0;
4724 _ACEOF
4725 rm -f conftest.$ac_objext conftest$ac_exeext
4726 if { (ac_try="$ac_link"
4727 case "(($ac_try" in
4728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4729 *) ac_try_echo=$ac_try;;
4730 esac
4731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4732 (eval "$ac_link") 2>conftest.er1
4733 ac_status=$?
4734 grep -v '^ *+' conftest.er1 >conftest.err
4735 rm -f conftest.er1
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
4744 else
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
4760 _ACEOF
4762 LIBS="-lpthread $LIBS"
4766 # end threads check
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
4782 # following values.
4784 _ACEOF
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
4794 case $ac_val in #(
4795 *${as_nl}*)
4796 case $ac_var in #(
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;} ;;
4799 esac
4800 case $ac_var in #(
4801 _ | IFS | as_nl) ;; #(
4802 *) $as_unset $ac_var ;;
4803 esac ;;
4804 esac
4805 done
4807 (set) 2>&1 |
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 \).
4812 sed -n \
4813 "s/'/'\\\\''/g;
4814 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4815 ;; #(
4817 # `set' quotes correctly as required by POSIX, so do not add quotes.
4818 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4820 esac |
4821 sort
4823 sed '
4824 /^ac_cv_env_/b end
4825 t clear
4826 :clear
4827 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4828 t end
4829 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4830 :end' >>confcache
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
4837 else
4838 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4839 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4842 rm -f confcache
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.
4855 ac_script='
4856 t clear
4857 :clear
4858 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4859 t quote
4860 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4861 t quote
4862 b any
4863 :quote
4864 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4865 s/\[/\\&/g
4866 s/\]/\\&/g
4867 s/\$/$$/g
4869 :any
4872 s/^\n//
4873 s/\n/ /g
4877 DEFS=`sed -n "$ac_script" confdefs.h`
4880 ac_libobjs=
4881 ac_ltlibobjs=
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'
4890 done
4891 LIBOBJS=$ac_libobjs
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
4917 #! $SHELL
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.
4923 debug=false
4924 ac_cs_recheck=false
4925 ac_cs_silent=false
4926 SHELL=\${CONFIG_SHELL-$SHELL}
4927 _ACEOF
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
4937 emulate sh
4938 NULLCMD=:
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
4943 else
4944 case `(set -o) 2>/dev/null` in
4945 *posix*) set -o posix ;;
4946 esac
4953 # PATH needs CR
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
4965 chmod +x conf$$.sh
4966 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4967 PATH_SEPARATOR=';'
4968 else
4969 PATH_SEPARATOR=:
4971 rm -f conf$$.sh
4974 # Support unset when possible.
4975 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4976 as_unset=unset
4977 else
4978 as_unset=false
4982 # IFS
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.)
4987 as_nl='
4989 IFS=" "" $as_nl"
4991 # Find who we are. Look in the path if we contain no directory separator.
4992 case $0 in
4993 *[\\/]* ) as_myself=$0 ;;
4994 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4995 for as_dir in $PATH
4997 IFS=$as_save_IFS
4998 test -z "$as_dir" && as_dir=.
4999 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5000 done
5001 IFS=$as_save_IFS
5004 esac
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
5008 as_myself=$0
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
5018 done
5019 PS1='$ '
5020 PS2='> '
5021 PS4='+ '
5023 # NLS nuisances.
5024 for as_var in \
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
5031 else
5032 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5034 done
5036 # Required to use basename.
5037 if expr a : '\(a\)' >/dev/null 2>&1 &&
5038 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5039 as_expr=expr
5040 else
5041 as_expr=false
5044 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5045 as_basename=basename
5046 else
5047 as_basename=false
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 ||
5056 echo X/"$0" |
5057 sed '/^.*\/\([^/][^/]*\)\/*$/{
5058 s//\1/
5061 /^X\/\(\/\/\)$/{
5062 s//\1/
5065 /^X\/\(\/\).*/{
5066 s//\1/
5069 s/.*/./; q'`
5071 # CDPATH.
5072 $as_unset CDPATH
5076 as_lineno_1=$LINENO
5077 as_lineno_2=$LINENO
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
5087 # case at line end.
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. :-)
5091 sed -n '
5093 /[$]LINENO/=
5094 ' <$as_myself |
5095 sed '
5096 s/[$]LINENO.*/&-/
5097 t lineno
5099 :lineno
5101 :loop
5102 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5103 t loop
5104 s/-\n.*//
5105 ' >$as_me.lineno &&
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).
5113 . "./$as_me.lineno"
5114 # Exit status is that of the last command.
5115 exit
5119 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5120 as_dirname=dirname
5121 else
5122 as_dirname=false
5125 ECHO_C= ECHO_N= ECHO_T=
5126 case `echo -n x` in
5127 -n*)
5128 case `echo 'x\c'` in
5129 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5130 *) ECHO_C='\c';;
5131 esac;;
5133 ECHO_N='-n';;
5134 esac
5136 if expr a : '\(a\)' >/dev/null 2>&1 &&
5137 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5138 as_expr=expr
5139 else
5140 as_expr=false
5143 rm -f conf$$ conf$$.exe conf$$.file
5144 if test -d conf$$.dir; then
5145 rm -f conf$$.dir/conf$$.file
5146 else
5147 rm -f conf$$.dir
5148 mkdir conf$$.dir
5150 echo >conf$$.file
5151 if ln -s conf$$.file conf$$ 2>/dev/null; then
5152 as_ln_s='ln -s'
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 ||
5158 as_ln_s='cp -p'
5159 elif ln conf$$.file conf$$ 2>/dev/null; then
5160 as_ln_s=ln
5161 else
5162 as_ln_s='cp -p'
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
5168 as_mkdir_p=:
5169 else
5170 test -d ./-p && rmdir ./-p
5171 as_mkdir_p=false
5174 if test -x / >/dev/null 2>&1; then
5175 as_test_x='test -x'
5176 else
5177 if ls -dL / >/dev/null 2>&1; then
5178 as_ls_L_option=L
5179 else
5180 as_ls_L_option=
5182 as_test_x='
5183 eval sh -c '\''
5184 if test -d "$1"; then
5185 test -d "$1/.";
5186 else
5187 case $1 in
5188 -*)set "./$1";;
5189 esac;
5190 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5191 ???[sx]*):;;*)false;;esac;fi
5192 '\'' sh
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'"
5204 exec 6>&1
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.
5209 ac_log="
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
5217 $ $0 $@
5219 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5222 _ACEOF
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"
5229 _ACEOF
5231 cat >>$CONFIG_STATUS <<\_ACEOF
5232 ac_cs_usage="\
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:
5247 $config_files
5249 Configuration commands:
5250 $config_commands
5252 Report bugs to <bug-autoconf@gnu.org>."
5254 _ACEOF
5255 cat >>$CONFIG_STATUS <<_ACEOF
5256 ac_cs_version="\\
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."
5265 ac_pwd='$ac_pwd'
5266 srcdir='$srcdir'
5267 INSTALL='$INSTALL'
5268 _ACEOF
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.
5273 ac_need_defaults=:
5274 while test $# != 0
5276 case $1 in
5277 --*=*)
5278 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5279 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5280 ac_shift=:
5283 ac_option=$1
5284 ac_optarg=$2
5285 ac_shift=shift
5287 esac
5289 case $ac_option in
5290 # Handling of the options.
5291 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5292 ac_cs_recheck=: ;;
5293 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5294 echo "$ac_cs_version"; exit ;;
5295 --debug | --debu | --deb | --de | --d | -d )
5296 debug=: ;;
5297 --file | --fil | --fi | --f )
5298 $ac_shift
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)
5305 ac_cs_silent=: ;;
5307 # This is an error.
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 ;;
5315 esac
5316 shift
5317 done
5319 ac_configure_extra_args=
5321 if $ac_cs_silent; then
5322 exec 6>/dev/null
5323 ac_configure_extra_args="$ac_configure_extra_args --silent"
5326 _ACEOF
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
5330 CONFIG_SHELL=$SHELL
5331 export CONFIG_SHELL
5332 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5335 _ACEOF
5336 cat >>$CONFIG_STATUS <<\_ACEOF
5337 exec 5>>config.log
5339 echo
5340 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5341 ## Running $as_me. ##
5342 _ASBOX
5343 echo "$ac_log"
5344 } >&5
5346 _ACEOF
5347 cat >>$CONFIG_STATUS <<_ACEOF
5349 # INIT-COMMANDS
5351 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5353 _ACEOF
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; }; };;
5370 esac
5371 done
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'.
5389 $debug ||
5391 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"
5402 } ||
5404 tmp=./conf$$-$RANDOM
5405 (umask 077 && mkdir "$tmp")
5406 } ||
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
5420 _ACEOF
5424 ac_delim='%!_!# '
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
5456 DEFS!$DEFS$ac_delim
5457 ECHO_C!$ECHO_C$ac_delim
5458 ECHO_N!$ECHO_N$ac_delim
5459 ECHO_T!$ECHO_T$ac_delim
5460 LIBS!$LIBS$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
5479 AWK!$AWK$ac_delim
5480 SET_MAKE!$SET_MAKE$ac_delim
5481 am__leading_dot!$am__leading_dot$ac_delim
5482 CC!$CC$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
5499 X86!$X86$ac_delim
5500 CPP!$CPP$ac_delim
5501 GREP!$GREP$ac_delim
5502 EGREP!$EGREP$ac_delim
5503 LIBOBJS!$LIBOBJS$ac_delim
5504 LTLIBOBJS!$LTLIBOBJS$ac_delim
5505 _ACEOF
5507 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
5508 break
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; }; }
5513 else
5514 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5516 done
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
5527 _ACEOF
5528 sed '
5529 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5530 s/^/s,@/; s/!/@,|#_!!_#|/
5533 s/'"$ac_delim"'$/,g/; t
5534 s/$/\\/; p
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
5539 :end
5540 s/|#_!!_#|//g
5541 CEOF$ac_eof
5542 _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[ ]*=/{
5551 s/:*\$(srcdir):*/:/
5552 s/:*\${srcdir}:*/:/
5553 s/:*@srcdir@:*/:/
5554 s/^\([^=]*=[ ]*\):*/\1/
5555 s/:*$//
5556 s/^[^=]*=[ ]*$//
5560 cat >>$CONFIG_STATUS <<\_ACEOF
5561 fi # test -n "$CONFIG_FILES"
5564 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
5566 case $ac_tag in
5567 :[FHLC]) ac_mode=$ac_tag; continue;;
5568 esac
5569 case $ac_mode$ac_tag in
5570 :[FHL]*:*);;
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;;
5576 esac
5577 ac_save_IFS=$IFS
5578 IFS=:
5579 set x $ac_tag
5580 IFS=$ac_save_IFS
5581 shift
5582 ac_file=$1
5583 shift
5585 case $ac_mode in
5586 :L) ac_source=$1;;
5587 :[FH])
5588 ac_file_inputs=
5589 for ac_f
5591 case $ac_f 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 `:'.
5596 test -f "$ac_f" ||
5597 case $ac_f in
5598 [\\/$]*) false;;
5599 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5600 esac ||
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; }; };;
5604 esac
5605 ac_file_inputs="$ac_file_inputs $ac_f"
5606 done
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;}
5619 case $ac_tag in
5620 *:-:* | *:-) cat >"$tmp/stdin";;
5621 esac
5623 esac
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 ||
5630 echo X"$ac_file" |
5631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5632 s//\1/
5635 /^X\(\/\/\)[^/].*/{
5636 s//\1/
5639 /^X\(\/\/\)$/{
5640 s//\1/
5643 /^X\(\/\).*/{
5644 s//\1/
5647 s/.*/./; q'`
5648 { as_dir="$ac_dir"
5649 case $as_dir in #(
5650 -*) as_dir=./$as_dir;;
5651 esac
5652 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5653 as_dirs=
5654 while :; do
5655 case $as_dir in #(
5656 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5657 *) as_qdir=$as_dir;;
5658 esac
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 ||
5665 echo X"$as_dir" |
5666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5667 s//\1/
5670 /^X\(\/\/\)[^/].*/{
5671 s//\1/
5674 /^X\(\/\/\)$/{
5675 s//\1/
5678 /^X\(\/\).*/{
5679 s//\1/
5682 s/.*/./; q'`
5683 test -d "$as_dir" && break
5684 done
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; }; }; }
5689 ac_builddir=.
5691 case "$ac_dir" in
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/ ;;
5700 esac ;;
5701 esac
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
5707 case $srcdir in
5708 .) # We are building in place.
5709 ac_srcdir=.
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 ;;
5716 *) # Relative name.
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 ;;
5720 esac
5721 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5724 case $ac_mode in
5727 # CONFIG_FILE
5730 case $INSTALL in
5731 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5732 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5733 esac
5734 _ACEOF
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/ {
5745 /@datadir@/p
5746 /@docdir@/p
5747 /@infodir@/p
5748 /@localedir@/p
5749 /@mandir@/p
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;}
5755 _ACEOF
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' ;;
5764 esac
5765 _ACEOF
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
5771 sed "$ac_vpsub
5772 $extrasub
5773 _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;}
5798 rm -f "$tmp/stdin"
5799 case $ac_file in
5800 -) cat "$tmp/out"; rm -f "$tmp/out";;
5801 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5802 esac
5806 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5807 echo "$as_me: executing $ac_file commands" >&6;}
5809 esac
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 ||
5828 echo X"$mf" |
5829 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5830 s//\1/
5833 /^X\(\/\/\)[^/].*/{
5834 s//\1/
5837 /^X\(\/\/\)$/{
5838 s//\1/
5841 /^X\(\/\).*/{
5842 s//\1/
5845 s/.*/./; q'`
5846 else
5847 continue
5849 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
5850 # Extract the definition of DEP_FILES from the Makefile without
5851 # running `make'.
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 = .*\\\\$/ {
5861 s/^DEP_FILES = //
5862 :loop
5863 s/\\\\$//
5866 /\\\\$/ b loop
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 ||
5878 echo X"$file" |
5879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5880 s//\1/
5883 /^X\(\/\/\)[^/].*/{
5884 s//\1/
5887 /^X\(\/\/\)$/{
5888 s//\1/
5891 /^X\(\/\).*/{
5892 s//\1/
5895 s/.*/./; q'`
5896 { as_dir=$dirpart/$fdir
5897 case $as_dir in #(
5898 -*) as_dir=./$as_dir;;
5899 esac
5900 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5901 as_dirs=
5902 while :; do
5903 case $as_dir in #(
5904 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5905 *) as_qdir=$as_dir;;
5906 esac
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 ||
5913 echo X"$as_dir" |
5914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5915 s//\1/
5918 /^X\(\/\/\)[^/].*/{
5919 s//\1/
5922 /^X\(\/\/\)$/{
5923 s//\1/
5926 /^X\(\/\).*/{
5927 s//\1/
5930 s/.*/./; q'`
5931 test -d "$as_dir" && break
5932 done
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"
5939 done
5940 done
5943 esac
5944 done # for ac_tag
5947 { (exit 0); exit 0; }
5948 _ACEOF
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
5962 ac_cs_success=:
5963 ac_config_status_args=
5964 test "$silent" = yes &&
5965 ac_config_status_args="$ac_config_status_args --quiet"
5966 exec 5>/dev/null
5967 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5968 exec 5>>config.log
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; }