2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for usbutils 0.86.
5 # Report bugs to <linux-usb@vger.kernel.org>.
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='usbutils'
598 PACKAGE_TARNAME='usbutils'
599 PACKAGE_VERSION='0.86'
600 PACKAGE_STRING='usbutils 0.86'
601 PACKAGE_BUGREPORT='linux-usb@vger.kernel.org'
603 ac_default_prefix=/usr
604 # Factoring default headers for most tests.
605 ac_includes_default="\
607 #ifdef HAVE_SYS_TYPES_H
608 # include <sys/types.h>
610 #ifdef HAVE_SYS_STAT_H
611 # include <sys/stat.h>
617 # ifdef HAVE_STDLIB_H
622 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
627 #ifdef HAVE_STRINGS_H
628 # include <strings.h>
630 #ifdef HAVE_INTTYPES_H
631 # include <inttypes.h>
640 ac_subst_vars='LTLIBOBJS
674 INSTALL_STRIP_PROGRAM
716 program_transform_name
728 enable_option_checking
729 enable_dependency_tracking
733 ac_precious_vars='build_alias
747 # Initialize some variables set by options.
749 ac_init_version=false
750 ac_unrecognized_opts=
752 # The variables have the same names as the options, with
753 # dashes changed to underlines.
761 program_transform_name=s,x,x,
769 # Installation directory options.
770 # These are left unexpanded so users can "make install exec_prefix=/foo"
771 # and all the variables that are supposed to be based on exec_prefix
772 # by default will actually change.
773 # Use braces instead of parens because sh, perl, etc. also accept them.
774 # (The list follows the same order as the GNU Coding Standards.)
775 bindir='${exec_prefix}/bin'
776 sbindir='${exec_prefix}/sbin'
777 libexecdir='${exec_prefix}/libexec'
778 datarootdir='${prefix}/share'
779 datadir='${datarootdir}'
780 sysconfdir='${prefix}/etc'
781 sharedstatedir='${prefix}/com'
782 localstatedir='${prefix}/var'
783 includedir='${prefix}/include'
784 oldincludedir='/usr/include'
785 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
786 infodir='${datarootdir}/info'
791 libdir='${exec_prefix}/lib'
792 localedir='${datarootdir}/locale'
793 mandir='${datarootdir}/man'
799 # If the previous option needs an argument, assign it.
800 if test -n "$ac_prev"; then
801 eval $ac_prev=\$ac_option
807 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
811 # Accept the important Cygnus configure options, so we can diagnose typos.
813 case $ac_dashdash$ac_option in
817 -bindir | --bindir | --bindi | --bind | --bin | --bi)
819 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
822 -build | --build | --buil | --bui | --bu)
823 ac_prev=build_alias ;;
824 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
825 build_alias=$ac_optarg ;;
827 -cache-file | --cache-file | --cache-fil | --cache-fi \
828 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
829 ac_prev=cache_file ;;
830 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
831 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
832 cache_file=$ac_optarg ;;
835 cache_file=config.cache ;;
837 -datadir | --datadir | --datadi | --datad)
839 -datadir=* | --datadir=* | --datadi=* | --datad=*)
840 datadir=$ac_optarg ;;
842 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
843 | --dataroo | --dataro | --datar)
844 ac_prev=datarootdir ;;
845 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
846 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
847 datarootdir=$ac_optarg ;;
849 -disable-* | --disable-*)
850 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
851 # Reject names that are not valid shell variable names.
852 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
853 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
854 { (exit 1); exit 1; }; }
855 ac_useropt_orig=$ac_useropt
856 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
857 case $ac_user_opts in
861 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
862 ac_unrecognized_sep=', ';;
864 eval enable_$ac_useropt=no ;;
866 -docdir | --docdir | --docdi | --doc | --do)
868 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
871 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
873 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
876 -enable-* | --enable-*)
877 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
878 # Reject names that are not valid shell variable names.
879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
880 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
881 { (exit 1); exit 1; }; }
882 ac_useropt_orig=$ac_useropt
883 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
884 case $ac_user_opts in
888 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
889 ac_unrecognized_sep=', ';;
891 eval enable_$ac_useropt=\$ac_optarg ;;
893 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
894 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
895 | --exec | --exe | --ex)
896 ac_prev=exec_prefix ;;
897 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
898 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
899 | --exec=* | --exe=* | --ex=*)
900 exec_prefix=$ac_optarg ;;
902 -gas | --gas | --ga | --g)
903 # Obsolete; use --with-gas.
906 -help | --help | --hel | --he | -h)
908 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
909 ac_init_help=recursive ;;
910 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
911 ac_init_help=short ;;
913 -host | --host | --hos | --ho)
914 ac_prev=host_alias ;;
915 -host=* | --host=* | --hos=* | --ho=*)
916 host_alias=$ac_optarg ;;
918 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
920 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
922 htmldir=$ac_optarg ;;
924 -includedir | --includedir | --includedi | --included | --include \
925 | --includ | --inclu | --incl | --inc)
926 ac_prev=includedir ;;
927 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
928 | --includ=* | --inclu=* | --incl=* | --inc=*)
929 includedir=$ac_optarg ;;
931 -infodir | --infodir | --infodi | --infod | --info | --inf)
933 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
934 infodir=$ac_optarg ;;
936 -libdir | --libdir | --libdi | --libd)
938 -libdir=* | --libdir=* | --libdi=* | --libd=*)
941 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
942 | --libexe | --libex | --libe)
943 ac_prev=libexecdir ;;
944 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
945 | --libexe=* | --libex=* | --libe=*)
946 libexecdir=$ac_optarg ;;
948 -localedir | --localedir | --localedi | --localed | --locale)
950 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
951 localedir=$ac_optarg ;;
953 -localstatedir | --localstatedir | --localstatedi | --localstated \
954 | --localstate | --localstat | --localsta | --localst | --locals)
955 ac_prev=localstatedir ;;
956 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
957 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
958 localstatedir=$ac_optarg ;;
960 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
962 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
966 # Obsolete; use --without-fp.
969 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
970 | --no-cr | --no-c | -n)
973 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
974 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
977 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
978 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
979 | --oldin | --oldi | --old | --ol | --o)
980 ac_prev=oldincludedir ;;
981 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
982 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
983 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
984 oldincludedir=$ac_optarg ;;
986 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
988 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
991 -program-prefix | --program-prefix | --program-prefi | --program-pref \
992 | --program-pre | --program-pr | --program-p)
993 ac_prev=program_prefix ;;
994 -program-prefix=* | --program-prefix=* | --program-prefi=* \
995 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
996 program_prefix=$ac_optarg ;;
998 -program-suffix | --program-suffix | --program-suffi | --program-suff \
999 | --program-suf | --program-su | --program-s)
1000 ac_prev=program_suffix ;;
1001 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1002 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1003 program_suffix=$ac_optarg ;;
1005 -program-transform-name | --program-transform-name \
1006 | --program-transform-nam | --program-transform-na \
1007 | --program-transform-n | --program-transform- \
1008 | --program-transform | --program-transfor \
1009 | --program-transfo | --program-transf \
1010 | --program-trans | --program-tran \
1011 | --progr-tra | --program-tr | --program-t)
1012 ac_prev=program_transform_name ;;
1013 -program-transform-name=* | --program-transform-name=* \
1014 | --program-transform-nam=* | --program-transform-na=* \
1015 | --program-transform-n=* | --program-transform-=* \
1016 | --program-transform=* | --program-transfor=* \
1017 | --program-transfo=* | --program-transf=* \
1018 | --program-trans=* | --program-tran=* \
1019 | --progr-tra=* | --program-tr=* | --program-t=*)
1020 program_transform_name=$ac_optarg ;;
1022 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1024 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1025 pdfdir=$ac_optarg ;;
1027 -psdir | --psdir | --psdi | --psd | --ps)
1029 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1032 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1033 | -silent | --silent | --silen | --sile | --sil)
1036 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1038 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1040 sbindir=$ac_optarg ;;
1042 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1043 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1044 | --sharedst | --shareds | --shared | --share | --shar \
1046 ac_prev=sharedstatedir ;;
1047 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1048 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1049 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1051 sharedstatedir=$ac_optarg ;;
1053 -site | --site | --sit)
1055 -site=* | --site=* | --sit=*)
1058 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1060 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1061 srcdir=$ac_optarg ;;
1063 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1064 | --syscon | --sysco | --sysc | --sys | --sy)
1065 ac_prev=sysconfdir ;;
1066 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1067 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1068 sysconfdir=$ac_optarg ;;
1070 -target | --target | --targe | --targ | --tar | --ta | --t)
1071 ac_prev=target_alias ;;
1072 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1073 target_alias=$ac_optarg ;;
1075 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1078 -version | --version | --versio | --versi | --vers | -V)
1079 ac_init_version=: ;;
1082 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1083 # Reject names that are not valid shell variable names.
1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1085 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1086 { (exit 1); exit 1; }; }
1087 ac_useropt_orig=$ac_useropt
1088 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089 case $ac_user_opts in
1093 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1094 ac_unrecognized_sep=', ';;
1096 eval with_$ac_useropt=\$ac_optarg ;;
1098 -without-* | --without-*)
1099 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1103 { (exit 1); exit 1; }; }
1104 ac_useropt_orig=$ac_useropt
1105 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1106 case $ac_user_opts in
1110 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1111 ac_unrecognized_sep=', ';;
1113 eval with_$ac_useropt=no ;;
1116 # Obsolete; use --with-x.
1119 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1120 | --x-incl | --x-inc | --x-in | --x-i)
1121 ac_prev=x_includes ;;
1122 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1123 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1124 x_includes=$ac_optarg ;;
1126 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1127 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1128 ac_prev=x_libraries ;;
1129 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1130 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1131 x_libraries=$ac_optarg ;;
1133 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1134 Try \`$0 --help' for more information." >&2
1135 { (exit 1); exit 1; }; }
1139 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1142 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1143 { (exit 1); exit 1; }; }
1144 eval $ac_envvar=\$ac_optarg
1145 export $ac_envvar ;;
1148 # FIXME: should be removed in autoconf 3.0.
1149 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1150 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1151 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1152 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1158 if test -n "$ac_prev"; then
1159 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1160 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1161 { (exit 1); exit 1; }; }
1164 if test -n "$ac_unrecognized_opts"; then
1165 case $enable_option_checking in
1167 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1168 { (exit 1); exit 1; }; } ;;
1169 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1173 # Check all directory arguments for consistency.
1174 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1175 datadir sysconfdir sharedstatedir localstatedir includedir \
1176 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1177 libdir localedir mandir
1179 eval ac_val=\$$ac_var
1180 # Remove trailing slashes.
1183 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1184 eval $ac_var=\$ac_val;;
1186 # Be sure to have absolute directory names.
1188 [\\/$]* | ?:[\\/]* ) continue;;
1189 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1191 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1192 { (exit 1); exit 1; }; }
1195 # There might be people who depend on the old broken behavior: `$host'
1196 # used to hold the argument of --host etc.
1197 # FIXME: To remove some day.
1200 target=$target_alias
1202 # FIXME: To remove some day.
1203 if test "x$host_alias" != x; then
1204 if test "x$build_alias" = x; then
1205 cross_compiling=maybe
1206 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1207 If a cross compiler is detected then cross compile mode will be used." >&2
1208 elif test "x$build_alias" != "x$host_alias"; then
1214 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1216 test "$silent" = yes && exec 6>/dev/null
1219 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1220 ac_ls_di=`ls -di .` &&
1221 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1222 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1223 { (exit 1); exit 1; }; }
1224 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1225 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1226 { (exit 1); exit 1; }; }
1229 # Find the source files, if location was not specified.
1230 if test -z "$srcdir"; then
1231 ac_srcdir_defaulted=yes
1232 # Try the directory containing this script, then the parent directory.
1233 ac_confdir=`$as_dirname -- "$as_myself" ||
1234 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1235 X"$as_myself" : 'X\(//\)[^/]' \| \
1236 X"$as_myself" : 'X\(//\)$' \| \
1237 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1238 $as_echo X"$as_myself" |
1239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1261 ac_srcdir_defaulted=no
1263 if test ! -r "$srcdir/$ac_unique_file"; then
1264 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1265 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1266 { (exit 1); exit 1; }; }
1268 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1270 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1271 { (exit 1); exit 1; }; }
1273 # When building in place, set srcdir=.
1274 if test "$ac_abs_confdir" = "$ac_pwd"; then
1277 # Remove unnecessary trailing slashes from srcdir.
1278 # Double slashes in file names in object file debugging info
1279 # mess up M-x gdb in Emacs.
1281 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1283 for ac_var in $ac_precious_vars; do
1284 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1285 eval ac_env_${ac_var}_value=\$${ac_var}
1286 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1287 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1291 # Report the --help message.
1293 if test "$ac_init_help" = "long"; then
1294 # Omit some internal or obsolete options to make the list less imposing.
1295 # This message is too long to be a string in the A/UX 3.1 sh.
1297 \`configure' configures usbutils 0.86 to adapt to many kinds of systems.
1299 Usage: $0 [OPTION]... [VAR=VALUE]...
1301 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1302 VAR=VALUE. See below for descriptions of some of the useful variables.
1304 Defaults for the options are specified in brackets.
1307 -h, --help display this help and exit
1308 --help=short display options specific to this package
1309 --help=recursive display the short help of all the included packages
1310 -V, --version display version information and exit
1311 -q, --quiet, --silent do not print \`checking...' messages
1312 --cache-file=FILE cache test results in FILE [disabled]
1313 -C, --config-cache alias for \`--cache-file=config.cache'
1314 -n, --no-create do not create output files
1315 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1317 Installation directories:
1318 --prefix=PREFIX install architecture-independent files in PREFIX
1319 [$ac_default_prefix]
1320 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1323 By default, \`make install' will install all the files in
1324 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1325 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1326 for instance \`--prefix=\$HOME'.
1328 For better control, use the options below.
1330 Fine tuning of the installation directories:
1331 --bindir=DIR user executables [EPREFIX/bin]
1332 --sbindir=DIR system admin executables [EPREFIX/sbin]
1333 --libexecdir=DIR program executables [EPREFIX/libexec]
1334 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1335 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1336 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1337 --libdir=DIR object code libraries [EPREFIX/lib]
1338 --includedir=DIR C header files [PREFIX/include]
1339 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1340 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1341 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1342 --infodir=DIR info documentation [DATAROOTDIR/info]
1343 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1344 --mandir=DIR man documentation [DATAROOTDIR/man]
1345 --docdir=DIR documentation root [DATAROOTDIR/doc/usbutils]
1346 --htmldir=DIR html documentation [DOCDIR]
1347 --dvidir=DIR dvi documentation [DOCDIR]
1348 --pdfdir=DIR pdf documentation [DOCDIR]
1349 --psdir=DIR ps documentation [DOCDIR]
1355 --program-prefix=PREFIX prepend PREFIX to installed program names
1356 --program-suffix=SUFFIX append SUFFIX to installed program names
1357 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1361 if test -n "$ac_init_help"; then
1362 case $ac_init_help in
1363 short | recursive ) echo "Configuration of usbutils 0.86:";;
1368 --disable-option-checking ignore unrecognized --enable/--with options
1369 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1370 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1371 --disable-dependency-tracking speeds up one-time build
1372 --enable-dependency-tracking do not reject slow dependency extractors
1373 --disable-largefile omit support for large files
1374 --disable-zlib disable support for zlib
1376 Some influential environment variables:
1377 CC C compiler command
1378 CFLAGS C compiler flags
1379 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1380 nonstandard directory <lib dir>
1381 LIBS libraries to pass to the linker, e.g. -l<library>
1382 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1383 you have headers in a nonstandard directory <include dir>
1385 PKG_CONFIG path to pkg-config utility
1387 C compiler flags for LIBUSB, overriding pkg-config
1388 LIBUSB_LIBS linker flags for LIBUSB, overriding pkg-config
1390 Use these variables to override the choices made by `configure' or to help
1391 it to find libraries and programs with nonstandard names/locations.
1393 Report bugs to <linux-usb@vger.kernel.org>.
1398 if test "$ac_init_help" = "recursive"; then
1399 # If there are subdirs, report their specific --help.
1400 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1401 test -d "$ac_dir" ||
1402 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1407 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1410 # A ".." for each directory in $ac_dir_suffix.
1411 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1412 case $ac_top_builddir_sub in
1413 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1414 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1417 ac_abs_top_builddir=$ac_pwd
1418 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1419 # for backward compatibility:
1420 ac_top_builddir=$ac_top_build_prefix
1423 .) # We are building in place.
1425 ac_top_srcdir=$ac_top_builddir_sub
1426 ac_abs_top_srcdir=$ac_pwd ;;
1427 [\\/]* | ?:[\\/]* ) # Absolute name.
1428 ac_srcdir=$srcdir$ac_dir_suffix;
1429 ac_top_srcdir=$srcdir
1430 ac_abs_top_srcdir=$srcdir ;;
1432 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1433 ac_top_srcdir=$ac_top_build_prefix$srcdir
1434 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1436 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1438 cd "$ac_dir" || { ac_status=$?; continue; }
1439 # Check for guested configure.
1440 if test -f "$ac_srcdir/configure.gnu"; then
1442 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1443 elif test -f "$ac_srcdir/configure"; then
1445 $SHELL "$ac_srcdir/configure" --help=recursive
1447 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1449 cd "$ac_pwd" || { ac_status=$?; break; }
1453 test -n "$ac_init_help" && exit $ac_status
1454 if $ac_init_version; then
1456 usbutils configure 0.86
1457 generated by GNU Autoconf 2.63
1459 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1460 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1461 This configure script is free software; the Free Software Foundation
1462 gives unlimited permission to copy, distribute and modify it.
1466 cat >config.log <<_ACEOF
1467 This file contains any messages produced by compilers while
1468 running configure, to aid debugging if configure makes a mistake.
1470 It was created by usbutils $as_me 0.86, which was
1471 generated by GNU Autoconf 2.63. Invocation command line was
1483 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1484 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1485 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1486 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1487 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1489 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1490 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1492 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1493 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1494 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1495 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1496 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1497 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1498 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1506 test -z "$as_dir" && as_dir=.
1507 $as_echo "PATH: $as_dir"
1523 # Keep a trace of the command line.
1524 # Strip out --no-create and --no-recursion so they do not pile up.
1525 # Strip out --silent because we don't want to record it for future runs.
1526 # Also quote any args containing shell meta-characters.
1527 # Make two passes to allow for proper duplicate-argument suppression.
1531 ac_must_keep_next=false
1537 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1539 | -silent | --silent | --silen | --sile | --sil)
1542 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1547 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1548 if test $ac_must_keep_next = true; then
1549 ac_must_keep_next=false # Got value, back to normal.
1552 *=* | --config-cache | -C | -disable-* | --disable-* \
1553 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1554 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1555 | -with-* | --with-* | -without-* | --without-* | --x)
1556 case "$ac_configure_args0 " in
1557 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1560 -* ) ac_must_keep_next=true ;;
1563 ac_configure_args="$ac_configure_args '$ac_arg'"
1568 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1569 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1571 # When interrupted or exit'd, cleanup temporary files, and complete
1572 # config.log. We remove comments because anyway the quotes in there
1573 # would cause problems or look ugly.
1574 # WARNING: Use '\'' to represent an apostrophe within the trap.
1575 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1576 trap 'exit_status=$?
1577 # Save into config.log some information that might help in debugging.
1582 ## ---------------- ##
1583 ## Cache variables. ##
1584 ## ---------------- ##
1587 # The following way of writing the cache mishandles newlines in values,
1589 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1590 eval ac_val=\$$ac_var
1594 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1595 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1598 _ | IFS | as_nl) ;; #(
1599 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1600 *) $as_unset $ac_var ;;
1605 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1606 *${as_nl}ac_space=\ *)
1608 "s/'\''/'\''\\\\'\'''\''/g;
1609 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1612 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1620 ## ----------------- ##
1621 ## Output variables. ##
1622 ## ----------------- ##
1625 for ac_var in $ac_subst_vars
1627 eval ac_val=\$$ac_var
1629 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631 $as_echo "$ac_var='\''$ac_val'\''"
1635 if test -n "$ac_subst_files"; then
1637 ## ------------------- ##
1638 ## File substitutions. ##
1639 ## ------------------- ##
1642 for ac_var in $ac_subst_files
1644 eval ac_val=\$$ac_var
1646 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1648 $as_echo "$ac_var='\''$ac_val'\''"
1653 if test -s confdefs.h; then
1663 test "$ac_signal" != 0 &&
1664 $as_echo "$as_me: caught signal $ac_signal"
1665 $as_echo "$as_me: exit $exit_status"
1667 rm -f core *.core core.conftest.* &&
1668 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1671 for ac_signal in 1 2 13 15; do
1672 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1676 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1677 rm -f -r conftest* confdefs.h
1679 # Predefined preprocessor variables.
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_NAME "$PACKAGE_NAME"
1686 cat >>confdefs.h <<_ACEOF
1687 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1696 cat >>confdefs.h <<_ACEOF
1697 #define PACKAGE_STRING "$PACKAGE_STRING"
1701 cat >>confdefs.h <<_ACEOF
1702 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1706 # Let the site file select an alternate cache file if it wants to.
1707 # Prefer an explicitly selected file to automatically selected ones.
1710 if test -n "$CONFIG_SITE"; then
1711 ac_site_file1=$CONFIG_SITE
1712 elif test "x$prefix" != xNONE; then
1713 ac_site_file1=$prefix/share/config.site
1714 ac_site_file2=$prefix/etc/config.site
1716 ac_site_file1=$ac_default_prefix/share/config.site
1717 ac_site_file2=$ac_default_prefix/etc/config.site
1719 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1721 test "x$ac_site_file" = xNONE && continue
1722 if test -r "$ac_site_file"; then
1723 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1724 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1725 sed 's/^/| /' "$ac_site_file" >&5
1730 if test -r "$cache_file"; then
1731 # Some versions of bash will fail to source /dev/null (special
1732 # files actually), so we avoid doing that.
1733 if test -f "$cache_file"; then
1734 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1735 $as_echo "$as_me: loading cache $cache_file" >&6;}
1737 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1738 *) . "./$cache_file";;
1742 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1743 $as_echo "$as_me: creating cache $cache_file" >&6;}
1747 # Check that the precious variables saved in the cache have kept the same
1749 ac_cache_corrupted=false
1750 for ac_var in $ac_precious_vars; do
1751 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1752 eval ac_new_set=\$ac_env_${ac_var}_set
1753 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1754 eval ac_new_val=\$ac_env_${ac_var}_value
1755 case $ac_old_set,$ac_new_set in
1757 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1758 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1759 ac_cache_corrupted=: ;;
1761 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1762 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1763 ac_cache_corrupted=: ;;
1766 if test "x$ac_old_val" != "x$ac_new_val"; then
1767 # differences in whitespace do not lead to failure.
1768 ac_old_val_w=`echo x $ac_old_val`
1769 ac_new_val_w=`echo x $ac_new_val`
1770 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1771 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1772 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1773 ac_cache_corrupted=:
1775 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1776 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1777 eval $ac_var=\$ac_old_val
1779 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1780 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1781 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1782 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1785 # Pass precious variables to config.status.
1786 if test "$ac_new_set" = set; then
1788 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1789 *) ac_arg=$ac_var=$ac_new_val ;;
1791 case " $ac_configure_args " in
1792 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1793 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1797 if $ac_cache_corrupted; then
1798 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1800 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1801 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1802 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1803 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1804 { (exit 1); exit 1; }; }
1832 ac_cpp='$CPP $CPPFLAGS'
1833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1839 am__api_version='1.10'
1842 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1843 if test -f "$ac_dir/install-sh"; then
1845 ac_install_sh="$ac_aux_dir/install-sh -c"
1847 elif test -f "$ac_dir/install.sh"; then
1849 ac_install_sh="$ac_aux_dir/install.sh -c"
1851 elif test -f "$ac_dir/shtool"; then
1853 ac_install_sh="$ac_aux_dir/shtool install -c"
1857 if test -z "$ac_aux_dir"; then
1858 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1859 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1860 { (exit 1); exit 1; }; }
1863 # These three variables are undocumented and unsupported,
1864 # and are intended to be withdrawn in a future Autoconf release.
1865 # They can cause serious problems if a builder's source tree is in a directory
1866 # whose full name contains unusual characters.
1867 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1868 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1869 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1872 # Find a good install program. We prefer a C program (faster),
1873 # so one script is as good as another. But avoid the broken or
1874 # incompatible versions:
1875 # SysV /etc/install, /usr/sbin/install
1876 # SunOS /usr/etc/install
1877 # IRIX /sbin/install
1879 # AmigaOS /C/install, which installs bootblocks on floppy discs
1880 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1881 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1882 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1883 # OS/2's system install, which has a completely different semantic
1884 # ./install, which can be erroneously created by make from ./install.sh.
1885 # Reject install programs that cannot install multiple files.
1886 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1887 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1888 if test -z "$INSTALL"; then
1889 if test "${ac_cv_path_install+set}" = set; then
1890 $as_echo_n "(cached) " >&6
1892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1896 test -z "$as_dir" && as_dir=.
1897 # Account for people who put trailing slashes in PATH elements.
1899 ./ | .// | /cC/* | \
1900 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1901 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1904 # OSF1 and SCO ODT 3.0 have their own names for install.
1905 # Don't use installbsd from OSF since it installs stuff as root
1907 for ac_prog in ginstall scoinst install; do
1908 for ac_exec_ext in '' $ac_executable_extensions; do
1909 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1910 if test $ac_prog = install &&
1911 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1912 # AIX install. It has an incompatible calling convention.
1914 elif test $ac_prog = install &&
1915 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1916 # program-specific install script used by HP pwplus--don't use.
1919 rm -rf conftest.one conftest.two conftest.dir
1920 echo one > conftest.one
1921 echo two > conftest.two
1923 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1924 test -s conftest.one && test -s conftest.two &&
1925 test -s conftest.dir/conftest.one &&
1926 test -s conftest.dir/conftest.two
1928 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1941 rm -rf conftest.one conftest.two conftest.dir
1944 if test "${ac_cv_path_install+set}" = set; then
1945 INSTALL=$ac_cv_path_install
1947 # As a last resort, use the slow shell script. Don't cache a
1948 # value for INSTALL within a source directory, because that will
1949 # break other packages using the cache if that directory is
1950 # removed, or if the value is a relative name.
1951 INSTALL=$ac_install_sh
1954 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1955 $as_echo "$INSTALL" >&6; }
1957 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1958 # It thinks the first close brace ends the variable substitution.
1959 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1961 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1963 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1965 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1966 $as_echo_n "checking whether build environment is sane... " >&6; }
1969 echo timestamp > conftest.file
1970 # Do `set' in a subshell so we don't clobber the current shell's
1971 # arguments. Must try -L first in case configure is actually a
1972 # symlink; some systems play weird games with the mod time of symlinks
1973 # (eg FreeBSD returns the mod time of the symlink's containing
1976 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1977 if test "$*" = "X"; then
1979 set X `ls -t $srcdir/configure conftest.file`
1982 if test "$*" != "X $srcdir/configure conftest.file" \
1983 && test "$*" != "X conftest.file $srcdir/configure"; then
1985 # If neither matched, then we have a broken ls. This can happen
1986 # if, for instance, CONFIG_SHELL is bash and it inherits a
1987 # broken ls alias from the environment. This has actually
1988 # happened. Such a system could not be considered "sane".
1989 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1990 alias in your environment" >&5
1991 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1992 alias in your environment" >&2;}
1993 { (exit 1); exit 1; }; }
1996 test "$2" = conftest.file
2002 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2003 Check your system clock" >&5
2004 $as_echo "$as_me: error: newly created file is older than distributed files!
2005 Check your system clock" >&2;}
2006 { (exit 1); exit 1; }; }
2008 { $as_echo "$as_me:$LINENO: result: yes" >&5
2009 $as_echo "yes" >&6; }
2010 test "$program_prefix" != NONE &&
2011 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2012 # Use a double $ so make ignores it.
2013 test "$program_suffix" != NONE &&
2014 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2015 # Double any \ or $.
2016 # By default was `s,x,x', remove it if useless.
2017 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2018 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2020 # expand $ac_aux_dir to an absolute path
2021 am_aux_dir=`cd $ac_aux_dir && pwd`
2023 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2024 # Use eval to expand $SHELL
2025 if eval "$MISSING --run true"; then
2026 am_missing_run="$MISSING --run "
2029 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2030 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2033 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2034 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2035 if test -z "$MKDIR_P"; then
2036 if test "${ac_cv_path_mkdir+set}" = set; then
2037 $as_echo_n "(cached) " >&6
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2043 test -z "$as_dir" && as_dir=.
2044 for ac_prog in mkdir gmkdir; do
2045 for ac_exec_ext in '' $ac_executable_extensions; do
2046 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2047 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2048 'mkdir (GNU coreutils) '* | \
2049 'mkdir (coreutils) '* | \
2050 'mkdir (fileutils) '4.1*)
2051 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2061 if test "${ac_cv_path_mkdir+set}" = set; then
2062 MKDIR_P="$ac_cv_path_mkdir -p"
2064 # As a last resort, use the slow shell script. Don't cache a
2065 # value for MKDIR_P within a source directory, because that will
2066 # break other packages using the cache if that directory is
2067 # removed, or if the value is a relative name.
2068 test -d ./--version && rmdir ./--version
2069 MKDIR_P="$ac_install_sh -d"
2072 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2073 $as_echo "$MKDIR_P" >&6; }
2077 [\\/$]* | ?:[\\/]*) ;;
2078 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2081 for ac_prog in gawk mawk nawk awk
2083 # Extract the first word of "$ac_prog", so it can be a program name with args.
2084 set dummy $ac_prog; ac_word=$2
2085 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2086 $as_echo_n "checking for $ac_word... " >&6; }
2087 if test "${ac_cv_prog_AWK+set}" = set; then
2088 $as_echo_n "(cached) " >&6
2090 if test -n "$AWK"; then
2091 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 test -z "$as_dir" && as_dir=.
2098 for ac_exec_ext in '' $ac_executable_extensions; do
2099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2100 ac_cv_prog_AWK="$ac_prog"
2101 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111 if test -n "$AWK"; then
2112 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2113 $as_echo "$AWK" >&6; }
2115 { $as_echo "$as_me:$LINENO: result: no" >&5
2116 $as_echo "no" >&6; }
2120 test -n "$AWK" && break
2123 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2124 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2126 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2127 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2128 $as_echo_n "(cached) " >&6
2130 cat >conftest.make <<\_ACEOF
2133 @echo '@@@%%%=$(MAKE)=@@@%%%'
2135 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2136 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2138 eval ac_cv_prog_make_${ac_make}_set=yes;;
2140 eval ac_cv_prog_make_${ac_make}_set=no;;
2144 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2145 { $as_echo "$as_me:$LINENO: result: yes" >&5
2146 $as_echo "yes" >&6; }
2149 { $as_echo "$as_me:$LINENO: result: no" >&5
2150 $as_echo "no" >&6; }
2151 SET_MAKE="MAKE=${MAKE-make}"
2154 rm -rf .tst 2>/dev/null
2155 mkdir .tst 2>/dev/null
2156 if test -d .tst; then
2161 rmdir .tst 2>/dev/null
2163 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2164 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2165 # is not polluted with repeated "-I."
2166 am__isrc=' -I$(srcdir)'
2167 # test to see if srcdir already configured
2168 if test -f $srcdir/config.status; then
2169 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2170 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2171 { (exit 1); exit 1; }; }
2175 # test whether we have cygpath
2176 if test -z "$CYGPATH_W"; then
2177 if (cygpath --version) >/dev/null 2>/dev/null; then
2178 CYGPATH_W='cygpath -w'
2185 # Define the identity of the package.
2190 cat >>confdefs.h <<_ACEOF
2191 #define PACKAGE "$PACKAGE"
2195 cat >>confdefs.h <<_ACEOF
2196 #define VERSION "$VERSION"
2199 # Some tools Automake needs.
2201 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2204 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2207 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2210 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2213 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2215 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2217 # Installed binaries are usually stripped using `strip' when the user
2218 # run `make install-strip'. However `strip' might not be the right
2219 # tool to use in cross-compilation environments, therefore Automake
2220 # will honor the `STRIP' environment variable to overrule this program.
2221 if test "$cross_compiling" != no; then
2222 if test -n "$ac_tool_prefix"; then
2223 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2224 set dummy ${ac_tool_prefix}strip; ac_word=$2
2225 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2226 $as_echo_n "checking for $ac_word... " >&6; }
2227 if test "${ac_cv_prog_STRIP+set}" = set; then
2228 $as_echo_n "(cached) " >&6
2230 if test -n "$STRIP"; then
2231 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 test -z "$as_dir" && as_dir=.
2238 for ac_exec_ext in '' $ac_executable_extensions; do
2239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2240 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2241 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2250 STRIP=$ac_cv_prog_STRIP
2251 if test -n "$STRIP"; then
2252 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2253 $as_echo "$STRIP" >&6; }
2255 { $as_echo "$as_me:$LINENO: result: no" >&5
2256 $as_echo "no" >&6; }
2261 if test -z "$ac_cv_prog_STRIP"; then
2263 # Extract the first word of "strip", so it can be a program name with args.
2264 set dummy strip; ac_word=$2
2265 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2266 $as_echo_n "checking for $ac_word... " >&6; }
2267 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2268 $as_echo_n "(cached) " >&6
2270 if test -n "$ac_ct_STRIP"; then
2271 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277 test -z "$as_dir" && as_dir=.
2278 for ac_exec_ext in '' $ac_executable_extensions; do
2279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2280 ac_cv_prog_ac_ct_STRIP="strip"
2281 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2291 if test -n "$ac_ct_STRIP"; then
2292 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2293 $as_echo "$ac_ct_STRIP" >&6; }
2295 { $as_echo "$as_me:$LINENO: result: no" >&5
2296 $as_echo "no" >&6; }
2299 if test "x$ac_ct_STRIP" = x; then
2302 case $cross_compiling:$ac_tool_warned in
2304 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2306 ac_tool_warned=yes ;;
2311 STRIP="$ac_cv_prog_STRIP"
2315 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2317 # We need awk for the "check" target. The system "awk" is bad on
2319 # Always define AMTAR for backward compatibility.
2321 AMTAR=${AMTAR-"${am_missing_run}tar"}
2323 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2332 DEPDIR="${am__leading_dot}deps"
2334 ac_config_commands="$ac_config_commands depfiles"
2337 am_make=${MAKE-make}
2338 cat > confinc << 'END'
2343 # If we don't find an include directive, just comment out the code.
2344 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2345 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2349 # First try GNU make style include.
2350 echo "include confinc" > confmf
2351 # We grep out `Entering directory' and `Leaving directory'
2352 # messages which can occur if `w' ends up in MAKEFLAGS.
2353 # In particular we don't look at `^make:' because GNU make might
2354 # be invoked under some other name (usually "gmake"), in which
2355 # case it prints its new name instead of `make'.
2356 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2361 # Now try BSD make style include.
2362 if test "$am__include" = "#"; then
2363 echo '.include "confinc"' > confmf
2364 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2365 am__include=.include
2372 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2373 $as_echo "$_am_result" >&6; }
2374 rm -f confinc confmf
2376 # Check whether --enable-dependency-tracking was given.
2377 if test "${enable_dependency_tracking+set}" = set; then
2378 enableval=$enable_dependency_tracking;
2381 if test "x$enable_dependency_tracking" != xno; then
2382 am_depcomp="$ac_aux_dir/depcomp"
2385 if test "x$enable_dependency_tracking" != xno; then
2395 ac_cpp='$CPP $CPPFLAGS'
2396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2399 if test -n "$ac_tool_prefix"; then
2400 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2401 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2402 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2403 $as_echo_n "checking for $ac_word... " >&6; }
2404 if test "${ac_cv_prog_CC+set}" = set; then
2405 $as_echo_n "(cached) " >&6
2407 if test -n "$CC"; then
2408 ac_cv_prog_CC="$CC" # Let the user override the test.
2410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2414 test -z "$as_dir" && as_dir=.
2415 for ac_exec_ext in '' $ac_executable_extensions; do
2416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2417 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2418 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2428 if test -n "$CC"; then
2429 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2430 $as_echo "$CC" >&6; }
2432 { $as_echo "$as_me:$LINENO: result: no" >&5
2433 $as_echo "no" >&6; }
2438 if test -z "$ac_cv_prog_CC"; then
2440 # Extract the first word of "gcc", so it can be a program name with args.
2441 set dummy gcc; ac_word=$2
2442 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2443 $as_echo_n "checking for $ac_word... " >&6; }
2444 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2445 $as_echo_n "(cached) " >&6
2447 if test -n "$ac_ct_CC"; then
2448 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2454 test -z "$as_dir" && as_dir=.
2455 for ac_exec_ext in '' $ac_executable_extensions; do
2456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2457 ac_cv_prog_ac_ct_CC="gcc"
2458 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2467 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2468 if test -n "$ac_ct_CC"; then
2469 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2470 $as_echo "$ac_ct_CC" >&6; }
2472 { $as_echo "$as_me:$LINENO: result: no" >&5
2473 $as_echo "no" >&6; }
2476 if test "x$ac_ct_CC" = x; then
2479 case $cross_compiling:$ac_tool_warned in
2481 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2483 ac_tool_warned=yes ;;
2491 if test -z "$CC"; then
2492 if test -n "$ac_tool_prefix"; then
2493 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2494 set dummy ${ac_tool_prefix}cc; ac_word=$2
2495 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2496 $as_echo_n "checking for $ac_word... " >&6; }
2497 if test "${ac_cv_prog_CC+set}" = set; then
2498 $as_echo_n "(cached) " >&6
2500 if test -n "$CC"; then
2501 ac_cv_prog_CC="$CC" # Let the user override the test.
2503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507 test -z "$as_dir" && as_dir=.
2508 for ac_exec_ext in '' $ac_executable_extensions; do
2509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2510 ac_cv_prog_CC="${ac_tool_prefix}cc"
2511 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2521 if test -n "$CC"; then
2522 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2523 $as_echo "$CC" >&6; }
2525 { $as_echo "$as_me:$LINENO: result: no" >&5
2526 $as_echo "no" >&6; }
2532 if test -z "$CC"; then
2533 # Extract the first word of "cc", so it can be a program name with args.
2534 set dummy cc; ac_word=$2
2535 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2536 $as_echo_n "checking for $ac_word... " >&6; }
2537 if test "${ac_cv_prog_CC+set}" = set; then
2538 $as_echo_n "(cached) " >&6
2540 if test -n "$CC"; then
2541 ac_cv_prog_CC="$CC" # Let the user override the test.
2544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2548 test -z "$as_dir" && as_dir=.
2549 for ac_exec_ext in '' $ac_executable_extensions; do
2550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2551 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2552 ac_prog_rejected=yes
2556 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2563 if test $ac_prog_rejected = yes; then
2564 # We found a bogon in the path, so make sure we never use it.
2565 set dummy $ac_cv_prog_CC
2567 if test $# != 0; then
2568 # We chose a different compiler from the bogus one.
2569 # However, it has the same basename, so the bogon will be chosen
2570 # first if we set CC to just the basename; use the full file name.
2572 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2578 if test -n "$CC"; then
2579 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2580 $as_echo "$CC" >&6; }
2582 { $as_echo "$as_me:$LINENO: result: no" >&5
2583 $as_echo "no" >&6; }
2588 if test -z "$CC"; then
2589 if test -n "$ac_tool_prefix"; then
2590 for ac_prog in cl.exe
2592 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2593 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2594 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2595 $as_echo_n "checking for $ac_word... " >&6; }
2596 if test "${ac_cv_prog_CC+set}" = set; then
2597 $as_echo_n "(cached) " >&6
2599 if test -n "$CC"; then
2600 ac_cv_prog_CC="$CC" # Let the user override the test.
2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606 test -z "$as_dir" && as_dir=.
2607 for ac_exec_ext in '' $ac_executable_extensions; do
2608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2609 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2610 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2620 if test -n "$CC"; then
2621 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2622 $as_echo "$CC" >&6; }
2624 { $as_echo "$as_me:$LINENO: result: no" >&5
2625 $as_echo "no" >&6; }
2629 test -n "$CC" && break
2632 if test -z "$CC"; then
2634 for ac_prog in cl.exe
2636 # Extract the first word of "$ac_prog", so it can be a program name with args.
2637 set dummy $ac_prog; ac_word=$2
2638 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2639 $as_echo_n "checking for $ac_word... " >&6; }
2640 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2641 $as_echo_n "(cached) " >&6
2643 if test -n "$ac_ct_CC"; then
2644 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2650 test -z "$as_dir" && as_dir=.
2651 for ac_exec_ext in '' $ac_executable_extensions; do
2652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2653 ac_cv_prog_ac_ct_CC="$ac_prog"
2654 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2663 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2664 if test -n "$ac_ct_CC"; then
2665 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2666 $as_echo "$ac_ct_CC" >&6; }
2668 { $as_echo "$as_me:$LINENO: result: no" >&5
2669 $as_echo "no" >&6; }
2673 test -n "$ac_ct_CC" && break
2676 if test "x$ac_ct_CC" = x; then
2679 case $cross_compiling:$ac_tool_warned in
2681 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2683 ac_tool_warned=yes ;;
2692 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2694 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2695 See \`config.log' for more details." >&5
2696 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2697 See \`config.log' for more details." >&2;}
2698 { (exit 1); exit 1; }; }; }
2700 # Provide some information about the compiler.
2701 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2704 { (ac_try="$ac_compiler --version >&5"
2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707 *) ac_try_echo=$ac_try;;
2709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2710 $as_echo "$ac_try_echo") >&5
2711 (eval "$ac_compiler --version >&5") 2>&5
2713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); }
2715 { (ac_try="$ac_compiler -v >&5"
2717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2718 *) ac_try_echo=$ac_try;;
2720 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2721 $as_echo "$ac_try_echo") >&5
2722 (eval "$ac_compiler -v >&5") 2>&5
2724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); }
2726 { (ac_try="$ac_compiler -V >&5"
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2731 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2732 $as_echo "$ac_try_echo") >&5
2733 (eval "$ac_compiler -V >&5") 2>&5
2735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }
2738 cat >conftest.$ac_ext <<_ACEOF
2741 cat confdefs.h >>conftest.$ac_ext
2742 cat >>conftest.$ac_ext <<_ACEOF
2743 /* end confdefs.h. */
2753 ac_clean_files_save=$ac_clean_files
2754 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2755 # Try to create an executable without -o first, disregard a.out.
2756 # It will help us diagnose broken compilers, and finding out an intuition
2758 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2759 $as_echo_n "checking for C compiler default output file name... " >&6; }
2760 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2762 # The possible output files:
2763 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2766 for ac_file in $ac_files
2769 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2770 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2775 if { (ac_try="$ac_link_default"
2777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2778 *) ac_try_echo=$ac_try;;
2780 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2781 $as_echo "$ac_try_echo") >&5
2782 (eval "$ac_link_default") 2>&5
2784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); }; then
2786 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2787 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2788 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2789 # so that the user can short-circuit this test for compilers unknown to
2791 for ac_file in $ac_files ''
2793 test -f "$ac_file" || continue
2795 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2798 # We found the default executable, but exeext='' is most
2802 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2804 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2806 # We set ac_cv_exeext here because the later test for it is not
2807 # safe: cross compilers may not add the suffix if given an `-o'
2808 # argument, so we may need to know it at that point already.
2809 # Even if this section looks crufty: it has the advantage of
2816 test "$ac_cv_exeext" = no && ac_cv_exeext=
2822 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2823 $as_echo "$ac_file" >&6; }
2824 if test -z "$ac_file"; then
2825 $as_echo "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2828 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2830 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2831 See \`config.log' for more details." >&5
2832 $as_echo "$as_me: error: C compiler cannot create executables
2833 See \`config.log' for more details." >&2;}
2834 { (exit 77); exit 77; }; }; }
2837 ac_exeext=$ac_cv_exeext
2839 # Check that the compiler produces executables we can run. If not, either
2840 # the compiler is broken, or we cross compile.
2841 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2842 $as_echo_n "checking whether the C compiler works... " >&6; }
2843 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2844 # If not cross compiling, check that we can run a simple program.
2845 if test "$cross_compiling" != yes; then
2846 if { ac_try='./$ac_file'
2847 { (case "(($ac_try" in
2848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2849 *) ac_try_echo=$ac_try;;
2851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2852 $as_echo "$ac_try_echo") >&5
2853 (eval "$ac_try") 2>&5
2855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; }; then
2859 if test "$cross_compiling" = maybe; then
2862 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2864 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2865 If you meant to cross compile, use \`--host'.
2866 See \`config.log' for more details." >&5
2867 $as_echo "$as_me: error: cannot run C compiled programs.
2868 If you meant to cross compile, use \`--host'.
2869 See \`config.log' for more details." >&2;}
2870 { (exit 1); exit 1; }; }; }
2874 { $as_echo "$as_me:$LINENO: result: yes" >&5
2875 $as_echo "yes" >&6; }
2877 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2878 ac_clean_files=$ac_clean_files_save
2879 # Check that the compiler produces executables we can run. If not, either
2880 # the compiler is broken, or we cross compile.
2881 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2882 $as_echo_n "checking whether we are cross compiling... " >&6; }
2883 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2884 $as_echo "$cross_compiling" >&6; }
2886 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2887 $as_echo_n "checking for suffix of executables... " >&6; }
2888 if { (ac_try="$ac_link"
2890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891 *) ac_try_echo=$ac_try;;
2893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2894 $as_echo "$ac_try_echo") >&5
2895 (eval "$ac_link") 2>&5
2897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); }; then
2899 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2900 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2901 # work properly (i.e., refer to `conftest.exe'), while it won't with
2903 for ac_file in conftest.exe conftest conftest.*; do
2904 test -f "$ac_file" || continue
2906 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2907 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2913 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2915 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2916 See \`config.log' for more details." >&5
2917 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2918 See \`config.log' for more details." >&2;}
2919 { (exit 1); exit 1; }; }; }
2922 rm -f conftest$ac_cv_exeext
2923 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2924 $as_echo "$ac_cv_exeext" >&6; }
2926 rm -f conftest.$ac_ext
2927 EXEEXT=$ac_cv_exeext
2929 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2930 $as_echo_n "checking for suffix of object files... " >&6; }
2931 if test "${ac_cv_objext+set}" = set; then
2932 $as_echo_n "(cached) " >&6
2934 cat >conftest.$ac_ext <<_ACEOF
2937 cat confdefs.h >>conftest.$ac_ext
2938 cat >>conftest.$ac_ext <<_ACEOF
2939 /* end confdefs.h. */
2949 rm -f conftest.o conftest.obj
2950 if { (ac_try="$ac_compile"
2952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953 *) ac_try_echo=$ac_try;;
2955 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2956 $as_echo "$ac_try_echo") >&5
2957 (eval "$ac_compile") 2>&5
2959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); }; then
2961 for ac_file in conftest.o conftest.obj conftest.*; do
2962 test -f "$ac_file" || continue;
2964 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2965 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2970 $as_echo "$as_me: failed program was:" >&5
2971 sed 's/^/| /' conftest.$ac_ext >&5
2973 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2975 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2976 See \`config.log' for more details." >&5
2977 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2978 See \`config.log' for more details." >&2;}
2979 { (exit 1); exit 1; }; }; }
2982 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2984 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2985 $as_echo "$ac_cv_objext" >&6; }
2986 OBJEXT=$ac_cv_objext
2988 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2989 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2990 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2991 $as_echo_n "(cached) " >&6
2993 cat >conftest.$ac_ext <<_ACEOF
2996 cat confdefs.h >>conftest.$ac_ext
2997 cat >>conftest.$ac_ext <<_ACEOF
2998 /* end confdefs.h. */
3011 rm -f conftest.$ac_objext
3012 if { (ac_try="$ac_compile"
3014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3015 *) ac_try_echo=$ac_try;;
3017 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3018 $as_echo "$ac_try_echo") >&5
3019 (eval "$ac_compile") 2>conftest.er1
3021 grep -v '^ *+' conftest.er1 >conftest.err
3023 cat conftest.err >&5
3024 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); } && {
3026 test -z "$ac_c_werror_flag" ||
3027 test ! -s conftest.err
3028 } && test -s conftest.$ac_objext; then
3031 $as_echo "$as_me: failed program was:" >&5
3032 sed 's/^/| /' conftest.$ac_ext >&5
3037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3038 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3041 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3042 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3043 if test $ac_compiler_gnu = yes; then
3048 ac_test_CFLAGS=${CFLAGS+set}
3049 ac_save_CFLAGS=$CFLAGS
3050 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3051 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3052 if test "${ac_cv_prog_cc_g+set}" = set; then
3053 $as_echo_n "(cached) " >&6
3055 ac_save_c_werror_flag=$ac_c_werror_flag
3056 ac_c_werror_flag=yes
3059 cat >conftest.$ac_ext <<_ACEOF
3062 cat confdefs.h >>conftest.$ac_ext
3063 cat >>conftest.$ac_ext <<_ACEOF
3064 /* end confdefs.h. */
3074 rm -f conftest.$ac_objext
3075 if { (ac_try="$ac_compile"
3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3080 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3081 $as_echo "$ac_try_echo") >&5
3082 (eval "$ac_compile") 2>conftest.er1
3084 grep -v '^ *+' conftest.er1 >conftest.err
3086 cat conftest.err >&5
3087 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); } && {
3089 test -z "$ac_c_werror_flag" ||
3090 test ! -s conftest.err
3091 } && test -s conftest.$ac_objext; then
3094 $as_echo "$as_me: failed program was:" >&5
3095 sed 's/^/| /' conftest.$ac_ext >&5
3098 cat >conftest.$ac_ext <<_ACEOF
3101 cat confdefs.h >>conftest.$ac_ext
3102 cat >>conftest.$ac_ext <<_ACEOF
3103 /* end confdefs.h. */
3113 rm -f conftest.$ac_objext
3114 if { (ac_try="$ac_compile"
3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3119 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3120 $as_echo "$ac_try_echo") >&5
3121 (eval "$ac_compile") 2>conftest.er1
3123 grep -v '^ *+' conftest.er1 >conftest.err
3125 cat conftest.err >&5
3126 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); } && {
3128 test -z "$ac_c_werror_flag" ||
3129 test ! -s conftest.err
3130 } && test -s conftest.$ac_objext; then
3133 $as_echo "$as_me: failed program was:" >&5
3134 sed 's/^/| /' conftest.$ac_ext >&5
3136 ac_c_werror_flag=$ac_save_c_werror_flag
3138 cat >conftest.$ac_ext <<_ACEOF
3141 cat confdefs.h >>conftest.$ac_ext
3142 cat >>conftest.$ac_ext <<_ACEOF
3143 /* end confdefs.h. */
3153 rm -f conftest.$ac_objext
3154 if { (ac_try="$ac_compile"
3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3160 $as_echo "$ac_try_echo") >&5
3161 (eval "$ac_compile") 2>conftest.er1
3163 grep -v '^ *+' conftest.er1 >conftest.err
3165 cat conftest.err >&5
3166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167 (exit $ac_status); } && {
3168 test -z "$ac_c_werror_flag" ||
3169 test ! -s conftest.err
3170 } && test -s conftest.$ac_objext; then
3173 $as_echo "$as_me: failed program was:" >&5
3174 sed 's/^/| /' conftest.$ac_ext >&5
3179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3186 ac_c_werror_flag=$ac_save_c_werror_flag
3188 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3189 $as_echo "$ac_cv_prog_cc_g" >&6; }
3190 if test "$ac_test_CFLAGS" = set; then
3191 CFLAGS=$ac_save_CFLAGS
3192 elif test $ac_cv_prog_cc_g = yes; then
3193 if test "$GCC" = yes; then
3199 if test "$GCC" = yes; then
3205 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3206 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3207 if test "${ac_cv_prog_cc_c89+set}" = set; then
3208 $as_echo_n "(cached) " >&6
3210 ac_cv_prog_cc_c89=no
3212 cat >conftest.$ac_ext <<_ACEOF
3215 cat confdefs.h >>conftest.$ac_ext
3216 cat >>conftest.$ac_ext <<_ACEOF
3217 /* end confdefs.h. */
3220 #include <sys/types.h>
3221 #include <sys/stat.h>
3222 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3223 struct buf { int x; };
3224 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3225 static char *e (p, i)
3231 static char *f (char * (*g) (char **, int), char **p, ...)
3236 s = g (p, va_arg (v,int));
3241 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3242 function prototypes and stuff, but not '\xHH' hex character constants.
3243 These don't provoke an error unfortunately, instead are silently treated
3244 as 'x'. The following induces an error, until -std is added to get
3245 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3246 array size at least. It's necessary to write '\x00'==0 to get something
3247 that's true only with -std. */
3248 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3250 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3251 inside strings and character constants. */
3253 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3255 int test (int i, double x);
3256 struct s1 {int (*f) (int a);};
3257 struct s2 {int (*f) (double a);};
3258 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3264 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3269 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3270 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3272 CC="$ac_save_CC $ac_arg"
3273 rm -f conftest.$ac_objext
3274 if { (ac_try="$ac_compile"
3276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3277 *) ac_try_echo=$ac_try;;
3279 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3280 $as_echo "$ac_try_echo") >&5
3281 (eval "$ac_compile") 2>conftest.er1
3283 grep -v '^ *+' conftest.er1 >conftest.err
3285 cat conftest.err >&5
3286 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287 (exit $ac_status); } && {
3288 test -z "$ac_c_werror_flag" ||
3289 test ! -s conftest.err
3290 } && test -s conftest.$ac_objext; then
3291 ac_cv_prog_cc_c89=$ac_arg
3293 $as_echo "$as_me: failed program was:" >&5
3294 sed 's/^/| /' conftest.$ac_ext >&5
3299 rm -f core conftest.err conftest.$ac_objext
3300 test "x$ac_cv_prog_cc_c89" != "xno" && break
3302 rm -f conftest.$ac_ext
3307 case "x$ac_cv_prog_cc_c89" in
3309 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3310 $as_echo "none needed" >&6; } ;;
3312 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3313 $as_echo "unsupported" >&6; } ;;
3315 CC="$CC $ac_cv_prog_cc_c89"
3316 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3317 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3322 ac_cpp='$CPP $CPPFLAGS'
3323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3327 depcc="$CC" am_compiler_list=
3329 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3330 $as_echo_n "checking dependency style of $depcc... " >&6; }
3331 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3332 $as_echo_n "(cached) " >&6
3334 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3335 # We make a subdir and do the tests there. Otherwise we can end up
3336 # making bogus files that we don't know about and never remove. For
3337 # instance it was reported that on HP-UX the gcc test will end up
3338 # making a dummy file named `D' -- because `-MD' means `put the output
3341 # Copy depcomp to subdir because otherwise we won't find it if we're
3342 # using a relative directory.
3343 cp "$am_depcomp" conftest.dir
3345 # We will build objects and dependencies in a subdirectory because
3346 # it helps to detect inapplicable dependency modes. For instance
3347 # both Tru64's cc and ICC support -MD to output dependencies as a
3348 # side effect of compilation, but ICC will put the dependencies in
3349 # the current directory while Tru64 will put them in the object
3353 am_cv_CC_dependencies_compiler_type=none
3354 if test "$am_compiler_list" = ""; then
3355 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3357 for depmode in $am_compiler_list; do
3358 # Setup a source with many dependencies, because some compilers
3359 # like to wrap large dependency lists on column 80 (with \), and
3360 # we should not choose a depcomp mode which is confused by this.
3362 # We need to recreate these files for each test, as the compiler may
3363 # overwrite some of them when testing with obscure command lines.
3364 # This happens at least with the AIX C compiler.
3366 for i in 1 2 3 4 5 6; do
3367 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3368 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3369 # Solaris 8's {/usr,}/bin/sh.
3370 touch sub/conftst$i.h
3372 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3376 # after this tag, mechanisms are not by side-effect, so they'll
3377 # only be used when explicitly requested
3378 if test "x$enable_dependency_tracking" = xyes; then
3386 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3387 # mode. It turns out that the SunPro C++ compiler does not properly
3388 # handle `-M -o', and we need to detect this.
3389 if depmode=$depmode \
3390 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3391 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3392 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3393 >/dev/null 2>conftest.err &&
3394 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3395 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3396 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3397 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3398 # icc doesn't choke on unknown options, it will just issue warnings
3399 # or remarks (even with -Werror). So we grep stderr for any message
3400 # that says an option was ignored or not supported.
3401 # When given -MP, icc 7.0 and 7.1 complain thusly:
3402 # icc: Command line warning: ignoring option '-M'; no argument required
3403 # The diagnosis changed in icc 8.0:
3404 # icc: Command line remark: option '-MP' not supported
3405 if (grep 'ignoring option' conftest.err ||
3406 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3407 am_cv_CC_dependencies_compiler_type=$depmode
3416 am_cv_CC_dependencies_compiler_type=none
3420 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3421 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3422 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3425 test "x$enable_dependency_tracking" != xno \
3426 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3428 am__fastdepCC_FALSE='#'
3430 am__fastdepCC_TRUE='#'
3431 am__fastdepCC_FALSE=
3437 ac_cpp='$CPP $CPPFLAGS'
3438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3441 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3442 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3443 # On Suns, sometimes $CPP names a directory.
3444 if test -n "$CPP" && test -d "$CPP"; then
3447 if test -z "$CPP"; then
3448 if test "${ac_cv_prog_CPP+set}" = set; then
3449 $as_echo_n "(cached) " >&6
3451 # Double quotes because CPP needs to be expanded
3452 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3455 for ac_c_preproc_warn_flag in '' yes
3457 # Use a header file that comes with gcc, so configuring glibc
3458 # with a fresh cross-compiler works.
3459 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3460 # <limits.h> exists even on freestanding compilers.
3461 # On the NeXT, cc -E runs the code through the compiler's parser,
3462 # not just through cpp. "Syntax error" is here to catch this case.
3463 cat >conftest.$ac_ext <<_ACEOF
3466 cat confdefs.h >>conftest.$ac_ext
3467 cat >>conftest.$ac_ext <<_ACEOF
3468 /* end confdefs.h. */
3470 # include <limits.h>
3472 # include <assert.h>
3476 if { (ac_try="$ac_cpp conftest.$ac_ext"
3478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3479 *) ac_try_echo=$ac_try;;
3481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3482 $as_echo "$ac_try_echo") >&5
3483 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3485 grep -v '^ *+' conftest.er1 >conftest.err
3487 cat conftest.err >&5
3488 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489 (exit $ac_status); } >/dev/null && {
3490 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3491 test ! -s conftest.err
3495 $as_echo "$as_me: failed program was:" >&5
3496 sed 's/^/| /' conftest.$ac_ext >&5
3498 # Broken: fails on valid input.
3502 rm -f conftest.err conftest.$ac_ext
3504 # OK, works on sane cases. Now check whether nonexistent headers
3505 # can be detected and how.
3506 cat >conftest.$ac_ext <<_ACEOF
3509 cat confdefs.h >>conftest.$ac_ext
3510 cat >>conftest.$ac_ext <<_ACEOF
3511 /* end confdefs.h. */
3512 #include <ac_nonexistent.h>
3514 if { (ac_try="$ac_cpp conftest.$ac_ext"
3516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3517 *) ac_try_echo=$ac_try;;
3519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3520 $as_echo "$ac_try_echo") >&5
3521 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3523 grep -v '^ *+' conftest.er1 >conftest.err
3525 cat conftest.err >&5
3526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); } >/dev/null && {
3528 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3529 test ! -s conftest.err
3531 # Broken: success on invalid input.
3534 $as_echo "$as_me: failed program was:" >&5
3535 sed 's/^/| /' conftest.$ac_ext >&5
3537 # Passes both tests.
3542 rm -f conftest.err conftest.$ac_ext
3545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3546 rm -f conftest.err conftest.$ac_ext
3547 if $ac_preproc_ok; then
3559 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3560 $as_echo "$CPP" >&6; }
3562 for ac_c_preproc_warn_flag in '' yes
3564 # Use a header file that comes with gcc, so configuring glibc
3565 # with a fresh cross-compiler works.
3566 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3567 # <limits.h> exists even on freestanding compilers.
3568 # On the NeXT, cc -E runs the code through the compiler's parser,
3569 # not just through cpp. "Syntax error" is here to catch this case.
3570 cat >conftest.$ac_ext <<_ACEOF
3573 cat confdefs.h >>conftest.$ac_ext
3574 cat >>conftest.$ac_ext <<_ACEOF
3575 /* end confdefs.h. */
3577 # include <limits.h>
3579 # include <assert.h>
3583 if { (ac_try="$ac_cpp conftest.$ac_ext"
3585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3586 *) ac_try_echo=$ac_try;;
3588 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3589 $as_echo "$ac_try_echo") >&5
3590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3592 grep -v '^ *+' conftest.er1 >conftest.err
3594 cat conftest.err >&5
3595 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); } >/dev/null && {
3597 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3598 test ! -s conftest.err
3602 $as_echo "$as_me: failed program was:" >&5
3603 sed 's/^/| /' conftest.$ac_ext >&5
3605 # Broken: fails on valid input.
3609 rm -f conftest.err conftest.$ac_ext
3611 # OK, works on sane cases. Now check whether nonexistent headers
3612 # can be detected and how.
3613 cat >conftest.$ac_ext <<_ACEOF
3616 cat confdefs.h >>conftest.$ac_ext
3617 cat >>conftest.$ac_ext <<_ACEOF
3618 /* end confdefs.h. */
3619 #include <ac_nonexistent.h>
3621 if { (ac_try="$ac_cpp conftest.$ac_ext"
3623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3624 *) ac_try_echo=$ac_try;;
3626 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3627 $as_echo "$ac_try_echo") >&5
3628 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3630 grep -v '^ *+' conftest.er1 >conftest.err
3632 cat conftest.err >&5
3633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634 (exit $ac_status); } >/dev/null && {
3635 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3636 test ! -s conftest.err
3638 # Broken: success on invalid input.
3641 $as_echo "$as_me: failed program was:" >&5
3642 sed 's/^/| /' conftest.$ac_ext >&5
3644 # Passes both tests.
3649 rm -f conftest.err conftest.$ac_ext
3652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3653 rm -f conftest.err conftest.$ac_ext
3654 if $ac_preproc_ok; then
3657 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3659 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3660 See \`config.log' for more details." >&5
3661 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3662 See \`config.log' for more details." >&2;}
3663 { (exit 1); exit 1; }; }; }
3667 ac_cpp='$CPP $CPPFLAGS'
3668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3673 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3674 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3675 if test "${ac_cv_path_GREP+set}" = set; then
3676 $as_echo_n "(cached) " >&6
3678 if test -z "$GREP"; then
3679 ac_path_GREP_found=false
3680 # Loop through the user's path and test for each of PROGNAME-LIST
3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3685 test -z "$as_dir" && as_dir=.
3686 for ac_prog in grep ggrep; do
3687 for ac_exec_ext in '' $ac_executable_extensions; do
3688 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3689 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3690 # Check for GNU ac_path_GREP and select it if it is found.
3691 # Check for GNU $ac_path_GREP
3692 case `"$ac_path_GREP" --version 2>&1` in
3694 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3697 $as_echo_n 0123456789 >"conftest.in"
3700 cat "conftest.in" "conftest.in" >"conftest.tmp"
3701 mv "conftest.tmp" "conftest.in"
3702 cp "conftest.in" "conftest.nl"
3703 $as_echo 'GREP' >> "conftest.nl"
3704 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3705 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3706 ac_count=`expr $ac_count + 1`
3707 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3708 # Best one so far, save it but keep looking for a better one
3709 ac_cv_path_GREP="$ac_path_GREP"
3710 ac_path_GREP_max=$ac_count
3712 # 10*(2^10) chars as input seems more than enough
3713 test $ac_count -gt 10 && break
3715 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3718 $ac_path_GREP_found && break 3
3723 if test -z "$ac_cv_path_GREP"; then
3724 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3725 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3726 { (exit 1); exit 1; }; }
3729 ac_cv_path_GREP=$GREP
3733 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3734 $as_echo "$ac_cv_path_GREP" >&6; }
3735 GREP="$ac_cv_path_GREP"
3738 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3739 $as_echo_n "checking for egrep... " >&6; }
3740 if test "${ac_cv_path_EGREP+set}" = set; then
3741 $as_echo_n "(cached) " >&6
3743 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3744 then ac_cv_path_EGREP="$GREP -E"
3746 if test -z "$EGREP"; then
3747 ac_path_EGREP_found=false
3748 # Loop through the user's path and test for each of PROGNAME-LIST
3749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3750 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3753 test -z "$as_dir" && as_dir=.
3754 for ac_prog in egrep; do
3755 for ac_exec_ext in '' $ac_executable_extensions; do
3756 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3757 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3758 # Check for GNU ac_path_EGREP and select it if it is found.
3759 # Check for GNU $ac_path_EGREP
3760 case `"$ac_path_EGREP" --version 2>&1` in
3762 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3765 $as_echo_n 0123456789 >"conftest.in"
3768 cat "conftest.in" "conftest.in" >"conftest.tmp"
3769 mv "conftest.tmp" "conftest.in"
3770 cp "conftest.in" "conftest.nl"
3771 $as_echo 'EGREP' >> "conftest.nl"
3772 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3773 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3774 ac_count=`expr $ac_count + 1`
3775 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3776 # Best one so far, save it but keep looking for a better one
3777 ac_cv_path_EGREP="$ac_path_EGREP"
3778 ac_path_EGREP_max=$ac_count
3780 # 10*(2^10) chars as input seems more than enough
3781 test $ac_count -gt 10 && break
3783 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3786 $ac_path_EGREP_found && break 3
3791 if test -z "$ac_cv_path_EGREP"; then
3792 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3793 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3794 { (exit 1); exit 1; }; }
3797 ac_cv_path_EGREP=$EGREP
3802 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3803 $as_echo "$ac_cv_path_EGREP" >&6; }
3804 EGREP="$ac_cv_path_EGREP"
3807 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3808 $as_echo_n "checking for ANSI C header files... " >&6; }
3809 if test "${ac_cv_header_stdc+set}" = set; then
3810 $as_echo_n "(cached) " >&6
3812 cat >conftest.$ac_ext <<_ACEOF
3815 cat confdefs.h >>conftest.$ac_ext
3816 cat >>conftest.$ac_ext <<_ACEOF
3817 /* end confdefs.h. */
3831 rm -f conftest.$ac_objext
3832 if { (ac_try="$ac_compile"
3834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3835 *) ac_try_echo=$ac_try;;
3837 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3838 $as_echo "$ac_try_echo") >&5
3839 (eval "$ac_compile") 2>conftest.er1
3841 grep -v '^ *+' conftest.er1 >conftest.err
3843 cat conftest.err >&5
3844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3845 (exit $ac_status); } && {
3846 test -z "$ac_c_werror_flag" ||
3847 test ! -s conftest.err
3848 } && test -s conftest.$ac_objext; then
3849 ac_cv_header_stdc=yes
3851 $as_echo "$as_me: failed program was:" >&5
3852 sed 's/^/| /' conftest.$ac_ext >&5
3854 ac_cv_header_stdc=no
3857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3859 if test $ac_cv_header_stdc = yes; then
3860 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3861 cat >conftest.$ac_ext <<_ACEOF
3864 cat confdefs.h >>conftest.$ac_ext
3865 cat >>conftest.$ac_ext <<_ACEOF
3866 /* end confdefs.h. */
3870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3871 $EGREP "memchr" >/dev/null 2>&1; then
3874 ac_cv_header_stdc=no
3880 if test $ac_cv_header_stdc = yes; then
3881 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3882 cat >conftest.$ac_ext <<_ACEOF
3885 cat confdefs.h >>conftest.$ac_ext
3886 cat >>conftest.$ac_ext <<_ACEOF
3887 /* end confdefs.h. */
3891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3892 $EGREP "free" >/dev/null 2>&1; then
3895 ac_cv_header_stdc=no
3901 if test $ac_cv_header_stdc = yes; then
3902 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3903 if test "$cross_compiling" = yes; then
3906 cat >conftest.$ac_ext <<_ACEOF
3909 cat confdefs.h >>conftest.$ac_ext
3910 cat >>conftest.$ac_ext <<_ACEOF
3911 /* end confdefs.h. */
3914 #if ((' ' & 0x0FF) == 0x020)
3915 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3916 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3918 # define ISLOWER(c) \
3919 (('a' <= (c) && (c) <= 'i') \
3920 || ('j' <= (c) && (c) <= 'r') \
3921 || ('s' <= (c) && (c) <= 'z'))
3922 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3925 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3930 for (i = 0; i < 256; i++)
3931 if (XOR (islower (i), ISLOWER (i))
3932 || toupper (i) != TOUPPER (i))
3937 rm -f conftest$ac_exeext
3938 if { (ac_try="$ac_link"
3940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3941 *) ac_try_echo=$ac_try;;
3943 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3944 $as_echo "$ac_try_echo") >&5
3945 (eval "$ac_link") 2>&5
3947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3949 { (case "(($ac_try" in
3950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3951 *) ac_try_echo=$ac_try;;
3953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3954 $as_echo "$ac_try_echo") >&5
3955 (eval "$ac_try") 2>&5
3957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3958 (exit $ac_status); }; }; then
3961 $as_echo "$as_me: program exited with status $ac_status" >&5
3962 $as_echo "$as_me: failed program was:" >&5
3963 sed 's/^/| /' conftest.$ac_ext >&5
3966 ac_cv_header_stdc=no
3968 rm -rf conftest.dSYM
3969 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3975 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3976 $as_echo "$ac_cv_header_stdc" >&6; }
3977 if test $ac_cv_header_stdc = yes; then
3979 cat >>confdefs.h <<\_ACEOF
3980 #define STDC_HEADERS 1
3985 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3995 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3996 inttypes.h stdint.h unistd.h
3998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3999 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4000 $as_echo_n "checking for $ac_header... " >&6; }
4001 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4002 $as_echo_n "(cached) " >&6
4004 cat >conftest.$ac_ext <<_ACEOF
4007 cat confdefs.h >>conftest.$ac_ext
4008 cat >>conftest.$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4010 $ac_includes_default
4012 #include <$ac_header>
4014 rm -f conftest.$ac_objext
4015 if { (ac_try="$ac_compile"
4017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018 *) ac_try_echo=$ac_try;;
4020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4021 $as_echo "$ac_try_echo") >&5
4022 (eval "$ac_compile") 2>conftest.er1
4024 grep -v '^ *+' conftest.er1 >conftest.err
4026 cat conftest.err >&5
4027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); } && {
4029 test -z "$ac_c_werror_flag" ||
4030 test ! -s conftest.err
4031 } && test -s conftest.$ac_objext; then
4032 eval "$as_ac_Header=yes"
4034 $as_echo "$as_me: failed program was:" >&5
4035 sed 's/^/| /' conftest.$ac_ext >&5
4037 eval "$as_ac_Header=no"
4040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4042 ac_res=`eval 'as_val=${'$as_ac_Header'}
4043 $as_echo "$as_val"'`
4044 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4045 $as_echo "$ac_res" >&6; }
4046 as_val=`eval 'as_val=${'$as_ac_Header'}
4047 $as_echo "$as_val"'`
4048 if test "x$as_val" = x""yes; then
4049 cat >>confdefs.h <<_ACEOF
4050 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4059 if test "${ac_cv_header_minix_config_h+set}" = set; then
4060 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4061 $as_echo_n "checking for minix/config.h... " >&6; }
4062 if test "${ac_cv_header_minix_config_h+set}" = set; then
4063 $as_echo_n "(cached) " >&6
4065 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4066 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4068 # Is the header compilable?
4069 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4070 $as_echo_n "checking minix/config.h usability... " >&6; }
4071 cat >conftest.$ac_ext <<_ACEOF
4074 cat confdefs.h >>conftest.$ac_ext
4075 cat >>conftest.$ac_ext <<_ACEOF
4076 /* end confdefs.h. */
4077 $ac_includes_default
4078 #include <minix/config.h>
4080 rm -f conftest.$ac_objext
4081 if { (ac_try="$ac_compile"
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4086 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4087 $as_echo "$ac_try_echo") >&5
4088 (eval "$ac_compile") 2>conftest.er1
4090 grep -v '^ *+' conftest.er1 >conftest.err
4092 cat conftest.err >&5
4093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); } && {
4095 test -z "$ac_c_werror_flag" ||
4096 test ! -s conftest.err
4097 } && test -s conftest.$ac_objext; then
4098 ac_header_compiler=yes
4100 $as_echo "$as_me: failed program was:" >&5
4101 sed 's/^/| /' conftest.$ac_ext >&5
4103 ac_header_compiler=no
4106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4107 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4108 $as_echo "$ac_header_compiler" >&6; }
4110 # Is the header present?
4111 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4112 $as_echo_n "checking minix/config.h presence... " >&6; }
4113 cat >conftest.$ac_ext <<_ACEOF
4116 cat confdefs.h >>conftest.$ac_ext
4117 cat >>conftest.$ac_ext <<_ACEOF
4118 /* end confdefs.h. */
4119 #include <minix/config.h>
4121 if { (ac_try="$ac_cpp conftest.$ac_ext"
4123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4124 *) ac_try_echo=$ac_try;;
4126 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4127 $as_echo "$ac_try_echo") >&5
4128 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4130 grep -v '^ *+' conftest.er1 >conftest.err
4132 cat conftest.err >&5
4133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4134 (exit $ac_status); } >/dev/null && {
4135 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4136 test ! -s conftest.err
4138 ac_header_preproc=yes
4140 $as_echo "$as_me: failed program was:" >&5
4141 sed 's/^/| /' conftest.$ac_ext >&5
4143 ac_header_preproc=no
4146 rm -f conftest.err conftest.$ac_ext
4147 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4148 $as_echo "$ac_header_preproc" >&6; }
4150 # So? What about this header?
4151 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4153 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4154 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4155 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4156 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4157 ac_header_preproc=yes
4160 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4161 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4162 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4163 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4164 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4165 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4166 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4167 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4168 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4169 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4170 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4171 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4173 ## ---------------------------------------- ##
4174 ## Report this to linux-usb@vger.kernel.org ##
4175 ## ---------------------------------------- ##
4177 ) | sed "s/^/$as_me: WARNING: /" >&2
4180 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4181 $as_echo_n "checking for minix/config.h... " >&6; }
4182 if test "${ac_cv_header_minix_config_h+set}" = set; then
4183 $as_echo_n "(cached) " >&6
4185 ac_cv_header_minix_config_h=$ac_header_preproc
4187 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4188 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4191 if test "x$ac_cv_header_minix_config_h" = x""yes; then
4198 if test "$MINIX" = yes; then
4200 cat >>confdefs.h <<\_ACEOF
4201 #define _POSIX_SOURCE 1
4205 cat >>confdefs.h <<\_ACEOF
4206 #define _POSIX_1_SOURCE 2
4210 cat >>confdefs.h <<\_ACEOF
4218 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4219 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4220 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4221 $as_echo_n "(cached) " >&6
4223 cat >conftest.$ac_ext <<_ACEOF
4226 cat confdefs.h >>conftest.$ac_ext
4227 cat >>conftest.$ac_ext <<_ACEOF
4228 /* end confdefs.h. */
4230 # define __EXTENSIONS__ 1
4231 $ac_includes_default
4240 rm -f conftest.$ac_objext
4241 if { (ac_try="$ac_compile"
4243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4244 *) ac_try_echo=$ac_try;;
4246 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4247 $as_echo "$ac_try_echo") >&5
4248 (eval "$ac_compile") 2>conftest.er1
4250 grep -v '^ *+' conftest.er1 >conftest.err
4252 cat conftest.err >&5
4253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254 (exit $ac_status); } && {
4255 test -z "$ac_c_werror_flag" ||
4256 test ! -s conftest.err
4257 } && test -s conftest.$ac_objext; then
4258 ac_cv_safe_to_define___extensions__=yes
4260 $as_echo "$as_me: failed program was:" >&5
4261 sed 's/^/| /' conftest.$ac_ext >&5
4263 ac_cv_safe_to_define___extensions__=no
4266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4269 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4270 test $ac_cv_safe_to_define___extensions__ = yes &&
4271 cat >>confdefs.h <<\_ACEOF
4272 #define __EXTENSIONS__ 1
4275 cat >>confdefs.h <<\_ACEOF
4276 #define _ALL_SOURCE 1
4279 cat >>confdefs.h <<\_ACEOF
4280 #define _GNU_SOURCE 1
4283 cat >>confdefs.h <<\_ACEOF
4284 #define _POSIX_PTHREAD_SEMANTICS 1
4287 cat >>confdefs.h <<\_ACEOF
4288 #define _TANDEM_SOURCE 1
4292 # Check whether --enable-largefile was given.
4293 if test "${enable_largefile+set}" = set; then
4294 enableval=$enable_largefile;
4297 if test "$enable_largefile" != no; then
4299 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4300 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4301 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4302 $as_echo_n "(cached) " >&6
4304 ac_cv_sys_largefile_CC=no
4305 if test "$GCC" != yes; then
4308 # IRIX 6.2 and later do not support large files by default,
4309 # so use the C compiler's -n32 option if that helps.
4310 cat >conftest.$ac_ext <<_ACEOF
4313 cat confdefs.h >>conftest.$ac_ext
4314 cat >>conftest.$ac_ext <<_ACEOF
4315 /* end confdefs.h. */
4316 #include <sys/types.h>
4317 /* Check that off_t can represent 2**63 - 1 correctly.
4318 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4319 since some C++ compilers masquerading as C compilers
4320 incorrectly reject 9223372036854775807. */
4321 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4322 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4323 && LARGE_OFF_T % 2147483647 == 1)
4333 rm -f conftest.$ac_objext
4334 if { (ac_try="$ac_compile"
4336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4337 *) ac_try_echo=$ac_try;;
4339 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4340 $as_echo "$ac_try_echo") >&5
4341 (eval "$ac_compile") 2>conftest.er1
4343 grep -v '^ *+' conftest.er1 >conftest.err
4345 cat conftest.err >&5
4346 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347 (exit $ac_status); } && {
4348 test -z "$ac_c_werror_flag" ||
4349 test ! -s conftest.err
4350 } && test -s conftest.$ac_objext; then
4353 $as_echo "$as_me: failed program was:" >&5
4354 sed 's/^/| /' conftest.$ac_ext >&5
4359 rm -f core conftest.err conftest.$ac_objext
4361 rm -f conftest.$ac_objext
4362 if { (ac_try="$ac_compile"
4364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4365 *) ac_try_echo=$ac_try;;
4367 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4368 $as_echo "$ac_try_echo") >&5
4369 (eval "$ac_compile") 2>conftest.er1
4371 grep -v '^ *+' conftest.er1 >conftest.err
4373 cat conftest.err >&5
4374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); } && {
4376 test -z "$ac_c_werror_flag" ||
4377 test ! -s conftest.err
4378 } && test -s conftest.$ac_objext; then
4379 ac_cv_sys_largefile_CC=' -n32'; break
4381 $as_echo "$as_me: failed program was:" >&5
4382 sed 's/^/| /' conftest.$ac_ext >&5
4387 rm -f core conftest.err conftest.$ac_objext
4391 rm -f conftest.$ac_ext
4394 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4395 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4396 if test "$ac_cv_sys_largefile_CC" != no; then
4397 CC=$CC$ac_cv_sys_largefile_CC
4400 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4401 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4402 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4403 $as_echo_n "(cached) " >&6
4406 cat >conftest.$ac_ext <<_ACEOF
4409 cat confdefs.h >>conftest.$ac_ext
4410 cat >>conftest.$ac_ext <<_ACEOF
4411 /* end confdefs.h. */
4412 #include <sys/types.h>
4413 /* Check that off_t can represent 2**63 - 1 correctly.
4414 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4415 since some C++ compilers masquerading as C compilers
4416 incorrectly reject 9223372036854775807. */
4417 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4418 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4419 && LARGE_OFF_T % 2147483647 == 1)
4429 rm -f conftest.$ac_objext
4430 if { (ac_try="$ac_compile"
4432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4433 *) ac_try_echo=$ac_try;;
4435 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4436 $as_echo "$ac_try_echo") >&5
4437 (eval "$ac_compile") 2>conftest.er1
4439 grep -v '^ *+' conftest.er1 >conftest.err
4441 cat conftest.err >&5
4442 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443 (exit $ac_status); } && {
4444 test -z "$ac_c_werror_flag" ||
4445 test ! -s conftest.err
4446 } && test -s conftest.$ac_objext; then
4447 ac_cv_sys_file_offset_bits=no; break
4449 $as_echo "$as_me: failed program was:" >&5
4450 sed 's/^/| /' conftest.$ac_ext >&5
4455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4456 cat >conftest.$ac_ext <<_ACEOF
4459 cat confdefs.h >>conftest.$ac_ext
4460 cat >>conftest.$ac_ext <<_ACEOF
4461 /* end confdefs.h. */
4462 #define _FILE_OFFSET_BITS 64
4463 #include <sys/types.h>
4464 /* Check that off_t can represent 2**63 - 1 correctly.
4465 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4466 since some C++ compilers masquerading as C compilers
4467 incorrectly reject 9223372036854775807. */
4468 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4469 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4470 && LARGE_OFF_T % 2147483647 == 1)
4480 rm -f conftest.$ac_objext
4481 if { (ac_try="$ac_compile"
4483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4484 *) ac_try_echo=$ac_try;;
4486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4487 $as_echo "$ac_try_echo") >&5
4488 (eval "$ac_compile") 2>conftest.er1
4490 grep -v '^ *+' conftest.er1 >conftest.err
4492 cat conftest.err >&5
4493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494 (exit $ac_status); } && {
4495 test -z "$ac_c_werror_flag" ||
4496 test ! -s conftest.err
4497 } && test -s conftest.$ac_objext; then
4498 ac_cv_sys_file_offset_bits=64; break
4500 $as_echo "$as_me: failed program was:" >&5
4501 sed 's/^/| /' conftest.$ac_ext >&5
4506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4507 ac_cv_sys_file_offset_bits=unknown
4511 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4512 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4513 case $ac_cv_sys_file_offset_bits in #(
4516 cat >>confdefs.h <<_ACEOF
4517 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4522 if test $ac_cv_sys_file_offset_bits = unknown; then
4523 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4524 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4525 if test "${ac_cv_sys_large_files+set}" = set; then
4526 $as_echo_n "(cached) " >&6
4529 cat >conftest.$ac_ext <<_ACEOF
4532 cat confdefs.h >>conftest.$ac_ext
4533 cat >>conftest.$ac_ext <<_ACEOF
4534 /* end confdefs.h. */
4535 #include <sys/types.h>
4536 /* Check that off_t can represent 2**63 - 1 correctly.
4537 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4538 since some C++ compilers masquerading as C compilers
4539 incorrectly reject 9223372036854775807. */
4540 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4541 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4542 && LARGE_OFF_T % 2147483647 == 1)
4552 rm -f conftest.$ac_objext
4553 if { (ac_try="$ac_compile"
4555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4556 *) ac_try_echo=$ac_try;;
4558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4559 $as_echo "$ac_try_echo") >&5
4560 (eval "$ac_compile") 2>conftest.er1
4562 grep -v '^ *+' conftest.er1 >conftest.err
4564 cat conftest.err >&5
4565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566 (exit $ac_status); } && {
4567 test -z "$ac_c_werror_flag" ||
4568 test ! -s conftest.err
4569 } && test -s conftest.$ac_objext; then
4570 ac_cv_sys_large_files=no; break
4572 $as_echo "$as_me: failed program was:" >&5
4573 sed 's/^/| /' conftest.$ac_ext >&5
4578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4579 cat >conftest.$ac_ext <<_ACEOF
4582 cat confdefs.h >>conftest.$ac_ext
4583 cat >>conftest.$ac_ext <<_ACEOF
4584 /* end confdefs.h. */
4585 #define _LARGE_FILES 1
4586 #include <sys/types.h>
4587 /* Check that off_t can represent 2**63 - 1 correctly.
4588 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4589 since some C++ compilers masquerading as C compilers
4590 incorrectly reject 9223372036854775807. */
4591 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4592 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4593 && LARGE_OFF_T % 2147483647 == 1)
4603 rm -f conftest.$ac_objext
4604 if { (ac_try="$ac_compile"
4606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4607 *) ac_try_echo=$ac_try;;
4609 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4610 $as_echo "$ac_try_echo") >&5
4611 (eval "$ac_compile") 2>conftest.er1
4613 grep -v '^ *+' conftest.er1 >conftest.err
4615 cat conftest.err >&5
4616 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); } && {
4618 test -z "$ac_c_werror_flag" ||
4619 test ! -s conftest.err
4620 } && test -s conftest.$ac_objext; then
4621 ac_cv_sys_large_files=1; break
4623 $as_echo "$as_me: failed program was:" >&5
4624 sed 's/^/| /' conftest.$ac_ext >&5
4629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4630 ac_cv_sys_large_files=unknown
4634 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4635 $as_echo "$ac_cv_sys_large_files" >&6; }
4636 case $ac_cv_sys_large_files in #(
4639 cat >>confdefs.h <<_ACEOF
4640 #define _LARGE_FILES $ac_cv_sys_large_files
4650 # Check whether --enable-zlib was given.
4651 if test "${enable_zlib+set}" = set; then
4652 enableval=$enable_zlib;
4653 if eval "test x$enable_zlib = xno"; then
4659 if test "$USE_ZLIB" = "yes" ; then
4661 { $as_echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
4662 $as_echo_n "checking for inflateEnd in -lz... " >&6; }
4663 if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
4664 $as_echo_n "(cached) " >&6
4666 ac_check_lib_save_LIBS=$LIBS
4668 cat >conftest.$ac_ext <<_ACEOF
4671 cat confdefs.h >>conftest.$ac_ext
4672 cat >>conftest.$ac_ext <<_ACEOF
4673 /* end confdefs.h. */
4675 /* Override any GCC internal prototype to avoid an error.
4676 Use char because int might match the return type of a GCC
4677 builtin and then its argument prototype would still apply. */
4685 return inflateEnd ();
4690 rm -f conftest.$ac_objext conftest$ac_exeext
4691 if { (ac_try="$ac_link"
4693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4694 *) ac_try_echo=$ac_try;;
4696 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4697 $as_echo "$ac_try_echo") >&5
4698 (eval "$ac_link") 2>conftest.er1
4700 grep -v '^ *+' conftest.er1 >conftest.err
4702 cat conftest.err >&5
4703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704 (exit $ac_status); } && {
4705 test -z "$ac_c_werror_flag" ||
4706 test ! -s conftest.err
4707 } && test -s conftest$ac_exeext && {
4708 test "$cross_compiling" = yes ||
4709 $as_test_x conftest$ac_exeext
4711 ac_cv_lib_z_inflateEnd=yes
4713 $as_echo "$as_me: failed program was:" >&5
4714 sed 's/^/| /' conftest.$ac_ext >&5
4716 ac_cv_lib_z_inflateEnd=no
4719 rm -rf conftest.dSYM
4720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4721 conftest$ac_exeext conftest.$ac_ext
4722 LIBS=$ac_check_lib_save_LIBS
4724 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
4725 $as_echo "$ac_cv_lib_z_inflateEnd" >&6; }
4726 if test "x$ac_cv_lib_z_inflateEnd" = x""yes; then
4727 cat >>confdefs.h <<_ACEOF
4735 if test "${ac_cv_lib_z_inflateEnd}" = "yes" ; then
4739 if test x$HAVE_ZLIB = xyes; then
4750 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4751 if test -n "$ac_tool_prefix"; then
4752 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4753 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4754 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4755 $as_echo_n "checking for $ac_word... " >&6; }
4756 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4757 $as_echo_n "(cached) " >&6
4761 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768 test -z "$as_dir" && as_dir=.
4769 for ac_exec_ext in '' $ac_executable_extensions; do
4770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4771 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4772 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4782 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4783 if test -n "$PKG_CONFIG"; then
4784 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4785 $as_echo "$PKG_CONFIG" >&6; }
4787 { $as_echo "$as_me:$LINENO: result: no" >&5
4788 $as_echo "no" >&6; }
4793 if test -z "$ac_cv_path_PKG_CONFIG"; then
4794 ac_pt_PKG_CONFIG=$PKG_CONFIG
4795 # Extract the first word of "pkg-config", so it can be a program name with args.
4796 set dummy pkg-config; ac_word=$2
4797 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4798 $as_echo_n "checking for $ac_word... " >&6; }
4799 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4800 $as_echo_n "(cached) " >&6
4802 case $ac_pt_PKG_CONFIG in
4804 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4811 test -z "$as_dir" && as_dir=.
4812 for ac_exec_ext in '' $ac_executable_extensions; do
4813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4814 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4815 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4825 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4826 if test -n "$ac_pt_PKG_CONFIG"; then
4827 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4828 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4830 { $as_echo "$as_me:$LINENO: result: no" >&5
4831 $as_echo "no" >&6; }
4834 if test "x$ac_pt_PKG_CONFIG" = x; then
4837 case $cross_compiling:$ac_tool_warned in
4839 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4841 ac_tool_warned=yes ;;
4843 PKG_CONFIG=$ac_pt_PKG_CONFIG
4846 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4850 if test -n "$PKG_CONFIG"; then
4851 _pkg_min_version=0.9.0
4852 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4853 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4854 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4855 { $as_echo "$as_me:$LINENO: result: yes" >&5
4856 $as_echo "yes" >&6; }
4858 { $as_echo "$as_me:$LINENO: result: no" >&5
4859 $as_echo "no" >&6; }
4866 { $as_echo "$as_me:$LINENO: checking for LIBUSB" >&5
4867 $as_echo_n "checking for LIBUSB... " >&6; }
4869 if test -n "$LIBUSB_CFLAGS"; then
4870 pkg_cv_LIBUSB_CFLAGS="$LIBUSB_CFLAGS"
4871 elif test -n "$PKG_CONFIG"; then
4872 if test -n "$PKG_CONFIG" && \
4873 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb >= 0.1.12\"") >&5
4874 ($PKG_CONFIG --exists --print-errors "libusb >= 0.1.12") 2>&5
4876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877 (exit $ac_status); }; then
4878 pkg_cv_LIBUSB_CFLAGS=`$PKG_CONFIG --cflags "libusb >= 0.1.12" 2>/dev/null`
4885 if test -n "$LIBUSB_LIBS"; then
4886 pkg_cv_LIBUSB_LIBS="$LIBUSB_LIBS"
4887 elif test -n "$PKG_CONFIG"; then
4888 if test -n "$PKG_CONFIG" && \
4889 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb >= 0.1.12\"") >&5
4890 ($PKG_CONFIG --exists --print-errors "libusb >= 0.1.12") 2>&5
4892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); }; then
4894 pkg_cv_LIBUSB_LIBS=`$PKG_CONFIG --libs "libusb >= 0.1.12" 2>/dev/null`
4904 if test $pkg_failed = yes; then
4906 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4907 _pkg_short_errors_supported=yes
4909 _pkg_short_errors_supported=no
4911 if test $_pkg_short_errors_supported = yes; then
4912 LIBUSB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libusb >= 0.1.12" 2>&1`
4914 LIBUSB_PKG_ERRORS=`$PKG_CONFIG --print-errors "libusb >= 0.1.12" 2>&1`
4916 # Put the nasty error message in config.log where it belongs
4917 echo "$LIBUSB_PKG_ERRORS" >&5
4919 { { $as_echo "$as_me:$LINENO: error: Package requirements (libusb >= 0.1.12) were not met:
4923 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4924 installed software in a non-standard prefix.
4926 Alternatively, you may set the environment variables LIBUSB_CFLAGS
4927 and LIBUSB_LIBS to avoid the need to call pkg-config.
4928 See the pkg-config man page for more details.
4930 $as_echo "$as_me: error: Package requirements (libusb >= 0.1.12) were not met:
4934 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4935 installed software in a non-standard prefix.
4937 Alternatively, you may set the environment variables LIBUSB_CFLAGS
4938 and LIBUSB_LIBS to avoid the need to call pkg-config.
4939 See the pkg-config man page for more details.
4941 { (exit 1); exit 1; }; }
4942 elif test $pkg_failed = untried; then
4943 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4945 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4946 is in your PATH or set the PKG_CONFIG environment variable to the full
4949 Alternatively, you may set the environment variables LIBUSB_CFLAGS
4950 and LIBUSB_LIBS to avoid the need to call pkg-config.
4951 See the pkg-config man page for more details.
4953 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4954 See \`config.log' for more details." >&5
4955 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4956 is in your PATH or set the PKG_CONFIG environment variable to the full
4959 Alternatively, you may set the environment variables LIBUSB_CFLAGS
4960 and LIBUSB_LIBS to avoid the need to call pkg-config.
4961 See the pkg-config man page for more details.
4963 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4964 See \`config.log' for more details." >&2;}
4965 { (exit 1); exit 1; }; }; }
4967 LIBUSB_CFLAGS=$pkg_cv_LIBUSB_CFLAGS
4968 LIBUSB_LIBS=$pkg_cv_LIBUSB_LIBS
4969 { $as_echo "$as_me:$LINENO: result: yes" >&5
4970 $as_echo "yes" >&6; }
4976 ac_config_headers="$ac_config_headers config.h"
4978 ac_config_files="$ac_config_files Makefile"
4981 cat >confcache <<\_ACEOF
4982 # This file is a shell script that caches the results of configure
4983 # tests run on this system so they can be shared between configure
4984 # scripts and configure runs, see configure's option --config-cache.
4985 # It is not useful on other systems. If it contains results you don't
4986 # want to keep, you may remove or edit it.
4988 # config.status only pays attention to the cache file if you give it
4989 # the --recheck option to rerun configure.
4991 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4992 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4997 # The following way of writing the cache mishandles newlines in values,
4998 # but we know of no workaround that is simple, portable, and efficient.
4999 # So, we kill variables containing newlines.
5000 # Ultrix sh set writes to stderr and can't be redirected directly,
5001 # and sets the high bit in the cache file unless we assign to the vars.
5003 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5004 eval ac_val=\$$ac_var
5008 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5009 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5012 _ | IFS | as_nl) ;; #(
5013 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5014 *) $as_unset $ac_var ;;
5020 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5021 *${as_nl}ac_space=\ *)
5022 # `set' does not quote correctly, so add quotes (double-quote
5023 # substitution turns \\\\ into \\, and sed turns \\ into \).
5026 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5029 # `set' quotes correctly as required by POSIX, so do not add quotes.
5030 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5039 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5041 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5043 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5044 if test -w "$cache_file"; then
5045 test "x$cache_file" != "x/dev/null" &&
5046 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5047 $as_echo "$as_me: updating cache $cache_file" >&6;}
5048 cat confcache >$cache_file
5050 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5051 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5056 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5057 # Let make expand exec_prefix.
5058 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5060 DEFS=-DHAVE_CONFIG_H
5064 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5065 # 1. Remove the extension, and $U if already installed.
5066 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5067 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5068 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5069 # will be set to the directory where LIBOBJS objects are built.
5070 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5071 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5075 LTLIBOBJS=$ac_ltlibobjs
5078 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5079 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5080 Usually this means the macro was only invoked conditionally." >&5
5081 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5082 Usually this means the macro was only invoked conditionally." >&2;}
5083 { (exit 1); exit 1; }; }
5085 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5086 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5087 Usually this means the macro was only invoked conditionally." >&5
5088 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5089 Usually this means the macro was only invoked conditionally." >&2;}
5090 { (exit 1); exit 1; }; }
5092 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
5093 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_ZLIB\" was never defined.
5094 Usually this means the macro was only invoked conditionally." >&5
5095 $as_echo "$as_me: error: conditional \"HAVE_ZLIB\" was never defined.
5096 Usually this means the macro was only invoked conditionally." >&2;}
5097 { (exit 1); exit 1; }; }
5100 : ${CONFIG_STATUS=./config.status}
5102 ac_clean_files_save=$ac_clean_files
5103 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5104 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5105 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5106 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5108 # Generated by $as_me.
5109 # Run this file to recreate the current configuration.
5110 # Compiler output produced by configure, useful for debugging
5111 # configure, is in config.log if it exists.
5116 SHELL=\${CONFIG_SHELL-$SHELL}
5119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5120 ## --------------------- ##
5121 ## M4sh Initialization. ##
5122 ## --------------------- ##
5124 # Be more Bourne compatible
5125 DUALCASE=1; export DUALCASE # for MKS sh
5126 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5129 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5130 # is contrary to our usage. Disable this feature.
5131 alias -g '${1+"$@"}'='"$@"'
5132 setopt NO_GLOB_SUBST
5134 case `(set -o) 2>/dev/null` in
5135 *posix*) set -o posix ;;
5144 # Avoid depending upon Character Ranges.
5145 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5146 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5147 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5148 as_cr_digits='0123456789'
5149 as_cr_alnum=$as_cr_Letters$as_cr_digits
5154 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5155 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5156 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5157 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5158 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5159 as_echo='printf %s\n'
5160 as_echo_n='printf %s'
5162 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5163 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5164 as_echo_n='/usr/ucb/echo -n'
5166 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5167 as_echo_n_body='eval
5171 expr "X$arg" : "X\\(.*\\)$as_nl";
5172 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5174 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5176 export as_echo_n_body
5177 as_echo_n='sh -c $as_echo_n_body as_echo'
5180 as_echo='sh -c $as_echo_body as_echo'
5183 # The user is always right.
5184 if test "${PATH_SEPARATOR+set}" != set; then
5186 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5187 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5192 # Support unset when possible.
5193 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5201 # We need space, tab and new line, in precisely that order. Quoting is
5202 # there to prevent editors from complaining about space-tab.
5203 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5204 # splitting by setting IFS to empty value.)
5207 # Find who we are. Look in the path if we contain no directory separator.
5209 *[\\/]* ) as_myself=$0 ;;
5210 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5214 test -z "$as_dir" && as_dir=.
5215 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5221 # We did not find ourselves, most probably we were run as `sh COMMAND'
5222 # in which case we are not to be found in the path.
5223 if test "x$as_myself" = x; then
5226 if test ! -f "$as_myself"; then
5227 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5228 { (exit 1); exit 1; }
5231 # Work around bugs in pre-3.0 UWIN ksh.
5232 for as_var in ENV MAIL MAILPATH
5233 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5245 # Required to use basename.
5246 if expr a : '\(a\)' >/dev/null 2>&1 &&
5247 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5253 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5254 as_basename=basename
5260 # Name of the executable.
5261 as_me=`$as_basename -- "$0" ||
5262 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5263 X"$0" : 'X\(//\)$' \| \
5264 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5266 sed '/^.*\/\([^/][^/]*\)\/*$/{
5287 test "x$as_lineno_1" != "x$as_lineno_2" &&
5288 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5290 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5291 # uniformly replaced by the line number. The first 'sed' inserts a
5292 # line-number line after each line using $LINENO; the second 'sed'
5293 # does the real work. The second script uses 'N' to pair each
5294 # line-number line with the line containing $LINENO, and appends
5295 # trailing '-' during substitution so that $LINENO is not a special
5297 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5298 # scripts with optimization help from Paolo Bonzini. Blame Lee
5299 # E. McMahon (1931-1989) for sed's syntax. :-)
5311 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5315 chmod +x "$as_me.lineno" ||
5316 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5317 { (exit 1); exit 1; }; }
5319 # Don't try to exec as it changes $[0], causing all sort of problems
5320 # (the dirname of $[0] is not the place where we might find the
5321 # original and so on. Autoconf is especially sensitive to this).
5323 # Exit status is that of the last command.
5328 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5334 ECHO_C= ECHO_N= ECHO_T=
5337 case `echo 'x\c'` in
5338 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5344 if expr a : '\(a\)' >/dev/null 2>&1 &&
5345 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5351 rm -f conf$$ conf$$.exe conf$$.file
5352 if test -d conf$$.dir; then
5353 rm -f conf$$.dir/conf$$.file
5356 mkdir conf$$.dir 2>/dev/null
5358 if (echo >conf$$.file) 2>/dev/null; then
5359 if ln -s conf$$.file conf$$ 2>/dev/null; then
5361 # ... but there are two gotchas:
5362 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5363 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5364 # In both cases, we have to default to `cp -p'.
5365 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5367 elif ln conf$$.file conf$$ 2>/dev/null; then
5375 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5376 rmdir conf$$.dir 2>/dev/null
5378 if mkdir -p . 2>/dev/null; then
5381 test -d ./-p && rmdir ./-p
5385 if test -x / >/dev/null 2>&1; then
5388 if ls -dL / >/dev/null 2>&1; then
5395 if test -d "$1"; then
5401 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5402 ???[sx]*):;;*)false;;esac;fi
5406 as_executable_p=$as_test_x
5408 # Sed expression to map a string onto a valid CPP name.
5409 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5411 # Sed expression to map a string onto a valid variable name.
5412 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5417 # Save the log message, to keep $[0] and so on meaningful, and to
5418 # report actual input values of CONFIG_FILES etc. instead of their
5419 # values after options handling.
5421 This file was extended by usbutils $as_me 0.86, which was
5422 generated by GNU Autoconf 2.63. Invocation command line was
5424 CONFIG_FILES = $CONFIG_FILES
5425 CONFIG_HEADERS = $CONFIG_HEADERS
5426 CONFIG_LINKS = $CONFIG_LINKS
5427 CONFIG_COMMANDS = $CONFIG_COMMANDS
5430 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5435 case $ac_config_files in *"
5436 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5439 case $ac_config_headers in *"
5440 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5445 # Files that config.status was made for.
5446 config_files="$ac_config_files"
5447 config_headers="$ac_config_headers"
5448 config_commands="$ac_config_commands"
5452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5454 \`$as_me' instantiates files from templates according to the
5455 current configuration.
5457 Usage: $0 [OPTION]... [FILE]...
5459 -h, --help print this help, then exit
5460 -V, --version print version number and configuration settings, then exit
5461 -q, --quiet, --silent
5462 do not print progress messages
5463 -d, --debug don't remove temporary files
5464 --recheck update $as_me by reconfiguring in the same conditions
5465 --file=FILE[:TEMPLATE]
5466 instantiate the configuration file FILE
5467 --header=FILE[:TEMPLATE]
5468 instantiate the configuration header FILE
5470 Configuration files:
5473 Configuration headers:
5476 Configuration commands:
5479 Report bugs to <bug-autoconf@gnu.org>."
5482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5484 usbutils config.status 0.86
5485 configured by $0, generated by GNU Autoconf 2.63,
5486 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5488 Copyright (C) 2008 Free Software Foundation, Inc.
5489 This config.status script is free software; the Free Software Foundation
5490 gives unlimited permission to copy, distribute and modify it."
5497 test -n "\$AWK" || AWK=awk
5500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5501 # The default lists apply if the user does not specify any file.
5507 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5508 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5519 # Handling of the options.
5520 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5522 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5523 $as_echo "$ac_cs_version"; exit ;;
5524 --debug | --debu | --deb | --de | --d | -d )
5526 --file | --fil | --fi | --f )
5529 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5531 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5532 ac_need_defaults=false;;
5533 --header | --heade | --head | --hea )
5536 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5538 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5539 ac_need_defaults=false;;
5541 # Conflict between --help and --header
5542 { $as_echo "$as_me: error: ambiguous option: $1
5543 Try \`$0 --help' for more information." >&2
5544 { (exit 1); exit 1; }; };;
5545 --help | --hel | -h )
5546 $as_echo "$ac_cs_usage"; exit ;;
5547 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5548 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5552 -*) { $as_echo "$as_me: error: unrecognized option: $1
5553 Try \`$0 --help' for more information." >&2
5554 { (exit 1); exit 1; }; } ;;
5556 *) ac_config_targets="$ac_config_targets $1"
5557 ac_need_defaults=false ;;
5563 ac_configure_extra_args=
5565 if $ac_cs_silent; then
5567 ac_configure_extra_args="$ac_configure_extra_args --silent"
5571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5572 if \$ac_cs_recheck; then
5573 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5575 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5576 CONFIG_SHELL='$SHELL'
5582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5586 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5587 ## Running $as_me. ##
5593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5597 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5603 # Handling of arguments.
5604 for ac_config_target in $ac_config_targets
5606 case $ac_config_target in
5607 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5608 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5609 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5611 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5612 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5613 { (exit 1); exit 1; }; };;
5618 # If the user did not use the arguments to specify the items to instantiate,
5619 # then the envvar interface is used. Set only those that are not.
5620 # We use the long form for the default assignment because of an extremely
5621 # bizarre bug on SunOS 4.1.3.
5622 if $ac_need_defaults; then
5623 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5624 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5625 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5628 # Have a temporary directory for convenience. Make it in the build tree
5629 # simply because there is no reason against having it here, and in addition,
5630 # creating and moving files from /tmp can sometimes cause problems.
5631 # Hook for its removal unless debugging.
5632 # Note that there is a small window in which the directory will not be cleaned:
5633 # after its creation but before its name has been assigned to `$tmp'.
5637 trap 'exit_status=$?
5638 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5640 trap '{ (exit 1); exit 1; }' 1 2 13 15
5642 # Create a (secure) tmp directory for tmp files.
5645 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5646 test -n "$tmp" && test -d "$tmp"
5649 tmp=./conf$$-$RANDOM
5650 (umask 077 && mkdir "$tmp")
5653 $as_echo "$as_me: cannot create a temporary directory in ." >&2
5654 { (exit 1); exit 1; }
5657 # Set up the scripts for CONFIG_FILES section.
5658 # No need to generate them if there are no CONFIG_FILES.
5659 # This happens for instance with `./config.status config.h'.
5660 if test -n "$CONFIG_FILES"; then
5664 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5665 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5671 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5676 echo "cat >conf$$subs.awk <<_ACEOF" &&
5677 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5680 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5681 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5682 { (exit 1); exit 1; }; }
5683 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5685 for ac_last_try in false false false false false :; do
5686 . ./conf$$subs.sh ||
5687 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5688 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5689 { (exit 1); exit 1; }; }
5691 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5692 if test $ac_delim_n = $ac_delim_num; then
5694 elif $ac_last_try; then
5695 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5696 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5697 { (exit 1); exit 1; }; }
5699 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5705 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5709 s/^/S["/; s/!.*/"]=/
5719 s/\(.\{148\}\).*/\1/
5721 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5726 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5733 s/\(.\{148\}\).*/\1/
5735 s/["\\]/\\&/g; s/^/"/; s/$/"/
5739 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5744 ' <conf$$subs.awk | sed '
5749 ' >>$CONFIG_STATUS || ac_write_fail=1
5750 rm -f conf$$subs.awk
5751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5753 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5754 for (key in S) S_is_set[key] = 1
5760 nfields = split(line, field, "@")
5762 len = length(field[1])
5763 for (i = 2; i < nfields; i++) {
5765 keylen = length(key)
5766 if (S_is_set[key]) {
5768 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5769 len += length(value) + length(field[++i])
5780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5781 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5782 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5785 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5786 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5787 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
5788 { (exit 1); exit 1; }; }
5791 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5792 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5793 # trailing colons and then remove the whole line if VPATH becomes empty
5794 # (actually we leave an empty line to preserve line numbers).
5795 if test "x$srcdir" = x.; then
5796 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5800 s/^\([^=]*=[ ]*\):*/\1/
5806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5807 fi # test -n "$CONFIG_FILES"
5809 # Set up the scripts for CONFIG_HEADERS section.
5810 # No need to generate them if there are no CONFIG_HEADERS.
5811 # This happens for instance with `./config.status Makefile'.
5812 if test -n "$CONFIG_HEADERS"; then
5813 cat >"$tmp/defines.awk" <<\_ACAWK ||
5817 # Transform confdefs.h into an awk script `defines.awk', embedded as
5818 # here-document in config.status, that substitutes the proper values into
5819 # config.h.in to produce config.h.
5821 # Create a delimiter string that does not exist in confdefs.h, to ease
5822 # handling of long lines.
5824 for ac_last_try in false false :; do
5825 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5826 if test -z "$ac_t"; then
5828 elif $ac_last_try; then
5829 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
5830 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
5831 { (exit 1); exit 1; }; }
5833 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5837 # For the awk script, D is an array of macro values keyed by name,
5838 # likewise P contains macro parameters if any. Preserve backslash
5839 # newline sequences.
5841 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5843 s/.\{148\}/&'"$ac_delim"'/g
5846 s/^[ ]*#[ ]*define[ ][ ]*/ /
5853 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5855 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5859 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5860 D["\1"]=" \3\\\\\\n"\\/p
5862 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5867 s/.\{148\}/&'"$ac_delim"'/g
5872 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5875 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5877 ' <confdefs.h | sed '
5878 s/'"$ac_delim"'/"\\\
5879 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5882 for (key in D) D_is_set[key] = 1
5885 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5887 split(line, arg, " ")
5888 if (arg[1] == "#") {
5892 defundef = substr(arg[1], 2)
5895 split(mac1, mac2, "(") #)
5897 prefix = substr(line, 1, index(line, defundef) - 1)
5898 if (D_is_set[macro]) {
5899 # Preserve the white space surrounding the "#".
5900 print prefix "define", macro P[macro] D[macro]
5903 # Replace #undef with comments. This is necessary, for example,
5904 # in the case of _POSIX_SOURCE, which is predefined and required
5905 # on some systems where configure will not decide to define it.
5906 if (defundef == "undef") {
5907 print "/*", prefix defundef, macro, "*/"
5915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5916 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
5917 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
5918 { (exit 1); exit 1; }; }
5919 fi # test -n "$CONFIG_HEADERS"
5922 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5927 :[FHLC]) ac_mode=$ac_tag; continue;;
5929 case $ac_mode$ac_tag in
5931 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
5932 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
5933 { (exit 1); exit 1; }; };;
5934 :[FH]-) ac_tag=-:-;;
5935 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5952 -) ac_f="$tmp/stdin";;
5953 *) # Look for the file first in the build tree, then in the source tree
5954 # (if the path is not absolute). The absolute path cannot be DOS-style,
5955 # because $ac_f cannot contain `:'.
5959 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5961 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5962 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5963 { (exit 1); exit 1; }; };;
5965 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5966 ac_file_inputs="$ac_file_inputs '$ac_f'"
5969 # Let's still pretend it is `configure' which instantiates (i.e., don't
5970 # use $as_me), people would be surprised to read:
5971 # /* config.h. Generated by config.status. */
5972 configure_input='Generated from '`
5973 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5975 if test x"$ac_file" != x-; then
5976 configure_input="$ac_file. $configure_input"
5977 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
5978 $as_echo "$as_me: creating $ac_file" >&6;}
5980 # Neutralize special characters interpreted by sed in replacement strings.
5981 case $configure_input in #(
5982 *\&* | *\|* | *\\* )
5983 ac_sed_conf_input=`$as_echo "$configure_input" |
5984 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5985 *) ac_sed_conf_input=$configure_input;;
5989 *:-:* | *:-) cat >"$tmp/stdin" \
5990 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5991 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5992 { (exit 1); exit 1; }; } ;;
5997 ac_dir=`$as_dirname -- "$ac_file" ||
5998 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5999 X"$ac_file" : 'X\(//\)[^/]' \| \
6000 X"$ac_file" : 'X\(//\)$' \| \
6001 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6002 $as_echo X"$ac_file" |
6003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6022 -*) as_dir=./$as_dir;;
6024 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6028 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6029 *) as_qdir=$as_dir;;
6031 as_dirs="'$as_qdir' $as_dirs"
6032 as_dir=`$as_dirname -- "$as_dir" ||
6033 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6034 X"$as_dir" : 'X\(//\)[^/]' \| \
6035 X"$as_dir" : 'X\(//\)$' \| \
6036 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6037 $as_echo X"$as_dir" |
6038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6055 test -d "$as_dir" && break
6057 test -z "$as_dirs" || eval "mkdir $as_dirs"
6058 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6059 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6060 { (exit 1); exit 1; }; }; }
6064 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6066 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6067 # A ".." for each directory in $ac_dir_suffix.
6068 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6069 case $ac_top_builddir_sub in
6070 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6071 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6074 ac_abs_top_builddir=$ac_pwd
6075 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6076 # for backward compatibility:
6077 ac_top_builddir=$ac_top_build_prefix
6080 .) # We are building in place.
6082 ac_top_srcdir=$ac_top_builddir_sub
6083 ac_abs_top_srcdir=$ac_pwd ;;
6084 [\\/]* | ?:[\\/]* ) # Absolute name.
6085 ac_srcdir=$srcdir$ac_dir_suffix;
6086 ac_top_srcdir=$srcdir
6087 ac_abs_top_srcdir=$srcdir ;;
6089 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6090 ac_top_srcdir=$ac_top_build_prefix$srcdir
6091 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6093 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6103 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6104 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6108 [\\/$]* | ?:[\\/]* ) ;;
6109 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6114 # If the template does not know about datarootdir, expand it.
6115 # FIXME: This hack should be removed a few years after 2.60.
6116 ac_datarootdir_hack=; ac_datarootdir_seen=
6129 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6130 *datarootdir*) ac_datarootdir_seen=yes;;
6131 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6132 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6133 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6136 ac_datarootdir_hack='
6137 s&@datadir@&$datadir&g
6138 s&@docdir@&$docdir&g
6139 s&@infodir@&$infodir&g
6140 s&@localedir@&$localedir&g
6141 s&@mandir@&$mandir&g
6142 s&\\\${datarootdir}&$datarootdir&g' ;;
6146 # Neutralize VPATH when `$srcdir' = `.'.
6147 # Shell code in configure.ac might set extrasub.
6148 # FIXME: do we really want to maintain this feature?
6149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6150 ac_sed_extra="$ac_vpsub
6153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6155 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6156 s|@configure_input@|$ac_sed_conf_input|;t t
6157 s&@top_builddir@&$ac_top_builddir_sub&;t t
6158 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6159 s&@srcdir@&$ac_srcdir&;t t
6160 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6161 s&@top_srcdir@&$ac_top_srcdir&;t t
6162 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6163 s&@builddir@&$ac_builddir&;t t
6164 s&@abs_builddir@&$ac_abs_builddir&;t t
6165 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6166 s&@INSTALL@&$ac_INSTALL&;t t
6167 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6168 $ac_datarootdir_hack
6170 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6171 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6172 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6173 { (exit 1); exit 1; }; }
6175 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6176 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6177 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6178 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6179 which seems to be undefined. Please make sure it is defined." >&5
6180 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6181 which seems to be undefined. Please make sure it is defined." >&2;}
6185 -) cat "$tmp/out" && rm -f "$tmp/out";;
6186 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6188 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6189 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6190 { (exit 1); exit 1; }; }
6196 if test x"$ac_file" != x-; then
6198 $as_echo "/* $configure_input */" \
6199 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6200 } >"$tmp/config.h" \
6201 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6202 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6203 { (exit 1); exit 1; }; }
6204 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6205 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6206 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6209 mv "$tmp/config.h" "$ac_file" \
6210 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6211 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6212 { (exit 1); exit 1; }; }
6215 $as_echo "/* $configure_input */" \
6216 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6217 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6218 $as_echo "$as_me: error: could not create -" >&2;}
6219 { (exit 1); exit 1; }; }
6221 # Compute "$ac_file"'s index in $config_headers.
6224 for _am_header in $config_headers :; do
6226 $_am_arg | $_am_arg:* )
6229 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6232 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6233 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6234 X"$_am_arg" : 'X\(//\)[^/]' \| \
6235 X"$_am_arg" : 'X\(//\)$' \| \
6236 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6237 $as_echo X"$_am_arg" |
6238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6254 s/.*/./; q'`/stamp-h$_am_stamp_count
6257 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6258 $as_echo "$as_me: executing $ac_file commands" >&6;}
6263 case $ac_file$ac_mode in
6264 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
6265 # are listed without --file. Let's play safe and only enable the eval
6266 # if we detect the quoting.
6267 case $CONFIG_FILES in
6268 *\'*) eval set x "$CONFIG_FILES" ;;
6269 *) set x $CONFIG_FILES ;;
6274 # Strip MF so we end up with the name of the file.
6275 mf=`echo "$mf" | sed -e 's/:.*$//'`
6276 # Check whether this is an Automake generated Makefile or not.
6277 # We used to match only the files named `Makefile.in', but
6278 # some people rename them; so instead we look at the file content.
6279 # Grep'ing the first line is not enough: some people post-process
6280 # each Makefile.in and add a new line on top of each file to say so.
6281 # Grep'ing the whole file is not good either: AIX grep has a line
6282 # limit of 2048, but all sed's we know have understand at least 4000.
6283 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6284 dirpart=`$as_dirname -- "$mf" ||
6285 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6286 X"$mf" : 'X\(//\)[^/]' \| \
6287 X"$mf" : 'X\(//\)$' \| \
6288 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6310 # Extract the definition of DEPDIR, am__include, and am__quote
6311 # from the Makefile without running `make'.
6312 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6313 test -z "$DEPDIR" && continue
6314 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6315 test -z "am__include" && continue
6316 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6317 # When using ansi2knr, U may be empty or an underscore; expand it
6318 U=`sed -n 's/^U = //p' < "$mf"`
6319 # Find all dependency output files, they are included files with
6320 # $(DEPDIR) in their names. We invoke sed twice because it is the
6321 # simplest approach to changing $(DEPDIR) to its actual value in the
6323 for file in `sed -n "
6324 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6325 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6326 # Make sure the directory exists.
6327 test -f "$dirpart/$file" && continue
6328 fdir=`$as_dirname -- "$file" ||
6329 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6330 X"$file" : 'X\(//\)[^/]' \| \
6331 X"$file" : 'X\(//\)$' \| \
6332 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6351 { as_dir=$dirpart/$fdir
6353 -*) as_dir=./$as_dir;;
6355 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6359 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6360 *) as_qdir=$as_dir;;
6362 as_dirs="'$as_qdir' $as_dirs"
6363 as_dir=`$as_dirname -- "$as_dir" ||
6364 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6365 X"$as_dir" : 'X\(//\)[^/]' \| \
6366 X"$as_dir" : 'X\(//\)$' \| \
6367 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6368 $as_echo X"$as_dir" |
6369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6386 test -d "$as_dir" && break
6388 test -z "$as_dirs" || eval "mkdir $as_dirs"
6389 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6390 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6391 { (exit 1); exit 1; }; }; }
6392 # echo "creating $dirpart/$file"
6393 echo '# dummy' > "$dirpart/$file"
6402 { (exit 0); exit 0; }
6404 chmod +x $CONFIG_STATUS
6405 ac_clean_files=$ac_clean_files_save
6407 test $ac_write_fail = 0 ||
6408 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6409 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6410 { (exit 1); exit 1; }; }
6413 # configure is writing to config.log, and then calls config.status.
6414 # config.status does its own redirection, appending to config.log.
6415 # Unfortunately, on DOS this fails, as config.log is still kept open
6416 # by configure, so config.status won't be able to write to it; its
6417 # output is simply discarded. So we exec the FD to /dev/null,
6418 # effectively closing config.log, so it can be properly (re)opened and
6419 # appended to by config.status. When coming back to configure, we
6420 # need to make the FD available again.
6421 if test "$no_create" != yes; then
6423 ac_config_status_args=
6424 test "$silent" = yes &&
6425 ac_config_status_args="$ac_config_status_args --quiet"
6427 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6429 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6430 # would make configure fail if this is the last instruction.
6431 $ac_cs_success || { (exit 1); exit 1; }
6433 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6434 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6435 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6438 { $as_echo "$as_me:$LINENO: result:
6443 datarootdir: ${datarootdir}
6447 usb.ids: ${datadir}/usb.ids
6459 datarootdir: ${datarootdir}
6463 usb.ids: ${datadir}/usb.ids