2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for fswebcam 20091224.
5 # Report bugs to <phil@firestorm.cx>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x
; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var
in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
144 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me
=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x
; then
176 if (eval ":") 2>/dev
/null
; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev
/null
; then
242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
243 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir
=.
249 for as_base
in sh bash ksh sh5
; do
250 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
257 for as_shell
in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
279 CONFIG_SHELL
=$as_shell
281 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix
*) set -o posix
;;
307 as_func_ret_success
() {
310 as_func_ret_failure
() {
315 if as_func_success
; then
319 echo as_func_success failed.
322 if as_func_failure
; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success
; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure
; then
336 echo as_func_ret_failure succeeded.
339 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) ||
{ (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x
; then
364 for as_var
in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no
; then
373 echo This
script requires a shell
more modern than all the
374 echo shells that I found on your system. Please
install a
375 echo modern shell
, or manually run the
script under such a
376 echo shell
if you
do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") ||
{
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system
,
438 echo including any error possibly output before this message.
439 echo This can
help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x
"$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
494 ECHO_C
= ECHO_N
= ECHO_T
=
498 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
504 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
511 rm -f conf$$ conf$$.exe conf$$.
file
512 if test -d conf$$.dir
; then
513 rm -f conf$$.dir
/conf$$.
file
516 mkdir conf$$.dir
2>/dev
/null
518 if (echo >conf$$.
file) 2>/dev
/null
; then
519 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
527 elif ln conf$$.
file conf$$
2>/dev
/null
; then
535 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
536 rmdir conf$$.dir
2>/dev
/null
538 if mkdir
-p .
2>/dev
/null
; then
541 test -d .
/-p && rmdir .
/-p
545 if test -x / >/dev
/null
2>&1; then
548 if ls -dL / >/dev
/null
2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p
=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 exec 7<&0 </dev
/null
6>&1
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
586 ac_default_prefix
=/usr
/local
588 ac_config_libobj_dir
=.
594 SHELL
=${CONFIG_SHELL-/bin/sh}
596 # Identity of this package.
597 PACKAGE_NAME
='fswebcam'
598 PACKAGE_TARNAME
='fswebcam'
599 PACKAGE_VERSION
='20091224'
600 PACKAGE_STRING
='fswebcam 20091224'
601 PACKAGE_BUGREPORT
='phil@firestorm.cx'
603 # Factoring default headers for most tests.
604 ac_includes_default
="\
606 #ifdef HAVE_SYS_TYPES_H
607 # include <sys/types.h>
609 #ifdef HAVE_SYS_STAT_H
610 # include <sys/stat.h>
616 # ifdef HAVE_STDLIB_H
621 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
626 #ifdef HAVE_STRINGS_H
627 # include <strings.h>
629 #ifdef HAVE_INTTYPES_H
630 # include <inttypes.h>
639 ac_subst_vars
='LTLIBOBJS
679 program_transform_name
691 enable_option_checking
696 ac_precious_vars
='build_alias
707 # Initialize some variables set by options.
709 ac_init_version
=false
710 ac_unrecognized_opts
=
712 # The variables have the same names as the options, with
713 # dashes changed to underlines.
721 program_transform_name
=s
,x
,x
,
729 # Installation directory options.
730 # These are left unexpanded so users can "make install exec_prefix=/foo"
731 # and all the variables that are supposed to be based on exec_prefix
732 # by default will actually change.
733 # Use braces instead of parens because sh, perl, etc. also accept them.
734 # (The list follows the same order as the GNU Coding Standards.)
735 bindir
='${exec_prefix}/bin'
736 sbindir
='${exec_prefix}/sbin'
737 libexecdir
='${exec_prefix}/libexec'
738 datarootdir
='${prefix}/share'
739 datadir
='${datarootdir}'
740 sysconfdir
='${prefix}/etc'
741 sharedstatedir
='${prefix}/com'
742 localstatedir
='${prefix}/var'
743 includedir
='${prefix}/include'
744 oldincludedir
='/usr/include'
745 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
746 infodir
='${datarootdir}/info'
751 libdir
='${exec_prefix}/lib'
752 localedir
='${datarootdir}/locale'
753 mandir
='${datarootdir}/man'
759 # If the previous option needs an argument, assign it.
760 if test -n "$ac_prev"; then
761 eval $ac_prev=\
$ac_option
767 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
771 # Accept the important Cygnus configure options, so we can diagnose typos.
773 case $ac_dashdash$ac_option in
777 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
779 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
782 -build |
--build |
--buil |
--bui |
--bu)
783 ac_prev
=build_alias
;;
784 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
785 build_alias
=$ac_optarg ;;
787 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
788 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
789 ac_prev
=cache_file
;;
790 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
791 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
792 cache_file
=$ac_optarg ;;
795 cache_file
=config.cache
;;
797 -datadir |
--datadir |
--datadi |
--datad)
799 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
800 datadir
=$ac_optarg ;;
802 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
803 |
--dataroo |
--dataro |
--datar)
804 ac_prev
=datarootdir
;;
805 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
806 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
807 datarootdir
=$ac_optarg ;;
809 -disable-* |
--disable-*)
810 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
811 # Reject names that are not valid shell variable names.
812 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
813 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
814 { (exit 1); exit 1; }; }
815 ac_useropt_orig
=$ac_useropt
816 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
817 case $ac_user_opts in
821 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
822 ac_unrecognized_sep
=', ';;
824 eval enable_
$ac_useropt=no
;;
826 -docdir |
--docdir |
--docdi |
--doc |
--do)
828 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
831 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
833 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
836 -enable-* |
--enable-*)
837 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
838 # Reject names that are not valid shell variable names.
839 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
840 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
841 { (exit 1); exit 1; }; }
842 ac_useropt_orig
=$ac_useropt
843 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
844 case $ac_user_opts in
848 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
849 ac_unrecognized_sep
=', ';;
851 eval enable_
$ac_useropt=\
$ac_optarg ;;
853 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
854 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
855 |
--exec |
--exe |
--ex)
856 ac_prev
=exec_prefix
;;
857 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
858 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
859 |
--exec=* |
--exe=* |
--ex=*)
860 exec_prefix
=$ac_optarg ;;
862 -gas |
--gas |
--ga |
--g)
863 # Obsolete; use --with-gas.
866 -help |
--help |
--hel |
--he |
-h)
868 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
869 ac_init_help
=recursive
;;
870 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
871 ac_init_help
=short
;;
873 -host |
--host |
--hos |
--ho)
874 ac_prev
=host_alias
;;
875 -host=* |
--host=* |
--hos=* |
--ho=*)
876 host_alias
=$ac_optarg ;;
878 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
880 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
882 htmldir
=$ac_optarg ;;
884 -includedir |
--includedir |
--includedi |
--included |
--include \
885 |
--includ |
--inclu |
--incl |
--inc)
886 ac_prev
=includedir
;;
887 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
888 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
889 includedir
=$ac_optarg ;;
891 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
893 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
894 infodir
=$ac_optarg ;;
896 -libdir |
--libdir |
--libdi |
--libd)
898 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
901 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
902 |
--libexe |
--libex |
--libe)
903 ac_prev
=libexecdir
;;
904 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
905 |
--libexe=* |
--libex=* |
--libe=*)
906 libexecdir
=$ac_optarg ;;
908 -localedir |
--localedir |
--localedi |
--localed |
--locale)
910 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
911 localedir
=$ac_optarg ;;
913 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
914 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
915 ac_prev
=localstatedir
;;
916 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
917 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
918 localstatedir
=$ac_optarg ;;
920 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
922 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
926 # Obsolete; use --without-fp.
929 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
930 |
--no-cr |
--no-c |
-n)
933 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
934 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
937 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
938 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
939 |
--oldin |
--oldi |
--old |
--ol |
--o)
940 ac_prev
=oldincludedir
;;
941 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
942 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
943 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
944 oldincludedir
=$ac_optarg ;;
946 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
948 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
951 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
952 |
--program-pre |
--program-pr |
--program-p)
953 ac_prev
=program_prefix
;;
954 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
955 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
956 program_prefix
=$ac_optarg ;;
958 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
959 |
--program-suf |
--program-su |
--program-s)
960 ac_prev
=program_suffix
;;
961 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
962 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
963 program_suffix
=$ac_optarg ;;
965 -program-transform-name |
--program-transform-name \
966 |
--program-transform-nam |
--program-transform-na \
967 |
--program-transform-n |
--program-transform- \
968 |
--program-transform |
--program-transfor \
969 |
--program-transfo |
--program-transf \
970 |
--program-trans |
--program-tran \
971 |
--progr-tra |
--program-tr |
--program-t)
972 ac_prev
=program_transform_name
;;
973 -program-transform-name=* |
--program-transform-name=* \
974 |
--program-transform-nam=* |
--program-transform-na=* \
975 |
--program-transform-n=* |
--program-transform-=* \
976 |
--program-transform=* |
--program-transfor=* \
977 |
--program-transfo=* |
--program-transf=* \
978 |
--program-trans=* |
--program-tran=* \
979 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
980 program_transform_name
=$ac_optarg ;;
982 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
984 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
987 -psdir |
--psdir |
--psdi |
--psd |
--ps)
989 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
992 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
993 |
-silent |
--silent |
--silen |
--sile |
--sil)
996 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
998 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1000 sbindir
=$ac_optarg ;;
1002 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1003 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1004 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1006 ac_prev
=sharedstatedir
;;
1007 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1008 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1009 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1011 sharedstatedir
=$ac_optarg ;;
1013 -site |
--site |
--sit)
1015 -site=* |
--site=* |
--sit=*)
1018 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1020 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1021 srcdir
=$ac_optarg ;;
1023 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1024 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1025 ac_prev
=sysconfdir
;;
1026 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1027 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1028 sysconfdir
=$ac_optarg ;;
1030 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1031 ac_prev
=target_alias
;;
1032 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1033 target_alias
=$ac_optarg ;;
1035 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1038 -version |
--version |
--versio |
--versi |
--vers |
-V)
1039 ac_init_version
=: ;;
1042 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1045 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1046 { (exit 1); exit 1; }; }
1047 ac_useropt_orig
=$ac_useropt
1048 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1053 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1054 ac_unrecognized_sep
=', ';;
1056 eval with_
$ac_useropt=\
$ac_optarg ;;
1058 -without-* |
--without-*)
1059 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1062 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1063 { (exit 1); exit 1; }; }
1064 ac_useropt_orig
=$ac_useropt
1065 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1066 case $ac_user_opts in
1070 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1071 ac_unrecognized_sep
=', ';;
1073 eval with_
$ac_useropt=no
;;
1076 # Obsolete; use --with-x.
1079 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1080 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1081 ac_prev
=x_includes
;;
1082 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1083 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1084 x_includes
=$ac_optarg ;;
1086 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1087 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1088 ac_prev
=x_libraries
;;
1089 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1090 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1091 x_libraries
=$ac_optarg ;;
1093 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1094 Try \`$0 --help' for more information." >&2
1095 { (exit 1); exit 1; }; }
1099 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1102 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1103 { (exit 1); exit 1; }; }
1104 eval $ac_envvar=\
$ac_optarg
1105 export $ac_envvar ;;
1108 # FIXME: should be removed in autoconf 3.0.
1109 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1110 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1111 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1112 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1118 if test -n "$ac_prev"; then
1119 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1120 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1121 { (exit 1); exit 1; }; }
1124 if test -n "$ac_unrecognized_opts"; then
1125 case $enable_option_checking in
1127 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1128 { (exit 1); exit 1; }; } ;;
1129 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1133 # Check all directory arguments for consistency.
1134 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1135 datadir sysconfdir sharedstatedir localstatedir includedir \
1136 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1137 libdir localedir mandir
1139 eval ac_val
=\$
$ac_var
1140 # Remove trailing slashes.
1143 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1144 eval $ac_var=\
$ac_val;;
1146 # Be sure to have absolute directory names.
1148 [\\/$
]* | ?
:[\\/]* ) continue;;
1149 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1151 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1152 { (exit 1); exit 1; }; }
1155 # There might be people who depend on the old broken behavior: `$host'
1156 # used to hold the argument of --host etc.
1157 # FIXME: To remove some day.
1160 target
=$target_alias
1162 # FIXME: To remove some day.
1163 if test "x$host_alias" != x
; then
1164 if test "x$build_alias" = x
; then
1165 cross_compiling
=maybe
1166 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1167 If a cross compiler is detected then cross compile mode will be used." >&2
1168 elif test "x$build_alias" != "x$host_alias"; then
1174 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1176 test "$silent" = yes && exec 6>/dev
/null
1179 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1180 ac_ls_di
=`ls -di .` &&
1181 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1182 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1183 { (exit 1); exit 1; }; }
1184 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1185 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1186 { (exit 1); exit 1; }; }
1189 # Find the source files, if location was not specified.
1190 if test -z "$srcdir"; then
1191 ac_srcdir_defaulted
=yes
1192 # Try the directory containing this script, then the parent directory.
1193 ac_confdir
=`$as_dirname -- "$as_myself" ||
1194 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1195 X"$as_myself" : 'X\(//\)[^/]' \| \
1196 X"$as_myself" : 'X\(//\)$' \| \
1197 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1198 $as_echo X"$as_myself" |
1199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1217 if test ! -r "$srcdir/$ac_unique_file"; then
1221 ac_srcdir_defaulted
=no
1223 if test ! -r "$srcdir/$ac_unique_file"; then
1224 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1225 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1226 { (exit 1); exit 1; }; }
1228 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1230 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1231 { (exit 1); exit 1; }; }
1233 # When building in place, set srcdir=.
1234 if test "$ac_abs_confdir" = "$ac_pwd"; then
1237 # Remove unnecessary trailing slashes from srcdir.
1238 # Double slashes in file names in object file debugging info
1239 # mess up M-x gdb in Emacs.
1241 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1243 for ac_var
in $ac_precious_vars; do
1244 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1245 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1246 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1247 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1251 # Report the --help message.
1253 if test "$ac_init_help" = "long"; then
1254 # Omit some internal or obsolete options to make the list less imposing.
1255 # This message is too long to be a string in the A/UX 3.1 sh.
1257 \`configure' configures fswebcam 20091224 to adapt to many kinds of systems.
1259 Usage: $0 [OPTION]... [VAR=VALUE]...
1261 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1262 VAR=VALUE. See below for descriptions of some of the useful variables.
1264 Defaults for the options are specified in brackets.
1267 -h, --help display this help and exit
1268 --help=short display options specific to this package
1269 --help=recursive display the short help of all the included packages
1270 -V, --version display version information and exit
1271 -q, --quiet, --silent do not print \`checking...' messages
1272 --cache-file=FILE cache test results in FILE [disabled]
1273 -C, --config-cache alias for \`--cache-file=config.cache'
1274 -n, --no-create do not create output files
1275 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1277 Installation directories:
1278 --prefix=PREFIX install architecture-independent files in PREFIX
1279 [$ac_default_prefix]
1280 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1283 By default, \`make install' will install all the files in
1284 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1285 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1286 for instance \`--prefix=\$HOME'.
1288 For better control, use the options below.
1290 Fine tuning of the installation directories:
1291 --bindir=DIR user executables [EPREFIX/bin]
1292 --sbindir=DIR system admin executables [EPREFIX/sbin]
1293 --libexecdir=DIR program executables [EPREFIX/libexec]
1294 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1295 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1296 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1297 --libdir=DIR object code libraries [EPREFIX/lib]
1298 --includedir=DIR C header files [PREFIX/include]
1299 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1300 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1301 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1302 --infodir=DIR info documentation [DATAROOTDIR/info]
1303 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1304 --mandir=DIR man documentation [DATAROOTDIR/man]
1305 --docdir=DIR documentation root [DATAROOTDIR/doc/fswebcam]
1306 --htmldir=DIR html documentation [DOCDIR]
1307 --dvidir=DIR dvi documentation [DOCDIR]
1308 --pdfdir=DIR pdf documentation [DOCDIR]
1309 --psdir=DIR ps documentation [DOCDIR]
1316 if test -n "$ac_init_help"; then
1317 case $ac_init_help in
1318 short | recursive
) echo "Configuration of fswebcam 20091224:";;
1323 --disable-option-checking ignore unrecognized
--enable/--with options
1324 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1325 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1326 --enable-32bit-buffer allow capturing of
2^
32 frames
1327 --disable-v4l1 disable V4L1 support
1328 --disable-v4l2 disable V4L2 support
1330 Some influential environment variables
:
1331 CC C compiler
command
1332 CFLAGS C compiler flags
1333 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1334 nonstandard directory
<lib dir
>
1335 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1336 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1337 you have headers
in a nonstandard directory
<include dir
>
1340 Use these variables to override the choices made by
`configure' or to help
1341 it to find libraries and programs with nonstandard names/locations.
1343 Report bugs to <phil@firestorm.cx>.
1348 if test "$ac_init_help" = "recursive"; then
1349 # If there are subdirs, report their specific --help.
1350 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1351 test -d "$ac_dir" ||
1352 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1357 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1359 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1360 # A ".." for each directory in $ac_dir_suffix.
1361 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1362 case $ac_top_builddir_sub in
1363 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1364 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1367 ac_abs_top_builddir=$ac_pwd
1368 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1369 # for backward compatibility:
1370 ac_top_builddir=$ac_top_build_prefix
1373 .) # We are building in place.
1375 ac_top_srcdir=$ac_top_builddir_sub
1376 ac_abs_top_srcdir=$ac_pwd ;;
1377 [\\/]* | ?:[\\/]* ) # Absolute name.
1378 ac_srcdir=$srcdir$ac_dir_suffix;
1379 ac_top_srcdir=$srcdir
1380 ac_abs_top_srcdir=$srcdir ;;
1382 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1383 ac_top_srcdir=$ac_top_build_prefix$srcdir
1384 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1386 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1388 cd "$ac_dir" || { ac_status=$?; continue; }
1389 # Check for guested configure.
1390 if test -f "$ac_srcdir/configure.gnu"; then
1392 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1393 elif test -f "$ac_srcdir/configure"; then
1395 $SHELL "$ac_srcdir/configure" --help=recursive
1397 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1399 cd "$ac_pwd" || { ac_status=$?; break; }
1403 test -n "$ac_init_help" && exit $ac_status
1404 if $ac_init_version; then
1406 fswebcam configure 20091224
1407 generated by GNU Autoconf 2.63
1409 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1410 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1411 This configure script is free software; the Free Software Foundation
1412 gives unlimited permission to copy, distribute and modify it.
1416 cat >config.log <<_ACEOF
1417 This file contains any messages produced by compilers while
1418 running configure, to aid debugging if configure makes a mistake.
1420 It was created by fswebcam $as_me 20091224, which was
1421 generated by GNU Autoconf 2.63. Invocation command line was
1433 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1434 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1435 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1436 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1437 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1439 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1440 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1442 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1443 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1444 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1445 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1446 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1447 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1448 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1456 test -z "$as_dir" && as_dir=.
1457 $as_echo "PATH: $as_dir"
1473 # Keep a trace of the command line.
1474 # Strip out --no-create and --no-recursion so they do not pile up.
1475 # Strip out --silent because we don't want to record it for future runs.
1476 # Also quote any args containing shell meta-characters.
1477 # Make two passes to allow for proper duplicate-argument suppression.
1481 ac_must_keep_next=false
1487 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1488 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1489 | -silent | --silent | --silen | --sile | --sil)
1492 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1495 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1497 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1498 if test $ac_must_keep_next = true; then
1499 ac_must_keep_next=false # Got value, back to normal.
1502 *=* | --config-cache | -C | -disable-* | --disable-* \
1503 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1504 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1505 | -with-* | --with-* | -without-* | --without-* | --x)
1506 case "$ac_configure_args0 " in
1507 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1510 -* ) ac_must_keep_next=true ;;
1513 ac_configure_args="$ac_configure_args '$ac_arg'"
1518 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1519 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1521 # When interrupted or exit'd, cleanup temporary files, and complete
1522 # config.log. We remove comments because anyway the quotes in there
1523 # would cause problems or look ugly.
1524 # WARNING: Use '\'' to represent an apostrophe within the trap.
1525 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1526 trap 'exit_status=$?
1527 # Save into config.log some information that might help in debugging.
1532 ## ---------------- ##
1533 ## Cache variables. ##
1534 ## ---------------- ##
1537 # The following way of writing the cache mishandles newlines in values,
1539 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1540 eval ac_val=\$$ac_var
1544 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1545 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1548 _ | IFS | as_nl) ;; #(
1549 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1550 *) $as_unset $ac_var ;;
1555 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1556 *${as_nl}ac_space=\ *)
1558 "s/'\''/'\''\\\\'\'''\''/g;
1559 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1562 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1570 ## ----------------- ##
1571 ## Output variables. ##
1572 ## ----------------- ##
1575 for ac_var in $ac_subst_vars
1577 eval ac_val=\$$ac_var
1579 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1581 $as_echo "$ac_var='\''$ac_val'\''"
1585 if test -n "$ac_subst_files"; then
1587 ## ------------------- ##
1588 ## File substitutions. ##
1589 ## ------------------- ##
1592 for ac_var in $ac_subst_files
1594 eval ac_val=\$$ac_var
1596 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1598 $as_echo "$ac_var='\''$ac_val'\''"
1603 if test -s confdefs.h; then
1613 test "$ac_signal" != 0 &&
1614 $as_echo "$as_me: caught signal $ac_signal"
1615 $as_echo "$as_me: exit $exit_status"
1617 rm -f core *.core core.conftest.* &&
1618 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1621 for ac_signal in 1 2 13 15; do
1622 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1626 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1627 rm -f -r conftest* confdefs.h
1629 # Predefined preprocessor variables.
1631 cat >>confdefs.h <<_ACEOF
1632 #define PACKAGE_NAME "$PACKAGE_NAME"
1636 cat >>confdefs.h <<_ACEOF
1637 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1641 cat >>confdefs.h <<_ACEOF
1642 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1646 cat >>confdefs.h <<_ACEOF
1647 #define PACKAGE_STRING "$PACKAGE_STRING"
1651 cat >>confdefs.h <<_ACEOF
1652 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1656 # Let the site file select an alternate cache file if it wants to.
1657 # Prefer an explicitly selected file to automatically selected ones.
1660 if test -n "$CONFIG_SITE"; then
1661 ac_site_file1=$CONFIG_SITE
1662 elif test "x$prefix" != xNONE; then
1663 ac_site_file1=$prefix/share/config.site
1664 ac_site_file2=$prefix/etc/config.site
1666 ac_site_file1=$ac_default_prefix/share/config.site
1667 ac_site_file2=$ac_default_prefix/etc/config.site
1669 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1671 test "x$ac_site_file" = xNONE && continue
1672 if test -r "$ac_site_file"; then
1673 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1674 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1675 sed 's/^/| /' "$ac_site_file" >&5
1680 if test -r "$cache_file"; then
1681 # Some versions of bash will fail to source /dev/null (special
1682 # files actually), so we avoid doing that.
1683 if test -f "$cache_file"; then
1684 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1685 $as_echo "$as_me: loading cache $cache_file" >&6;}
1687 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1688 *) . "./$cache_file";;
1692 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1693 $as_echo "$as_me: creating cache $cache_file" >&6;}
1697 # Check that the precious variables saved in the cache have kept the same
1699 ac_cache_corrupted=false
1700 for ac_var in $ac_precious_vars; do
1701 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1702 eval ac_new_set=\$ac_env_${ac_var}_set
1703 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1704 eval ac_new_val=\$ac_env_${ac_var}_value
1705 case $ac_old_set,$ac_new_set in
1707 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1708 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1709 ac_cache_corrupted=: ;;
1711 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1712 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1713 ac_cache_corrupted=: ;;
1716 if test "x$ac_old_val" != "x$ac_new_val"; then
1717 # differences in whitespace do not lead to failure.
1718 ac_old_val_w=`echo x
$ac_old_val`
1719 ac_new_val_w=`echo x
$ac_new_val`
1720 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1721 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1722 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1723 ac_cache_corrupted=:
1725 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1726 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1727 eval $ac_var=\$ac_old_val
1729 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1730 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1731 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1732 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1735 # Pass precious variables to config.status.
1736 if test "$ac_new_set" = set; then
1738 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1739 *) ac_arg=$ac_var=$ac_new_val ;;
1741 case " $ac_configure_args " in
1742 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1743 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1747 if $ac_cache_corrupted; then
1748 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1750 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1751 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1752 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1753 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1754 { (exit 1); exit 1; }; }
1782 ac_cpp='$CPP $CPPFLAGS'
1783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1789 ac_cpp='$CPP $CPPFLAGS'
1790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1793 if test -n "$ac_tool_prefix"; then
1794 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
1795 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1796 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
1797 $as_echo_n "checking
for $ac_word...
" >&6; }
1798 if test "${ac_cv_prog_CC+set}" = set; then
1799 $as_echo_n "(cached
) " >&6
1801 if test -n "$CC"; then
1802 ac_cv_prog_CC="$CC" # Let the user override the test.
1804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1808 test -z "$as_dir" && as_dir=.
1809 for ac_exec_ext in '' $ac_executable_extensions; do
1810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1811 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
1812 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1822 if test -n "$CC"; then
1823 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
1824 $as_echo "$CC" >&6; }
1826 { $as_echo "$as_me:$LINENO: result
: no
" >&5
1827 $as_echo "no
" >&6; }
1832 if test -z "$ac_cv_prog_CC"; then
1834 # Extract the first word of "gcc
", so it can be a program name with args.
1835 set dummy gcc; ac_word=$2
1836 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
1837 $as_echo_n "checking
for $ac_word...
" >&6; }
1838 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1839 $as_echo_n "(cached
) " >&6
1841 if test -n "$ac_ct_CC"; then
1842 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1848 test -z "$as_dir" && as_dir=.
1849 for ac_exec_ext in '' $ac_executable_extensions; do
1850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1851 ac_cv_prog_ac_ct_CC="gcc
"
1852 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1861 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1862 if test -n "$ac_ct_CC"; then
1863 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
1864 $as_echo "$ac_ct_CC" >&6; }
1866 { $as_echo "$as_me:$LINENO: result
: no
" >&5
1867 $as_echo "no
" >&6; }
1870 if test "x
$ac_ct_CC" = x; then
1873 case $cross_compiling:$ac_tool_warned in
1875 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
1876 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
1877 ac_tool_warned=yes ;;
1885 if test -z "$CC"; then
1886 if test -n "$ac_tool_prefix"; then
1887 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
1888 set dummy ${ac_tool_prefix}cc; ac_word=$2
1889 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
1890 $as_echo_n "checking
for $ac_word...
" >&6; }
1891 if test "${ac_cv_prog_CC+set}" = set; then
1892 $as_echo_n "(cached
) " >&6
1894 if test -n "$CC"; then
1895 ac_cv_prog_CC="$CC" # Let the user override the test.
1897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1901 test -z "$as_dir" && as_dir=.
1902 for ac_exec_ext in '' $ac_executable_extensions; do
1903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1904 ac_cv_prog_CC="${ac_tool_prefix}cc
"
1905 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1915 if test -n "$CC"; then
1916 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
1917 $as_echo "$CC" >&6; }
1919 { $as_echo "$as_me:$LINENO: result
: no
" >&5
1920 $as_echo "no
" >&6; }
1926 if test -z "$CC"; then
1927 # Extract the first word of "cc
", so it can be a program name with args.
1928 set dummy cc; ac_word=$2
1929 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
1930 $as_echo_n "checking
for $ac_word...
" >&6; }
1931 if test "${ac_cv_prog_CC+set}" = set; then
1932 $as_echo_n "(cached
) " >&6
1934 if test -n "$CC"; then
1935 ac_cv_prog_CC="$CC" # Let the user override the test.
1938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1942 test -z "$as_dir" && as_dir=.
1943 for ac_exec_ext in '' $ac_executable_extensions; do
1944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1945 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
1946 ac_prog_rejected=yes
1950 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1957 if test $ac_prog_rejected = yes; then
1958 # We found a bogon in the path, so make sure we never use it.
1959 set dummy $ac_cv_prog_CC
1961 if test $# != 0; then
1962 # We chose a different compiler from the bogus one.
1963 # However, it has the same basename, so the bogon will be chosen
1964 # first if we set CC to just the basename; use the full file name.
1966 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
1972 if test -n "$CC"; then
1973 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
1974 $as_echo "$CC" >&6; }
1976 { $as_echo "$as_me:$LINENO: result
: no
" >&5
1977 $as_echo "no
" >&6; }
1982 if test -z "$CC"; then
1983 if test -n "$ac_tool_prefix"; then
1984 for ac_prog in cl.exe
1986 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1987 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1988 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
1989 $as_echo_n "checking
for $ac_word...
" >&6; }
1990 if test "${ac_cv_prog_CC+set}" = set; then
1991 $as_echo_n "(cached
) " >&6
1993 if test -n "$CC"; then
1994 ac_cv_prog_CC="$CC" # Let the user override the test.
1996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2000 test -z "$as_dir" && as_dir=.
2001 for ac_exec_ext in '' $ac_executable_extensions; do
2002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2003 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2004 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2014 if test -n "$CC"; then
2015 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2016 $as_echo "$CC" >&6; }
2018 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2019 $as_echo "no
" >&6; }
2023 test -n "$CC" && break
2026 if test -z "$CC"; then
2028 for ac_prog in cl.exe
2030 # Extract the first word of "$ac_prog", so it can be a program name with args.
2031 set dummy $ac_prog; ac_word=$2
2032 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2033 $as_echo_n "checking
for $ac_word...
" >&6; }
2034 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2035 $as_echo_n "(cached
) " >&6
2037 if test -n "$ac_ct_CC"; then
2038 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2044 test -z "$as_dir" && as_dir=.
2045 for ac_exec_ext in '' $ac_executable_extensions; do
2046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2047 ac_cv_prog_ac_ct_CC="$ac_prog"
2048 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2057 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2058 if test -n "$ac_ct_CC"; then
2059 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2060 $as_echo "$ac_ct_CC" >&6; }
2062 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2063 $as_echo "no
" >&6; }
2067 test -n "$ac_ct_CC" && break
2070 if test "x
$ac_ct_CC" = x; then
2073 case $cross_compiling:$ac_tool_warned in
2075 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2076 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2077 ac_tool_warned=yes ;;
2086 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2088 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2089 See \`config.log' for more details.
" >&5
2090 $as_echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2091 See \
`config.log' for more details." >&2;}
2092 { (exit 1); exit 1; }; }; }
2094 # Provide some information about the compiler.
2095 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2098 { (ac_try="$ac_compiler --version >&5"
2100 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2101 *) ac_try_echo
=$ac_try;;
2103 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2104 $as_echo "$ac_try_echo") >&5
2105 (eval "$ac_compiler --version >&5") 2>&5
2107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2108 (exit $ac_status); }
2109 { (ac_try
="$ac_compiler -v >&5"
2111 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2112 *) ac_try_echo=$ac_try;;
2114 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2115 $as_echo "$ac_try_echo") >&5
2116 (eval "$ac_compiler -v >&5") 2>&5
2118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); }
2120 { (ac_try="$ac_compiler -V >&5"
2122 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2123 *) ac_try_echo
=$ac_try;;
2125 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2126 $as_echo "$ac_try_echo") >&5
2127 (eval "$ac_compiler -V >&5") 2>&5
2129 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2130 (exit $ac_status); }
2132 cat >conftest.
$ac_ext <<_ACEOF
2135 cat confdefs.h
>>conftest.
$ac_ext
2136 cat >>conftest.
$ac_ext <<_ACEOF
2137 /* end confdefs.h. */
2147 ac_clean_files_save
=$ac_clean_files
2148 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2149 # Try to create an executable without -o first, disregard a.out.
2150 # It will help us diagnose broken compilers, and finding out an intuition
2152 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2153 $as_echo_n "checking for C compiler default output file name... " >&6; }
2154 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2156 # The possible output files:
2157 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2160 for ac_file
in $ac_files
2163 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2164 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2169 if { (ac_try
="$ac_link_default"
2171 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2172 *) ac_try_echo=$ac_try;;
2174 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2175 $as_echo "$ac_try_echo") >&5
2176 (eval "$ac_link_default") 2>&5
2178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179 (exit $ac_status); }; then
2180 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2181 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2182 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2183 # so that the user can short-circuit this test for compilers unknown to
2185 for ac_file in $ac_files ''
2187 test -f "$ac_file" || continue
2189 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2192 # We found the default executable, but exeext='' is most
2196 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2198 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2200 # We set ac_cv_exeext here because the later test for it is not
2201 # safe: cross compilers may not add the suffix if given an `-o'
2202 # argument, so we may need to know it at that point already.
2203 # Even if this section looks crufty: it has the advantage of
2210 test "$ac_cv_exeext" = no && ac_cv_exeext=
2216 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2217 $as_echo "$ac_file" >&6; }
2218 if test -z "$ac_file"; then
2219 $as_echo "$as_me: failed program was:" >&5
2220 sed 's
/^
/|
/' conftest.$ac_ext >&5
2222 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2223 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2224 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2225 See \`config.log
' for more details." >&5
2226 $as_echo "$as_me: error: C compiler cannot create executables
2227 See \`config.log' for more details.
" >&2;}
2228 { (exit 77); exit 77; }; }; }
2231 ac_exeext=$ac_cv_exeext
2233 # Check that the compiler produces executables we can run. If not, either
2234 # the compiler is broken, or we cross compile.
2235 { $as_echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2236 $as_echo_n "checking whether the C compiler works...
" >&6; }
2237 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2238 # If not cross compiling, check that we can run a simple program.
2239 if test "$cross_compiling" != yes; then
2240 if { ac_try='./$ac_file'
2241 { (case "(($ac_try" in
2242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2243 *) ac_try_echo=$ac_try;;
2245 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2246 $as_echo "$ac_try_echo") >&5
2247 (eval "$ac_try") 2>&5
2249 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2250 (exit $ac_status); }; }; then
2253 if test "$cross_compiling" = maybe; then
2256 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2258 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2259 If you meant to cross compile, use \`--host'.
2260 See \
`config.log' for more details." >&5
2261 $as_echo "$as_me: error: cannot run C compiled programs.
2262 If you meant to cross compile, use \`--host'.
2263 See \`config.log' for more details.
" >&2;}
2264 { (exit 1); exit 1; }; }; }
2268 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2269 $as_echo "yes" >&6; }
2271 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2272 ac_clean_files=$ac_clean_files_save
2273 # Check that the compiler produces executables we can run. If not, either
2274 # the compiler is broken, or we cross compile.
2275 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2276 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2277 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2278 $as_echo "$cross_compiling" >&6; }
2280 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2281 $as_echo_n "checking
for suffix of executables...
" >&6; }
2282 if { (ac_try="$ac_link"
2284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2285 *) ac_try_echo=$ac_try;;
2287 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2288 $as_echo "$ac_try_echo") >&5
2289 (eval "$ac_link") 2>&5
2291 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2292 (exit $ac_status); }; then
2293 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2294 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2295 # work properly (i.e., refer to `conftest.exe'), while it won't with
2297 for ac_file in conftest.exe conftest conftest.*; do
2298 test -f "$ac_file" || continue
2300 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2301 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2307 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2309 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2310 See \`config.log' for more details.
" >&5
2311 $as_echo "$as_me: error
: cannot compute suffix of executables
: cannot compile and link
2312 See \
`config.log' for more details." >&2;}
2313 { (exit 1); exit 1; }; }; }
2316 rm -f conftest$ac_cv_exeext
2317 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2318 $as_echo "$ac_cv_exeext" >&6; }
2320 rm -f conftest.$ac_ext
2321 EXEEXT=$ac_cv_exeext
2323 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2324 $as_echo_n "checking for suffix of object files... " >&6; }
2325 if test "${ac_cv_objext+set}" = set; then
2326 $as_echo_n "(cached) " >&6
2328 cat >conftest.$ac_ext <<_ACEOF
2331 cat confdefs.h >>conftest.$ac_ext
2332 cat >>conftest.$ac_ext <<_ACEOF
2333 /* end confdefs.h. */
2343 rm -f conftest.o conftest.obj
2344 if { (ac_try="$ac_compile"
2346 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2347 *) ac_try_echo
=$ac_try;;
2349 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2350 $as_echo "$ac_try_echo") >&5
2351 (eval "$ac_compile") 2>&5
2353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }; then
2355 for ac_file
in conftest.o conftest.obj conftest.
*; do
2356 test -f "$ac_file" ||
continue;
2358 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2359 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2364 $as_echo "$as_me: failed program was:" >&5
2365 sed 's/^/| /' conftest.
$ac_ext >&5
2367 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2369 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2370 See \`config.log' for more details." >&5
2371 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2372 See \`config.log' for more details." >&2;}
2373 { (exit 1); exit 1; }; }; }
2376 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2378 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2379 $as_echo "$ac_cv_objext" >&6; }
2380 OBJEXT
=$ac_cv_objext
2382 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2383 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2384 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2385 $as_echo_n "(cached) " >&6
2387 cat >conftest.
$ac_ext <<_ACEOF
2390 cat confdefs.h
>>conftest.
$ac_ext
2391 cat >>conftest.
$ac_ext <<_ACEOF
2392 /* end confdefs.h. */
2405 rm -f conftest.
$ac_objext
2406 if { (ac_try
="$ac_compile"
2408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2409 *) ac_try_echo=$ac_try;;
2411 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2412 $as_echo "$ac_try_echo") >&5
2413 (eval "$ac_compile") 2>conftest.er1
2415 grep -v '^ *+' conftest.er1 >conftest.err
2417 cat conftest.err >&5
2418 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); } && {
2420 test -z "$ac_c_werror_flag" ||
2421 test ! -s conftest.err
2422 } && test -s conftest.$ac_objext; then
2425 $as_echo "$as_me: failed program was:" >&5
2426 sed 's/^/| /' conftest.$ac_ext >&5
2431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2432 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2435 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2436 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2437 if test $ac_compiler_gnu = yes; then
2442 ac_test_CFLAGS=${CFLAGS+set}
2443 ac_save_CFLAGS=$CFLAGS
2444 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2445 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2446 if test "${ac_cv_prog_cc_g+set}" = set; then
2447 $as_echo_n "(cached) " >&6
2449 ac_save_c_werror_flag=$ac_c_werror_flag
2450 ac_c_werror_flag=yes
2453 cat >conftest.$ac_ext <<_ACEOF
2456 cat confdefs.h >>conftest.$ac_ext
2457 cat >>conftest.$ac_ext <<_ACEOF
2458 /* end confdefs.h. */
2468 rm -f conftest.$ac_objext
2469 if { (ac_try="$ac_compile"
2471 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2472 *) ac_try_echo
=$ac_try;;
2474 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2475 $as_echo "$ac_try_echo") >&5
2476 (eval "$ac_compile") 2>conftest.er1
2478 grep -v '^ *+' conftest.er1
>conftest.err
2480 cat conftest.err
>&5
2481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); } && {
2483 test -z "$ac_c_werror_flag" ||
2484 test ! -s conftest.err
2485 } && test -s conftest.
$ac_objext; then
2488 $as_echo "$as_me: failed program was:" >&5
2489 sed 's/^/| /' conftest.
$ac_ext >&5
2492 cat >conftest.
$ac_ext <<_ACEOF
2495 cat confdefs.h
>>conftest.
$ac_ext
2496 cat >>conftest.
$ac_ext <<_ACEOF
2497 /* end confdefs.h. */
2507 rm -f conftest.
$ac_objext
2508 if { (ac_try
="$ac_compile"
2510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2511 *) ac_try_echo=$ac_try;;
2513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2514 $as_echo "$ac_try_echo") >&5
2515 (eval "$ac_compile") 2>conftest.er1
2517 grep -v '^ *+' conftest.er1 >conftest.err
2519 cat conftest.err >&5
2520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); } && {
2522 test -z "$ac_c_werror_flag" ||
2523 test ! -s conftest.err
2524 } && test -s conftest.$ac_objext; then
2527 $as_echo "$as_me: failed program was:" >&5
2528 sed 's/^/| /' conftest.$ac_ext >&5
2530 ac_c_werror_flag=$ac_save_c_werror_flag
2532 cat >conftest.$ac_ext <<_ACEOF
2535 cat confdefs.h >>conftest.$ac_ext
2536 cat >>conftest.$ac_ext <<_ACEOF
2537 /* end confdefs.h. */
2547 rm -f conftest.$ac_objext
2548 if { (ac_try="$ac_compile"
2550 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2551 *) ac_try_echo
=$ac_try;;
2553 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2554 $as_echo "$ac_try_echo") >&5
2555 (eval "$ac_compile") 2>conftest.er1
2557 grep -v '^ *+' conftest.er1
>conftest.err
2559 cat conftest.err
>&5
2560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); } && {
2562 test -z "$ac_c_werror_flag" ||
2563 test ! -s conftest.err
2564 } && test -s conftest.
$ac_objext; then
2567 $as_echo "$as_me: failed program was:" >&5
2568 sed 's/^/| /' conftest.
$ac_ext >&5
2573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2580 ac_c_werror_flag
=$ac_save_c_werror_flag
2582 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2583 $as_echo "$ac_cv_prog_cc_g" >&6; }
2584 if test "$ac_test_CFLAGS" = set; then
2585 CFLAGS
=$ac_save_CFLAGS
2586 elif test $ac_cv_prog_cc_g = yes; then
2587 if test "$GCC" = yes; then
2593 if test "$GCC" = yes; then
2599 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2600 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2601 if test "${ac_cv_prog_cc_c89+set}" = set; then
2602 $as_echo_n "(cached) " >&6
2604 ac_cv_prog_cc_c89
=no
2606 cat >conftest.
$ac_ext <<_ACEOF
2609 cat confdefs.h
>>conftest.
$ac_ext
2610 cat >>conftest.
$ac_ext <<_ACEOF
2611 /* end confdefs.h. */
2614 #include <sys/types.h>
2615 #include <sys/stat.h>
2616 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2617 struct buf { int x; };
2618 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2619 static char *e (p, i)
2625 static char *f (char * (*g) (char **, int), char **p, ...)
2630 s = g (p, va_arg (v,int));
2635 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2636 function prototypes and stuff, but not '\xHH' hex character constants.
2637 These don't provoke an error unfortunately, instead are silently treated
2638 as 'x'. The following induces an error, until -std is added to get
2639 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2640 array size at least. It's necessary to write '\x00'==0 to get something
2641 that's true only with -std. */
2642 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2644 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2645 inside strings and character constants. */
2647 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2649 int test (int i, double x);
2650 struct s1 {int (*f) (int a);};
2651 struct s2 {int (*f) (double a);};
2652 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2658 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2663 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
2664 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2666 CC
="$ac_save_CC $ac_arg"
2667 rm -f conftest.
$ac_objext
2668 if { (ac_try
="$ac_compile"
2670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2671 *) ac_try_echo=$ac_try;;
2673 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2674 $as_echo "$ac_try_echo") >&5
2675 (eval "$ac_compile") 2>conftest.er1
2677 grep -v '^ *+' conftest.er1 >conftest.err
2679 cat conftest.err >&5
2680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); } && {
2682 test -z "$ac_c_werror_flag" ||
2683 test ! -s conftest.err
2684 } && test -s conftest.$ac_objext; then
2685 ac_cv_prog_cc_c89=$ac_arg
2687 $as_echo "$as_me: failed program was:" >&5
2688 sed 's/^/| /' conftest.$ac_ext >&5
2693 rm -f core conftest.err conftest.$ac_objext
2694 test "x$ac_cv_prog_cc_c89" != "xno" && break
2696 rm -f conftest.$ac_ext
2701 case "x$ac_cv_prog_cc_c89" in
2703 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2704 $as_echo "none needed" >&6; } ;;
2706 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2707 $as_echo "unsupported" >&6; } ;;
2709 CC="$CC $ac_cv_prog_cc_c89"
2710 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2711 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2716 ac_cpp='$CPP $CPPFLAGS'
2717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2722 # Check whether --enable-32bit-buffer was given.
2723 if test "${enable_32bit_buffer+set}" = set; then
2724 enableval=$enable_32bit_buffer; BUFFER_BITS="32"
2726 cat >>confdefs.h <<\_ACEOF
2727 #define USE_32BIT_BUFFER 1
2735 SRC_OBJS="src_test.o src_raw.o src_file.o"
2737 # Check whether --enable-v4l1 was given.
2738 if test "${enable_v4l1+set}" = set; then
2739 enableval=$enable_v4l1; HAVE_V4L1="no"
2742 cat >>confdefs.h <<\_ACEOF
2746 SRC_OBJS="$SRC_OBJS src_v4l1.o"
2753 # Check whether --enable-v4l2 was given.
2754 if test "${enable_v4l2+set}" = set; then
2755 enableval=$enable_v4l2; HAVE_V4L2="no"
2758 cat >>confdefs.h <<\_ACEOF
2762 SRC_OBJS="$SRC_OBJS src_v4l2.o"
2772 ac_cpp='$CPP $CPPFLAGS'
2773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2776 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2777 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2778 # On Suns, sometimes $CPP names a directory.
2779 if test -n "$CPP" && test -d "$CPP"; then
2782 if test -z "$CPP"; then
2783 if test "${ac_cv_prog_CPP+set}" = set; then
2784 $as_echo_n "(cached) " >&6
2786 # Double quotes because CPP needs to be expanded
2787 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2790 for ac_c_preproc_warn_flag in '' yes
2792 # Use a header file that comes with gcc, so configuring glibc
2793 # with a fresh cross-compiler works.
2794 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2795 # <limits.h> exists even on freestanding compilers.
2796 # On the NeXT, cc -E runs the code through the compiler's parser,
2797 # not just through cpp. "Syntax error" is here to catch this case.
2798 cat >conftest.$ac_ext <<_ACEOF
2801 cat confdefs.h >>conftest.$ac_ext
2802 cat >>conftest.$ac_ext <<_ACEOF
2803 /* end confdefs.h. */
2805 # include <limits.h>
2807 # include <assert.h>
2811 if { (ac_try="$ac_cpp conftest.$ac_ext"
2813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2814 *) ac_try_echo
=$ac_try;;
2816 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2817 $as_echo "$ac_try_echo") >&5
2818 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2820 grep -v '^ *+' conftest.er1
>conftest.err
2822 cat conftest.err
>&5
2823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); } >/dev
/null
&& {
2825 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2826 test ! -s conftest.err
2830 $as_echo "$as_me: failed program was:" >&5
2831 sed 's/^/| /' conftest.
$ac_ext >&5
2833 # Broken: fails on valid input.
2837 rm -f conftest.err conftest.
$ac_ext
2839 # OK, works on sane cases. Now check whether nonexistent headers
2840 # can be detected and how.
2841 cat >conftest.
$ac_ext <<_ACEOF
2844 cat confdefs.h
>>conftest.
$ac_ext
2845 cat >>conftest.
$ac_ext <<_ACEOF
2846 /* end confdefs.h. */
2847 #include <ac_nonexistent.h>
2849 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2852 *) ac_try_echo=$ac_try;;
2854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2855 $as_echo "$ac_try_echo") >&5
2856 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2858 grep -v '^ *+' conftest.er1 >conftest.err
2860 cat conftest.err >&5
2861 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); } >/dev/null && {
2863 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2864 test ! -s conftest.err
2866 # Broken: success on invalid input.
2869 $as_echo "$as_me: failed program was:" >&5
2870 sed 's/^/| /' conftest.$ac_ext >&5
2872 # Passes both tests.
2877 rm -f conftest.err conftest.$ac_ext
2880 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2881 rm -f conftest.err conftest.
$ac_ext
2882 if $ac_preproc_ok; then
2894 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
2895 $as_echo "$CPP" >&6; }
2897 for ac_c_preproc_warn_flag
in '' yes
2899 # Use a header file that comes with gcc, so configuring glibc
2900 # with a fresh cross-compiler works.
2901 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2902 # <limits.h> exists even on freestanding compilers.
2903 # On the NeXT, cc -E runs the code through the compiler's parser,
2904 # not just through cpp. "Syntax error" is here to catch this case.
2905 cat >conftest.
$ac_ext <<_ACEOF
2908 cat confdefs.h
>>conftest.
$ac_ext
2909 cat >>conftest.
$ac_ext <<_ACEOF
2910 /* end confdefs.h. */
2912 # include <limits.h>
2914 # include <assert.h>
2918 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2920 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2921 *) ac_try_echo=$ac_try;;
2923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2924 $as_echo "$ac_try_echo") >&5
2925 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2927 grep -v '^ *+' conftest.er1 >conftest.err
2929 cat conftest.err >&5
2930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); } >/dev/null && {
2932 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2933 test ! -s conftest.err
2937 $as_echo "$as_me: failed program was:" >&5
2938 sed 's/^/| /' conftest.$ac_ext >&5
2940 # Broken: fails on valid input.
2944 rm -f conftest.err conftest.$ac_ext
2946 # OK, works on sane cases. Now check whether nonexistent headers
2947 # can be detected and how.
2948 cat >conftest.$ac_ext <<_ACEOF
2951 cat confdefs.h >>conftest.$ac_ext
2952 cat >>conftest.$ac_ext <<_ACEOF
2953 /* end confdefs.h. */
2954 #include <ac_nonexistent.h>
2956 if { (ac_try="$ac_cpp conftest.$ac_ext"
2958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2959 *) ac_try_echo
=$ac_try;;
2961 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2962 $as_echo "$ac_try_echo") >&5
2963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2965 grep -v '^ *+' conftest.er1
>conftest.err
2967 cat conftest.err
>&5
2968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); } >/dev
/null
&& {
2970 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2971 test ! -s conftest.err
2973 # Broken: success on invalid input.
2976 $as_echo "$as_me: failed program was:" >&5
2977 sed 's/^/| /' conftest.
$ac_ext >&5
2979 # Passes both tests.
2984 rm -f conftest.err conftest.
$ac_ext
2987 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2988 rm -f conftest.err conftest.
$ac_ext
2989 if $ac_preproc_ok; then
2992 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2994 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2995 See \`config.log' for more details." >&5
2996 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2997 See \`config.log' for more details." >&2;}
2998 { (exit 1); exit 1; }; }; }
3002 ac_cpp
='$CPP $CPPFLAGS'
3003 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3004 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3005 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3008 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3009 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3010 if test "${ac_cv_path_GREP+set}" = set; then
3011 $as_echo_n "(cached) " >&6
3013 if test -z "$GREP"; then
3014 ac_path_GREP_found
=false
3015 # Loop through the user's path and test for each of PROGNAME-LIST
3016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3017 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3020 test -z "$as_dir" && as_dir
=.
3021 for ac_prog
in grep ggrep
; do
3022 for ac_exec_ext
in '' $ac_executable_extensions; do
3023 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3024 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3025 # Check for GNU ac_path_GREP and select it if it is found.
3026 # Check for GNU $ac_path_GREP
3027 case `"$ac_path_GREP" --version 2>&1` in
3029 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3032 $as_echo_n 0123456789 >"conftest.in"
3035 cat "conftest.in" "conftest.in" >"conftest.tmp"
3036 mv "conftest.tmp" "conftest.in"
3037 cp "conftest.in" "conftest.nl"
3038 $as_echo 'GREP' >> "conftest.nl"
3039 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3040 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3041 ac_count
=`expr $ac_count + 1`
3042 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3043 # Best one so far, save it but keep looking for a better one
3044 ac_cv_path_GREP
="$ac_path_GREP"
3045 ac_path_GREP_max
=$ac_count
3047 # 10*(2^10) chars as input seems more than enough
3048 test $ac_count -gt 10 && break
3050 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3053 $ac_path_GREP_found && break 3
3058 if test -z "$ac_cv_path_GREP"; then
3059 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3060 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3061 { (exit 1); exit 1; }; }
3064 ac_cv_path_GREP
=$GREP
3068 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3069 $as_echo "$ac_cv_path_GREP" >&6; }
3070 GREP
="$ac_cv_path_GREP"
3073 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3074 $as_echo_n "checking for egrep... " >&6; }
3075 if test "${ac_cv_path_EGREP+set}" = set; then
3076 $as_echo_n "(cached) " >&6
3078 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3079 then ac_cv_path_EGREP
="$GREP -E"
3081 if test -z "$EGREP"; then
3082 ac_path_EGREP_found
=false
3083 # Loop through the user's path and test for each of PROGNAME-LIST
3084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3085 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3088 test -z "$as_dir" && as_dir
=.
3089 for ac_prog
in egrep; do
3090 for ac_exec_ext
in '' $ac_executable_extensions; do
3091 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3092 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3093 # Check for GNU ac_path_EGREP and select it if it is found.
3094 # Check for GNU $ac_path_EGREP
3095 case `"$ac_path_EGREP" --version 2>&1` in
3097 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3100 $as_echo_n 0123456789 >"conftest.in"
3103 cat "conftest.in" "conftest.in" >"conftest.tmp"
3104 mv "conftest.tmp" "conftest.in"
3105 cp "conftest.in" "conftest.nl"
3106 $as_echo 'EGREP' >> "conftest.nl"
3107 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3108 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3109 ac_count
=`expr $ac_count + 1`
3110 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3111 # Best one so far, save it but keep looking for a better one
3112 ac_cv_path_EGREP
="$ac_path_EGREP"
3113 ac_path_EGREP_max
=$ac_count
3115 # 10*(2^10) chars as input seems more than enough
3116 test $ac_count -gt 10 && break
3118 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3121 $ac_path_EGREP_found && break 3
3126 if test -z "$ac_cv_path_EGREP"; then
3127 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3128 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3129 { (exit 1); exit 1; }; }
3132 ac_cv_path_EGREP
=$EGREP
3137 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3138 $as_echo "$ac_cv_path_EGREP" >&6; }
3139 EGREP
="$ac_cv_path_EGREP"
3142 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3143 $as_echo_n "checking for ANSI C header files... " >&6; }
3144 if test "${ac_cv_header_stdc+set}" = set; then
3145 $as_echo_n "(cached) " >&6
3147 cat >conftest.
$ac_ext <<_ACEOF
3150 cat confdefs.h
>>conftest.
$ac_ext
3151 cat >>conftest.
$ac_ext <<_ACEOF
3152 /* end confdefs.h. */
3166 rm -f conftest.
$ac_objext
3167 if { (ac_try
="$ac_compile"
3169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3170 *) ac_try_echo=$ac_try;;
3172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3173 $as_echo "$ac_try_echo") >&5
3174 (eval "$ac_compile") 2>conftest.er1
3176 grep -v '^ *+' conftest.er1 >conftest.err
3178 cat conftest.err >&5
3179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180 (exit $ac_status); } && {
3181 test -z "$ac_c_werror_flag" ||
3182 test ! -s conftest.err
3183 } && test -s conftest.$ac_objext; then
3184 ac_cv_header_stdc=yes
3186 $as_echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.$ac_ext >&5
3189 ac_cv_header_stdc=no
3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3194 if test $ac_cv_header_stdc = yes; then
3195 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3196 cat >conftest.$ac_ext <<_ACEOF
3199 cat confdefs.h >>conftest.$ac_ext
3200 cat >>conftest.$ac_ext <<_ACEOF
3201 /* end confdefs.h. */
3205 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3206 $EGREP "memchr" >/dev/null 2>&1; then
3209 ac_cv_header_stdc=no
3215 if test $ac_cv_header_stdc = yes; then
3216 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3217 cat >conftest.$ac_ext <<_ACEOF
3220 cat confdefs.h >>conftest.$ac_ext
3221 cat >>conftest.$ac_ext <<_ACEOF
3222 /* end confdefs.h. */
3226 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3227 $EGREP "free" >/dev/null 2>&1; then
3230 ac_cv_header_stdc=no
3236 if test $ac_cv_header_stdc = yes; then
3237 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3238 if test "$cross_compiling" = yes; then
3241 cat >conftest.$ac_ext <<_ACEOF
3244 cat confdefs.h >>conftest.$ac_ext
3245 cat >>conftest.$ac_ext <<_ACEOF
3246 /* end confdefs.h. */
3249 #if ((' ' & 0x0FF) == 0x020)
3250 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3251 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3253 # define ISLOWER(c) \
3254 (('a' <= (c) && (c) <= 'i') \
3255 || ('j' <= (c) && (c) <= 'r') \
3256 || ('s' <= (c) && (c) <= 'z'))
3257 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3260 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3265 for (i = 0; i < 256; i++)
3266 if (XOR (islower (i), ISLOWER (i))
3267 || toupper (i) != TOUPPER (i))
3272 rm -f conftest$ac_exeext
3273 if { (ac_try="$ac_link"
3275 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3276 *) ac_try_echo
=$ac_try;;
3278 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3279 $as_echo "$ac_try_echo") >&5
3280 (eval "$ac_link") 2>&5
3282 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3284 { (case "(($ac_try" in
3285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3286 *) ac_try_echo=$ac_try;;
3288 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3289 $as_echo "$ac_try_echo") >&5
3290 (eval "$ac_try") 2>&5
3292 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293 (exit $ac_status); }; }; then
3296 $as_echo "$as_me: program exited with status $ac_status" >&5
3297 $as_echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.$ac_ext >&5
3301 ac_cv_header_stdc=no
3303 rm -rf conftest.dSYM
3304 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3310 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3311 $as_echo "$ac_cv_header_stdc" >&6; }
3312 if test $ac_cv_header_stdc = yes; then
3314 cat >>confdefs.h <<\_ACEOF
3315 #define STDC_HEADERS 1
3320 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3330 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3331 inttypes.h stdint.h unistd.h
3333 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3334 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3335 $as_echo_n "checking for $ac_header... " >&6; }
3336 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3337 $as_echo_n "(cached) " >&6
3339 cat >conftest.$ac_ext <<_ACEOF
3342 cat confdefs.h >>conftest.$ac_ext
3343 cat >>conftest.$ac_ext <<_ACEOF
3344 /* end confdefs.h. */
3345 $ac_includes_default
3347 #include <$ac_header>
3349 rm -f conftest.$ac_objext
3350 if { (ac_try="$ac_compile"
3352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3353 *) ac_try_echo
=$ac_try;;
3355 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3356 $as_echo "$ac_try_echo") >&5
3357 (eval "$ac_compile") 2>conftest.er1
3359 grep -v '^ *+' conftest.er1
>conftest.err
3361 cat conftest.err
>&5
3362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363 (exit $ac_status); } && {
3364 test -z "$ac_c_werror_flag" ||
3365 test ! -s conftest.err
3366 } && test -s conftest.
$ac_objext; then
3367 eval "$as_ac_Header=yes"
3369 $as_echo "$as_me: failed program was:" >&5
3370 sed 's/^/| /' conftest.
$ac_ext >&5
3372 eval "$as_ac_Header=no"
3375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3377 ac_res
=`eval 'as_val=${'$as_ac_Header'}
3378 $as_echo "$as_val"'`
3379 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3380 $as_echo "$ac_res" >&6; }
3381 as_val
=`eval 'as_val=${'$as_ac_Header'}
3382 $as_echo "$as_val"'`
3383 if test "x$as_val" = x
""yes; then
3384 cat >>confdefs.h
<<_ACEOF
3385 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3395 for ac_header
in stdlib.h unistd.h
3397 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3398 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3399 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3400 $as_echo_n "checking for $ac_header... " >&6; }
3401 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3402 $as_echo_n "(cached) " >&6
3404 ac_res
=`eval 'as_val=${'$as_ac_Header'}
3405 $as_echo "$as_val"'`
3406 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3407 $as_echo "$ac_res" >&6; }
3409 # Is the header compilable?
3410 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
3411 $as_echo_n "checking $ac_header usability... " >&6; }
3412 cat >conftest.
$ac_ext <<_ACEOF
3415 cat confdefs.h
>>conftest.
$ac_ext
3416 cat >>conftest.
$ac_ext <<_ACEOF
3417 /* end confdefs.h. */
3418 $ac_includes_default
3419 #include <$ac_header>
3421 rm -f conftest.
$ac_objext
3422 if { (ac_try
="$ac_compile"
3424 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3425 *) ac_try_echo=$ac_try;;
3427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3428 $as_echo "$ac_try_echo") >&5
3429 (eval "$ac_compile") 2>conftest.er1
3431 grep -v '^ *+' conftest.er1 >conftest.err
3433 cat conftest.err >&5
3434 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435 (exit $ac_status); } && {
3436 test -z "$ac_c_werror_flag" ||
3437 test ! -s conftest.err
3438 } && test -s conftest.$ac_objext; then
3439 ac_header_compiler=yes
3441 $as_echo "$as_me: failed program was:" >&5
3442 sed 's/^/| /' conftest.$ac_ext >&5
3444 ac_header_compiler=no
3447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3448 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3449 $as_echo "$ac_header_compiler" >&6; }
3451 # Is the header present?
3452 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
3453 $as_echo_n "checking $ac_header presence... " >&6; }
3454 cat >conftest.$ac_ext <<_ACEOF
3457 cat confdefs.h >>conftest.$ac_ext
3458 cat >>conftest.$ac_ext <<_ACEOF
3459 /* end confdefs.h. */
3460 #include <$ac_header>
3462 if { (ac_try="$ac_cpp conftest.$ac_ext"
3464 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3465 *) ac_try_echo
=$ac_try;;
3467 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3468 $as_echo "$ac_try_echo") >&5
3469 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3471 grep -v '^ *+' conftest.er1
>conftest.err
3473 cat conftest.err
>&5
3474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); } >/dev
/null
&& {
3476 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3477 test ! -s conftest.err
3479 ac_header_preproc
=yes
3481 $as_echo "$as_me: failed program was:" >&5
3482 sed 's/^/| /' conftest.
$ac_ext >&5
3484 ac_header_preproc
=no
3487 rm -f conftest.err conftest.
$ac_ext
3488 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3489 $as_echo "$ac_header_preproc" >&6; }
3491 # So? What about this header?
3492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3494 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3495 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3496 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3497 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3498 ac_header_preproc
=yes
3501 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3502 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3503 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3504 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3505 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3506 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3507 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3508 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3509 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3510 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3511 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3512 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3514 ## -------------------------------- ##
3515 ## Report this to phil@firestorm.cx ##
3516 ## -------------------------------- ##
3518 ) |
sed "s/^/$as_me: WARNING: /" >&2
3521 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3522 $as_echo_n "checking for $ac_header... " >&6; }
3523 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3524 $as_echo_n "(cached) " >&6
3526 eval "$as_ac_Header=\$ac_header_preproc"
3528 ac_res
=`eval 'as_val=${'$as_ac_Header'}
3529 $as_echo "$as_val"'`
3530 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3531 $as_echo "$ac_res" >&6; }
3534 as_val
=`eval 'as_val=${'$as_ac_Header'}
3535 $as_echo "$as_val"'`
3536 if test "x$as_val" = x
""yes; then
3537 cat >>confdefs.h
<<_ACEOF
3538 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3546 for ac_func
in getpagesize
3548 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3549 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
3550 $as_echo_n "checking for $ac_func... " >&6; }
3551 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
3552 $as_echo_n "(cached) " >&6
3554 cat >conftest.
$ac_ext <<_ACEOF
3557 cat confdefs.h
>>conftest.
$ac_ext
3558 cat >>conftest.
$ac_ext <<_ACEOF
3559 /* end confdefs.h. */
3560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3562 #define $ac_func innocuous_$ac_func
3564 /* System header to define __stub macros and hopefully few prototypes,
3565 which can conflict with char $ac_func (); below.
3566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3567 <limits.h> exists even on freestanding compilers. */
3570 # include <limits.h>
3572 # include <assert.h>
3577 /* Override any GCC internal prototype to avoid an error.
3578 Use char because int might match the return type of a GCC
3579 builtin and then its argument prototype would still apply. */
3584 /* The GNU C library defines this for functions which it implements
3585 to always fail with ENOSYS. Some functions are actually named
3586 something starting with __ and the normal name is an alias. */
3587 #if defined __stub_$ac_func || defined __stub___$ac_func
3599 rm -f conftest.
$ac_objext conftest
$ac_exeext
3600 if { (ac_try
="$ac_link"
3602 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3603 *) ac_try_echo=$ac_try;;
3605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3606 $as_echo "$ac_try_echo") >&5
3607 (eval "$ac_link") 2>conftest.er1
3609 grep -v '^ *+' conftest.er1 >conftest.err
3611 cat conftest.err >&5
3612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); } && {
3614 test -z "$ac_c_werror_flag" ||
3615 test ! -s conftest.err
3616 } && test -s conftest$ac_exeext && {
3617 test "$cross_compiling" = yes ||
3618 $as_test_x conftest$ac_exeext
3620 eval "$as_ac_var=yes"
3622 $as_echo "$as_me: failed program was:" >&5
3623 sed 's/^/| /' conftest.$ac_ext >&5
3625 eval "$as_ac_var=no"
3628 rm -rf conftest.dSYM
3629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3630 conftest$ac_exeext conftest.$ac_ext
3632 ac_res=`eval 'as_val=${'$as_ac_var'}
3633 $as_echo "$as_val"'`
3634 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3635 $as_echo "$ac_res" >&6; }
3636 as_val=`eval 'as_val=${'$as_ac_var'}
3637 $as_echo "$as_val"'`
3638 if test "x$as_val" = x""yes; then
3639 cat >>confdefs.h <<_ACEOF
3640 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
3646 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5
3647 $as_echo_n "checking for working mmap... " >&6; }
3648 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
3649 $as_echo_n "(cached) " >&6
3651 if test "$cross_compiling" = yes; then
3652 ac_cv_func_mmap_fixed_mapped=no
3654 cat >conftest.$ac_ext <<_ACEOF
3657 cat confdefs.h >>conftest.$ac_ext
3658 cat >>conftest.$ac_ext <<_ACEOF
3659 /* end confdefs.h. */
3660 $ac_includes_default
3661 /* malloc might have been renamed as rpl_malloc. */
3664 /* Thanks to Mike Haertel and Jim Avera for this test.
3665 Here is a matrix of mmap possibilities:
3666 mmap private not fixed
3667 mmap private fixed at somewhere currently unmapped
3668 mmap private fixed at somewhere already mapped
3669 mmap shared not fixed
3670 mmap shared fixed at somewhere currently unmapped
3671 mmap shared fixed at somewhere already mapped
3672 For private mappings, we should verify that changes cannot be read()
3673 back from the file, nor mmap's back from the file at a different
3674 address. (There have been systems where private was not correctly
3675 implemented like the infamous i386 svr4.0, and systems where the
3676 VM page cache was not coherent with the file system buffer cache
3677 like early versions of FreeBSD and possibly contemporary NetBSD.)
3678 For shared mappings, we should conversely verify that changes get
3679 propagated back to all the places they're supposed to be.
3681 Grep wants private fixed already mapped.
3682 The main things grep needs to know about mmap are:
3683 * does it exist and is it safe to write into the mmap'd area
3684 * how to use it (BSD variants) */
3687 #include <sys/mman.h>
3689 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
3693 /* This mess was copied from the GNU getpagesize.h. */
3694 #ifndef HAVE_GETPAGESIZE
3695 /* Assume that all systems that can run configure have sys/param.h. */
3696 # ifndef HAVE_SYS_PARAM_H
3697 # define HAVE_SYS_PARAM_H 1
3700 # ifdef _SC_PAGESIZE
3701 # define getpagesize() sysconf(_SC_PAGESIZE)
3702 # else /* no _SC_PAGESIZE */
3703 # ifdef HAVE_SYS_PARAM_H
3704 # include <sys/param.h>
3705 # ifdef EXEC_PAGESIZE
3706 # define getpagesize() EXEC_PAGESIZE
3707 # else /* no EXEC_PAGESIZE */
3709 # define getpagesize() NBPG * CLSIZE
3712 # endif /* no CLSIZE */
3713 # else /* no NBPG */
3715 # define getpagesize() NBPC
3716 # else /* no NBPC */
3718 # define getpagesize() PAGESIZE
3719 # endif /* PAGESIZE */
3720 # endif /* no NBPC */
3721 # endif /* no NBPG */
3722 # endif /* no EXEC_PAGESIZE */
3723 # else /* no HAVE_SYS_PARAM_H */
3724 # define getpagesize() 8192 /* punt totally */
3725 # endif /* no HAVE_SYS_PARAM_H */
3726 # endif /* no _SC_PAGESIZE */
3728 #endif /* no HAVE_GETPAGESIZE */
3733 char *data, *data2, *data3;
3737 pagesize = getpagesize ();
3739 /* First, make a file with some known garbage in it. */
3740 data = (char *) malloc (pagesize);
3743 for (i = 0; i < pagesize; ++i)
3744 *(data + i) = rand ();
3746 fd = creat ("conftest.mmap", 0600);
3749 if (write (fd, data, pagesize) != pagesize)
3753 /* Next, try to mmap the file at a fixed address which already has
3754 something else allocated at it. If we can, also make sure that
3755 we see the same garbage. */
3756 fd = open ("conftest.mmap", O_RDWR);
3759 data2 = (char *) malloc (2 * pagesize);
3762 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
3763 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
3764 MAP_PRIVATE | MAP_FIXED, fd, 0L))
3766 for (i = 0; i < pagesize; ++i)
3767 if (*(data + i) != *(data2 + i))
3770 /* Finally, make sure that changes to the mapped area do not
3771 percolate back to the file as seen by read(). (This is a bug on
3772 some variants of i386 svr4.0.) */
3773 for (i = 0; i < pagesize; ++i)
3774 *(data2 + i) = *(data2 + i) + 1;
3775 data3 = (char *) malloc (pagesize);
3778 if (read (fd, data3, pagesize) != pagesize)
3780 for (i = 0; i < pagesize; ++i)
3781 if (*(data + i) != *(data3 + i))
3787 rm -f conftest$ac_exeext
3788 if { (ac_try="$ac_link"
3790 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3791 *) ac_try_echo
=$ac_try;;
3793 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3794 $as_echo "$ac_try_echo") >&5
3795 (eval "$ac_link") 2>&5
3797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3798 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3799 { (case "(($ac_try" in
3800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3801 *) ac_try_echo=$ac_try;;
3803 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3804 $as_echo "$ac_try_echo") >&5
3805 (eval "$ac_try") 2>&5
3807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); }; }; then
3809 ac_cv_func_mmap_fixed_mapped=yes
3811 $as_echo "$as_me: program exited with status $ac_status" >&5
3812 $as_echo "$as_me: failed program was:" >&5
3813 sed 's/^/| /' conftest.$ac_ext >&5
3816 ac_cv_func_mmap_fixed_mapped=no
3818 rm -rf conftest.dSYM
3819 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3824 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
3825 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
3826 if test $ac_cv_func_mmap_fixed_mapped = yes; then
3828 cat >>confdefs.h <<\_ACEOF
3836 { $as_echo "$as_me:$LINENO: checking for gdImageCreateTrueColor in -lgd" >&5
3837 $as_echo_n "checking for gdImageCreateTrueColor in -lgd... " >&6; }
3838 if test "${ac_cv_lib_gd_gdImageCreateTrueColor+set}" = set; then
3839 $as_echo_n "(cached) " >&6
3841 ac_check_lib_save_LIBS=$LIBS
3843 cat >conftest.$ac_ext <<_ACEOF
3846 cat confdefs.h >>conftest.$ac_ext
3847 cat >>conftest.$ac_ext <<_ACEOF
3848 /* end confdefs.h. */
3850 /* Override any GCC internal prototype to avoid an error.
3851 Use char because int might match the return type of a GCC
3852 builtin and then its argument prototype would still apply. */
3856 char gdImageCreateTrueColor ();
3860 return gdImageCreateTrueColor ();
3865 rm -f conftest.$ac_objext conftest$ac_exeext
3866 if { (ac_try="$ac_link"
3868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3869 *) ac_try_echo
=$ac_try;;
3871 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3872 $as_echo "$ac_try_echo") >&5
3873 (eval "$ac_link") 2>conftest.er1
3875 grep -v '^ *+' conftest.er1
>conftest.err
3877 cat conftest.err
>&5
3878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); } && {
3880 test -z "$ac_c_werror_flag" ||
3881 test ! -s conftest.err
3882 } && test -s conftest
$ac_exeext && {
3883 test "$cross_compiling" = yes ||
3884 $as_test_x conftest
$ac_exeext
3886 ac_cv_lib_gd_gdImageCreateTrueColor
=yes
3888 $as_echo "$as_me: failed program was:" >&5
3889 sed 's/^/| /' conftest.
$ac_ext >&5
3891 ac_cv_lib_gd_gdImageCreateTrueColor
=no
3894 rm -rf conftest.dSYM
3895 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3896 conftest
$ac_exeext conftest.
$ac_ext
3897 LIBS
=$ac_check_lib_save_LIBS
3899 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImageCreateTrueColor" >&5
3900 $as_echo "$ac_cv_lib_gd_gdImageCreateTrueColor" >&6; }
3901 if test "x$ac_cv_lib_gd_gdImageCreateTrueColor" = x
""yes; then
3905 if test "$HAVE_GD" != "yes"; then
3906 { { $as_echo "$as_me:$LINENO: error: GD graphics library not found" >&5
3907 $as_echo "$as_me: error: GD graphics library not found" >&2;}
3908 { (exit 1); exit 1; }; }
3910 LDFLAGS
="-lgd $LDFLAGS"
3913 { $as_echo "$as_me:$LINENO: checking for gdImageStringFT in -lgd" >&5
3914 $as_echo_n "checking for gdImageStringFT in -lgd... " >&6; }
3915 if test "${ac_cv_lib_gd_gdImageStringFT+set}" = set; then
3916 $as_echo_n "(cached) " >&6
3918 ac_check_lib_save_LIBS
=$LIBS
3920 cat >conftest.
$ac_ext <<_ACEOF
3923 cat confdefs.h
>>conftest.
$ac_ext
3924 cat >>conftest.
$ac_ext <<_ACEOF
3925 /* end confdefs.h. */
3927 /* Override any GCC internal prototype to avoid an error.
3928 Use char because int might match the return type of a GCC
3929 builtin and then its argument prototype would still apply. */
3933 char gdImageStringFT ();
3937 return gdImageStringFT ();
3942 rm -f conftest.
$ac_objext conftest
$ac_exeext
3943 if { (ac_try
="$ac_link"
3945 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3946 *) ac_try_echo=$ac_try;;
3948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3949 $as_echo "$ac_try_echo") >&5
3950 (eval "$ac_link") 2>conftest.er1
3952 grep -v '^ *+' conftest.er1 >conftest.err
3954 cat conftest.err >&5
3955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); } && {
3957 test -z "$ac_c_werror_flag" ||
3958 test ! -s conftest.err
3959 } && test -s conftest$ac_exeext && {
3960 test "$cross_compiling" = yes ||
3961 $as_test_x conftest$ac_exeext
3963 ac_cv_lib_gd_gdImageStringFT=yes
3965 $as_echo "$as_me: failed program was:" >&5
3966 sed 's/^/| /' conftest.$ac_ext >&5
3968 ac_cv_lib_gd_gdImageStringFT=no
3971 rm -rf conftest.dSYM
3972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3973 conftest$ac_exeext conftest.$ac_ext
3974 LIBS=$ac_check_lib_save_LIBS
3976 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImageStringFT" >&5
3977 $as_echo "$ac_cv_lib_gd_gdImageStringFT" >&6; }
3978 if test "x$ac_cv_lib_gd_gdImageStringFT" = x""yes; then
3982 if test "$HAVE_FT2" != "yes"; then
3983 { { $as_echo "$as_me:$LINENO: error: GD does not have FreeType2 font support!" >&5
3984 $as_echo "$as_me: error: GD does not have FreeType2 font support!" >&2;}
3985 { (exit 1); exit 1; }; }
3988 { $as_echo "$as_me:$LINENO: checking for gdImageJpeg in -lgd" >&5
3989 $as_echo_n "checking for gdImageJpeg in -lgd... " >&6; }
3990 if test "${ac_cv_lib_gd_gdImageJpeg+set}" = set; then
3991 $as_echo_n "(cached) " >&6
3993 ac_check_lib_save_LIBS=$LIBS
3995 cat >conftest.$ac_ext <<_ACEOF
3998 cat confdefs.h >>conftest.$ac_ext
3999 cat >>conftest.$ac_ext <<_ACEOF
4000 /* end confdefs.h. */
4002 /* Override any GCC internal prototype to avoid an error.
4003 Use char because int might match the return type of a GCC
4004 builtin and then its argument prototype would still apply. */
4008 char gdImageJpeg ();
4012 return gdImageJpeg ();
4017 rm -f conftest.$ac_objext conftest$ac_exeext
4018 if { (ac_try="$ac_link"
4020 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4021 *) ac_try_echo
=$ac_try;;
4023 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4024 $as_echo "$ac_try_echo") >&5
4025 (eval "$ac_link") 2>conftest.er1
4027 grep -v '^ *+' conftest.er1
>conftest.err
4029 cat conftest.err
>&5
4030 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } && {
4032 test -z "$ac_c_werror_flag" ||
4033 test ! -s conftest.err
4034 } && test -s conftest
$ac_exeext && {
4035 test "$cross_compiling" = yes ||
4036 $as_test_x conftest
$ac_exeext
4038 ac_cv_lib_gd_gdImageJpeg
=yes
4040 $as_echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.
$ac_ext >&5
4043 ac_cv_lib_gd_gdImageJpeg
=no
4046 rm -rf conftest.dSYM
4047 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4048 conftest
$ac_exeext conftest.
$ac_ext
4049 LIBS
=$ac_check_lib_save_LIBS
4051 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImageJpeg" >&5
4052 $as_echo "$ac_cv_lib_gd_gdImageJpeg" >&6; }
4053 if test "x$ac_cv_lib_gd_gdImageJpeg" = x
""yes; then
4057 if test "$HAVE_JPEG" != "yes"; then
4058 { { $as_echo "$as_me:$LINENO: error: GD does not have JPEG support!" >&5
4059 $as_echo "$as_me: error: GD does not have JPEG support!" >&2;}
4060 { (exit 1); exit 1; }; }
4063 { $as_echo "$as_me:$LINENO: checking for gdImagePngEx in -lgd" >&5
4064 $as_echo_n "checking for gdImagePngEx in -lgd... " >&6; }
4065 if test "${ac_cv_lib_gd_gdImagePngEx+set}" = set; then
4066 $as_echo_n "(cached) " >&6
4068 ac_check_lib_save_LIBS
=$LIBS
4070 cat >conftest.
$ac_ext <<_ACEOF
4073 cat confdefs.h
>>conftest.
$ac_ext
4074 cat >>conftest.
$ac_ext <<_ACEOF
4075 /* end confdefs.h. */
4077 /* Override any GCC internal prototype to avoid an error.
4078 Use char because int might match the return type of a GCC
4079 builtin and then its argument prototype would still apply. */
4083 char gdImagePngEx ();
4087 return gdImagePngEx ();
4092 rm -f conftest.
$ac_objext conftest
$ac_exeext
4093 if { (ac_try
="$ac_link"
4095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4096 *) ac_try_echo=$ac_try;;
4098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4099 $as_echo "$ac_try_echo") >&5
4100 (eval "$ac_link") 2>conftest.er1
4102 grep -v '^ *+' conftest.er1 >conftest.err
4104 cat conftest.err >&5
4105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106 (exit $ac_status); } && {
4107 test -z "$ac_c_werror_flag" ||
4108 test ! -s conftest.err
4109 } && test -s conftest$ac_exeext && {
4110 test "$cross_compiling" = yes ||
4111 $as_test_x conftest$ac_exeext
4113 ac_cv_lib_gd_gdImagePngEx=yes
4115 $as_echo "$as_me: failed program was:" >&5
4116 sed 's/^/| /' conftest.$ac_ext >&5
4118 ac_cv_lib_gd_gdImagePngEx=no
4121 rm -rf conftest.dSYM
4122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4123 conftest$ac_exeext conftest.$ac_ext
4124 LIBS=$ac_check_lib_save_LIBS
4126 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImagePngEx" >&5
4127 $as_echo "$ac_cv_lib_gd_gdImagePngEx" >&6; }
4128 if test "x$ac_cv_lib_gd_gdImagePngEx" = x""yes; then
4132 if test "$HAVE_PNG" != "yes"; then
4133 { { $as_echo "$as_me:$LINENO: error: GD does not have PNG support!" >&5
4134 $as_echo "$as_me: error: GD does not have PNG support!" >&2;}
4135 { (exit 1); exit 1; }; }
4138 # The V4Lx headers are now included along with the source.
4140 #AC_CHECK_HEADER(linux/videodev.h, HAVE_V4L1="yes",,)
4141 #if test "$HAVE_V4L1" == "yes"; then
4142 # AC_DEFINE([HAVE_V4L1], [1], [V4L1 source support.])
4145 #AC_CHECK_HEADERS([linux/videodev2.h], HAVE_V4L2="yes",,[
4146 ##include <sys/types.h>
4147 ##include <sys/time.h>
4148 ##include <linux/videodev.h>
4150 #if test "$HAVE_V4L2" == "yes"; then
4151 # AC_DEFINE([HAVE_V4L2], [1], [V4L2 source support.])
4154 { $as_echo "$as_me:$LINENO: result:
4155 Buffer type ........... $BUFFER_BITS bit
4156 PNG support ........... $HAVE_PNG
4157 JPEG support .......... $HAVE_JPEG
4158 Freetype 2.x support .. $HAVE_FT2
4159 V4L1 support .......... $HAVE_V4L1
4160 V4L2 support .......... $HAVE_V4L2
4163 Buffer type ........... $BUFFER_BITS bit
4164 PNG support ........... $HAVE_PNG
4165 JPEG support .......... $HAVE_JPEG
4166 Freetype 2.x support .. $HAVE_FT2
4167 V4L1 support .......... $HAVE_V4L1
4168 V4L2 support .......... $HAVE_V4L2
4171 ac_config_files="$ac_config_files Makefile"
4173 ac_config_headers="$ac_config_headers config.h"
4175 cat >confcache <<\_ACEOF
4176 # This file is a shell script that caches the results of configure
4177 # tests run on this system so they can be shared between configure
4178 # scripts and configure runs, see configure's option --config-cache.
4179 # It is not useful on other systems. If it contains results you don't
4180 # want to keep, you may remove or edit it.
4182 # config.status only pays attention to the cache file if you give it
4183 # the --recheck option to rerun configure.
4185 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
4186 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4191 # The following way of writing the cache mishandles newlines in values,
4192 # but we know of no workaround that is simple, portable, and efficient.
4193 # So, we kill variables containing newlines.
4194 # Ultrix sh set writes to stderr and can't be redirected directly,
4195 # and sets the high bit in the cache file unless we assign to the vars.
4197 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4198 eval ac_val
=\$
$ac_var
4202 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
4203 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4206 _ | IFS | as_nl
) ;; #(
4207 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4208 *) $as_unset $ac_var ;;
4214 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4215 *${as_nl}ac_space
=\
*)
4216 # `set' does not quote correctly, so add quotes (double-quote
4217 # substitution turns \\\\ into \\, and sed turns \\ into \).
4220 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4223 # `set' quotes correctly as required by POSIX, so do not add quotes.
4224 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4233 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4235 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4237 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4238 if test -w "$cache_file"; then
4239 test "x$cache_file" != "x/dev/null" &&
4240 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
4241 $as_echo "$as_me: updating cache $cache_file" >&6;}
4242 cat confcache
>$cache_file
4244 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4245 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4250 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4251 # Let make expand exec_prefix.
4252 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4254 DEFS
=-DHAVE_CONFIG_H
4258 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4259 # 1. Remove the extension, and $U if already installed.
4260 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4261 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4262 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4263 # will be set to the directory where LIBOBJS objects are built.
4264 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4265 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4269 LTLIBOBJS
=$ac_ltlibobjs
4273 : ${CONFIG_STATUS=./config.status}
4275 ac_clean_files_save
=$ac_clean_files
4276 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4277 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4278 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4279 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4281 # Generated by $as_me.
4282 # Run this file to recreate the current configuration.
4283 # Compiler output produced by configure, useful for debugging
4284 # configure, is in config.log if it exists.
4289 SHELL=\${CONFIG_SHELL-$SHELL}
4292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4293 ## --------------------- ##
4294 ## M4sh Initialization. ##
4295 ## --------------------- ##
4297 # Be more Bourne compatible
4298 DUALCASE
=1; export DUALCASE
# for MKS sh
4299 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
4302 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4303 # is contrary to our usage. Disable this feature.
4304 alias -g '${1+"$@"}'='"$@"'
4305 setopt NO_GLOB_SUBST
4307 case `(set -o) 2>/dev/null` in
4308 *posix
*) set -o posix
;;
4317 # Avoid depending upon Character Ranges.
4318 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4319 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4320 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4321 as_cr_digits
='0123456789'
4322 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4327 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4328 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4329 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4330 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4331 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4332 as_echo='printf %s
\n'
4333 as_echo_n='printf %s
'
4335 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4336 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4337 as_echo_n='/usr
/ucb
/echo -n'
4339 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4340 as_echo_n_body='eval
4344 expr "X$arg" : "X\\(.*\\)$as_nl";
4345 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4347 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4349 export as_echo_n_body
4350 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4353 as_echo='sh
-c $as_echo_body as_echo
'
4356 # The user is always right.
4357 if test "${PATH_SEPARATOR+set}" != set; then
4359 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4360 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4365 # Support unset when possible.
4366 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4374 # We need space, tab and new line, in precisely that order. Quoting is
4375 # there to prevent editors from complaining about space-tab.
4376 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4377 # splitting by setting IFS to empty value.)
4380 # Find who we are. Look in the path if we contain no directory separator.
4382 *[\\/]* ) as_myself=$0 ;;
4383 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4387 test -z "$as_dir" && as_dir=.
4388 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4394 # We did not find ourselves, most probably we were run as `sh COMMAND'
4395 # in which case we are not to be found in the path.
4396 if test "x$as_myself" = x
; then
4399 if test ! -f "$as_myself"; then
4400 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4401 { (exit 1); exit 1; }
4404 # Work around bugs in pre-3.0 UWIN ksh.
4405 for as_var
in ENV MAIL MAILPATH
4406 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
4418 # Required to use basename.
4419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4427 as_basename
=basename
4433 # Name of the executable.
4434 as_me
=`$as_basename -- "$0" ||
4435 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4436 X"$0" : 'X\(//\)$' \| \
4437 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4439 sed '/^.*\/\([^/][^/]*\)\/*$/{
4460 test "x$as_lineno_1" != "x$as_lineno_2" &&
4461 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
4463 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4464 # uniformly replaced by the line number. The first 'sed' inserts a
4465 # line-number line after each line using $LINENO; the second 'sed'
4466 # does the real work. The second script uses 'N' to pair each
4467 # line-number line with the line containing $LINENO, and appends
4468 # trailing '-' during substitution so that $LINENO is not a special
4470 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4471 # scripts with optimization help from Paolo Bonzini. Blame Lee
4472 # E. McMahon (1931-1989) for sed's syntax. :-)
4484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4488 chmod +x
"$as_me.lineno" ||
4489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4490 { (exit 1); exit 1; }; }
4492 # Don't try to exec as it changes $[0], causing all sort of problems
4493 # (the dirname of $[0] is not the place where we might find the
4494 # original and so on. Autoconf is especially sensitive to this).
4496 # Exit status is that of the last command.
4501 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4507 ECHO_C
= ECHO_N
= ECHO_T
=
4510 case `echo 'x\c'` in
4511 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4517 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4518 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4524 rm -f conf$$ conf$$.exe conf$$.
file
4525 if test -d conf$$.dir
; then
4526 rm -f conf$$.dir
/conf$$.
file
4529 mkdir conf$$.dir
2>/dev
/null
4531 if (echo >conf$$.
file) 2>/dev
/null
; then
4532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4534 # ... but there are two gotchas:
4535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4537 # In both cases, we have to default to `cp -p'.
4538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4549 rmdir conf$$.dir
2>/dev
/null
4551 if mkdir
-p .
2>/dev
/null
; then
4554 test -d .
/-p && rmdir .
/-p
4558 if test -x / >/dev
/null
2>&1; then
4561 if ls -dL / >/dev
/null
2>&1; then
4568 if test -d "$1"; then
4574 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4575 ???[sx]*):;;*)false;;esac;fi
4579 as_executable_p
=$as_test_x
4581 # Sed expression to map a string onto a valid CPP name.
4582 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4584 # Sed expression to map a string onto a valid variable name.
4585 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4590 # Save the log message, to keep $[0] and so on meaningful, and to
4591 # report actual input values of CONFIG_FILES etc. instead of their
4592 # values after options handling.
4594 This file was extended by fswebcam $as_me 20091224, which was
4595 generated by GNU Autoconf 2.63. Invocation command line was
4597 CONFIG_FILES = $CONFIG_FILES
4598 CONFIG_HEADERS = $CONFIG_HEADERS
4599 CONFIG_LINKS = $CONFIG_LINKS
4600 CONFIG_COMMANDS = $CONFIG_COMMANDS
4603 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4608 case $ac_config_files in *"
4609 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4612 case $ac_config_headers in *"
4613 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
4617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4618 # Files that config.status was made for.
4619 config_files="$ac_config_files"
4620 config_headers="$ac_config_headers"
4624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4626 \`$as_me' instantiates files from templates according to the
4627 current configuration.
4629 Usage: $0 [OPTION]... [FILE]...
4631 -h, --help print this help, then exit
4632 -V, --version print version number and configuration settings, then exit
4633 -q, --quiet, --silent
4634 do not print progress messages
4635 -d, --debug don't remove temporary files
4636 --recheck update $as_me by reconfiguring in the same conditions
4637 --file=FILE[:TEMPLATE]
4638 instantiate the configuration file FILE
4639 --header=FILE[:TEMPLATE]
4640 instantiate the configuration header FILE
4642 Configuration files:
4645 Configuration headers:
4648 Report bugs to <bug-autoconf@gnu.org>."
4651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4653 fswebcam config.status 20091224
4654 configured by $0, generated by GNU Autoconf 2.63,
4655 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4657 Copyright (C) 2008 Free Software Foundation, Inc.
4658 This config.status script is free software; the Free Software Foundation
4659 gives unlimited permission to copy, distribute and modify it."
4663 test -n "\$AWK" || AWK=awk
4666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4667 # The default lists apply if the user does not specify any file.
4673 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4674 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4685 # Handling of the options.
4686 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4688 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4689 $as_echo "$ac_cs_version"; exit ;;
4690 --debug |
--debu |
--deb |
--de |
--d |
-d )
4692 --file |
--fil |
--fi |
--f )
4695 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4697 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
4698 ac_need_defaults
=false
;;
4699 --header |
--heade |
--head |
--hea )
4702 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4704 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
4705 ac_need_defaults
=false
;;
4707 # Conflict between --help and --header
4708 { $as_echo "$as_me: error: ambiguous option: $1
4709 Try \`$0 --help' for more information." >&2
4710 { (exit 1); exit 1; }; };;
4711 --help |
--hel |
-h )
4712 $as_echo "$ac_cs_usage"; exit ;;
4713 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4714 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4718 -*) { $as_echo "$as_me: error: unrecognized option: $1
4719 Try \`$0 --help' for more information." >&2
4720 { (exit 1); exit 1; }; } ;;
4722 *) ac_config_targets
="$ac_config_targets $1"
4723 ac_need_defaults
=false
;;
4729 ac_configure_extra_args
=
4731 if $ac_cs_silent; then
4733 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4737 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4738 if \$ac_cs_recheck; then
4739 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4741 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4742 CONFIG_SHELL='$SHELL'
4748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4752 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4753 ## Running $as_me. ##
4759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4764 # Handling of arguments.
4765 for ac_config_target
in $ac_config_targets
4767 case $ac_config_target in
4768 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4769 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
4771 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4772 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4773 { (exit 1); exit 1; }; };;
4778 # If the user did not use the arguments to specify the items to instantiate,
4779 # then the envvar interface is used. Set only those that are not.
4780 # We use the long form for the default assignment because of an extremely
4781 # bizarre bug on SunOS 4.1.3.
4782 if $ac_need_defaults; then
4783 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4784 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
4787 # Have a temporary directory for convenience. Make it in the build tree
4788 # simply because there is no reason against having it here, and in addition,
4789 # creating and moving files from /tmp can sometimes cause problems.
4790 # Hook for its removal unless debugging.
4791 # Note that there is a small window in which the directory will not be cleaned:
4792 # after its creation but before its name has been assigned to `$tmp'.
4796 trap 'exit_status=$?
4797 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4799 trap '{ (exit 1); exit 1; }' 1 2 13 15
4801 # Create a (secure) tmp directory for tmp files.
4804 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4805 test -n "$tmp" && test -d "$tmp"
4808 tmp
=.
/conf$$
-$RANDOM
4809 (umask 077 && mkdir
"$tmp")
4812 $as_echo "$as_me: cannot create a temporary directory in ." >&2
4813 { (exit 1); exit 1; }
4816 # Set up the scripts for CONFIG_FILES section.
4817 # No need to generate them if there are no CONFIG_FILES.
4818 # This happens for instance with `./config.status config.h'.
4819 if test -n "$CONFIG_FILES"; then
4823 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4824 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4830 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4835 echo "cat >conf$$subs.awk <<_ACEOF" &&
4836 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4839 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
4840 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
4841 { (exit 1); exit 1; }; }
4842 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4844 for ac_last_try in false false false false false :; do
4845 . ./conf$$subs.sh ||
4846 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
4847 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
4848 { (exit 1); exit 1; }; }
4850 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4851 if test $ac_delim_n = $ac_delim_num; then
4853 elif $ac_last_try; then
4854 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
4855 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
4856 { (exit 1); exit 1; }; }
4858 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4864 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
4868 s/^/S["/; s
/!.
*/"]=/
4878 s/\(.\{148\}\).*/\1/
4880 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4885 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4892 s/\(.\{148\}\).*/\1/
4894 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4898 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4903 ' <conf$$subs.awk | sed '
4908 ' >>$CONFIG_STATUS || ac_write_fail=1
4909 rm -f conf$$subs.awk
4910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4912 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
4913 for (key in S) S_is_set[key] = 1
4919 nfields = split(line, field, "@
")
4921 len = length(field[1])
4922 for (i = 2; i < nfields; i++) {
4924 keylen = length(key)
4925 if (S_is_set[key]) {
4927 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4928 len += length(value) + length(field[++i])
4939 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4940 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4941 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4944 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
4945 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
4946 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
4947 { (exit 1); exit 1; }; }
4950 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4951 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
4952 # trailing colons and then remove the whole line if VPATH becomes empty
4953 # (actually we leave an empty line to preserve line numbers).
4954 if test "x
$srcdir" = x.; then
4955 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4959 s/^\([^=]*=[ ]*\):*/\1/
4965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4966 fi # test -n "$CONFIG_FILES"
4968 # Set up the scripts for CONFIG_HEADERS section.
4969 # No need to generate them if there are no CONFIG_HEADERS.
4970 # This happens for instance with `./config.status Makefile'.
4971 if test -n "$CONFIG_HEADERS"; then
4972 cat >"$tmp/defines.
awk" <<\_ACAWK ||
4976 # Transform confdefs.h into an awk script `defines.awk', embedded as
4977 # here-document in config.status, that substitutes the proper values into
4978 # config.h.in to produce config.h.
4980 # Create a delimiter string that does not exist in confdefs.h, to ease
4981 # handling of long lines.
4983 for ac_last_try in false false :; do
4984 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
4985 if test -z "$ac_t"; then
4987 elif $ac_last_try; then
4988 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
4989 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
4990 { (exit 1); exit 1; }; }
4992 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4996 # For the awk script, D is an array of macro values keyed by name,
4997 # likewise P contains macro parameters if any. Preserve backslash
4998 # newline sequences.
5000 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5002 s/.\{148\}/&'"$ac_delim"'/g
5005 s/^[ ]*#[ ]*define[ ][ ]*/ /
5012 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5014 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5018 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5019 D["\
1"]=" \
3\\\\\\n
"\\/p
5021 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5026 s/.\{148\}/&'"$ac_delim"'/g
5031 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5034 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5036 ' <confdefs.h | sed '
5037 s/'"$ac_delim"'/"\\\
5038 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5041 for (key in D) D_is_set[key] = 1
5044 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5046 split(line, arg, " ")
5047 if (arg[1] == "#") {
5051 defundef
= substr
(arg
[1], 2)
5054 split(mac1
, mac2
, "(") #)
5056 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5057 if (D_is_set
[macro
]) {
5058 # Preserve the white space surrounding the "#".
5059 print prefix
"define", macro P
[macro
] D
[macro
]
5062 # Replace #undef with comments. This is necessary, for example,
5063 # in the case of _POSIX_SOURCE, which is predefined and required
5064 # on some systems where configure will not decide to define it.
5065 if (defundef
== "undef") {
5066 print
"/*", prefix defundef
, macro
, "*/"
5074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5075 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
5076 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
5077 { (exit 1); exit 1; }; }
5078 fi # test -n "$CONFIG_HEADERS"
5081 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
5086 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5088 case $ac_mode$ac_tag in
5090 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
5091 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
5092 { (exit 1); exit 1; }; };;
5093 :[FH
]-) ac_tag
=-:-;;
5094 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5111 -) ac_f
="$tmp/stdin";;
5112 *) # Look for the file first in the build tree, then in the source tree
5113 # (if the path is not absolute). The absolute path cannot be DOS-style,
5114 # because $ac_f cannot contain `:'.
5118 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5120 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5121 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5122 { (exit 1); exit 1; }; };;
5124 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5125 ac_file_inputs
="$ac_file_inputs '$ac_f'"
5128 # Let's still pretend it is `configure' which instantiates (i.e., don't
5129 # use $as_me), people would be surprised to read:
5130 # /* config.h. Generated by config.status. */
5131 configure_input
='Generated from '`
5132 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5134 if test x
"$ac_file" != x-
; then
5135 configure_input
="$ac_file. $configure_input"
5136 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
5137 $as_echo "$as_me: creating $ac_file" >&6;}
5139 # Neutralize special characters interpreted by sed in replacement strings.
5140 case $configure_input in #(
5141 *\
&* |
*\|
* |
*\\* )
5142 ac_sed_conf_input
=`$as_echo "$configure_input" |
5143 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5144 *) ac_sed_conf_input
=$configure_input;;
5148 *:-:* |
*:-) cat >"$tmp/stdin" \
5149 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5150 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5151 { (exit 1); exit 1; }; } ;;
5156 ac_dir
=`$as_dirname -- "$ac_file" ||
5157 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5158 X"$ac_file" : 'X\(//\)[^/]' \| \
5159 X"$ac_file" : 'X\(//\)$' \| \
5160 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5161 $as_echo X"$ac_file" |
5162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5181 -*) as_dir
=.
/$as_dir;;
5183 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
5187 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5188 *) as_qdir
=$as_dir;;
5190 as_dirs
="'$as_qdir' $as_dirs"
5191 as_dir
=`$as_dirname -- "$as_dir" ||
5192 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5193 X"$as_dir" : 'X\(//\)[^/]' \| \
5194 X"$as_dir" : 'X\(//\)$' \| \
5195 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5196 $as_echo X"$as_dir" |
5197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5214 test -d "$as_dir" && break
5216 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5217 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5218 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5219 { (exit 1); exit 1; }; }; }
5223 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5225 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5226 # A ".." for each directory in $ac_dir_suffix.
5227 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5228 case $ac_top_builddir_sub in
5229 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5230 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5233 ac_abs_top_builddir
=$ac_pwd
5234 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5235 # for backward compatibility:
5236 ac_top_builddir
=$ac_top_build_prefix
5239 .
) # We are building in place.
5241 ac_top_srcdir
=$ac_top_builddir_sub
5242 ac_abs_top_srcdir
=$ac_pwd ;;
5243 [\\/]* | ?
:[\\/]* ) # Absolute name.
5244 ac_srcdir
=$srcdir$ac_dir_suffix;
5245 ac_top_srcdir
=$srcdir
5246 ac_abs_top_srcdir
=$srcdir ;;
5248 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5249 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5250 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5252 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5264 # If the template does not know about datarootdir, expand it.
5265 # FIXME: This hack should be removed a few years after 2.60.
5266 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5279 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5280 *datarootdir
*) ac_datarootdir_seen
=yes;;
5281 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5282 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5283 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5286 ac_datarootdir_hack='
5287 s&@datadir@&$datadir&g
5288 s&@docdir@&$docdir&g
5289 s&@infodir@&$infodir&g
5290 s&@localedir@&$localedir&g
5291 s&@mandir@&$mandir&g
5292 s&\\\${datarootdir}&$datarootdir&g' ;;
5296 # Neutralize VPATH when `$srcdir' = `.'.
5297 # Shell code in configure.ac might set extrasub.
5298 # FIXME: do we really want to maintain this feature?
5299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5300 ac_sed_extra="$ac_vpsub
5303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5305 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5306 s|@configure_input@|
$ac_sed_conf_input|
;t t
5307 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5308 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5309 s
&@srcdir@
&$ac_srcdir&;t t
5310 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5311 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5312 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5313 s
&@builddir@
&$ac_builddir&;t t
5314 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5315 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5316 $ac_datarootdir_hack
5318 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
5319 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
5320 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
5321 { (exit 1); exit 1; }; }
5323 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5324 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
5325 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
5326 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5327 which seems to be undefined. Please make sure it is defined." >&5
5328 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5329 which seems to be undefined. Please make sure it is defined." >&2;}
5333 -) cat "$tmp/out" && rm -f "$tmp/out";;
5334 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5336 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5337 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5338 { (exit 1); exit 1; }; }
5344 if test x"$ac_file" != x-; then
5346 $as_echo "/* $configure_input */" \
5347 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5348 } >"$tmp/config.h" \
5349 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5350 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5351 { (exit 1); exit 1; }; }
5352 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5353 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5354 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5357 mv "$tmp/config.h" "$ac_file" \
5358 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5359 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5360 { (exit 1); exit 1; }; }
5363 $as_echo "/* $configure_input */" \
5364 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5365 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
5366 $as_echo "$as_me: error: could not create -" >&2;}
5367 { (exit 1); exit 1; }; }
5377 { (exit 0); exit 0; }
5379 chmod +x $CONFIG_STATUS
5380 ac_clean_files=$ac_clean_files_save
5382 test $ac_write_fail = 0 ||
5383 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
5384 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
5385 { (exit 1); exit 1; }; }
5388 # configure is writing to config.log, and then calls config.status.
5389 # config.status does its own redirection, appending to config.log.
5390 # Unfortunately, on DOS this fails, as config.log is still kept open
5391 # by configure, so config.status won't be able to
write to it
; its
5392 # output is simply discarded. So we exec the FD to /dev/null,
5393 # effectively closing config.log, so it can be properly (re)opened and
5394 # appended to by config.status. When coming back to configure, we
5395 # need to make the FD available again.
5396 if test "$no_create" != yes; then
5398 ac_config_status_args
=
5399 test "$silent" = yes &&
5400 ac_config_status_args
="$ac_config_status_args --quiet"
5402 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5404 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5405 # would make configure fail if this is the last instruction.
5406 $ac_cs_success ||
{ (exit 1); exit 1; }
5408 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5409 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5410 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}