blob: 48ac6d9f0b7c6ce36af54e97ed2fb2d6a929d4ce [file] [log] [blame]
Igor Sarkisov81588b32020-10-06 12:05:33 -07001#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.63 for usbutils 0.86.
4#
5# Report bugs to <linux-usb@vger.kernel.org>.
6#
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## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
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+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42as_nl='
43'
44export as_nl
45# Printing a long string crashes Solaris 7 /usr/bin/printf.
46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52else
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'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81fi
82
83# Support unset when possible.
84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85 as_unset=unset
86else
87 as_unset=false
88fi
89
90
91# IFS
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.)
96IFS=" "" $as_nl"
97
98# Find who we are. Look in the path if we contain no directory separator.
99case $0 in
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102for as_dir in $PATH
103do
104 IFS=$as_save_IFS
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107done
108IFS=$as_save_IFS
109
110 ;;
111esac
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.
114if test "x$as_myself" = x; then
115 as_myself=$0
116fi
117if 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; }
120fi
121
122# Work around bugs in pre-3.0 UWIN ksh.
123for as_var in ENV MAIL MAILPATH
124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# Required to use basename.
137if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
139 as_expr=expr
140else
141 as_expr=false
142fi
143
144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145 as_basename=basename
146else
147 as_basename=false
148fi
149
150
151# Name of the executable.
152as_me=`$as_basename -- "$0" ||
153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156$as_echo X/"$0" |
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
158 s//\1/
159 q
160 }
161 /^X\/\(\/\/\)$/{
162 s//\1/
163 q
164 }
165 /^X\/\(\/\).*/{
166 s//\1/
167 q
168 }
169 s/.*/./; q'`
170
171# CDPATH.
172$as_unset CDPATH
173
174
175if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
177 as_have_required=yes
178else
179 as_have_required=no
180fi
181
182 if test $as_have_required = yes && (eval ":
183(as_func_return () {
184 (exit \$1)
185}
186as_func_success () {
187 as_func_return 0
188}
189as_func_failure () {
190 as_func_return 1
191}
192as_func_ret_success () {
193 return 0
194}
195as_func_ret_failure () {
196 return 1
197}
198
199exitcode=0
200if as_func_success; then
201 :
202else
203 exitcode=1
204 echo as_func_success failed.
205fi
206
207if as_func_failure; then
208 exitcode=1
209 echo as_func_failure succeeded.
210fi
211
212if as_func_ret_success; then
213 :
214else
215 exitcode=1
216 echo as_func_ret_success failed.
217fi
218
219if as_func_ret_failure; then
220 exitcode=1
221 echo as_func_ret_failure succeeded.
222fi
223
224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225 :
226else
227 exitcode=1
228 echo positional parameters were not saved.
229fi
230
231test \$exitcode = 0) || { (exit 1); exit 1; }
232
233(
234 as_lineno_1=\$LINENO
235 as_lineno_2=\$LINENO
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
239 :
240else
241 as_candidate_shells=
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244do
245 IFS=$as_save_IFS
246 test -z "$as_dir" && as_dir=.
247 case $as_dir in
248 /*)
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251 done;;
252 esac
253done
254IFS=$as_save_IFS
255
256
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
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
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+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277_ASEOF
278}; then
279 CONFIG_SHELL=$as_shell
280 as_have_required=yes
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 emulate sh
284 NULLCMD=:
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+"$@"}'='"$@"'
288 setopt NO_GLOB_SUBST
289else
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
292esac
293
294fi
295
296
297:
298(as_func_return () {
299 (exit $1)
300}
301as_func_success () {
302 as_func_return 0
303}
304as_func_failure () {
305 as_func_return 1
306}
307as_func_ret_success () {
308 return 0
309}
310as_func_ret_failure () {
311 return 1
312}
313
314exitcode=0
315if as_func_success; then
316 :
317else
318 exitcode=1
319 echo as_func_success failed.
320fi
321
322if as_func_failure; then
323 exitcode=1
324 echo as_func_failure succeeded.
325fi
326
327if as_func_ret_success; then
328 :
329else
330 exitcode=1
331 echo as_func_ret_success failed.
332fi
333
334if as_func_ret_failure; then
335 exitcode=1
336 echo as_func_ret_failure succeeded.
337fi
338
339if ( set x; as_func_ret_success y && test x = "$1" ); then
340 :
341else
342 exitcode=1
343 echo positional parameters were not saved.
344fi
345
346test $exitcode = 0) || { (exit 1); exit 1; }
347
348(
349 as_lineno_1=$LINENO
350 as_lineno_2=$LINENO
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; }
353
354_ASEOF
355}; then
356 break
357fi
358
359fi
360
361 done
362
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
366 done
367 export CONFIG_SHELL
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369fi
370
371
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; }
378fi
379
380
381fi
382
383fi
384
385
386
387(eval "as_func_return () {
388 (exit \$1)
389}
390as_func_success () {
391 as_func_return 0
392}
393as_func_failure () {
394 as_func_return 1
395}
396as_func_ret_success () {
397 return 0
398}
399as_func_ret_failure () {
400 return 1
401}
402
403exitcode=0
404if as_func_success; then
405 :
406else
407 exitcode=1
408 echo as_func_success failed.
409fi
410
411if as_func_failure; then
412 exitcode=1
413 echo as_func_failure succeeded.
414fi
415
416if as_func_ret_success; then
417 :
418else
419 exitcode=1
420 echo as_func_ret_success failed.
421fi
422
423if as_func_ret_failure; then
424 exitcode=1
425 echo as_func_ret_failure succeeded.
426fi
427
428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429 :
430else
431 exitcode=1
432 echo positional parameters were not saved.
433fi
434
435test \$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.
441}
442
443
444
445 as_lineno_1=$LINENO
446 as_lineno_2=$LINENO
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
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
456 # case at line end.
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. :-)
460 sed -n '
461 p
462 /[$]LINENO/=
463 ' <$as_myself |
464 sed '
465 s/[$]LINENO.*/&-/
466 t lineno
467 b
468 :lineno
469 N
470 :loop
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472 t loop
473 s/-\n.*//
474 ' >$as_me.lineno &&
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; }; }
478
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).
482 . "./$as_me.lineno"
483 # Exit status is that of the last command.
484 exit
485}
486
487
488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489 as_dirname=dirname
490else
491 as_dirname=false
492fi
493
494ECHO_C= ECHO_N= ECHO_T=
495case `echo -n x` in
496-n*)
497 case `echo 'x\c'` in
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
499 *) ECHO_C='\c';;
500 esac;;
501*)
502 ECHO_N='-n';;
503esac
504if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
506 as_expr=expr
507else
508 as_expr=false
509fi
510
511rm -f conf$$ conf$$.exe conf$$.file
512if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
514else
515 rm -f conf$$.dir
516 mkdir conf$$.dir 2>/dev/null
517fi
518if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
520 as_ln_s='ln -s'
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 ||
526 as_ln_s='cp -p'
527 elif ln conf$$.file conf$$ 2>/dev/null; then
528 as_ln_s=ln
529 else
530 as_ln_s='cp -p'
531 fi
532else
533 as_ln_s='cp -p'
534fi
535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536rmdir conf$$.dir 2>/dev/null
537
538if mkdir -p . 2>/dev/null; then
539 as_mkdir_p=:
540else
541 test -d ./-p && rmdir ./-p
542 as_mkdir_p=false
543fi
544
545if test -x / >/dev/null 2>&1; then
546 as_test_x='test -x'
547else
548 if ls -dL / >/dev/null 2>&1; then
549 as_ls_L_option=L
550 else
551 as_ls_L_option=
552 fi
553 as_test_x='
554 eval sh -c '\''
555 if test -d "$1"; then
556 test -d "$1/.";
557 else
558 case $1 in
559 -*)set "./$1";;
560 esac;
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
563 '\'' sh
564 '
565fi
566as_executable_p=$as_test_x
567
568# Sed expression to map a string onto a valid CPP name.
569as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570
571# Sed expression to map a string onto a valid variable name.
572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
574
575
576exec 7<&0 </dev/null 6>&1
577
578# Name of the host.
579# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580# so uname gets run too.
581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
583#
584# Initializations.
585#
586ac_default_prefix=/usr/local
587ac_clean_files=
588ac_config_libobj_dir=.
589LIBOBJS=
590cross_compiling=no
591subdirs=
592MFLAGS=
593MAKEFLAGS=
594SHELL=${CONFIG_SHELL-/bin/sh}
595
596# Identity of this package.
597PACKAGE_NAME='usbutils'
598PACKAGE_TARNAME='usbutils'
599PACKAGE_VERSION='0.86'
600PACKAGE_STRING='usbutils 0.86'
601PACKAGE_BUGREPORT='linux-usb@vger.kernel.org'
602
603ac_default_prefix=/usr
604# Factoring default headers for most tests.
605ac_includes_default="\
606#include <stdio.h>
607#ifdef HAVE_SYS_TYPES_H
608# include <sys/types.h>
609#endif
610#ifdef HAVE_SYS_STAT_H
611# include <sys/stat.h>
612#endif
613#ifdef STDC_HEADERS
614# include <stdlib.h>
615# include <stddef.h>
616#else
617# ifdef HAVE_STDLIB_H
618# include <stdlib.h>
619# endif
620#endif
621#ifdef HAVE_STRING_H
622# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623# include <memory.h>
624# endif
625# include <string.h>
626#endif
627#ifdef HAVE_STRINGS_H
628# include <strings.h>
629#endif
630#ifdef HAVE_INTTYPES_H
631# include <inttypes.h>
632#endif
633#ifdef HAVE_STDINT_H
634# include <stdint.h>
635#endif
636#ifdef HAVE_UNISTD_H
637# include <unistd.h>
638#endif"
639
640ac_subst_vars='LTLIBOBJS
641LIBOBJS
642LIBUSB_LIBS
643LIBUSB_CFLAGS
644PKG_CONFIG
645HAVE_ZLIB_FALSE
646HAVE_ZLIB_TRUE
647EGREP
648GREP
649CPP
650am__fastdepCC_FALSE
651am__fastdepCC_TRUE
652CCDEPMODE
653AMDEPBACKSLASH
654AMDEP_FALSE
655AMDEP_TRUE
656am__quote
657am__include
658DEPDIR
659OBJEXT
660EXEEXT
661ac_ct_CC
662CPPFLAGS
663LDFLAGS
664CFLAGS
665CC
666am__untar
667am__tar
668AMTAR
669am__leading_dot
670SET_MAKE
671AWK
672mkdir_p
673MKDIR_P
674INSTALL_STRIP_PROGRAM
675STRIP
676install_sh
677MAKEINFO
678AUTOHEADER
679AUTOMAKE
680AUTOCONF
681ACLOCAL
682VERSION
683PACKAGE
684CYGPATH_W
685am__isrc
686INSTALL_DATA
687INSTALL_SCRIPT
688INSTALL_PROGRAM
689target_alias
690host_alias
691build_alias
692LIBS
693ECHO_T
694ECHO_N
695ECHO_C
696DEFS
697mandir
698localedir
699libdir
700psdir
701pdfdir
702dvidir
703htmldir
704infodir
705docdir
706oldincludedir
707includedir
708localstatedir
709sharedstatedir
710sysconfdir
711datadir
712datarootdir
713libexecdir
714sbindir
715bindir
716program_transform_name
717prefix
718exec_prefix
719PACKAGE_BUGREPORT
720PACKAGE_STRING
721PACKAGE_VERSION
722PACKAGE_TARNAME
723PACKAGE_NAME
724PATH_SEPARATOR
725SHELL'
726ac_subst_files=''
727ac_user_opts='
728enable_option_checking
729enable_dependency_tracking
730enable_largefile
731enable_zlib
732'
733 ac_precious_vars='build_alias
734host_alias
735target_alias
736CC
737CFLAGS
738LDFLAGS
739LIBS
740CPPFLAGS
741CPP
742PKG_CONFIG
743LIBUSB_CFLAGS
744LIBUSB_LIBS'
745
746
747# Initialize some variables set by options.
748ac_init_help=
749ac_init_version=false
750ac_unrecognized_opts=
751ac_unrecognized_sep=
752# The variables have the same names as the options, with
753# dashes changed to underlines.
754cache_file=/dev/null
755exec_prefix=NONE
756no_create=
757no_recursion=
758prefix=NONE
759program_prefix=NONE
760program_suffix=NONE
761program_transform_name=s,x,x,
762silent=
763site=
764srcdir=
765verbose=
766x_includes=NONE
767x_libraries=NONE
768
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.)
775bindir='${exec_prefix}/bin'
776sbindir='${exec_prefix}/sbin'
777libexecdir='${exec_prefix}/libexec'
778datarootdir='${prefix}/share'
779datadir='${datarootdir}'
780sysconfdir='${prefix}/etc'
781sharedstatedir='${prefix}/com'
782localstatedir='${prefix}/var'
783includedir='${prefix}/include'
784oldincludedir='/usr/include'
785docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
786infodir='${datarootdir}/info'
787htmldir='${docdir}'
788dvidir='${docdir}'
789pdfdir='${docdir}'
790psdir='${docdir}'
791libdir='${exec_prefix}/lib'
792localedir='${datarootdir}/locale'
793mandir='${datarootdir}/man'
794
795ac_prev=
796ac_dashdash=
797for ac_option
798do
799 # If the previous option needs an argument, assign it.
800 if test -n "$ac_prev"; then
801 eval $ac_prev=\$ac_option
802 ac_prev=
803 continue
804 fi
805
806 case $ac_option in
807 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
808 *) ac_optarg=yes ;;
809 esac
810
811 # Accept the important Cygnus configure options, so we can diagnose typos.
812
813 case $ac_dashdash$ac_option in
814 --)
815 ac_dashdash=yes ;;
816
817 -bindir | --bindir | --bindi | --bind | --bin | --bi)
818 ac_prev=bindir ;;
819 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
820 bindir=$ac_optarg ;;
821
822 -build | --build | --buil | --bui | --bu)
823 ac_prev=build_alias ;;
824 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
825 build_alias=$ac_optarg ;;
826
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 ;;
833
834 --config-cache | -C)
835 cache_file=config.cache ;;
836
837 -datadir | --datadir | --datadi | --datad)
838 ac_prev=datadir ;;
839 -datadir=* | --datadir=* | --datadi=* | --datad=*)
840 datadir=$ac_optarg ;;
841
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 ;;
848
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
858 *"
859"enable_$ac_useropt"
860"*) ;;
861 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
862 ac_unrecognized_sep=', ';;
863 esac
864 eval enable_$ac_useropt=no ;;
865
866 -docdir | --docdir | --docdi | --doc | --do)
867 ac_prev=docdir ;;
868 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
869 docdir=$ac_optarg ;;
870
871 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
872 ac_prev=dvidir ;;
873 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
874 dvidir=$ac_optarg ;;
875
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
885 *"
886"enable_$ac_useropt"
887"*) ;;
888 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
889 ac_unrecognized_sep=', ';;
890 esac
891 eval enable_$ac_useropt=\$ac_optarg ;;
892
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 ;;
901
902 -gas | --gas | --ga | --g)
903 # Obsolete; use --with-gas.
904 with_gas=yes ;;
905
906 -help | --help | --hel | --he | -h)
907 ac_init_help=long ;;
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 ;;
912
913 -host | --host | --hos | --ho)
914 ac_prev=host_alias ;;
915 -host=* | --host=* | --hos=* | --ho=*)
916 host_alias=$ac_optarg ;;
917
918 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
919 ac_prev=htmldir ;;
920 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
921 | --ht=*)
922 htmldir=$ac_optarg ;;
923
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 ;;
930
931 -infodir | --infodir | --infodi | --infod | --info | --inf)
932 ac_prev=infodir ;;
933 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
934 infodir=$ac_optarg ;;
935
936 -libdir | --libdir | --libdi | --libd)
937 ac_prev=libdir ;;
938 -libdir=* | --libdir=* | --libdi=* | --libd=*)
939 libdir=$ac_optarg ;;
940
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 ;;
947
948 -localedir | --localedir | --localedi | --localed | --locale)
949 ac_prev=localedir ;;
950 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
951 localedir=$ac_optarg ;;
952
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 ;;
959
960 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
961 ac_prev=mandir ;;
962 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
963 mandir=$ac_optarg ;;
964
965 -nfp | --nfp | --nf)
966 # Obsolete; use --without-fp.
967 with_fp=no ;;
968
969 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
970 | --no-cr | --no-c | -n)
971 no_create=yes ;;
972
973 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
974 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
975 no_recursion=yes ;;
976
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 ;;
985
986 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
987 ac_prev=prefix ;;
988 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
989 prefix=$ac_optarg ;;
990
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 ;;
997
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 ;;
1004
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 ;;
1021
1022 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1023 ac_prev=pdfdir ;;
1024 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1025 pdfdir=$ac_optarg ;;
1026
1027 -psdir | --psdir | --psdi | --psd | --ps)
1028 ac_prev=psdir ;;
1029 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1030 psdir=$ac_optarg ;;
1031
1032 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1033 | -silent | --silent | --silen | --sile | --sil)
1034 silent=yes ;;
1035
1036 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1037 ac_prev=sbindir ;;
1038 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1039 | --sbi=* | --sb=*)
1040 sbindir=$ac_optarg ;;
1041
1042 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1043 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1044 | --sharedst | --shareds | --shared | --share | --shar \
1045 | --sha | --sh)
1046 ac_prev=sharedstatedir ;;
1047 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1048 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1049 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1050 | --sha=* | --sh=*)
1051 sharedstatedir=$ac_optarg ;;
1052
1053 -site | --site | --sit)
1054 ac_prev=site ;;
1055 -site=* | --site=* | --sit=*)
1056 site=$ac_optarg ;;
1057
1058 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1059 ac_prev=srcdir ;;
1060 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1061 srcdir=$ac_optarg ;;
1062
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 ;;
1069
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 ;;
1074
1075 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1076 verbose=yes ;;
1077
1078 -version | --version | --versio | --versi | --vers | -V)
1079 ac_init_version=: ;;
1080
1081 -with-* | --with-*)
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
1090 *"
1091"with_$ac_useropt"
1092"*) ;;
1093 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1094 ac_unrecognized_sep=', ';;
1095 esac
1096 eval with_$ac_useropt=\$ac_optarg ;;
1097
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
1107 *"
1108"with_$ac_useropt"
1109"*) ;;
1110 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1111 ac_unrecognized_sep=', ';;
1112 esac
1113 eval with_$ac_useropt=no ;;
1114
1115 --x)
1116 # Obsolete; use --with-x.
1117 with_x=yes ;;
1118
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 ;;
1125
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 ;;
1132
1133 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1134Try \`$0 --help' for more information." >&2
1135 { (exit 1); exit 1; }; }
1136 ;;
1137
1138 *=*)
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 ;;
1146
1147 *)
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}
1153 ;;
1154
1155 esac
1156done
1157
1158if 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; }; }
1162fi
1163
1164if test -n "$ac_unrecognized_opts"; then
1165 case $enable_option_checking in
1166 no) ;;
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 ;;
1170 esac
1171fi
1172
1173# Check all directory arguments for consistency.
1174for 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
1178do
1179 eval ac_val=\$$ac_var
1180 # Remove trailing slashes.
1181 case $ac_val in
1182 */ )
1183 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1184 eval $ac_var=\$ac_val;;
1185 esac
1186 # Be sure to have absolute directory names.
1187 case $ac_val in
1188 [\\/$]* | ?:[\\/]* ) continue;;
1189 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1190 esac
1191 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1192 { (exit 1); exit 1; }; }
1193done
1194
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.
1198build=$build_alias
1199host=$host_alias
1200target=$target_alias
1201
1202# FIXME: To remove some day.
1203if 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
1209 cross_compiling=yes
1210 fi
1211fi
1212
1213ac_tool_prefix=
1214test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215
1216test "$silent" = yes && exec 6>/dev/null
1217
1218
1219ac_pwd=`pwd` && test -n "$ac_pwd" &&
1220ac_ls_di=`ls -di .` &&
1221ac_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; }; }
1224test "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; }; }
1227
1228
1229# Find the source files, if location was not specified.
1230if 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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1240 s//\1/
1241 q
1242 }
1243 /^X\(\/\/\)[^/].*/{
1244 s//\1/
1245 q
1246 }
1247 /^X\(\/\/\)$/{
1248 s//\1/
1249 q
1250 }
1251 /^X\(\/\).*/{
1252 s//\1/
1253 q
1254 }
1255 s/.*/./; q'`
1256 srcdir=$ac_confdir
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1258 srcdir=..
1259 fi
1260else
1261 ac_srcdir_defaulted=no
1262fi
1263if 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; }; }
1267fi
1268ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1269ac_abs_confdir=`(
1270 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1271 { (exit 1); exit 1; }; }
1272 pwd)`
1273# When building in place, set srcdir=.
1274if test "$ac_abs_confdir" = "$ac_pwd"; then
1275 srcdir=.
1276fi
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.
1280case $srcdir in
1281*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282esac
1283for 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}
1288done
1289
1290#
1291# Report the --help message.
1292#
1293if 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.
1296 cat <<_ACEOF
1297\`configure' configures usbutils 0.86 to adapt to many kinds of systems.
1298
1299Usage: $0 [OPTION]... [VAR=VALUE]...
1300
1301To assign environment variables (e.g., CC, CFLAGS...), specify them as
1302VAR=VALUE. See below for descriptions of some of the useful variables.
1303
1304Defaults for the options are specified in brackets.
1305
1306Configuration:
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 \`..']
1316
1317Installation directories:
1318 --prefix=PREFIX install architecture-independent files in PREFIX
1319 [$ac_default_prefix]
1320 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1321 [PREFIX]
1322
1323By default, \`make install' will install all the files in
1324\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1325an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1326for instance \`--prefix=\$HOME'.
1327
1328For better control, use the options below.
1329
1330Fine 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]
1350_ACEOF
1351
1352 cat <<\_ACEOF
1353
1354Program names:
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
1358_ACEOF
1359fi
1360
1361if test -n "$ac_init_help"; then
1362 case $ac_init_help in
1363 short | recursive ) echo "Configuration of usbutils 0.86:";;
1364 esac
1365 cat <<\_ACEOF
1366
1367Optional Features:
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
1375
1376Some 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>
1384 CPP C preprocessor
1385 PKG_CONFIG path to pkg-config utility
1386 LIBUSB_CFLAGS
1387 C compiler flags for LIBUSB, overriding pkg-config
1388 LIBUSB_LIBS linker flags for LIBUSB, overriding pkg-config
1389
1390Use these variables to override the choices made by `configure' or to help
1391it to find libraries and programs with nonstandard names/locations.
1392
1393Report bugs to <linux-usb@vger.kernel.org>.
1394_ACEOF
1395ac_status=$?
1396fi
1397
1398if 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"; } ||
1403 continue
1404 ac_builddir=.
1405
1406case "$ac_dir" in
1407.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408*)
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/ ;;
1415 esac ;;
1416esac
1417ac_abs_top_builddir=$ac_pwd
1418ac_abs_builddir=$ac_pwd$ac_dir_suffix
1419# for backward compatibility:
1420ac_top_builddir=$ac_top_build_prefix
1421
1422case $srcdir in
1423 .) # We are building in place.
1424 ac_srcdir=.
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 ;;
1431 *) # Relative name.
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 ;;
1435esac
1436ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1437
1438 cd "$ac_dir" || { ac_status=$?; continue; }
1439 # Check for guested configure.
1440 if test -f "$ac_srcdir/configure.gnu"; then
1441 echo &&
1442 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1443 elif test -f "$ac_srcdir/configure"; then
1444 echo &&
1445 $SHELL "$ac_srcdir/configure" --help=recursive
1446 else
1447 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1448 fi || ac_status=$?
1449 cd "$ac_pwd" || { ac_status=$?; break; }
1450 done
1451fi
1452
1453test -n "$ac_init_help" && exit $ac_status
1454if $ac_init_version; then
1455 cat <<\_ACEOF
1456usbutils configure 0.86
1457generated by GNU Autoconf 2.63
1458
1459Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14602002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1461This configure script is free software; the Free Software Foundation
1462gives unlimited permission to copy, distribute and modify it.
1463_ACEOF
1464 exit
1465fi
1466cat >config.log <<_ACEOF
1467This file contains any messages produced by compilers while
1468running configure, to aid debugging if configure makes a mistake.
1469
1470It was created by usbutils $as_me 0.86, which was
1471generated by GNU Autoconf 2.63. Invocation command line was
1472
1473 $ $0 $@
1474
1475_ACEOF
1476exec 5>>config.log
1477{
1478cat <<_ASUNAME
1479## --------- ##
1480## Platform. ##
1481## --------- ##
1482
1483hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1484uname -m = `(uname -m) 2>/dev/null || echo unknown`
1485uname -r = `(uname -r) 2>/dev/null || echo unknown`
1486uname -s = `(uname -s) 2>/dev/null || echo unknown`
1487uname -v = `(uname -v) 2>/dev/null || echo unknown`
1488
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`
1491
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`
1499
1500_ASUNAME
1501
1502as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1503for as_dir in $PATH
1504do
1505 IFS=$as_save_IFS
1506 test -z "$as_dir" && as_dir=.
1507 $as_echo "PATH: $as_dir"
1508done
1509IFS=$as_save_IFS
1510
1511} >&5
1512
1513cat >&5 <<_ACEOF
1514
1515
1516## ----------- ##
1517## Core tests. ##
1518## ----------- ##
1519
1520_ACEOF
1521
1522
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.
1528ac_configure_args=
1529ac_configure_args0=
1530ac_configure_args1=
1531ac_must_keep_next=false
1532for ac_pass in 1 2
1533do
1534 for ac_arg
1535 do
1536 case $ac_arg in
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)
1540 continue ;;
1541 *\'*)
1542 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1543 esac
1544 case $ac_pass in
1545 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1546 2)
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.
1550 else
1551 case $ac_arg in
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 ;;
1558 esac
1559 ;;
1560 -* ) ac_must_keep_next=true ;;
1561 esac
1562 fi
1563 ac_configure_args="$ac_configure_args '$ac_arg'"
1564 ;;
1565 esac
1566 done
1567done
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; }
1570
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.
1576trap 'exit_status=$?
1577 # Save into config.log some information that might help in debugging.
1578 {
1579 echo
1580
1581 cat <<\_ASBOX
1582## ---------------- ##
1583## Cache variables. ##
1584## ---------------- ##
1585_ASBOX
1586 echo
1587 # The following way of writing the cache mishandles newlines in values,
1588(
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
1591 case $ac_val in #(
1592 *${as_nl}*)
1593 case $ac_var in #(
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;} ;;
1596 esac
1597 case $ac_var in #(
1598 _ | IFS | as_nl) ;; #(
1599 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1600 *) $as_unset $ac_var ;;
1601 esac ;;
1602 esac
1603 done
1604 (set) 2>&1 |
1605 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1606 *${as_nl}ac_space=\ *)
1607 sed -n \
1608 "s/'\''/'\''\\\\'\'''\''/g;
1609 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1610 ;; #(
1611 *)
1612 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1613 ;;
1614 esac |
1615 sort
1616)
1617 echo
1618
1619 cat <<\_ASBOX
1620## ----------------- ##
1621## Output variables. ##
1622## ----------------- ##
1623_ASBOX
1624 echo
1625 for ac_var in $ac_subst_vars
1626 do
1627 eval ac_val=\$$ac_var
1628 case $ac_val in
1629 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1630 esac
1631 $as_echo "$ac_var='\''$ac_val'\''"
1632 done | sort
1633 echo
1634
1635 if test -n "$ac_subst_files"; then
1636 cat <<\_ASBOX
1637## ------------------- ##
1638## File substitutions. ##
1639## ------------------- ##
1640_ASBOX
1641 echo
1642 for ac_var in $ac_subst_files
1643 do
1644 eval ac_val=\$$ac_var
1645 case $ac_val in
1646 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1647 esac
1648 $as_echo "$ac_var='\''$ac_val'\''"
1649 done | sort
1650 echo
1651 fi
1652
1653 if test -s confdefs.h; then
1654 cat <<\_ASBOX
1655## ----------- ##
1656## confdefs.h. ##
1657## ----------- ##
1658_ASBOX
1659 echo
1660 cat confdefs.h
1661 echo
1662 fi
1663 test "$ac_signal" != 0 &&
1664 $as_echo "$as_me: caught signal $ac_signal"
1665 $as_echo "$as_me: exit $exit_status"
1666 } >&5
1667 rm -f core *.core core.conftest.* &&
1668 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1669 exit $exit_status
1670' 0
1671for ac_signal in 1 2 13 15; do
1672 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1673done
1674ac_signal=0
1675
1676# confdefs.h avoids OS command line length limits that DEFS can exceed.
1677rm -f -r conftest* confdefs.h
1678
1679# Predefined preprocessor variables.
1680
1681cat >>confdefs.h <<_ACEOF
1682#define PACKAGE_NAME "$PACKAGE_NAME"
1683_ACEOF
1684
1685
1686cat >>confdefs.h <<_ACEOF
1687#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1688_ACEOF
1689
1690
1691cat >>confdefs.h <<_ACEOF
1692#define PACKAGE_VERSION "$PACKAGE_VERSION"
1693_ACEOF
1694
1695
1696cat >>confdefs.h <<_ACEOF
1697#define PACKAGE_STRING "$PACKAGE_STRING"
1698_ACEOF
1699
1700
1701cat >>confdefs.h <<_ACEOF
1702#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1703_ACEOF
1704
1705
1706# Let the site file select an alternate cache file if it wants to.
1707# Prefer an explicitly selected file to automatically selected ones.
1708ac_site_file1=NONE
1709ac_site_file2=NONE
1710if test -n "$CONFIG_SITE"; then
1711 ac_site_file1=$CONFIG_SITE
1712elif test "x$prefix" != xNONE; then
1713 ac_site_file1=$prefix/share/config.site
1714 ac_site_file2=$prefix/etc/config.site
1715else
1716 ac_site_file1=$ac_default_prefix/share/config.site
1717 ac_site_file2=$ac_default_prefix/etc/config.site
1718fi
1719for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1720do
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
1726 . "$ac_site_file"
1727 fi
1728done
1729
1730if 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;}
1736 case $cache_file in
1737 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1738 *) . "./$cache_file";;
1739 esac
1740 fi
1741else
1742 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1743$as_echo "$as_me: creating cache $cache_file" >&6;}
1744 >$cache_file
1745fi
1746
1747# Check that the precious variables saved in the cache have kept the same
1748# value.
1749ac_cache_corrupted=false
1750for 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
1756 set,)
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=: ;;
1760 ,set)
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=: ;;
1764 ,);;
1765 *)
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=:
1774 else
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
1778 fi
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;}
1783 fi;;
1784 esac
1785 # Pass precious variables to config.status.
1786 if test "$ac_new_set" = set; then
1787 case $ac_new_val in
1788 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1789 *) ac_arg=$ac_var=$ac_new_val ;;
1790 esac
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'" ;;
1794 esac
1795 fi
1796done
1797if $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; }; }
1805fi
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831ac_ext=c
1832ac_cpp='$CPP $CPPFLAGS'
1833ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1834ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1835ac_compiler_gnu=$ac_cv_c_compiler_gnu
1836
1837
1838
1839am__api_version='1.10'
1840
1841ac_aux_dir=
1842for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1843 if test -f "$ac_dir/install-sh"; then
1844 ac_aux_dir=$ac_dir
1845 ac_install_sh="$ac_aux_dir/install-sh -c"
1846 break
1847 elif test -f "$ac_dir/install.sh"; then
1848 ac_aux_dir=$ac_dir
1849 ac_install_sh="$ac_aux_dir/install.sh -c"
1850 break
1851 elif test -f "$ac_dir/shtool"; then
1852 ac_aux_dir=$ac_dir
1853 ac_install_sh="$ac_aux_dir/shtool install -c"
1854 break
1855 fi
1856done
1857if 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; }; }
1861fi
1862
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.
1867ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1868ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1869ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1870
1871
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
1878# AIX /bin/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; }
1888if test -z "$INSTALL"; then
1889if test "${ac_cv_path_install+set}" = set; then
1890 $as_echo_n "(cached) " >&6
1891else
1892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1893for as_dir in $PATH
1894do
1895 IFS=$as_save_IFS
1896 test -z "$as_dir" && as_dir=.
1897 # Account for people who put trailing slashes in PATH elements.
1898case $as_dir/ in
1899 ./ | .// | /cC/* | \
1900 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1901 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1902 /usr/ucb/* ) ;;
1903 *)
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
1906 # by default.
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.
1913 :
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.
1917 :
1918 else
1919 rm -rf conftest.one conftest.two conftest.dir
1920 echo one > conftest.one
1921 echo two > conftest.two
1922 mkdir conftest.dir
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
1927 then
1928 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1929 break 3
1930 fi
1931 fi
1932 fi
1933 done
1934 done
1935 ;;
1936esac
1937
1938done
1939IFS=$as_save_IFS
1940
1941rm -rf conftest.one conftest.two conftest.dir
1942
1943fi
1944 if test "${ac_cv_path_install+set}" = set; then
1945 INSTALL=$ac_cv_path_install
1946 else
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
1952 fi
1953fi
1954{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1955$as_echo "$INSTALL" >&6; }
1956
1957# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1958# It thinks the first close brace ends the variable substitution.
1959test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1960
1961test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1962
1963test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1964
1965{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1966$as_echo_n "checking whether build environment is sane... " >&6; }
1967# Just in case
1968sleep 1
1969echo 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
1974# directory).
1975if (
1976 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1977 if test "$*" = "X"; then
1978 # -L didn't work.
1979 set X `ls -t $srcdir/configure conftest.file`
1980 fi
1981 rm -f conftest.file
1982 if test "$*" != "X $srcdir/configure conftest.file" \
1983 && test "$*" != "X conftest.file $srcdir/configure"; then
1984
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
1990alias in your environment" >&5
1991$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1992alias in your environment" >&2;}
1993 { (exit 1); exit 1; }; }
1994 fi
1995
1996 test "$2" = conftest.file
1997 )
1998then
1999 # Ok.
2000 :
2001else
2002 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2003Check your system clock" >&5
2004$as_echo "$as_me: error: newly created file is older than distributed files!
2005Check your system clock" >&2;}
2006 { (exit 1); exit 1; }; }
2007fi
2008{ $as_echo "$as_me:$LINENO: result: yes" >&5
2009$as_echo "yes" >&6; }
2010test "$program_prefix" != NONE &&
2011 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2012# Use a double $ so make ignores it.
2013test "$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.
2017ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2018program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2019
2020# expand $ac_aux_dir to an absolute path
2021am_aux_dir=`cd $ac_aux_dir && pwd`
2022
2023test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2024# Use eval to expand $SHELL
2025if eval "$MISSING --run true"; then
2026 am_missing_run="$MISSING --run "
2027else
2028 am_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;}
2031fi
2032
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; }
2035if test -z "$MKDIR_P"; then
2036 if test "${ac_cv_path_mkdir+set}" = set; then
2037 $as_echo_n "(cached) " >&6
2038else
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2041do
2042 IFS=$as_save_IFS
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
2052 break 3;;
2053 esac
2054 done
2055 done
2056done
2057IFS=$as_save_IFS
2058
2059fi
2060
2061 if test "${ac_cv_path_mkdir+set}" = set; then
2062 MKDIR_P="$ac_cv_path_mkdir -p"
2063 else
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"
2070 fi
2071fi
2072{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2073$as_echo "$MKDIR_P" >&6; }
2074
2075mkdir_p="$MKDIR_P"
2076case $mkdir_p in
2077 [\\/$]* | ?:[\\/]*) ;;
2078 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2079esac
2080
2081for ac_prog in gawk mawk nawk awk
2082do
2083 # Extract the first word of "$ac_prog", so it can be a program name with args.
2084set 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; }
2087if test "${ac_cv_prog_AWK+set}" = set; then
2088 $as_echo_n "(cached) " >&6
2089else
2090 if test -n "$AWK"; then
2091 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2092else
2093as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2094for as_dir in $PATH
2095do
2096 IFS=$as_save_IFS
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
2102 break 2
2103 fi
2104done
2105done
2106IFS=$as_save_IFS
2107
2108fi
2109fi
2110AWK=$ac_cv_prog_AWK
2111if test -n "$AWK"; then
2112 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2113$as_echo "$AWK" >&6; }
2114else
2115 { $as_echo "$as_me:$LINENO: result: no" >&5
2116$as_echo "no" >&6; }
2117fi
2118
2119
2120 test -n "$AWK" && break
2121done
2122
2123{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2124$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2125set x ${MAKE-make}
2126ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2127if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2128 $as_echo_n "(cached) " >&6
2129else
2130 cat >conftest.make <<\_ACEOF
2131SHELL = /bin/sh
2132all:
2133 @echo '@@@%%%=$(MAKE)=@@@%%%'
2134_ACEOF
2135# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2136case `${MAKE-make} -f conftest.make 2>/dev/null` in
2137 *@@@%%%=?*=@@@%%%*)
2138 eval ac_cv_prog_make_${ac_make}_set=yes;;
2139 *)
2140 eval ac_cv_prog_make_${ac_make}_set=no;;
2141esac
2142rm -f conftest.make
2143fi
2144if 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; }
2147 SET_MAKE=
2148else
2149 { $as_echo "$as_me:$LINENO: result: no" >&5
2150$as_echo "no" >&6; }
2151 SET_MAKE="MAKE=${MAKE-make}"
2152fi
2153
2154rm -rf .tst 2>/dev/null
2155mkdir .tst 2>/dev/null
2156if test -d .tst; then
2157 am__leading_dot=.
2158else
2159 am__leading_dot=_
2160fi
2161rmdir .tst 2>/dev/null
2162
2163if 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; }; }
2172 fi
2173fi
2174
2175# test whether we have cygpath
2176if test -z "$CYGPATH_W"; then
2177 if (cygpath --version) >/dev/null 2>/dev/null; then
2178 CYGPATH_W='cygpath -w'
2179 else
2180 CYGPATH_W=echo
2181 fi
2182fi
2183
2184
2185# Define the identity of the package.
2186 PACKAGE='usbutils'
2187 VERSION='0.86'
2188
2189
2190cat >>confdefs.h <<_ACEOF
2191#define PACKAGE "$PACKAGE"
2192_ACEOF
2193
2194
2195cat >>confdefs.h <<_ACEOF
2196#define VERSION "$VERSION"
2197_ACEOF
2198
2199# Some tools Automake needs.
2200
2201ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2202
2203
2204AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2205
2206
2207AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2208
2209
2210AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2211
2212
2213MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2214
2215install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2216
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.
2221if 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.
2224set 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; }
2227if test "${ac_cv_prog_STRIP+set}" = set; then
2228 $as_echo_n "(cached) " >&6
2229else
2230 if test -n "$STRIP"; then
2231 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2232else
2233as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234for as_dir in $PATH
2235do
2236 IFS=$as_save_IFS
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
2242 break 2
2243 fi
2244done
2245done
2246IFS=$as_save_IFS
2247
2248fi
2249fi
2250STRIP=$ac_cv_prog_STRIP
2251if test -n "$STRIP"; then
2252 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2253$as_echo "$STRIP" >&6; }
2254else
2255 { $as_echo "$as_me:$LINENO: result: no" >&5
2256$as_echo "no" >&6; }
2257fi
2258
2259
2260fi
2261if test -z "$ac_cv_prog_STRIP"; then
2262 ac_ct_STRIP=$STRIP
2263 # Extract the first word of "strip", so it can be a program name with args.
2264set 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; }
2267if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2268 $as_echo_n "(cached) " >&6
2269else
2270 if test -n "$ac_ct_STRIP"; then
2271 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2272else
2273as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274for as_dir in $PATH
2275do
2276 IFS=$as_save_IFS
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
2282 break 2
2283 fi
2284done
2285done
2286IFS=$as_save_IFS
2287
2288fi
2289fi
2290ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2291if test -n "$ac_ct_STRIP"; then
2292 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2293$as_echo "$ac_ct_STRIP" >&6; }
2294else
2295 { $as_echo "$as_me:$LINENO: result: no" >&5
2296$as_echo "no" >&6; }
2297fi
2298
2299 if test "x$ac_ct_STRIP" = x; then
2300 STRIP=":"
2301 else
2302 case $cross_compiling:$ac_tool_warned in
2303yes:)
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;}
2306ac_tool_warned=yes ;;
2307esac
2308 STRIP=$ac_ct_STRIP
2309 fi
2310else
2311 STRIP="$ac_cv_prog_STRIP"
2312fi
2313
2314fi
2315INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2316
2317# We need awk for the "check" target. The system "awk" is bad on
2318# some platforms.
2319# Always define AMTAR for backward compatibility.
2320
2321AMTAR=${AMTAR-"${am_missing_run}tar"}
2322
2323am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2324
2325
2326
2327
2328
2329
2330
2331
2332DEPDIR="${am__leading_dot}deps"
2333
2334ac_config_commands="$ac_config_commands depfiles"
2335
2336
2337am_make=${MAKE-make}
2338cat > confinc << 'END'
2339am__doit:
2340 @echo done
2341.PHONY: am__doit
2342END
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; }
2346am__include="#"
2347am__quote=
2348_am_result=none
2349# First try GNU make style include.
2350echo "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'.
2356if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2357 am__include=include
2358 am__quote=
2359 _am_result=GNU
2360fi
2361# Now try BSD make style include.
2362if 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
2366 am__quote="\""
2367 _am_result=BSD
2368 fi
2369fi
2370
2371
2372{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2373$as_echo "$_am_result" >&6; }
2374rm -f confinc confmf
2375
2376# Check whether --enable-dependency-tracking was given.
2377if test "${enable_dependency_tracking+set}" = set; then
2378 enableval=$enable_dependency_tracking;
2379fi
2380
2381if test "x$enable_dependency_tracking" != xno; then
2382 am_depcomp="$ac_aux_dir/depcomp"
2383 AMDEPBACKSLASH='\'
2384fi
2385 if test "x$enable_dependency_tracking" != xno; then
2386 AMDEP_TRUE=
2387 AMDEP_FALSE='#'
2388else
2389 AMDEP_TRUE='#'
2390 AMDEP_FALSE=
2391fi
2392
2393
2394ac_ext=c
2395ac_cpp='$CPP $CPPFLAGS'
2396ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2397ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2398ac_compiler_gnu=$ac_cv_c_compiler_gnu
2399if 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.
2401set 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; }
2404if test "${ac_cv_prog_CC+set}" = set; then
2405 $as_echo_n "(cached) " >&6
2406else
2407 if test -n "$CC"; then
2408 ac_cv_prog_CC="$CC" # Let the user override the test.
2409else
2410as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2411for as_dir in $PATH
2412do
2413 IFS=$as_save_IFS
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
2419 break 2
2420 fi
2421done
2422done
2423IFS=$as_save_IFS
2424
2425fi
2426fi
2427CC=$ac_cv_prog_CC
2428if test -n "$CC"; then
2429 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2430$as_echo "$CC" >&6; }
2431else
2432 { $as_echo "$as_me:$LINENO: result: no" >&5
2433$as_echo "no" >&6; }
2434fi
2435
2436
2437fi
2438if test -z "$ac_cv_prog_CC"; then
2439 ac_ct_CC=$CC
2440 # Extract the first word of "gcc", so it can be a program name with args.
2441set 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; }
2444if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2445 $as_echo_n "(cached) " >&6
2446else
2447 if test -n "$ac_ct_CC"; then
2448 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2449else
2450as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451for as_dir in $PATH
2452do
2453 IFS=$as_save_IFS
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
2459 break 2
2460 fi
2461done
2462done
2463IFS=$as_save_IFS
2464
2465fi
2466fi
2467ac_ct_CC=$ac_cv_prog_ac_ct_CC
2468if test -n "$ac_ct_CC"; then
2469 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2470$as_echo "$ac_ct_CC" >&6; }
2471else
2472 { $as_echo "$as_me:$LINENO: result: no" >&5
2473$as_echo "no" >&6; }
2474fi
2475
2476 if test "x$ac_ct_CC" = x; then
2477 CC=""
2478 else
2479 case $cross_compiling:$ac_tool_warned in
2480yes:)
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;}
2483ac_tool_warned=yes ;;
2484esac
2485 CC=$ac_ct_CC
2486 fi
2487else
2488 CC="$ac_cv_prog_CC"
2489fi
2490
2491if 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.
2494set 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; }
2497if test "${ac_cv_prog_CC+set}" = set; then
2498 $as_echo_n "(cached) " >&6
2499else
2500 if test -n "$CC"; then
2501 ac_cv_prog_CC="$CC" # Let the user override the test.
2502else
2503as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2504for as_dir in $PATH
2505do
2506 IFS=$as_save_IFS
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
2512 break 2
2513 fi
2514done
2515done
2516IFS=$as_save_IFS
2517
2518fi
2519fi
2520CC=$ac_cv_prog_CC
2521if test -n "$CC"; then
2522 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2523$as_echo "$CC" >&6; }
2524else
2525 { $as_echo "$as_me:$LINENO: result: no" >&5
2526$as_echo "no" >&6; }
2527fi
2528
2529
2530 fi
2531fi
2532if test -z "$CC"; then
2533 # Extract the first word of "cc", so it can be a program name with args.
2534set 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; }
2537if test "${ac_cv_prog_CC+set}" = set; then
2538 $as_echo_n "(cached) " >&6
2539else
2540 if test -n "$CC"; then
2541 ac_cv_prog_CC="$CC" # Let the user override the test.
2542else
2543 ac_prog_rejected=no
2544as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2545for as_dir in $PATH
2546do
2547 IFS=$as_save_IFS
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
2553 continue
2554 fi
2555 ac_cv_prog_CC="cc"
2556 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2557 break 2
2558 fi
2559done
2560done
2561IFS=$as_save_IFS
2562
2563if 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
2566 shift
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.
2571 shift
2572 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2573 fi
2574fi
2575fi
2576fi
2577CC=$ac_cv_prog_CC
2578if test -n "$CC"; then
2579 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2580$as_echo "$CC" >&6; }
2581else
2582 { $as_echo "$as_me:$LINENO: result: no" >&5
2583$as_echo "no" >&6; }
2584fi
2585
2586
2587fi
2588if test -z "$CC"; then
2589 if test -n "$ac_tool_prefix"; then
2590 for ac_prog in cl.exe
2591 do
2592 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2593set 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; }
2596if test "${ac_cv_prog_CC+set}" = set; then
2597 $as_echo_n "(cached) " >&6
2598else
2599 if test -n "$CC"; then
2600 ac_cv_prog_CC="$CC" # Let the user override the test.
2601else
2602as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2603for as_dir in $PATH
2604do
2605 IFS=$as_save_IFS
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
2611 break 2
2612 fi
2613done
2614done
2615IFS=$as_save_IFS
2616
2617fi
2618fi
2619CC=$ac_cv_prog_CC
2620if test -n "$CC"; then
2621 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2622$as_echo "$CC" >&6; }
2623else
2624 { $as_echo "$as_me:$LINENO: result: no" >&5
2625$as_echo "no" >&6; }
2626fi
2627
2628
2629 test -n "$CC" && break
2630 done
2631fi
2632if test -z "$CC"; then
2633 ac_ct_CC=$CC
2634 for ac_prog in cl.exe
2635do
2636 # Extract the first word of "$ac_prog", so it can be a program name with args.
2637set 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; }
2640if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2641 $as_echo_n "(cached) " >&6
2642else
2643 if test -n "$ac_ct_CC"; then
2644 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2645else
2646as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2647for as_dir in $PATH
2648do
2649 IFS=$as_save_IFS
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
2655 break 2
2656 fi
2657done
2658done
2659IFS=$as_save_IFS
2660
2661fi
2662fi
2663ac_ct_CC=$ac_cv_prog_ac_ct_CC
2664if test -n "$ac_ct_CC"; then
2665 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2666$as_echo "$ac_ct_CC" >&6; }
2667else
2668 { $as_echo "$as_me:$LINENO: result: no" >&5
2669$as_echo "no" >&6; }
2670fi
2671
2672
2673 test -n "$ac_ct_CC" && break
2674done
2675
2676 if test "x$ac_ct_CC" = x; then
2677 CC=""
2678 else
2679 case $cross_compiling:$ac_tool_warned in
2680yes:)
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;}
2683ac_tool_warned=yes ;;
2684esac
2685 CC=$ac_ct_CC
2686 fi
2687fi
2688
2689fi
2690
2691
2692test -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
2695See \`config.log' for more details." >&5
2696$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2697See \`config.log' for more details." >&2;}
2698 { (exit 1); exit 1; }; }; }
2699
2700# Provide some information about the compiler.
2701$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2702set X $ac_compile
2703ac_compiler=$2
2704{ (ac_try="$ac_compiler --version >&5"
2705case "(($ac_try" in
2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707 *) ac_try_echo=$ac_try;;
2708esac
2709eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2710$as_echo "$ac_try_echo") >&5
2711 (eval "$ac_compiler --version >&5") 2>&5
2712 ac_status=$?
2713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); }
2715{ (ac_try="$ac_compiler -v >&5"
2716case "(($ac_try" in
2717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2718 *) ac_try_echo=$ac_try;;
2719esac
2720eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2721$as_echo "$ac_try_echo") >&5
2722 (eval "$ac_compiler -v >&5") 2>&5
2723 ac_status=$?
2724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); }
2726{ (ac_try="$ac_compiler -V >&5"
2727case "(($ac_try" in
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2730esac
2731eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2732$as_echo "$ac_try_echo") >&5
2733 (eval "$ac_compiler -V >&5") 2>&5
2734 ac_status=$?
2735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }
2737
2738cat >conftest.$ac_ext <<_ACEOF
2739/* confdefs.h. */
2740_ACEOF
2741cat confdefs.h >>conftest.$ac_ext
2742cat >>conftest.$ac_ext <<_ACEOF
2743/* end confdefs.h. */
2744
2745int
2746main ()
2747{
2748
2749 ;
2750 return 0;
2751}
2752_ACEOF
2753ac_clean_files_save=$ac_clean_files
2754ac_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
2757# of exeext.
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; }
2760ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2761
2762# The possible output files:
2763ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2764
2765ac_rmfiles=
2766for ac_file in $ac_files
2767do
2768 case $ac_file in
2769 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2770 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2771 esac
2772done
2773rm -f $ac_rmfiles
2774
2775if { (ac_try="$ac_link_default"
2776case "(($ac_try" in
2777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2778 *) ac_try_echo=$ac_try;;
2779esac
2780eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2781$as_echo "$ac_try_echo") >&5
2782 (eval "$ac_link_default") 2>&5
2783 ac_status=$?
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
2790# Autoconf.
2791for ac_file in $ac_files ''
2792do
2793 test -f "$ac_file" || continue
2794 case $ac_file in
2795 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2796 ;;
2797 [ab].out )
2798 # We found the default executable, but exeext='' is most
2799 # certainly right.
2800 break;;
2801 *.* )
2802 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2803 then :; else
2804 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2805 fi
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
2810 # actually working.
2811 break;;
2812 * )
2813 break;;
2814 esac
2815done
2816test "$ac_cv_exeext" = no && ac_cv_exeext=
2817
2818else
2819 ac_file=''
2820fi
2821
2822{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2823$as_echo "$ac_file" >&6; }
2824if test -z "$ac_file"; then
2825 $as_echo "$as_me: failed program was:" >&5
2826sed 's/^/| /' conftest.$ac_ext >&5
2827
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
2831See \`config.log' for more details." >&5
2832$as_echo "$as_me: error: C compiler cannot create executables
2833See \`config.log' for more details." >&2;}
2834 { (exit 77); exit 77; }; }; }
2835fi
2836
2837ac_exeext=$ac_cv_exeext
2838
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.
2845if 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;;
2850esac
2851eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2852$as_echo "$ac_try_echo") >&5
2853 (eval "$ac_try") 2>&5
2854 ac_status=$?
2855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; }; then
2857 cross_compiling=no
2858 else
2859 if test "$cross_compiling" = maybe; then
2860 cross_compiling=yes
2861 else
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.
2865If you meant to cross compile, use \`--host'.
2866See \`config.log' for more details." >&5
2867$as_echo "$as_me: error: cannot run C compiled programs.
2868If you meant to cross compile, use \`--host'.
2869See \`config.log' for more details." >&2;}
2870 { (exit 1); exit 1; }; }; }
2871 fi
2872 fi
2873fi
2874{ $as_echo "$as_me:$LINENO: result: yes" >&5
2875$as_echo "yes" >&6; }
2876
2877rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2878ac_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; }
2885
2886{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2887$as_echo_n "checking for suffix of executables... " >&6; }
2888if { (ac_try="$ac_link"
2889case "(($ac_try" in
2890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891 *) ac_try_echo=$ac_try;;
2892esac
2893eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2894$as_echo "$ac_try_echo") >&5
2895 (eval "$ac_link") 2>&5
2896 ac_status=$?
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
2902# `rm'.
2903for ac_file in conftest.exe conftest conftest.*; do
2904 test -f "$ac_file" || continue
2905 case $ac_file in
2906 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2907 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2908 break;;
2909 * ) break;;
2910 esac
2911done
2912else
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
2916See \`config.log' for more details." >&5
2917$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2918See \`config.log' for more details." >&2;}
2919 { (exit 1); exit 1; }; }; }
2920fi
2921
2922rm -f conftest$ac_cv_exeext
2923{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2924$as_echo "$ac_cv_exeext" >&6; }
2925
2926rm -f conftest.$ac_ext
2927EXEEXT=$ac_cv_exeext
2928ac_exeext=$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; }
2931if test "${ac_cv_objext+set}" = set; then
2932 $as_echo_n "(cached) " >&6
2933else
2934 cat >conftest.$ac_ext <<_ACEOF
2935/* confdefs.h. */
2936_ACEOF
2937cat confdefs.h >>conftest.$ac_ext
2938cat >>conftest.$ac_ext <<_ACEOF
2939/* end confdefs.h. */
2940
2941int
2942main ()
2943{
2944
2945 ;
2946 return 0;
2947}
2948_ACEOF
2949rm -f conftest.o conftest.obj
2950if { (ac_try="$ac_compile"
2951case "(($ac_try" in
2952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953 *) ac_try_echo=$ac_try;;
2954esac
2955eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2956$as_echo "$ac_try_echo") >&5
2957 (eval "$ac_compile") 2>&5
2958 ac_status=$?
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;
2963 case $ac_file in
2964 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2965 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2966 break;;
2967 esac
2968done
2969else
2970 $as_echo "$as_me: failed program was:" >&5
2971sed 's/^/| /' conftest.$ac_ext >&5
2972
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
2976See \`config.log' for more details." >&5
2977$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2978See \`config.log' for more details." >&2;}
2979 { (exit 1); exit 1; }; }; }
2980fi
2981
2982rm -f conftest.$ac_cv_objext conftest.$ac_ext
2983fi
2984{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2985$as_echo "$ac_cv_objext" >&6; }
2986OBJEXT=$ac_cv_objext
2987ac_objext=$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; }
2990if test "${ac_cv_c_compiler_gnu+set}" = set; then
2991 $as_echo_n "(cached) " >&6
2992else
2993 cat >conftest.$ac_ext <<_ACEOF
2994/* confdefs.h. */
2995_ACEOF
2996cat confdefs.h >>conftest.$ac_ext
2997cat >>conftest.$ac_ext <<_ACEOF
2998/* end confdefs.h. */
2999
3000int
3001main ()
3002{
3003#ifndef __GNUC__
3004 choke me
3005#endif
3006
3007 ;
3008 return 0;
3009}
3010_ACEOF
3011rm -f conftest.$ac_objext
3012if { (ac_try="$ac_compile"
3013case "(($ac_try" in
3014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3015 *) ac_try_echo=$ac_try;;
3016esac
3017eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3018$as_echo "$ac_try_echo") >&5
3019 (eval "$ac_compile") 2>conftest.er1
3020 ac_status=$?
3021 grep -v '^ *+' conftest.er1 >conftest.err
3022 rm -f conftest.er1
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
3029 ac_compiler_gnu=yes
3030else
3031 $as_echo "$as_me: failed program was:" >&5
3032sed 's/^/| /' conftest.$ac_ext >&5
3033
3034 ac_compiler_gnu=no
3035fi
3036
3037rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3038ac_cv_c_compiler_gnu=$ac_compiler_gnu
3039
3040fi
3041{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3042$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3043if test $ac_compiler_gnu = yes; then
3044 GCC=yes
3045else
3046 GCC=
3047fi
3048ac_test_CFLAGS=${CFLAGS+set}
3049ac_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; }
3052if test "${ac_cv_prog_cc_g+set}" = set; then
3053 $as_echo_n "(cached) " >&6
3054else
3055 ac_save_c_werror_flag=$ac_c_werror_flag
3056 ac_c_werror_flag=yes
3057 ac_cv_prog_cc_g=no
3058 CFLAGS="-g"
3059 cat >conftest.$ac_ext <<_ACEOF
3060/* confdefs.h. */
3061_ACEOF
3062cat confdefs.h >>conftest.$ac_ext
3063cat >>conftest.$ac_ext <<_ACEOF
3064/* end confdefs.h. */
3065
3066int
3067main ()
3068{
3069
3070 ;
3071 return 0;
3072}
3073_ACEOF
3074rm -f conftest.$ac_objext
3075if { (ac_try="$ac_compile"
3076case "(($ac_try" in
3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3079esac
3080eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3081$as_echo "$ac_try_echo") >&5
3082 (eval "$ac_compile") 2>conftest.er1
3083 ac_status=$?
3084 grep -v '^ *+' conftest.er1 >conftest.err
3085 rm -f conftest.er1
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
3092 ac_cv_prog_cc_g=yes
3093else
3094 $as_echo "$as_me: failed program was:" >&5
3095sed 's/^/| /' conftest.$ac_ext >&5
3096
3097 CFLAGS=""
3098 cat >conftest.$ac_ext <<_ACEOF
3099/* confdefs.h. */
3100_ACEOF
3101cat confdefs.h >>conftest.$ac_ext
3102cat >>conftest.$ac_ext <<_ACEOF
3103/* end confdefs.h. */
3104
3105int
3106main ()
3107{
3108
3109 ;
3110 return 0;
3111}
3112_ACEOF
3113rm -f conftest.$ac_objext
3114if { (ac_try="$ac_compile"
3115case "(($ac_try" in
3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3118esac
3119eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3120$as_echo "$ac_try_echo") >&5
3121 (eval "$ac_compile") 2>conftest.er1
3122 ac_status=$?
3123 grep -v '^ *+' conftest.er1 >conftest.err
3124 rm -f conftest.er1
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
3131 :
3132else
3133 $as_echo "$as_me: failed program was:" >&5
3134sed 's/^/| /' conftest.$ac_ext >&5
3135
3136 ac_c_werror_flag=$ac_save_c_werror_flag
3137 CFLAGS="-g"
3138 cat >conftest.$ac_ext <<_ACEOF
3139/* confdefs.h. */
3140_ACEOF
3141cat confdefs.h >>conftest.$ac_ext
3142cat >>conftest.$ac_ext <<_ACEOF
3143/* end confdefs.h. */
3144
3145int
3146main ()
3147{
3148
3149 ;
3150 return 0;
3151}
3152_ACEOF
3153rm -f conftest.$ac_objext
3154if { (ac_try="$ac_compile"
3155case "(($ac_try" in
3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3158esac
3159eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3160$as_echo "$ac_try_echo") >&5
3161 (eval "$ac_compile") 2>conftest.er1
3162 ac_status=$?
3163 grep -v '^ *+' conftest.er1 >conftest.err
3164 rm -f conftest.er1
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
3171 ac_cv_prog_cc_g=yes
3172else
3173 $as_echo "$as_me: failed program was:" >&5
3174sed 's/^/| /' conftest.$ac_ext >&5
3175
3176
3177fi
3178
3179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3180fi
3181
3182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3183fi
3184
3185rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3186 ac_c_werror_flag=$ac_save_c_werror_flag
3187fi
3188{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3189$as_echo "$ac_cv_prog_cc_g" >&6; }
3190if test "$ac_test_CFLAGS" = set; then
3191 CFLAGS=$ac_save_CFLAGS
3192elif test $ac_cv_prog_cc_g = yes; then
3193 if test "$GCC" = yes; then
3194 CFLAGS="-g -O2"
3195 else
3196 CFLAGS="-g"
3197 fi
3198else
3199 if test "$GCC" = yes; then
3200 CFLAGS="-O2"
3201 else
3202 CFLAGS=
3203 fi
3204fi
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; }
3207if test "${ac_cv_prog_cc_c89+set}" = set; then
3208 $as_echo_n "(cached) " >&6
3209else
3210 ac_cv_prog_cc_c89=no
3211ac_save_CC=$CC
3212cat >conftest.$ac_ext <<_ACEOF
3213/* confdefs.h. */
3214_ACEOF
3215cat confdefs.h >>conftest.$ac_ext
3216cat >>conftest.$ac_ext <<_ACEOF
3217/* end confdefs.h. */
3218#include <stdarg.h>
3219#include <stdio.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. */
3223struct buf { int x; };
3224FILE * (*rcsopen) (struct buf *, struct stat *, int);
3225static char *e (p, i)
3226 char **p;
3227 int i;
3228{
3229 return p[i];
3230}
3231static char *f (char * (*g) (char **, int), char **p, ...)
3232{
3233 char *s;
3234 va_list v;
3235 va_start (v,p);
3236 s = g (p, va_arg (v,int));
3237 va_end (v);
3238 return s;
3239}
3240
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. */
3248int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3249
3250/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3251 inside strings and character constants. */
3252#define FOO(x) 'x'
3253int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3254
3255int test (int i, double x);
3256struct s1 {int (*f) (int a);};
3257struct s2 {int (*f) (double a);};
3258int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3259int argc;
3260char **argv;
3261int
3262main ()
3263{
3264return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3265 ;
3266 return 0;
3267}
3268_ACEOF
3269for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3270 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3271do
3272 CC="$ac_save_CC $ac_arg"
3273 rm -f conftest.$ac_objext
3274if { (ac_try="$ac_compile"
3275case "(($ac_try" in
3276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3277 *) ac_try_echo=$ac_try;;
3278esac
3279eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3280$as_echo "$ac_try_echo") >&5
3281 (eval "$ac_compile") 2>conftest.er1
3282 ac_status=$?
3283 grep -v '^ *+' conftest.er1 >conftest.err
3284 rm -f conftest.er1
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
3292else
3293 $as_echo "$as_me: failed program was:" >&5
3294sed 's/^/| /' conftest.$ac_ext >&5
3295
3296
3297fi
3298
3299rm -f core conftest.err conftest.$ac_objext
3300 test "x$ac_cv_prog_cc_c89" != "xno" && break
3301done
3302rm -f conftest.$ac_ext
3303CC=$ac_save_CC
3304
3305fi
3306# AC_CACHE_VAL
3307case "x$ac_cv_prog_cc_c89" in
3308 x)
3309 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3310$as_echo "none needed" >&6; } ;;
3311 xno)
3312 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3313$as_echo "unsupported" >&6; } ;;
3314 *)
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; } ;;
3318esac
3319
3320
3321ac_ext=c
3322ac_cpp='$CPP $CPPFLAGS'
3323ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3324ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3325ac_compiler_gnu=$ac_cv_c_compiler_gnu
3326
3327depcc="$CC" am_compiler_list=
3328
3329{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3330$as_echo_n "checking dependency style of $depcc... " >&6; }
3331if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3332 $as_echo_n "(cached) " >&6
3333else
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
3339 # in D'.
3340 mkdir conftest.dir
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
3344 cd 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
3350 # directory.
3351 mkdir sub
3352
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`
3356 fi
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.
3361 #
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.
3365 : > sub/conftest.c
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
3371 done
3372 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3373
3374 case $depmode in
3375 nosideeffect)
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
3379 continue
3380 else
3381 break
3382 fi
3383 ;;
3384 none) break ;;
3385 esac
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
3408 break
3409 fi
3410 fi
3411 done
3412
3413 cd ..
3414 rm -rf conftest.dir
3415else
3416 am_cv_CC_dependencies_compiler_type=none
3417fi
3418
3419fi
3420{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3421$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3422CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3423
3424 if
3425 test "x$enable_dependency_tracking" != xno \
3426 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3427 am__fastdepCC_TRUE=
3428 am__fastdepCC_FALSE='#'
3429else
3430 am__fastdepCC_TRUE='#'
3431 am__fastdepCC_FALSE=
3432fi
3433
3434
3435
3436ac_ext=c
3437ac_cpp='$CPP $CPPFLAGS'
3438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3440ac_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.
3444if test -n "$CPP" && test -d "$CPP"; then
3445 CPP=
3446fi
3447if test -z "$CPP"; then
3448 if test "${ac_cv_prog_CPP+set}" = set; then
3449 $as_echo_n "(cached) " >&6
3450else
3451 # Double quotes because CPP needs to be expanded
3452 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3453 do
3454 ac_preproc_ok=false
3455for ac_c_preproc_warn_flag in '' yes
3456do
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
3464/* confdefs.h. */
3465_ACEOF
3466cat confdefs.h >>conftest.$ac_ext
3467cat >>conftest.$ac_ext <<_ACEOF
3468/* end confdefs.h. */
3469#ifdef __STDC__
3470# include <limits.h>
3471#else
3472# include <assert.h>
3473#endif
3474 Syntax error
3475_ACEOF
3476if { (ac_try="$ac_cpp conftest.$ac_ext"
3477case "(($ac_try" in
3478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3479 *) ac_try_echo=$ac_try;;
3480esac
3481eval 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
3484 ac_status=$?
3485 grep -v '^ *+' conftest.er1 >conftest.err
3486 rm -f conftest.er1
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
3492 }; then
3493 :
3494else
3495 $as_echo "$as_me: failed program was:" >&5
3496sed 's/^/| /' conftest.$ac_ext >&5
3497
3498 # Broken: fails on valid input.
3499continue
3500fi
3501
3502rm -f conftest.err conftest.$ac_ext
3503
3504 # OK, works on sane cases. Now check whether nonexistent headers
3505 # can be detected and how.
3506 cat >conftest.$ac_ext <<_ACEOF
3507/* confdefs.h. */
3508_ACEOF
3509cat confdefs.h >>conftest.$ac_ext
3510cat >>conftest.$ac_ext <<_ACEOF
3511/* end confdefs.h. */
3512#include <ac_nonexistent.h>
3513_ACEOF
3514if { (ac_try="$ac_cpp conftest.$ac_ext"
3515case "(($ac_try" in
3516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3517 *) ac_try_echo=$ac_try;;
3518esac
3519eval 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
3522 ac_status=$?
3523 grep -v '^ *+' conftest.er1 >conftest.err
3524 rm -f conftest.er1
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
3530 }; then
3531 # Broken: success on invalid input.
3532continue
3533else
3534 $as_echo "$as_me: failed program was:" >&5
3535sed 's/^/| /' conftest.$ac_ext >&5
3536
3537 # Passes both tests.
3538ac_preproc_ok=:
3539break
3540fi
3541
3542rm -f conftest.err conftest.$ac_ext
3543
3544done
3545# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3546rm -f conftest.err conftest.$ac_ext
3547if $ac_preproc_ok; then
3548 break
3549fi
3550
3551 done
3552 ac_cv_prog_CPP=$CPP
3553
3554fi
3555 CPP=$ac_cv_prog_CPP
3556else
3557 ac_cv_prog_CPP=$CPP
3558fi
3559{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3560$as_echo "$CPP" >&6; }
3561ac_preproc_ok=false
3562for ac_c_preproc_warn_flag in '' yes
3563do
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
3571/* confdefs.h. */
3572_ACEOF
3573cat confdefs.h >>conftest.$ac_ext
3574cat >>conftest.$ac_ext <<_ACEOF
3575/* end confdefs.h. */
3576#ifdef __STDC__
3577# include <limits.h>
3578#else
3579# include <assert.h>
3580#endif
3581 Syntax error
3582_ACEOF
3583if { (ac_try="$ac_cpp conftest.$ac_ext"
3584case "(($ac_try" in
3585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3586 *) ac_try_echo=$ac_try;;
3587esac
3588eval 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
3591 ac_status=$?
3592 grep -v '^ *+' conftest.er1 >conftest.err
3593 rm -f conftest.er1
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
3599 }; then
3600 :
3601else
3602 $as_echo "$as_me: failed program was:" >&5
3603sed 's/^/| /' conftest.$ac_ext >&5
3604
3605 # Broken: fails on valid input.
3606continue
3607fi
3608
3609rm -f conftest.err conftest.$ac_ext
3610
3611 # OK, works on sane cases. Now check whether nonexistent headers
3612 # can be detected and how.
3613 cat >conftest.$ac_ext <<_ACEOF
3614/* confdefs.h. */
3615_ACEOF
3616cat confdefs.h >>conftest.$ac_ext
3617cat >>conftest.$ac_ext <<_ACEOF
3618/* end confdefs.h. */
3619#include <ac_nonexistent.h>
3620_ACEOF
3621if { (ac_try="$ac_cpp conftest.$ac_ext"
3622case "(($ac_try" in
3623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3624 *) ac_try_echo=$ac_try;;
3625esac
3626eval 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
3629 ac_status=$?
3630 grep -v '^ *+' conftest.er1 >conftest.err
3631 rm -f conftest.er1
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
3637 }; then
3638 # Broken: success on invalid input.
3639continue
3640else
3641 $as_echo "$as_me: failed program was:" >&5
3642sed 's/^/| /' conftest.$ac_ext >&5
3643
3644 # Passes both tests.
3645ac_preproc_ok=:
3646break
3647fi
3648
3649rm -f conftest.err conftest.$ac_ext
3650
3651done
3652# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3653rm -f conftest.err conftest.$ac_ext
3654if $ac_preproc_ok; then
3655 :
3656else
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
3660See \`config.log' for more details." >&5
3661$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3662See \`config.log' for more details." >&2;}
3663 { (exit 1); exit 1; }; }; }
3664fi
3665
3666ac_ext=c
3667ac_cpp='$CPP $CPPFLAGS'
3668ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3669ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3670ac_compiler_gnu=$ac_cv_c_compiler_gnu
3671
3672
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; }
3675if test "${ac_cv_path_GREP+set}" = set; then
3676 $as_echo_n "(cached) " >&6
3677else
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
3682for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3683do
3684 IFS=$as_save_IFS
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
3692case `"$ac_path_GREP" --version 2>&1` in
3693*GNU*)
3694 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3695*)
3696 ac_count=0
3697 $as_echo_n 0123456789 >"conftest.in"
3698 while :
3699 do
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
3711 fi
3712 # 10*(2^10) chars as input seems more than enough
3713 test $ac_count -gt 10 && break
3714 done
3715 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3716esac
3717
3718 $ac_path_GREP_found && break 3
3719 done
3720 done
3721done
3722IFS=$as_save_IFS
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; }; }
3727 fi
3728else
3729 ac_cv_path_GREP=$GREP
3730fi
3731
3732fi
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"
3736
3737
3738{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3739$as_echo_n "checking for egrep... " >&6; }
3740if test "${ac_cv_path_EGREP+set}" = set; then
3741 $as_echo_n "(cached) " >&6
3742else
3743 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3744 then ac_cv_path_EGREP="$GREP -E"
3745 else
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
3750for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3751do
3752 IFS=$as_save_IFS
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
3760case `"$ac_path_EGREP" --version 2>&1` in
3761*GNU*)
3762 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3763*)
3764 ac_count=0
3765 $as_echo_n 0123456789 >"conftest.in"
3766 while :
3767 do
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
3779 fi
3780 # 10*(2^10) chars as input seems more than enough
3781 test $ac_count -gt 10 && break
3782 done
3783 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3784esac
3785
3786 $ac_path_EGREP_found && break 3
3787 done
3788 done
3789done
3790IFS=$as_save_IFS
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; }; }
3795 fi
3796else
3797 ac_cv_path_EGREP=$EGREP
3798fi
3799
3800 fi
3801fi
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"
3805
3806
3807{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3808$as_echo_n "checking for ANSI C header files... " >&6; }
3809if test "${ac_cv_header_stdc+set}" = set; then
3810 $as_echo_n "(cached) " >&6
3811else
3812 cat >conftest.$ac_ext <<_ACEOF
3813/* confdefs.h. */
3814_ACEOF
3815cat confdefs.h >>conftest.$ac_ext
3816cat >>conftest.$ac_ext <<_ACEOF
3817/* end confdefs.h. */
3818#include <stdlib.h>
3819#include <stdarg.h>
3820#include <string.h>
3821#include <float.h>
3822
3823int
3824main ()
3825{
3826
3827 ;
3828 return 0;
3829}
3830_ACEOF
3831rm -f conftest.$ac_objext
3832if { (ac_try="$ac_compile"
3833case "(($ac_try" in
3834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3835 *) ac_try_echo=$ac_try;;
3836esac
3837eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3838$as_echo "$ac_try_echo") >&5
3839 (eval "$ac_compile") 2>conftest.er1
3840 ac_status=$?
3841 grep -v '^ *+' conftest.er1 >conftest.err
3842 rm -f conftest.er1
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
3850else
3851 $as_echo "$as_me: failed program was:" >&5
3852sed 's/^/| /' conftest.$ac_ext >&5
3853
3854 ac_cv_header_stdc=no
3855fi
3856
3857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3858
3859if 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
3862/* confdefs.h. */
3863_ACEOF
3864cat confdefs.h >>conftest.$ac_ext
3865cat >>conftest.$ac_ext <<_ACEOF
3866/* end confdefs.h. */
3867#include <string.h>
3868
3869_ACEOF
3870if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3871 $EGREP "memchr" >/dev/null 2>&1; then
3872 :
3873else
3874 ac_cv_header_stdc=no
3875fi
3876rm -f conftest*
3877
3878fi
3879
3880if 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
3883/* confdefs.h. */
3884_ACEOF
3885cat confdefs.h >>conftest.$ac_ext
3886cat >>conftest.$ac_ext <<_ACEOF
3887/* end confdefs.h. */
3888#include <stdlib.h>
3889
3890_ACEOF
3891if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3892 $EGREP "free" >/dev/null 2>&1; then
3893 :
3894else
3895 ac_cv_header_stdc=no
3896fi
3897rm -f conftest*
3898
3899fi
3900
3901if 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
3904 :
3905else
3906 cat >conftest.$ac_ext <<_ACEOF
3907/* confdefs.h. */
3908_ACEOF
3909cat confdefs.h >>conftest.$ac_ext
3910cat >>conftest.$ac_ext <<_ACEOF
3911/* end confdefs.h. */
3912#include <ctype.h>
3913#include <stdlib.h>
3914#if ((' ' & 0x0FF) == 0x020)
3915# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3916# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3917#else
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))
3923#endif
3924
3925#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3926int
3927main ()
3928{
3929 int i;
3930 for (i = 0; i < 256; i++)
3931 if (XOR (islower (i), ISLOWER (i))
3932 || toupper (i) != TOUPPER (i))
3933 return 2;
3934 return 0;
3935}
3936_ACEOF
3937rm -f conftest$ac_exeext
3938if { (ac_try="$ac_link"
3939case "(($ac_try" in
3940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3941 *) ac_try_echo=$ac_try;;
3942esac
3943eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3944$as_echo "$ac_try_echo") >&5
3945 (eval "$ac_link") 2>&5
3946 ac_status=$?
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;;
3952esac
3953eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3954$as_echo "$ac_try_echo") >&5
3955 (eval "$ac_try") 2>&5
3956 ac_status=$?
3957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3958 (exit $ac_status); }; }; then
3959 :
3960else
3961 $as_echo "$as_me: program exited with status $ac_status" >&5
3962$as_echo "$as_me: failed program was:" >&5
3963sed 's/^/| /' conftest.$ac_ext >&5
3964
3965( exit $ac_status )
3966ac_cv_header_stdc=no
3967fi
3968rm -rf conftest.dSYM
3969rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3970fi
3971
3972
3973fi
3974fi
3975{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3976$as_echo "$ac_cv_header_stdc" >&6; }
3977if test $ac_cv_header_stdc = yes; then
3978
3979cat >>confdefs.h <<\_ACEOF
3980#define STDC_HEADERS 1
3981_ACEOF
3982
3983fi
3984
3985# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3996 inttypes.h stdint.h unistd.h
3997do
3998as_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; }
4001if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4002 $as_echo_n "(cached) " >&6
4003else
4004 cat >conftest.$ac_ext <<_ACEOF
4005/* confdefs.h. */
4006_ACEOF
4007cat confdefs.h >>conftest.$ac_ext
4008cat >>conftest.$ac_ext <<_ACEOF
4009/* end confdefs.h. */
4010$ac_includes_default
4011
4012#include <$ac_header>
4013_ACEOF
4014rm -f conftest.$ac_objext
4015if { (ac_try="$ac_compile"
4016case "(($ac_try" in
4017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018 *) ac_try_echo=$ac_try;;
4019esac
4020eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4021$as_echo "$ac_try_echo") >&5
4022 (eval "$ac_compile") 2>conftest.er1
4023 ac_status=$?
4024 grep -v '^ *+' conftest.er1 >conftest.err
4025 rm -f conftest.er1
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"
4033else
4034 $as_echo "$as_me: failed program was:" >&5
4035sed 's/^/| /' conftest.$ac_ext >&5
4036
4037 eval "$as_ac_Header=no"
4038fi
4039
4040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4041fi
4042ac_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; }
4046as_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
4051_ACEOF
4052
4053fi
4054
4055done
4056
4057
4058
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; }
4062if test "${ac_cv_header_minix_config_h+set}" = set; then
4063 $as_echo_n "(cached) " >&6
4064fi
4065{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4066$as_echo "$ac_cv_header_minix_config_h" >&6; }
4067else
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; }
4071cat >conftest.$ac_ext <<_ACEOF
4072/* confdefs.h. */
4073_ACEOF
4074cat confdefs.h >>conftest.$ac_ext
4075cat >>conftest.$ac_ext <<_ACEOF
4076/* end confdefs.h. */
4077$ac_includes_default
4078#include <minix/config.h>
4079_ACEOF
4080rm -f conftest.$ac_objext
4081if { (ac_try="$ac_compile"
4082case "(($ac_try" in
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4085esac
4086eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4087$as_echo "$ac_try_echo") >&5
4088 (eval "$ac_compile") 2>conftest.er1
4089 ac_status=$?
4090 grep -v '^ *+' conftest.er1 >conftest.err
4091 rm -f conftest.er1
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
4099else
4100 $as_echo "$as_me: failed program was:" >&5
4101sed 's/^/| /' conftest.$ac_ext >&5
4102
4103 ac_header_compiler=no
4104fi
4105
4106rm -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; }
4109
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; }
4113cat >conftest.$ac_ext <<_ACEOF
4114/* confdefs.h. */
4115_ACEOF
4116cat confdefs.h >>conftest.$ac_ext
4117cat >>conftest.$ac_ext <<_ACEOF
4118/* end confdefs.h. */
4119#include <minix/config.h>
4120_ACEOF
4121if { (ac_try="$ac_cpp conftest.$ac_ext"
4122case "(($ac_try" in
4123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4124 *) ac_try_echo=$ac_try;;
4125esac
4126eval 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
4129 ac_status=$?
4130 grep -v '^ *+' conftest.er1 >conftest.err
4131 rm -f conftest.er1
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
4137 }; then
4138 ac_header_preproc=yes
4139else
4140 $as_echo "$as_me: failed program was:" >&5
4141sed 's/^/| /' conftest.$ac_ext >&5
4142
4143 ac_header_preproc=no
4144fi
4145
4146rm -f conftest.err conftest.$ac_ext
4147{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4148$as_echo "$ac_header_preproc" >&6; }
4149
4150# So? What about this header?
4151case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4152 yes:no: )
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
4158 ;;
4159 no: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;}
4172 ( cat <<\_ASBOX
4173## ---------------------------------------- ##
4174## Report this to linux-usb@vger.kernel.org ##
4175## ---------------------------------------- ##
4176_ASBOX
4177 ) | sed "s/^/$as_me: WARNING: /" >&2
4178 ;;
4179esac
4180{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4181$as_echo_n "checking for minix/config.h... " >&6; }
4182if test "${ac_cv_header_minix_config_h+set}" = set; then
4183 $as_echo_n "(cached) " >&6
4184else
4185 ac_cv_header_minix_config_h=$ac_header_preproc
4186fi
4187{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4188$as_echo "$ac_cv_header_minix_config_h" >&6; }
4189
4190fi
4191if test "x$ac_cv_header_minix_config_h" = x""yes; then
4192 MINIX=yes
4193else
4194 MINIX=
4195fi
4196
4197
4198 if test "$MINIX" = yes; then
4199
4200cat >>confdefs.h <<\_ACEOF
4201#define _POSIX_SOURCE 1
4202_ACEOF
4203
4204
4205cat >>confdefs.h <<\_ACEOF
4206#define _POSIX_1_SOURCE 2
4207_ACEOF
4208
4209
4210cat >>confdefs.h <<\_ACEOF
4211#define _MINIX 1
4212_ACEOF
4213
4214 fi
4215
4216
4217
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; }
4220if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4221 $as_echo_n "(cached) " >&6
4222else
4223 cat >conftest.$ac_ext <<_ACEOF
4224/* confdefs.h. */
4225_ACEOF
4226cat confdefs.h >>conftest.$ac_ext
4227cat >>conftest.$ac_ext <<_ACEOF
4228/* end confdefs.h. */
4229
4230# define __EXTENSIONS__ 1
4231 $ac_includes_default
4232int
4233main ()
4234{
4235
4236 ;
4237 return 0;
4238}
4239_ACEOF
4240rm -f conftest.$ac_objext
4241if { (ac_try="$ac_compile"
4242case "(($ac_try" in
4243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4244 *) ac_try_echo=$ac_try;;
4245esac
4246eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4247$as_echo "$ac_try_echo") >&5
4248 (eval "$ac_compile") 2>conftest.er1
4249 ac_status=$?
4250 grep -v '^ *+' conftest.er1 >conftest.err
4251 rm -f conftest.er1
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
4259else
4260 $as_echo "$as_me: failed program was:" >&5
4261sed 's/^/| /' conftest.$ac_ext >&5
4262
4263 ac_cv_safe_to_define___extensions__=no
4264fi
4265
4266rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4267fi
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
4273_ACEOF
4274
4275 cat >>confdefs.h <<\_ACEOF
4276#define _ALL_SOURCE 1
4277_ACEOF
4278
4279 cat >>confdefs.h <<\_ACEOF
4280#define _GNU_SOURCE 1
4281_ACEOF
4282
4283 cat >>confdefs.h <<\_ACEOF
4284#define _POSIX_PTHREAD_SEMANTICS 1
4285_ACEOF
4286
4287 cat >>confdefs.h <<\_ACEOF
4288#define _TANDEM_SOURCE 1
4289_ACEOF
4290
4291
4292# Check whether --enable-largefile was given.
4293if test "${enable_largefile+set}" = set; then
4294 enableval=$enable_largefile;
4295fi
4296
4297if test "$enable_largefile" != no; then
4298
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; }
4301if test "${ac_cv_sys_largefile_CC+set}" = set; then
4302 $as_echo_n "(cached) " >&6
4303else
4304 ac_cv_sys_largefile_CC=no
4305 if test "$GCC" != yes; then
4306 ac_save_CC=$CC
4307 while :; do
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
4311/* confdefs.h. */
4312_ACEOF
4313cat confdefs.h >>conftest.$ac_ext
4314cat >>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)
4324 ? 1 : -1];
4325int
4326main ()
4327{
4328
4329 ;
4330 return 0;
4331}
4332_ACEOF
4333 rm -f conftest.$ac_objext
4334if { (ac_try="$ac_compile"
4335case "(($ac_try" in
4336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4337 *) ac_try_echo=$ac_try;;
4338esac
4339eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4340$as_echo "$ac_try_echo") >&5
4341 (eval "$ac_compile") 2>conftest.er1
4342 ac_status=$?
4343 grep -v '^ *+' conftest.er1 >conftest.err
4344 rm -f conftest.er1
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
4351 break
4352else
4353 $as_echo "$as_me: failed program was:" >&5
4354sed 's/^/| /' conftest.$ac_ext >&5
4355
4356
4357fi
4358
4359rm -f core conftest.err conftest.$ac_objext
4360 CC="$CC -n32"
4361 rm -f conftest.$ac_objext
4362if { (ac_try="$ac_compile"
4363case "(($ac_try" in
4364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4365 *) ac_try_echo=$ac_try;;
4366esac
4367eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4368$as_echo "$ac_try_echo") >&5
4369 (eval "$ac_compile") 2>conftest.er1
4370 ac_status=$?
4371 grep -v '^ *+' conftest.er1 >conftest.err
4372 rm -f conftest.er1
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
4380else
4381 $as_echo "$as_me: failed program was:" >&5
4382sed 's/^/| /' conftest.$ac_ext >&5
4383
4384
4385fi
4386
4387rm -f core conftest.err conftest.$ac_objext
4388 break
4389 done
4390 CC=$ac_save_CC
4391 rm -f conftest.$ac_ext
4392 fi
4393fi
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
4398 fi
4399
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; }
4402if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4403 $as_echo_n "(cached) " >&6
4404else
4405 while :; do
4406 cat >conftest.$ac_ext <<_ACEOF
4407/* confdefs.h. */
4408_ACEOF
4409cat confdefs.h >>conftest.$ac_ext
4410cat >>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)
4420 ? 1 : -1];
4421int
4422main ()
4423{
4424
4425 ;
4426 return 0;
4427}
4428_ACEOF
4429rm -f conftest.$ac_objext
4430if { (ac_try="$ac_compile"
4431case "(($ac_try" in
4432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4433 *) ac_try_echo=$ac_try;;
4434esac
4435eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4436$as_echo "$ac_try_echo") >&5
4437 (eval "$ac_compile") 2>conftest.er1
4438 ac_status=$?
4439 grep -v '^ *+' conftest.er1 >conftest.err
4440 rm -f conftest.er1
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
4448else
4449 $as_echo "$as_me: failed program was:" >&5
4450sed 's/^/| /' conftest.$ac_ext >&5
4451
4452
4453fi
4454
4455rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4456 cat >conftest.$ac_ext <<_ACEOF
4457/* confdefs.h. */
4458_ACEOF
4459cat confdefs.h >>conftest.$ac_ext
4460cat >>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)
4471 ? 1 : -1];
4472int
4473main ()
4474{
4475
4476 ;
4477 return 0;
4478}
4479_ACEOF
4480rm -f conftest.$ac_objext
4481if { (ac_try="$ac_compile"
4482case "(($ac_try" in
4483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4484 *) ac_try_echo=$ac_try;;
4485esac
4486eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4487$as_echo "$ac_try_echo") >&5
4488 (eval "$ac_compile") 2>conftest.er1
4489 ac_status=$?
4490 grep -v '^ *+' conftest.er1 >conftest.err
4491 rm -f conftest.er1
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
4499else
4500 $as_echo "$as_me: failed program was:" >&5
4501sed 's/^/| /' conftest.$ac_ext >&5
4502
4503
4504fi
4505
4506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4507 ac_cv_sys_file_offset_bits=unknown
4508 break
4509done
4510fi
4511{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4512$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4513case $ac_cv_sys_file_offset_bits in #(
4514 no | unknown) ;;
4515 *)
4516cat >>confdefs.h <<_ACEOF
4517#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4518_ACEOF
4519;;
4520esac
4521rm -rf conftest*
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; }
4525if test "${ac_cv_sys_large_files+set}" = set; then
4526 $as_echo_n "(cached) " >&6
4527else
4528 while :; do
4529 cat >conftest.$ac_ext <<_ACEOF
4530/* confdefs.h. */
4531_ACEOF
4532cat confdefs.h >>conftest.$ac_ext
4533cat >>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)
4543 ? 1 : -1];
4544int
4545main ()
4546{
4547
4548 ;
4549 return 0;
4550}
4551_ACEOF
4552rm -f conftest.$ac_objext
4553if { (ac_try="$ac_compile"
4554case "(($ac_try" in
4555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4556 *) ac_try_echo=$ac_try;;
4557esac
4558eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4559$as_echo "$ac_try_echo") >&5
4560 (eval "$ac_compile") 2>conftest.er1
4561 ac_status=$?
4562 grep -v '^ *+' conftest.er1 >conftest.err
4563 rm -f conftest.er1
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
4571else
4572 $as_echo "$as_me: failed program was:" >&5
4573sed 's/^/| /' conftest.$ac_ext >&5
4574
4575
4576fi
4577
4578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4579 cat >conftest.$ac_ext <<_ACEOF
4580/* confdefs.h. */
4581_ACEOF
4582cat confdefs.h >>conftest.$ac_ext
4583cat >>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)
4594 ? 1 : -1];
4595int
4596main ()
4597{
4598
4599 ;
4600 return 0;
4601}
4602_ACEOF
4603rm -f conftest.$ac_objext
4604if { (ac_try="$ac_compile"
4605case "(($ac_try" in
4606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4607 *) ac_try_echo=$ac_try;;
4608esac
4609eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4610$as_echo "$ac_try_echo") >&5
4611 (eval "$ac_compile") 2>conftest.er1
4612 ac_status=$?
4613 grep -v '^ *+' conftest.er1 >conftest.err
4614 rm -f conftest.er1
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
4622else
4623 $as_echo "$as_me: failed program was:" >&5
4624sed 's/^/| /' conftest.$ac_ext >&5
4625
4626
4627fi
4628
4629rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4630 ac_cv_sys_large_files=unknown
4631 break
4632done
4633fi
4634{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4635$as_echo "$ac_cv_sys_large_files" >&6; }
4636case $ac_cv_sys_large_files in #(
4637 no | unknown) ;;
4638 *)
4639cat >>confdefs.h <<_ACEOF
4640#define _LARGE_FILES $ac_cv_sys_large_files
4641_ACEOF
4642;;
4643esac
4644rm -rf conftest*
4645 fi
4646fi
4647
4648
4649USE_ZLIB=yes
4650# Check whether --enable-zlib was given.
4651if test "${enable_zlib+set}" = set; then
4652 enableval=$enable_zlib;
4653 if eval "test x$enable_zlib = xno"; then
4654 USE_ZLIB=
4655 fi
4656
4657fi
4658
4659if test "$USE_ZLIB" = "yes" ; then
4660
4661{ $as_echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
4662$as_echo_n "checking for inflateEnd in -lz... " >&6; }
4663if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
4664 $as_echo_n "(cached) " >&6
4665else
4666 ac_check_lib_save_LIBS=$LIBS
4667LIBS="-lz $LIBS"
4668cat >conftest.$ac_ext <<_ACEOF
4669/* confdefs.h. */
4670_ACEOF
4671cat confdefs.h >>conftest.$ac_ext
4672cat >>conftest.$ac_ext <<_ACEOF
4673/* end confdefs.h. */
4674
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. */
4678#ifdef __cplusplus
4679extern "C"
4680#endif
4681char inflateEnd ();
4682int
4683main ()
4684{
4685return inflateEnd ();
4686 ;
4687 return 0;
4688}
4689_ACEOF
4690rm -f conftest.$ac_objext conftest$ac_exeext
4691if { (ac_try="$ac_link"
4692case "(($ac_try" in
4693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4694 *) ac_try_echo=$ac_try;;
4695esac
4696eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4697$as_echo "$ac_try_echo") >&5
4698 (eval "$ac_link") 2>conftest.er1
4699 ac_status=$?
4700 grep -v '^ *+' conftest.er1 >conftest.err
4701 rm -f conftest.er1
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
4710 }; then
4711 ac_cv_lib_z_inflateEnd=yes
4712else
4713 $as_echo "$as_me: failed program was:" >&5
4714sed 's/^/| /' conftest.$ac_ext >&5
4715
4716 ac_cv_lib_z_inflateEnd=no
4717fi
4718
4719rm -rf conftest.dSYM
4720rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4721 conftest$ac_exeext conftest.$ac_ext
4722LIBS=$ac_check_lib_save_LIBS
4723fi
4724{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
4725$as_echo "$ac_cv_lib_z_inflateEnd" >&6; }
4726if test "x$ac_cv_lib_z_inflateEnd" = x""yes; then
4727 cat >>confdefs.h <<_ACEOF
4728#define HAVE_LIBZ 1
4729_ACEOF
4730
4731 LIBS="-lz $LIBS"
4732
4733fi
4734
4735 if test "${ac_cv_lib_z_inflateEnd}" = "yes" ; then
4736 HAVE_ZLIB="yes"
4737 fi
4738fi
4739 if test x$HAVE_ZLIB = xyes; then
4740 HAVE_ZLIB_TRUE=
4741 HAVE_ZLIB_FALSE='#'
4742else
4743 HAVE_ZLIB_TRUE='#'
4744 HAVE_ZLIB_FALSE=
4745fi
4746
4747
4748
4749
4750if 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.
4753set 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; }
4756if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4757 $as_echo_n "(cached) " >&6
4758else
4759 case $PKG_CONFIG in
4760 [\\/]* | ?:[\\/]*)
4761 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4762 ;;
4763 *)
4764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4765for as_dir in $PATH
4766do
4767 IFS=$as_save_IFS
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
4773 break 2
4774 fi
4775done
4776done
4777IFS=$as_save_IFS
4778
4779 ;;
4780esac
4781fi
4782PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4783if test -n "$PKG_CONFIG"; then
4784 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4785$as_echo "$PKG_CONFIG" >&6; }
4786else
4787 { $as_echo "$as_me:$LINENO: result: no" >&5
4788$as_echo "no" >&6; }
4789fi
4790
4791
4792fi
4793if 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.
4796set 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; }
4799if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4800 $as_echo_n "(cached) " >&6
4801else
4802 case $ac_pt_PKG_CONFIG in
4803 [\\/]* | ?:[\\/]*)
4804 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4805 ;;
4806 *)
4807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4808for as_dir in $PATH
4809do
4810 IFS=$as_save_IFS
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
4816 break 2
4817 fi
4818done
4819done
4820IFS=$as_save_IFS
4821
4822 ;;
4823esac
4824fi
4825ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4826if 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; }
4829else
4830 { $as_echo "$as_me:$LINENO: result: no" >&5
4831$as_echo "no" >&6; }
4832fi
4833
4834 if test "x$ac_pt_PKG_CONFIG" = x; then
4835 PKG_CONFIG=""
4836 else
4837 case $cross_compiling:$ac_tool_warned in
4838yes:)
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;}
4841ac_tool_warned=yes ;;
4842esac
4843 PKG_CONFIG=$ac_pt_PKG_CONFIG
4844 fi
4845else
4846 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4847fi
4848
4849fi
4850if 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; }
4857 else
4858 { $as_echo "$as_me:$LINENO: result: no" >&5
4859$as_echo "no" >&6; }
4860 PKG_CONFIG=""
4861 fi
4862
4863fi
4864
4865pkg_failed=no
4866{ $as_echo "$as_me:$LINENO: checking for LIBUSB" >&5
4867$as_echo_n "checking for LIBUSB... " >&6; }
4868
4869if 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
4875 ac_status=$?
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`
4879else
4880 pkg_failed=yes
4881fi
4882 else
4883 pkg_failed=untried
4884fi
4885if 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
4891 ac_status=$?
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`
4895else
4896 pkg_failed=yes
4897fi
4898 else
4899 pkg_failed=untried
4900fi
4901
4902
4903
4904if test $pkg_failed = yes; then
4905
4906if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4907 _pkg_short_errors_supported=yes
4908else
4909 _pkg_short_errors_supported=no
4910fi
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`
4913 else
4914 LIBUSB_PKG_ERRORS=`$PKG_CONFIG --print-errors "libusb >= 0.1.12" 2>&1`
4915 fi
4916 # Put the nasty error message in config.log where it belongs
4917 echo "$LIBUSB_PKG_ERRORS" >&5
4918
4919 { { $as_echo "$as_me:$LINENO: error: Package requirements (libusb >= 0.1.12) were not met:
4920
4921$LIBUSB_PKG_ERRORS
4922
4923Consider adjusting the PKG_CONFIG_PATH environment variable if you
4924installed software in a non-standard prefix.
4925
4926Alternatively, you may set the environment variables LIBUSB_CFLAGS
4927and LIBUSB_LIBS to avoid the need to call pkg-config.
4928See the pkg-config man page for more details.
4929" >&5
4930$as_echo "$as_me: error: Package requirements (libusb >= 0.1.12) were not met:
4931
4932$LIBUSB_PKG_ERRORS
4933
4934Consider adjusting the PKG_CONFIG_PATH environment variable if you
4935installed software in a non-standard prefix.
4936
4937Alternatively, you may set the environment variables LIBUSB_CFLAGS
4938and LIBUSB_LIBS to avoid the need to call pkg-config.
4939See the pkg-config man page for more details.
4940" >&2;}
4941 { (exit 1); exit 1; }; }
4942elif 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
4946is in your PATH or set the PKG_CONFIG environment variable to the full
4947path to pkg-config.
4948
4949Alternatively, you may set the environment variables LIBUSB_CFLAGS
4950and LIBUSB_LIBS to avoid the need to call pkg-config.
4951See the pkg-config man page for more details.
4952
4953To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4954See \`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
4956is in your PATH or set the PKG_CONFIG environment variable to the full
4957path to pkg-config.
4958
4959Alternatively, you may set the environment variables LIBUSB_CFLAGS
4960and LIBUSB_LIBS to avoid the need to call pkg-config.
4961See the pkg-config man page for more details.
4962
4963To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4964See \`config.log' for more details." >&2;}
4965 { (exit 1); exit 1; }; }; }
4966else
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; }
4971 :
4972fi
4973
4974
4975
4976ac_config_headers="$ac_config_headers config.h"
4977
4978ac_config_files="$ac_config_files Makefile"
4979
4980
4981cat >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.
4987#
4988# config.status only pays attention to the cache file if you give it
4989# the --recheck option to rerun configure.
4990#
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
4993# following values.
4994
4995_ACEOF
4996
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.
5002(
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
5005 case $ac_val in #(
5006 *${as_nl}*)
5007 case $ac_var in #(
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;} ;;
5010 esac
5011 case $ac_var in #(
5012 _ | IFS | as_nl) ;; #(
5013 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5014 *) $as_unset $ac_var ;;
5015 esac ;;
5016 esac
5017 done
5018
5019 (set) 2>&1 |
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 \).
5024 sed -n \
5025 "s/'/'\\\\''/g;
5026 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5027 ;; #(
5028 *)
5029 # `set' quotes correctly as required by POSIX, so do not add quotes.
5030 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5031 ;;
5032 esac |
5033 sort
5034) |
5035 sed '
5036 /^ac_cv_env_/b end
5037 t clear
5038 :clear
5039 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5040 t end
5041 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5042 :end' >>confcache
5043if 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
5049 else
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;}
5052 fi
5053fi
5054rm -f confcache
5055
5056test "x$prefix" = xNONE && prefix=$ac_default_prefix
5057# Let make expand exec_prefix.
5058test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5059
5060DEFS=-DHAVE_CONFIG_H
5061
5062ac_libobjs=
5063ac_ltlibobjs=
5064for 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'
5072done
5073LIBOBJS=$ac_libobjs
5074
5075LTLIBOBJS=$ac_ltlibobjs
5076
5077
5078if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5079 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5080Usually this means the macro was only invoked conditionally." >&5
5081$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5082Usually this means the macro was only invoked conditionally." >&2;}
5083 { (exit 1); exit 1; }; }
5084fi
5085if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5086 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5087Usually this means the macro was only invoked conditionally." >&5
5088$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5089Usually this means the macro was only invoked conditionally." >&2;}
5090 { (exit 1); exit 1; }; }
5091fi
5092if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
5093 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_ZLIB\" was never defined.
5094Usually this means the macro was only invoked conditionally." >&5
5095$as_echo "$as_me: error: conditional \"HAVE_ZLIB\" was never defined.
5096Usually this means the macro was only invoked conditionally." >&2;}
5097 { (exit 1); exit 1; }; }
5098fi
5099
5100: ${CONFIG_STATUS=./config.status}
5101ac_write_fail=0
5102ac_clean_files_save=$ac_clean_files
5103ac_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;}
5106cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5107#! $SHELL
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.
5112
5113debug=false
5114ac_cs_recheck=false
5115ac_cs_silent=false
5116SHELL=\${CONFIG_SHELL-$SHELL}
5117_ACEOF
5118
5119cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5120## --------------------- ##
5121## M4sh Initialization. ##
5122## --------------------- ##
5123
5124# Be more Bourne compatible
5125DUALCASE=1; export DUALCASE # for MKS sh
5126if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5127 emulate sh
5128 NULLCMD=:
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
5133else
5134 case `(set -o) 2>/dev/null` in
5135 *posix*) set -o posix ;;
5136esac
5137
5138fi
5139
5140
5141
5142
5143# PATH needs CR
5144# Avoid depending upon Character Ranges.
5145as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5146as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5147as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5148as_cr_digits='0123456789'
5149as_cr_alnum=$as_cr_Letters$as_cr_digits
5150
5151as_nl='
5152'
5153export as_nl
5154# Printing a long string crashes Solaris 7 /usr/bin/printf.
5155as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5156as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5157as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5158if (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'
5161else
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'
5165 else
5166 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5167 as_echo_n_body='eval
5168 arg=$1;
5169 case $arg in
5170 *"$as_nl"*)
5171 expr "X$arg" : "X\\(.*\\)$as_nl";
5172 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5173 esac;
5174 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5175 '
5176 export as_echo_n_body
5177 as_echo_n='sh -c $as_echo_n_body as_echo'
5178 fi
5179 export as_echo_body
5180 as_echo='sh -c $as_echo_body as_echo'
5181fi
5182
5183# The user is always right.
5184if test "${PATH_SEPARATOR+set}" != set; then
5185 PATH_SEPARATOR=:
5186 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5187 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5188 PATH_SEPARATOR=';'
5189 }
5190fi
5191
5192# Support unset when possible.
5193if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5194 as_unset=unset
5195else
5196 as_unset=false
5197fi
5198
5199
5200# IFS
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.)
5205IFS=" "" $as_nl"
5206
5207# Find who we are. Look in the path if we contain no directory separator.
5208case $0 in
5209 *[\\/]* ) as_myself=$0 ;;
5210 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5211for as_dir in $PATH
5212do
5213 IFS=$as_save_IFS
5214 test -z "$as_dir" && as_dir=.
5215 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5216done
5217IFS=$as_save_IFS
5218
5219 ;;
5220esac
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.
5223if test "x$as_myself" = x; then
5224 as_myself=$0
5225fi
5226if 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; }
5229fi
5230
5231# Work around bugs in pre-3.0 UWIN ksh.
5232for as_var in ENV MAIL MAILPATH
5233do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5234done
5235PS1='$ '
5236PS2='> '
5237PS4='+ '
5238
5239# NLS nuisances.
5240LC_ALL=C
5241export LC_ALL
5242LANGUAGE=C
5243export LANGUAGE
5244
5245# Required to use basename.
5246if expr a : '\(a\)' >/dev/null 2>&1 &&
5247 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5248 as_expr=expr
5249else
5250 as_expr=false
5251fi
5252
5253if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5254 as_basename=basename
5255else
5256 as_basename=false
5257fi
5258
5259
5260# Name of the executable.
5261as_me=`$as_basename -- "$0" ||
5262$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5263 X"$0" : 'X\(//\)$' \| \
5264 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5265$as_echo X/"$0" |
5266 sed '/^.*\/\([^/][^/]*\)\/*$/{
5267 s//\1/
5268 q
5269 }
5270 /^X\/\(\/\/\)$/{
5271 s//\1/
5272 q
5273 }
5274 /^X\/\(\/\).*/{
5275 s//\1/
5276 q
5277 }
5278 s/.*/./; q'`
5279
5280# CDPATH.
5281$as_unset CDPATH
5282
5283
5284
5285 as_lineno_1=$LINENO
5286 as_lineno_2=$LINENO
5287 test "x$as_lineno_1" != "x$as_lineno_2" &&
5288 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5289
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
5296 # case at line end.
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. :-)
5300 sed -n '
5301 p
5302 /[$]LINENO/=
5303 ' <$as_myself |
5304 sed '
5305 s/[$]LINENO.*/&-/
5306 t lineno
5307 b
5308 :lineno
5309 N
5310 :loop
5311 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5312 t loop
5313 s/-\n.*//
5314 ' >$as_me.lineno &&
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; }; }
5318
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).
5322 . "./$as_me.lineno"
5323 # Exit status is that of the last command.
5324 exit
5325}
5326
5327
5328if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5329 as_dirname=dirname
5330else
5331 as_dirname=false
5332fi
5333
5334ECHO_C= ECHO_N= ECHO_T=
5335case `echo -n x` in
5336-n*)
5337 case `echo 'x\c'` in
5338 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5339 *) ECHO_C='\c';;
5340 esac;;
5341*)
5342 ECHO_N='-n';;
5343esac
5344if expr a : '\(a\)' >/dev/null 2>&1 &&
5345 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5346 as_expr=expr
5347else
5348 as_expr=false
5349fi
5350
5351rm -f conf$$ conf$$.exe conf$$.file
5352if test -d conf$$.dir; then
5353 rm -f conf$$.dir/conf$$.file
5354else
5355 rm -f conf$$.dir
5356 mkdir conf$$.dir 2>/dev/null
5357fi
5358if (echo >conf$$.file) 2>/dev/null; then
5359 if ln -s conf$$.file conf$$ 2>/dev/null; then
5360 as_ln_s='ln -s'
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 ||
5366 as_ln_s='cp -p'
5367 elif ln conf$$.file conf$$ 2>/dev/null; then
5368 as_ln_s=ln
5369 else
5370 as_ln_s='cp -p'
5371 fi
5372else
5373 as_ln_s='cp -p'
5374fi
5375rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5376rmdir conf$$.dir 2>/dev/null
5377
5378if mkdir -p . 2>/dev/null; then
5379 as_mkdir_p=:
5380else
5381 test -d ./-p && rmdir ./-p
5382 as_mkdir_p=false
5383fi
5384
5385if test -x / >/dev/null 2>&1; then
5386 as_test_x='test -x'
5387else
5388 if ls -dL / >/dev/null 2>&1; then
5389 as_ls_L_option=L
5390 else
5391 as_ls_L_option=
5392 fi
5393 as_test_x='
5394 eval sh -c '\''
5395 if test -d "$1"; then
5396 test -d "$1/.";
5397 else
5398 case $1 in
5399 -*)set "./$1";;
5400 esac;
5401 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5402 ???[sx]*):;;*)false;;esac;fi
5403 '\'' sh
5404 '
5405fi
5406as_executable_p=$as_test_x
5407
5408# Sed expression to map a string onto a valid CPP name.
5409as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5410
5411# Sed expression to map a string onto a valid variable name.
5412as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5413
5414
5415exec 6>&1
5416
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.
5420ac_log="
5421This file was extended by usbutils $as_me 0.86, which was
5422generated by GNU Autoconf 2.63. Invocation command line was
5423
5424 CONFIG_FILES = $CONFIG_FILES
5425 CONFIG_HEADERS = $CONFIG_HEADERS
5426 CONFIG_LINKS = $CONFIG_LINKS
5427 CONFIG_COMMANDS = $CONFIG_COMMANDS
5428 $ $0 $@
5429
5430on `(hostname || uname -n) 2>/dev/null | sed 1q`
5431"
5432
5433_ACEOF
5434
5435case $ac_config_files in *"
5436"*) set x $ac_config_files; shift; ac_config_files=$*;;
5437esac
5438
5439case $ac_config_headers in *"
5440"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5441esac
5442
5443
5444cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5445# Files that config.status was made for.
5446config_files="$ac_config_files"
5447config_headers="$ac_config_headers"
5448config_commands="$ac_config_commands"
5449
5450_ACEOF
5451
5452cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5453ac_cs_usage="\
5454\`$as_me' instantiates files from templates according to the
5455current configuration.
5456
5457Usage: $0 [OPTION]... [FILE]...
5458
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
5469
5470Configuration files:
5471$config_files
5472
5473Configuration headers:
5474$config_headers
5475
5476Configuration commands:
5477$config_commands
5478
5479Report bugs to <bug-autoconf@gnu.org>."
5480
5481_ACEOF
5482cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5483ac_cs_version="\\
5484usbutils config.status 0.86
5485configured by $0, generated by GNU Autoconf 2.63,
5486 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5487
5488Copyright (C) 2008 Free Software Foundation, Inc.
5489This config.status script is free software; the Free Software Foundation
5490gives unlimited permission to copy, distribute and modify it."
5491
5492ac_pwd='$ac_pwd'
5493srcdir='$srcdir'
5494INSTALL='$INSTALL'
5495MKDIR_P='$MKDIR_P'
5496AWK='$AWK'
5497test -n "\$AWK" || AWK=awk
5498_ACEOF
5499
5500cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5501# The default lists apply if the user does not specify any file.
5502ac_need_defaults=:
5503while test $# != 0
5504do
5505 case $1 in
5506 --*=*)
5507 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5508 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5509 ac_shift=:
5510 ;;
5511 *)
5512 ac_option=$1
5513 ac_optarg=$2
5514 ac_shift=shift
5515 ;;
5516 esac
5517
5518 case $ac_option in
5519 # Handling of the options.
5520 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5521 ac_cs_recheck=: ;;
5522 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5523 $as_echo "$ac_cs_version"; exit ;;
5524 --debug | --debu | --deb | --de | --d | -d )
5525 debug=: ;;
5526 --file | --fil | --fi | --f )
5527 $ac_shift
5528 case $ac_optarg in
5529 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5530 esac
5531 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5532 ac_need_defaults=false;;
5533 --header | --heade | --head | --hea )
5534 $ac_shift
5535 case $ac_optarg in
5536 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5537 esac
5538 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5539 ac_need_defaults=false;;
5540 --he | --h)
5541 # Conflict between --help and --header
5542 { $as_echo "$as_me: error: ambiguous option: $1
5543Try \`$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)
5549 ac_cs_silent=: ;;
5550
5551 # This is an error.
5552 -*) { $as_echo "$as_me: error: unrecognized option: $1
5553Try \`$0 --help' for more information." >&2
5554 { (exit 1); exit 1; }; } ;;
5555
5556 *) ac_config_targets="$ac_config_targets $1"
5557 ac_need_defaults=false ;;
5558
5559 esac
5560 shift
5561done
5562
5563ac_configure_extra_args=
5564
5565if $ac_cs_silent; then
5566 exec 6>/dev/null
5567 ac_configure_extra_args="$ac_configure_extra_args --silent"
5568fi
5569
5570_ACEOF
5571cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5572if \$ac_cs_recheck; then
5573 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5574 shift
5575 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5576 CONFIG_SHELL='$SHELL'
5577 export CONFIG_SHELL
5578 exec "\$@"
5579fi
5580
5581_ACEOF
5582cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5583exec 5>>config.log
5584{
5585 echo
5586 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5587## Running $as_me. ##
5588_ASBOX
5589 $as_echo "$ac_log"
5590} >&5
5591
5592_ACEOF
5593cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5594#
5595# INIT-COMMANDS
5596#
5597AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5598
5599_ACEOF
5600
5601cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5602
5603# Handling of arguments.
5604for ac_config_target in $ac_config_targets
5605do
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" ;;
5610
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; }; };;
5614 esac
5615done
5616
5617
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.
5622if $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
5626fi
5627
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'.
5634$debug ||
5635{
5636 tmp=
5637 trap 'exit_status=$?
5638 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5639' 0
5640 trap '{ (exit 1); exit 1; }' 1 2 13 15
5641}
5642# Create a (secure) tmp directory for tmp files.
5643
5644{
5645 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5646 test -n "$tmp" && test -d "$tmp"
5647} ||
5648{
5649 tmp=./conf$$-$RANDOM
5650 (umask 077 && mkdir "$tmp")
5651} ||
5652{
5653 $as_echo "$as_me: cannot create a temporary directory in ." >&2
5654 { (exit 1); exit 1; }
5655}
5656
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'.
5660if test -n "$CONFIG_FILES"; then
5661
5662
5663ac_cr=' '
5664ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5665if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5666 ac_cs_awk_cr='\\r'
5667else
5668 ac_cs_awk_cr=$ac_cr
5669fi
5670
5671echo 'BEGIN {' >"$tmp/subs1.awk" &&
5672_ACEOF
5673
5674
5675{
5676 echo "cat >conf$$subs.awk <<_ACEOF" &&
5677 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5678 echo "_ACEOF"
5679} >conf$$subs.sh ||
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; }; }
5683ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5684ac_delim='%!_!# '
5685for 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; }; }
5690
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
5693 break
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; }; }
5698 else
5699 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5700 fi
5701done
5702rm -f conf$$subs.sh
5703
5704cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5705cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5706_ACEOF
5707sed -n '
5708h
5709s/^/S["/; s/!.*/"]=/
5710p
5711g
5712s/^[^!]*!//
5713:repl
5714t repl
5715s/'"$ac_delim"'$//
5716t delim
5717:nl
5718h
5719s/\(.\{148\}\).*/\1/
5720t more1
5721s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5722p
5723n
5724b repl
5725:more1
5726s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5727p
5728g
5729s/.\{148\}//
5730t nl
5731:delim
5732h
5733s/\(.\{148\}\).*/\1/
5734t more2
5735s/["\\]/\\&/g; s/^/"/; s/$/"/
5736p
5737b
5738:more2
5739s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5740p
5741g
5742s/.\{148\}//
5743t delim
5744' <conf$$subs.awk | sed '
5745/^[^""]/{
5746 N
5747 s/\n//
5748}
5749' >>$CONFIG_STATUS || ac_write_fail=1
5750rm -f conf$$subs.awk
5751cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5752_ACAWK
5753cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5754 for (key in S) S_is_set[key] = 1
5755 FS = ""
5756
5757}
5758{
5759 line = $ 0
5760 nfields = split(line, field, "@")
5761 substed = 0
5762 len = length(field[1])
5763 for (i = 2; i < nfields; i++) {
5764 key = field[i]
5765 keylen = length(key)
5766 if (S_is_set[key]) {
5767 value = S[key]
5768 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5769 len += length(value) + length(field[++i])
5770 substed = 1
5771 } else
5772 len += 1 + keylen
5773 }
5774
5775 print line
5776}
5777
5778_ACAWK
5779_ACEOF
5780cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5781if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5782 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5783else
5784 cat
5785fi < "$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; }; }
5789_ACEOF
5790
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).
5795if test "x$srcdir" = x.; then
5796 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5797s/:*\$(srcdir):*/:/
5798s/:*\${srcdir}:*/:/
5799s/:*@srcdir@:*/:/
5800s/^\([^=]*=[ ]*\):*/\1/
5801s/:*$//
5802s/^[^=]*=[ ]*$//
5803}'
5804fi
5805
5806cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5807fi # test -n "$CONFIG_FILES"
5808
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'.
5812if test -n "$CONFIG_HEADERS"; then
5813cat >"$tmp/defines.awk" <<\_ACAWK ||
5814BEGIN {
5815_ACEOF
5816
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.
5820
5821# Create a delimiter string that does not exist in confdefs.h, to ease
5822# handling of long lines.
5823ac_delim='%!_!# '
5824for ac_last_try in false false :; do
5825 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5826 if test -z "$ac_t"; then
5827 break
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; }; }
5832 else
5833 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5834 fi
5835done
5836
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.
5840
5841ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5842sed -n '
5843s/.\{148\}/&'"$ac_delim"'/g
5844t rset
5845:rset
5846s/^[ ]*#[ ]*define[ ][ ]*/ /
5847t def
5848d
5849:def
5850s/\\$//
5851t bsnl
5852s/["\\]/\\&/g
5853s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5854D["\1"]=" \3"/p
5855s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5856d
5857:bsnl
5858s/["\\]/\\&/g
5859s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5860D["\1"]=" \3\\\\\\n"\\/p
5861t cont
5862s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5863t cont
5864d
5865:cont
5866n
5867s/.\{148\}/&'"$ac_delim"'/g
5868t clear
5869:clear
5870s/\\$//
5871t bsnlc
5872s/["\\]/\\&/g; s/^/"/; s/$/"/p
5873d
5874:bsnlc
5875s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5876b cont
5877' <confdefs.h | sed '
5878s/'"$ac_delim"'/"\\\
5879"/g' >>$CONFIG_STATUS || ac_write_fail=1
5880
5881cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5882 for (key in D) D_is_set[key] = 1
5883 FS = ""
5884}
5885/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5886 line = \$ 0
5887 split(line, arg, " ")
5888 if (arg[1] == "#") {
5889 defundef = arg[2]
5890 mac1 = arg[3]
5891 } else {
5892 defundef = substr(arg[1], 2)
5893 mac1 = arg[2]
5894 }
5895 split(mac1, mac2, "(") #)
5896 macro = mac2[1]
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]
5901 next
5902 } else {
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, "*/"
5908 next
5909 }
5910 }
5911}
5912{ print }
5913_ACAWK
5914_ACEOF
5915cat >>$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; }; }
5919fi # test -n "$CONFIG_HEADERS"
5920
5921
5922eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5923shift
5924for ac_tag
5925do
5926 case $ac_tag in
5927 :[FHLC]) ac_mode=$ac_tag; continue;;
5928 esac
5929 case $ac_mode$ac_tag in
5930 :[FHL]*:*);;
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;;
5936 esac
5937 ac_save_IFS=$IFS
5938 IFS=:
5939 set x $ac_tag
5940 IFS=$ac_save_IFS
5941 shift
5942 ac_file=$1
5943 shift
5944
5945 case $ac_mode in
5946 :L) ac_source=$1;;
5947 :[FH])
5948 ac_file_inputs=
5949 for ac_f
5950 do
5951 case $ac_f 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 `:'.
5956 test -f "$ac_f" ||
5957 case $ac_f in
5958 [\\/$]*) false;;
5959 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5960 esac ||
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; }; };;
5964 esac
5965 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5966 ac_file_inputs="$ac_file_inputs '$ac_f'"
5967 done
5968
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'
5974 `' by configure.'
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;}
5979 fi
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;;
5986 esac
5987
5988 case $ac_tag in
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; }; } ;;
5993 esac
5994 ;;
5995 esac
5996
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6004 s//\1/
6005 q
6006 }
6007 /^X\(\/\/\)[^/].*/{
6008 s//\1/
6009 q
6010 }
6011 /^X\(\/\/\)$/{
6012 s//\1/
6013 q
6014 }
6015 /^X\(\/\).*/{
6016 s//\1/
6017 q
6018 }
6019 s/.*/./; q'`
6020 { as_dir="$ac_dir"
6021 case $as_dir in #(
6022 -*) as_dir=./$as_dir;;
6023 esac
6024 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6025 as_dirs=
6026 while :; do
6027 case $as_dir in #(
6028 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6029 *) as_qdir=$as_dir;;
6030 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6039 s//\1/
6040 q
6041 }
6042 /^X\(\/\/\)[^/].*/{
6043 s//\1/
6044 q
6045 }
6046 /^X\(\/\/\)$/{
6047 s//\1/
6048 q
6049 }
6050 /^X\(\/\).*/{
6051 s//\1/
6052 q
6053 }
6054 s/.*/./; q'`
6055 test -d "$as_dir" && break
6056 done
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; }; }; }
6061 ac_builddir=.
6062
6063case "$ac_dir" in
6064.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6065*)
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/ ;;
6072 esac ;;
6073esac
6074ac_abs_top_builddir=$ac_pwd
6075ac_abs_builddir=$ac_pwd$ac_dir_suffix
6076# for backward compatibility:
6077ac_top_builddir=$ac_top_build_prefix
6078
6079case $srcdir in
6080 .) # We are building in place.
6081 ac_srcdir=.
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 ;;
6088 *) # Relative name.
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 ;;
6092esac
6093ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6094
6095
6096 case $ac_mode in
6097 :F)
6098 #
6099 # CONFIG_FILE
6100 #
6101
6102 case $INSTALL in
6103 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6104 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6105 esac
6106 ac_MKDIR_P=$MKDIR_P
6107 case $MKDIR_P in
6108 [\\/$]* | ?:[\\/]* ) ;;
6109 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6110 esac
6111_ACEOF
6112
6113cat >>$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.
6116ac_datarootdir_hack=; ac_datarootdir_seen=
6117
6118ac_sed_dataroot='
6119/datarootdir/ {
6120 p
6121 q
6122}
6123/@datadir@/p
6124/@docdir@/p
6125/@infodir@/p
6126/@localedir@/p
6127/@mandir@/p
6128'
6129case `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;}
6134_ACEOF
6135cat >>$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' ;;
6143esac
6144_ACEOF
6145
6146# Neutralize VPATH when `$srcdir' = `.'.
6147# Shell code in configure.ac might set extrasub.
6148# FIXME: do we really want to maintain this feature?
6149cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6150ac_sed_extra="$ac_vpsub
6151$extrasub
6152_ACEOF
6153cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6154:t
6155/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6156s|@configure_input@|$ac_sed_conf_input|;t t
6157s&@top_builddir@&$ac_top_builddir_sub&;t t
6158s&@top_build_prefix@&$ac_top_build_prefix&;t t
6159s&@srcdir@&$ac_srcdir&;t t
6160s&@abs_srcdir@&$ac_abs_srcdir&;t t
6161s&@top_srcdir@&$ac_top_srcdir&;t t
6162s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6163s&@builddir@&$ac_builddir&;t t
6164s&@abs_builddir@&$ac_abs_builddir&;t t
6165s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6166s&@INSTALL@&$ac_INSTALL&;t t
6167s&@MKDIR_P@&$ac_MKDIR_P&;t t
6168$ac_datarootdir_hack
6169"
6170eval 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; }; }
6174
6175test -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'
6179which 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'
6181which seems to be undefined. Please make sure it is defined." >&2;}
6182
6183 rm -f "$tmp/stdin"
6184 case $ac_file in
6185 -) cat "$tmp/out" && rm -f "$tmp/out";;
6186 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6187 esac \
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; }; }
6191 ;;
6192 :H)
6193 #
6194 # CONFIG_HEADER
6195 #
6196 if test x"$ac_file" != x-; then
6197 {
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;}
6207 else
6208 rm -f "$ac_file"
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; }; }
6213 fi
6214 else
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; }; }
6220 fi
6221# Compute "$ac_file"'s index in $config_headers.
6222_am_arg="$ac_file"
6223_am_stamp_count=1
6224for _am_header in $config_headers :; do
6225 case $_am_header in
6226 $_am_arg | $_am_arg:* )
6227 break ;;
6228 * )
6229 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6230 esac
6231done
6232echo "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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6239 s//\1/
6240 q
6241 }
6242 /^X\(\/\/\)[^/].*/{
6243 s//\1/
6244 q
6245 }
6246 /^X\(\/\/\)$/{
6247 s//\1/
6248 q
6249 }
6250 /^X\(\/\).*/{
6251 s//\1/
6252 q
6253 }
6254 s/.*/./; q'`/stamp-h$_am_stamp_count
6255 ;;
6256
6257 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6258$as_echo "$as_me: executing $ac_file commands" >&6;}
6259 ;;
6260 esac
6261
6262
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.
6267case $CONFIG_FILES in
6268*\'*) eval set x "$CONFIG_FILES" ;;
6269*) set x $CONFIG_FILES ;;
6270esac
6271shift
6272for mf
6273do
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 ||
6289$as_echo X"$mf" |
6290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6291 s//\1/
6292 q
6293 }
6294 /^X\(\/\/\)[^/].*/{
6295 s//\1/
6296 q
6297 }
6298 /^X\(\/\/\)$/{
6299 s//\1/
6300 q
6301 }
6302 /^X\(\/\).*/{
6303 s//\1/
6304 q
6305 }
6306 s/.*/./; q'`
6307 else
6308 continue
6309 fi
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
6322 # expansion.
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 ||
6333$as_echo X"$file" |
6334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6335 s//\1/
6336 q
6337 }
6338 /^X\(\/\/\)[^/].*/{
6339 s//\1/
6340 q
6341 }
6342 /^X\(\/\/\)$/{
6343 s//\1/
6344 q
6345 }
6346 /^X\(\/\).*/{
6347 s//\1/
6348 q
6349 }
6350 s/.*/./; q'`
6351 { as_dir=$dirpart/$fdir
6352 case $as_dir in #(
6353 -*) as_dir=./$as_dir;;
6354 esac
6355 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6356 as_dirs=
6357 while :; do
6358 case $as_dir in #(
6359 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6360 *) as_qdir=$as_dir;;
6361 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6370 s//\1/
6371 q
6372 }
6373 /^X\(\/\/\)[^/].*/{
6374 s//\1/
6375 q
6376 }
6377 /^X\(\/\/\)$/{
6378 s//\1/
6379 q
6380 }
6381 /^X\(\/\).*/{
6382 s//\1/
6383 q
6384 }
6385 s/.*/./; q'`
6386 test -d "$as_dir" && break
6387 done
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"
6394 done
6395done
6396 ;;
6397
6398 esac
6399done # for ac_tag
6400
6401
6402{ (exit 0); exit 0; }
6403_ACEOF
6404chmod +x $CONFIG_STATUS
6405ac_clean_files=$ac_clean_files_save
6406
6407test $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; }; }
6411
6412
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.
6421if test "$no_create" != yes; then
6422 ac_cs_success=:
6423 ac_config_status_args=
6424 test "$silent" = yes &&
6425 ac_config_status_args="$ac_config_status_args --quiet"
6426 exec 5>/dev/null
6427 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6428 exec 5>>config.log
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; }
6432fi
6433if 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;}
6436fi
6437
6438{ $as_echo "$as_me:$LINENO: result:
6439 usbutils $VERSION
6440 =============
6441
6442 prefix: ${prefix}
6443 datarootdir: ${datarootdir}
6444 datadir: ${datadir}
6445 mandir: ${mandir}
6446
6447 usb.ids: ${datadir}/usb.ids
6448 zlib: ${USE_ZLIB}
6449
6450 compiler: ${CC}
6451 cflags: ${CFLAGS}
6452 ldflags: ${LDFLAGS}
6453" >&5
6454$as_echo "
6455 usbutils $VERSION
6456 =============
6457
6458 prefix: ${prefix}
6459 datarootdir: ${datarootdir}
6460 datadir: ${datadir}
6461 mandir: ${mandir}
6462
6463 usb.ids: ${datadir}/usb.ids
6464 zlib: ${USE_ZLIB}
6465
6466 compiler: ${CC}
6467 cflags: ${CFLAGS}
6468 ldflags: ${LDFLAGS}
6469" >&6; }