Codebase list cciss-vol-status / addf723
Imported Upstream version 1.06 Christian Hofstaedtler 13 years ago
8 changed file(s) with 4794 addition(s) and 3543 deletion(s). Raw diff Collapse all Expand all
00 Stephen M. Cameron
1 Christian Hofstaedtler
0 Tue Sep 2 12:14:04 CDT 2008
1 Added fan, temperature and power supply status
2 reporting (thanks to Christian Hofstaedtler)
03 Tue Sep 19 14:55:25 CDT 2006
14 Autoconfiscated cciss_vol_status
25 Tue Mar 6 14:44:14 EST 2007
36 Added support for more than 16 logical drives.
47 Added -x option for exhaustive search
8 Mon Nov 2 04:56:55 CST 2009
9 Added support for hpsa driver
10 Added support for hpahcisr driver
11
12 Added support for new controllers:
13 Smart Array P700m
14 Smart Array P212
15 Smart Array P410
16 Smart Array P410i
17 Smart Array P411
18 Smart Array P812
19
20 Cache some serial numbers to cut down on redundant i/o
21 when rummaging around trying to figure out what's what.
22
23 Assume 16 possible storage boxes for SAS based controllers
24
25 Wed Nov 18 10:18:22 MST 2009
26 * Fixed bug that if a logical drive had an active spare, and thus was
27 "ok", the exit code was still zero, so it acted as though nothing
28 were wrong, even though the failed drive needed replacing to get back
29 to original good status with spares.
30 * Fixed bug in spare status messages. One message was left out, and so
31 some of the others were wrong, being off-by-one.
32 * Bumped version up to 1.06
33
0 # Makefile.in generated by automake 1.9.2 from Makefile.am.
0 # Makefile.in generated by automake 1.10.2 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004 Free Software Foundation, Inc.
4 # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
77 # with or without modifications, as long as this notice is preserved.
1313
1414 @SET_MAKE@
1515
16 SOURCES = $(cciss_vol_status_SOURCES)
17
18 srcdir = @srcdir@
19 top_srcdir = @top_srcdir@
2016 VPATH = @srcdir@
2117 pkgdatadir = $(datadir)/@PACKAGE@
2218 pkglibdir = $(libdir)/@PACKAGE@
2319 pkgincludedir = $(includedir)/@PACKAGE@
24 top_builddir = .
2520 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26 INSTALL = @INSTALL@
2721 install_sh_DATA = $(install_sh) -c -m 644
2822 install_sh_PROGRAM = $(install_sh) -c
2923 install_sh_SCRIPT = $(install_sh) -c
4640 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4741 $(ACLOCAL_M4)
4842 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
49 configure.lineno configure.status.lineno
43 configure.lineno config.status.lineno
5044 mkinstalldirs = $(install_sh) -d
5145 CONFIG_HEADER = config.h
5246 CONFIG_CLEAN_FILES =
5650 am_cciss_vol_status_OBJECTS = cciss_vol_status.$(OBJEXT)
5751 cciss_vol_status_OBJECTS = $(am_cciss_vol_status_OBJECTS)
5852 cciss_vol_status_LDADD = $(LDADD)
59 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
53 DEFAULT_INCLUDES = -I.@am__isrc@
6054 depcomp = $(SHELL) $(top_srcdir)/depcomp
6155 am__depfiles_maybe = depfiles
6256 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
8276 distuninstallcheck_listfiles = find . -type f -print
8377 distcleancheck_listfiles = find . -type f -print
8478 ACLOCAL = @ACLOCAL@
85 AMDEP_FALSE = @AMDEP_FALSE@
86 AMDEP_TRUE = @AMDEP_TRUE@
8779 AMTAR = @AMTAR@
8880 AUTOCONF = @AUTOCONF@
8981 AUTOHEADER = @AUTOHEADER@
10294 ECHO_T = @ECHO_T@
10395 EGREP = @EGREP@
10496 EXEEXT = @EXEEXT@
97 GREP = @GREP@
98 INSTALL = @INSTALL@
10599 INSTALL_DATA = @INSTALL_DATA@
106100 INSTALL_PROGRAM = @INSTALL_PROGRAM@
107101 INSTALL_SCRIPT = @INSTALL_SCRIPT@
111105 LIBS = @LIBS@
112106 LTLIBOBJS = @LTLIBOBJS@
113107 MAKEINFO = @MAKEINFO@
108 MKDIR_P = @MKDIR_P@
114109 OBJEXT = @OBJEXT@
115110 PACKAGE = @PACKAGE@
116111 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
123118 SHELL = @SHELL@
124119 STRIP = @STRIP@
125120 VERSION = @VERSION@
121 abs_builddir = @abs_builddir@
122 abs_srcdir = @abs_srcdir@
123 abs_top_builddir = @abs_top_builddir@
124 abs_top_srcdir = @abs_top_srcdir@
126125 ac_ct_CC = @ac_ct_CC@
127 ac_ct_STRIP = @ac_ct_STRIP@
128 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
129 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
130126 am__include = @am__include@
131127 am__leading_dot = @am__leading_dot@
132128 am__quote = @am__quote@
134130 am__untar = @am__untar@
135131 bindir = @bindir@
136132 build_alias = @build_alias@
133 builddir = @builddir@
137134 datadir = @datadir@
135 datarootdir = @datarootdir@
136 docdir = @docdir@
137 dvidir = @dvidir@
138138 exec_prefix = @exec_prefix@
139139 host_alias = @host_alias@
140 htmldir = @htmldir@
140141 includedir = @includedir@
141142 infodir = @infodir@
142143 install_sh = @install_sh@
143144 libdir = @libdir@
144145 libexecdir = @libexecdir@
146 localedir = @localedir@
145147 localstatedir = @localstatedir@
146148 mandir = @mandir@
147149 mkdir_p = @mkdir_p@
148150 oldincludedir = @oldincludedir@
151 pdfdir = @pdfdir@
149152 prefix = @prefix@
150153 program_transform_name = @program_transform_name@
154 psdir = @psdir@
151155 sbindir = @sbindir@
152156 sharedstatedir = @sharedstatedir@
157 srcdir = @srcdir@
153158 sysconfdir = @sysconfdir@
154159 target_alias = @target_alias@
160 top_build_prefix = @top_build_prefix@
161 top_builddir = @top_builddir@
162 top_srcdir = @top_srcdir@
155163 cciss_vol_status_SOURCES = cciss_vol_status.c
156164 dist_man8_MANS = cciss_vol_status.8
157165 all: config.h
196204 config.h: stamp-h1
197205 @if test ! -f $@; then \
198206 rm -f stamp-h1; \
199 $(MAKE) stamp-h1; \
207 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
200208 else :; fi
201209
202210 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
211219 -rm -f config.h stamp-h1
212220 install-binPROGRAMS: $(bin_PROGRAMS)
213221 @$(NORMAL_INSTALL)
214 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
222 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
215223 @list='$(bin_PROGRAMS)'; for p in $$list; do \
216224 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
217225 if test -f $$p \
234242 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
235243 cciss_vol_status$(EXEEXT): $(cciss_vol_status_OBJECTS) $(cciss_vol_status_DEPENDENCIES)
236244 @rm -f cciss_vol_status$(EXEEXT)
237 $(LINK) $(cciss_vol_status_LDFLAGS) $(cciss_vol_status_OBJECTS) $(cciss_vol_status_LDADD) $(LIBS)
245 $(LINK) $(cciss_vol_status_OBJECTS) $(cciss_vol_status_LDADD) $(LIBS)
238246
239247 mostlyclean-compile:
240248 -rm -f *.$(OBJEXT)
245253 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cciss_vol_status.Po@am__quote@
246254
247255 .c.o:
248 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
249 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
256 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
257 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
250258 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
251259 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
252260 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
253261
254262 .c.obj:
255 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
256 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
263 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
264 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
257265 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
258266 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
259267 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
260 uninstall-info-am:
261268 install-man8: $(man8_MANS) $(man_MANS)
262269 @$(NORMAL_INSTALL)
263 test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
270 test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
264271 @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
265272 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
266273 for i in $$l2; do \
269276 esac; \
270277 done; \
271278 for i in $$list; do \
272 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
273 else file=$$i; fi; \
279 if test -f $$i; then file=$$i; \
280 else file=$(srcdir)/$$i; fi; \
274281 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
275282 case "$$ext" in \
276283 8*) ;; \
309316 unique=`for i in $$list; do \
310317 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
311318 done | \
312 $(AWK) ' { files[$$0] = 1; } \
313 END { for (i in files) print i; }'`; \
319 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
320 END { if (nonempty) { for (i in files) print i; }; }'`; \
314321 mkid -fID $$unique
315322 tags: TAGS
316323
322329 unique=`for i in $$list; do \
323330 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
324331 done | \
325 $(AWK) ' { files[$$0] = 1; } \
326 END { for (i in files) print i; }'`; \
332 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
333 END { if (nonempty) { for (i in files) print i; }; }'`; \
327334 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
328335 test -n "$$unique" || unique=$$empty_fix; \
329336 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
333340 CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
334341 $(TAGS_FILES) $(LISP)
335342 tags=; \
336 here=`pwd`; \
337343 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
338344 unique=`for i in $$list; do \
339345 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
340346 done | \
341 $(AWK) ' { files[$$0] = 1; } \
342 END { for (i in files) print i; }'`; \
347 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
348 END { if (nonempty) { for (i in files) print i; }; }'`; \
343349 test -z "$(CTAGS_ARGS)$$tags$$unique" \
344350 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
345351 $$tags $$unique
354360
355361 distdir: $(DISTFILES)
356362 $(am__remove_distdir)
357 mkdir $(distdir)
358 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
359 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
360 list='$(DISTFILES)'; for file in $$list; do \
361 case $$file in \
362 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
363 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
364 esac; \
363 test -d $(distdir) || mkdir $(distdir)
364 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
365 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
366 list='$(DISTFILES)'; \
367 dist_files=`for file in $$list; do echo $$file; done | \
368 sed -e "s|^$$srcdirstrip/||;t" \
369 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
370 case $$dist_files in \
371 */*) $(MKDIR_P) `echo "$$dist_files" | \
372 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
373 sort -u` ;; \
374 esac; \
375 for file in $$dist_files; do \
365376 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
366 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
367 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
368 dir="/$$dir"; \
369 $(mkdir_p) "$(distdir)$$dir"; \
370 else \
371 dir=''; \
372 fi; \
373377 if test -d $$d/$$file; then \
378 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
374379 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
375380 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
376381 fi; \
384389 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
385390 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
386391 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
387 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
392 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
388393 || chmod -R a+r $(distdir)
389394 dist-gzip: distdir
390395 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
392397
393398 dist-bzip2: distdir
394399 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
400 $(am__remove_distdir)
401
402 dist-lzma: distdir
403 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
395404 $(am__remove_distdir)
396405
397406 dist-tarZ: distdir
420429 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
421430 *.tar.bz2*) \
422431 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
432 *.tar.lzma*) \
433 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
423434 *.tar.Z*) \
424435 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
425436 *.shar.gz*) \
459470 $(am__remove_distdir)
460471 @(echo "$(distdir) archives ready for distribution: "; \
461472 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
462 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
473 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
463474 distuninstallcheck:
464475 @cd $(distuninstallcheck_dir) \
465476 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
483494 all-am: Makefile $(PROGRAMS) $(MANS) config.h
484495 installdirs:
485496 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man8dir)"; do \
486 test -z "$$dir" || $(mkdir_p) "$$dir"; \
497 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
487498 done
488499 install: install-am
489500 install-exec: install-exec-am
532543
533544 install-data-am: install-man
534545
546 install-dvi: install-dvi-am
547
535548 install-exec-am: install-binPROGRAMS
536549
550 install-html: install-html-am
551
537552 install-info: install-info-am
538553
539554 install-man: install-man8
555
556 install-pdf: install-pdf-am
557
558 install-ps: install-ps-am
540559
541560 installcheck-am:
542561
559578
560579 ps-am:
561580
562 uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man
581 uninstall-am: uninstall-binPROGRAMS uninstall-man
563582
564583 uninstall-man: uninstall-man8
584
585 .MAKE: install-am install-strip
565586
566587 .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
567588 clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \
568 dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \
569 distclean-compile distclean-generic distclean-hdr \
589 dist-gzip dist-lzma dist-shar dist-tarZ dist-zip distcheck \
590 distclean distclean-compile distclean-generic distclean-hdr \
570591 distclean-tags distcleancheck distdir distuninstallcheck dvi \
571592 dvi-am html html-am info info-am install install-am \
572 install-binPROGRAMS install-data install-data-am install-exec \
573 install-exec-am install-info install-info-am install-man \
574 install-man8 install-strip installcheck installcheck-am \
593 install-binPROGRAMS install-data install-data-am install-dvi \
594 install-dvi-am install-exec install-exec-am install-html \
595 install-html-am install-info install-info-am install-man \
596 install-man8 install-pdf install-pdf-am install-ps \
597 install-ps-am install-strip installcheck installcheck-am \
575598 installdirs maintainer-clean maintainer-clean-generic \
576599 mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
577600 ps ps-am tags uninstall uninstall-am uninstall-binPROGRAMS \
578 uninstall-info-am uninstall-man uninstall-man8
601 uninstall-man uninstall-man8
579602
580603 # Tell versions [3.59,3.63) of GNU make to not export all variables.
581604 # Otherwise a system limit (for SysV at least) may be exceeded.
0 # generated automatically by aclocal 1.9.2 -*- Autoconf -*-
1
2 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
3 # Free Software Foundation, Inc.
0 # generated automatically by aclocal 1.10.2 -*- Autoconf -*-
1
2 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 # 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
44 # This file is free software; the Free Software Foundation
55 # gives unlimited permission to copy and/or distribute it,
66 # with or without modifications, as long as this notice is preserved.
1010 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1111 # PARTICULAR PURPOSE.
1212
13 # -*- Autoconf -*-
14 # Copyright (C) 2002, 2003 Free Software Foundation, Inc.
15 # Generated from amversion.in; do not edit by hand.
16
17 # This program is free software; you can redistribute it and/or modify
18 # it under the terms of the GNU General Public License as published by
19 # the Free Software Foundation; either version 2, or (at your option)
20 # any later version.
21
22 # This program is distributed in the hope that it will be useful,
23 # but WITHOUT ANY WARRANTY; without even the implied warranty of
24 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 # GNU General Public License for more details.
26
27 # You should have received a copy of the GNU General Public License
28 # along with this program; if not, write to the Free Software
29 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
13 m4_ifndef([AC_AUTOCONF_VERSION],
14 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
16 [m4_warning([this file was generated for autoconf 2.63.
17 You have another version of autoconf. It may work, but is not guaranteed to.
18 If you have problems, you may need to regenerate the build system entirely.
19 To do so, use the procedure documented by the package, typically `autoreconf'.])])
20
21 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
22 #
23 # This file is free software; the Free Software Foundation
24 # gives unlimited permission to copy and/or distribute it,
25 # with or without modifications, as long as this notice is preserved.
3026
3127 # AM_AUTOMAKE_VERSION(VERSION)
3228 # ----------------------------
3329 # Automake X.Y traces this macro to ensure aclocal.m4 has been
3430 # generated from the m4 files accompanying Automake X.Y.
35 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
31 # (This private macro should not be called outside this file.)
32 AC_DEFUN([AM_AUTOMAKE_VERSION],
33 [am__api_version='1.10'
34 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
35 dnl require some minimum version. Point them to the right macro.
36 m4_if([$1], [1.10.2], [],
37 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
38 ])
39
40 # _AM_AUTOCONF_VERSION(VERSION)
41 # -----------------------------
42 # aclocal traces this macro to find the Autoconf version.
43 # This is a private macro too. Using m4_define simplifies
44 # the logic in aclocal, which can simply ignore this definition.
45 m4_define([_AM_AUTOCONF_VERSION], [])
3646
3747 # AM_SET_CURRENT_AUTOMAKE_VERSION
3848 # -------------------------------
39 # Call AM_AUTOMAKE_VERSION so it can be traced.
40 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
49 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
50 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
4151 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
42 [AM_AUTOMAKE_VERSION([1.9.2])])
43
44 # AM_AUX_DIR_EXPAND
45
46 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.
47
48 # This program is free software; you can redistribute it and/or modify
49 # it under the terms of the GNU General Public License as published by
50 # the Free Software Foundation; either version 2, or (at your option)
51 # any later version.
52
53 # This program is distributed in the hope that it will be useful,
54 # but WITHOUT ANY WARRANTY; without even the implied warranty of
55 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
56 # GNU General Public License for more details.
57
58 # You should have received a copy of the GNU General Public License
59 # along with this program; if not, write to the Free Software
60 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
61 # 02111-1307, USA.
52 [AM_AUTOMAKE_VERSION([1.10.2])dnl
53 m4_ifndef([AC_AUTOCONF_VERSION],
54 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
55 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
56
57 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
58
59 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
60 #
61 # This file is free software; the Free Software Foundation
62 # gives unlimited permission to copy and/or distribute it,
63 # with or without modifications, as long as this notice is preserved.
6264
6365 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
6466 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
105107 am_aux_dir=`cd $ac_aux_dir && pwd`
106108 ])
107109
108 # AM_CONDITIONAL -*- Autoconf -*-
109
110 # Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
111
112 # This program is free software; you can redistribute it and/or modify
113 # it under the terms of the GNU General Public License as published by
114 # the Free Software Foundation; either version 2, or (at your option)
115 # any later version.
116
117 # This program is distributed in the hope that it will be useful,
118 # but WITHOUT ANY WARRANTY; without even the implied warranty of
119 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
120 # GNU General Public License for more details.
121
122 # You should have received a copy of the GNU General Public License
123 # along with this program; if not, write to the Free Software
124 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
125 # 02111-1307, USA.
126
127 # serial 6
110 # AM_CONDITIONAL -*- Autoconf -*-
111
112 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
113 # Free Software Foundation, Inc.
114 #
115 # This file is free software; the Free Software Foundation
116 # gives unlimited permission to copy and/or distribute it,
117 # with or without modifications, as long as this notice is preserved.
118
119 # serial 8
128120
129121 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
130122 # -------------------------------------
133125 [AC_PREREQ(2.52)dnl
134126 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
135127 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
136 AC_SUBST([$1_TRUE])
137 AC_SUBST([$1_FALSE])
128 AC_SUBST([$1_TRUE])dnl
129 AC_SUBST([$1_FALSE])dnl
130 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
131 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
138132 if $2; then
139133 $1_TRUE=
140134 $1_FALSE='#'
148142 Usually this means the macro was only invoked conditionally.]])
149143 fi])])
150144
151 # serial 7 -*- Autoconf -*-
152
153 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
145 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
154146 # Free Software Foundation, Inc.
155
156 # This program is free software; you can redistribute it and/or modify
157 # it under the terms of the GNU General Public License as published by
158 # the Free Software Foundation; either version 2, or (at your option)
159 # any later version.
160
161 # This program is distributed in the hope that it will be useful,
162 # but WITHOUT ANY WARRANTY; without even the implied warranty of
163 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
164 # GNU General Public License for more details.
165
166 # You should have received a copy of the GNU General Public License
167 # along with this program; if not, write to the Free Software
168 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
169 # 02111-1307, USA.
170
147 #
148 # This file is free software; the Free Software Foundation
149 # gives unlimited permission to copy and/or distribute it,
150 # with or without modifications, as long as this notice is preserved.
151
152 # serial 9
171153
172154 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
173155 # written in clear, in which case automake, when reading aclocal.m4,
174156 # will think it sees a *use*, and therefore will trigger all it's
175157 # C support machinery. Also note that it means that autoscan, seeing
176158 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
177
178159
179160
180161 # _AM_DEPENDENCIES(NAME)
196177 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
197178 [$1], CXX, [depcc="$CXX" am_compiler_list=],
198179 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
180 [$1], UPC, [depcc="$UPC" am_compiler_list=],
199181 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
200182 [depcc="$$1" am_compiler_list=])
201183
261243 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
262244 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
263245 >/dev/null 2>conftest.err &&
246 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
264247 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
265248 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
266249 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
313296 AMDEPBACKSLASH='\'
314297 fi
315298 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
316 AC_SUBST([AMDEPBACKSLASH])
317 ])
318
319 # Generate code to set up dependency tracking. -*- Autoconf -*-
320
321 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
322 # Free Software Foundation, Inc.
323
324 # This program is free software; you can redistribute it and/or modify
325 # it under the terms of the GNU General Public License as published by
326 # the Free Software Foundation; either version 2, or (at your option)
327 # any later version.
328
329 # This program is distributed in the hope that it will be useful,
330 # but WITHOUT ANY WARRANTY; without even the implied warranty of
331 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
332 # GNU General Public License for more details.
333
334 # You should have received a copy of the GNU General Public License
335 # along with this program; if not, write to the Free Software
336 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
337 # 02111-1307, USA.
338
339 #serial 2
299 AC_SUBST([AMDEPBACKSLASH])dnl
300 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
301 ])
302
303 # Generate code to set up dependency tracking. -*- Autoconf -*-
304
305 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
306 # Free Software Foundation, Inc.
307 #
308 # This file is free software; the Free Software Foundation
309 # gives unlimited permission to copy and/or distribute it,
310 # with or without modifications, as long as this notice is preserved.
311
312 #serial 5
340313
341314 # _AM_OUTPUT_DEPENDENCY_COMMANDS
342315 # ------------------------------
343316 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
344 [for mf in $CONFIG_FILES; do
345 # Strip MF so we end up with the name of the file.
346 mf=`echo "$mf" | sed -e 's/:.*$//'`
347 # Check whether this is an Automake generated Makefile or not.
348 # We used to match only the files named `Makefile.in', but
349 # some people rename them; so instead we look at the file content.
350 # Grep'ing the first line is not enough: some people post-process
351 # each Makefile.in and add a new line on top of each file to say so.
352 # So let's grep whole file.
353 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
354 dirpart=`AS_DIRNAME("$mf")`
355 else
356 continue
357 fi
358 # Extract the definition of DEPDIR, am__include, and am__quote
359 # from the Makefile without running `make'.
360 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
361 test -z "$DEPDIR" && continue
362 am__include=`sed -n 's/^am__include = //p' < "$mf"`
363 test -z "am__include" && continue
364 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
365 # When using ansi2knr, U may be empty or an underscore; expand it
366 U=`sed -n 's/^U = //p' < "$mf"`
367 # Find all dependency output files, they are included files with
368 # $(DEPDIR) in their names. We invoke sed twice because it is the
369 # simplest approach to changing $(DEPDIR) to its actual value in the
370 # expansion.
371 for file in `sed -n "
372 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
373 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
374 # Make sure the directory exists.
375 test -f "$dirpart/$file" && continue
376 fdir=`AS_DIRNAME(["$file"])`
377 AS_MKDIR_P([$dirpart/$fdir])
378 # echo "creating $dirpart/$file"
379 echo '# dummy' > "$dirpart/$file"
317 [{
318 # Autoconf 2.62 quotes --file arguments for eval, but not when files
319 # are listed without --file. Let's play safe and only enable the eval
320 # if we detect the quoting.
321 case $CONFIG_FILES in
322 *\'*) eval set x "$CONFIG_FILES" ;;
323 *) set x $CONFIG_FILES ;;
324 esac
325 shift
326 for mf
327 do
328 # Strip MF so we end up with the name of the file.
329 mf=`echo "$mf" | sed -e 's/:.*$//'`
330 # Check whether this is an Automake generated Makefile or not.
331 # We used to match only the files named `Makefile.in', but
332 # some people rename them; so instead we look at the file content.
333 # Grep'ing the first line is not enough: some people post-process
334 # each Makefile.in and add a new line on top of each file to say so.
335 # Grep'ing the whole file is not good either: AIX grep has a line
336 # limit of 2048, but all sed's we know have understand at least 4000.
337 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
338 dirpart=`AS_DIRNAME("$mf")`
339 else
340 continue
341 fi
342 # Extract the definition of DEPDIR, am__include, and am__quote
343 # from the Makefile without running `make'.
344 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
345 test -z "$DEPDIR" && continue
346 am__include=`sed -n 's/^am__include = //p' < "$mf"`
347 test -z "am__include" && continue
348 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
349 # When using ansi2knr, U may be empty or an underscore; expand it
350 U=`sed -n 's/^U = //p' < "$mf"`
351 # Find all dependency output files, they are included files with
352 # $(DEPDIR) in their names. We invoke sed twice because it is the
353 # simplest approach to changing $(DEPDIR) to its actual value in the
354 # expansion.
355 for file in `sed -n "
356 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
357 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
358 # Make sure the directory exists.
359 test -f "$dirpart/$file" && continue
360 fdir=`AS_DIRNAME(["$file"])`
361 AS_MKDIR_P([$dirpart/$fdir])
362 # echo "creating $dirpart/$file"
363 echo '# dummy' > "$dirpart/$file"
364 done
380365 done
381 done
366 }
382367 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
383368
384369
395380 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
396381 ])
397382
398 # Do all the work for Automake. -*- Autoconf -*-
399
400 # This macro actually does too much some checks are only needed if
383 # Do all the work for Automake. -*- Autoconf -*-
384
385 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
386 # 2005, 2006, 2008 Free Software Foundation, Inc.
387 #
388 # This file is free software; the Free Software Foundation
389 # gives unlimited permission to copy and/or distribute it,
390 # with or without modifications, as long as this notice is preserved.
391
392 # serial 13
393
394 # This macro actually does too much. Some checks are only needed if
401395 # your package does certain things. But this isn't really a big deal.
402
403 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
404 # Free Software Foundation, Inc.
405
406 # This program is free software; you can redistribute it and/or modify
407 # it under the terms of the GNU General Public License as published by
408 # the Free Software Foundation; either version 2, or (at your option)
409 # any later version.
410
411 # This program is distributed in the hope that it will be useful,
412 # but WITHOUT ANY WARRANTY; without even the implied warranty of
413 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
414 # GNU General Public License for more details.
415
416 # You should have received a copy of the GNU General Public License
417 # along with this program; if not, write to the Free Software
418 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
419 # 02111-1307, USA.
420
421 # serial 11
422396
423397 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
424398 # AM_INIT_AUTOMAKE([OPTIONS])
432406 # arguments mandatory, and then we can depend on a new Autoconf
433407 # release and drop the old call support.
434408 AC_DEFUN([AM_INIT_AUTOMAKE],
435 [AC_PREREQ([2.58])dnl
409 [AC_PREREQ([2.60])dnl
436410 dnl Autoconf wants to disallow AM_ names. We explicitly allow
437411 dnl the ones we care about.
438412 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
439413 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
440414 AC_REQUIRE([AC_PROG_INSTALL])dnl
441 # test to see if srcdir already configured
442 if test "`cd $srcdir && pwd`" != "`pwd`" &&
443 test -f $srcdir/config.status; then
444 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
415 if test "`cd $srcdir && pwd`" != "`pwd`"; then
416 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
417 # is not polluted with repeated "-I."
418 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
419 # test to see if srcdir already configured
420 if test -f $srcdir/config.status; then
421 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
422 fi
445423 fi
446424
447425 # test whether we have cygpath
461439 AC_SUBST([PACKAGE], [$1])dnl
462440 AC_SUBST([VERSION], [$2])],
463441 [_AM_SET_OPTIONS([$1])dnl
442 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
443 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
444 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
464445 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
465446 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
466447
496477 [_AM_DEPENDENCIES(CXX)],
497478 [define([AC_PROG_CXX],
498479 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
480 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
481 [_AM_DEPENDENCIES(OBJC)],
482 [define([AC_PROG_OBJC],
483 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
499484 ])
500485 ])
501486
509494 # our stamp files there.
510495 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
511496 [# Compute $1's index in $config_headers.
497 _am_arg=$1
512498 _am_stamp_count=1
513499 for _am_header in $config_headers :; do
514500 case $_am_header in
515 $1 | $1:* )
501 $_am_arg | $_am_arg:* )
516502 break ;;
517503 * )
518504 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
519505 esac
520506 done
521 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
507 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
508
509 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
510 #
511 # This file is free software; the Free Software Foundation
512 # gives unlimited permission to copy and/or distribute it,
513 # with or without modifications, as long as this notice is preserved.
522514
523515 # AM_PROG_INSTALL_SH
524516 # ------------------
525517 # Define $install_sh.
526
527 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.
528
529 # This program is free software; you can redistribute it and/or modify
530 # it under the terms of the GNU General Public License as published by
531 # the Free Software Foundation; either version 2, or (at your option)
532 # any later version.
533
534 # This program is distributed in the hope that it will be useful,
535 # but WITHOUT ANY WARRANTY; without even the implied warranty of
536 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
537 # GNU General Public License for more details.
538
539 # You should have received a copy of the GNU General Public License
540 # along with this program; if not, write to the Free Software
541 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
542 # 02111-1307, USA.
543
544518 AC_DEFUN([AM_PROG_INSTALL_SH],
545519 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
546 install_sh=${install_sh-"$am_aux_dir/install-sh"}
520 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
547521 AC_SUBST(install_sh)])
548522
549 # -*- Autoconf -*-
550 # Copyright (C) 2003 Free Software Foundation, Inc.
551
552 # This program is free software; you can redistribute it and/or modify
553 # it under the terms of the GNU General Public License as published by
554 # the Free Software Foundation; either version 2, or (at your option)
555 # any later version.
556
557 # This program is distributed in the hope that it will be useful,
558 # but WITHOUT ANY WARRANTY; without even the implied warranty of
559 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
560 # GNU General Public License for more details.
561
562 # You should have received a copy of the GNU General Public License
563 # along with this program; if not, write to the Free Software
564 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
565 # 02111-1307, USA.
566
567 # serial 1
523 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
524 #
525 # This file is free software; the Free Software Foundation
526 # gives unlimited permission to copy and/or distribute it,
527 # with or without modifications, as long as this notice is preserved.
528
529 # serial 2
568530
569531 # Check whether the underlying file-system supports filenames
570532 # with a leading dot. For instance MS-DOS doesn't.
579541 rmdir .tst 2>/dev/null
580542 AC_SUBST([am__leading_dot])])
581543
582 # Check to see how 'make' treats includes. -*- Autoconf -*-
583
584 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
585
586 # This program is free software; you can redistribute it and/or modify
587 # it under the terms of the GNU General Public License as published by
588 # the Free Software Foundation; either version 2, or (at your option)
589 # any later version.
590
591 # This program is distributed in the hope that it will be useful,
592 # but WITHOUT ANY WARRANTY; without even the implied warranty of
593 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
594 # GNU General Public License for more details.
595
596 # You should have received a copy of the GNU General Public License
597 # along with this program; if not, write to the Free Software
598 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
599 # 02111-1307, USA.
600
601 # serial 2
544 # Check to see how 'make' treats includes. -*- Autoconf -*-
545
546 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
547 #
548 # This file is free software; the Free Software Foundation
549 # gives unlimited permission to copy and/or distribute it,
550 # with or without modifications, as long as this notice is preserved.
551
552 # serial 3
602553
603554 # AM_MAKE_INCLUDE()
604555 # -----------------
642593 rm -f confinc confmf
643594 ])
644595
645 # -*- Autoconf -*-
646
647
648 # Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
649
650 # This program is free software; you can redistribute it and/or modify
651 # it under the terms of the GNU General Public License as published by
652 # the Free Software Foundation; either version 2, or (at your option)
653 # any later version.
654
655 # This program is distributed in the hope that it will be useful,
656 # but WITHOUT ANY WARRANTY; without even the implied warranty of
657 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
658 # GNU General Public License for more details.
659
660 # You should have received a copy of the GNU General Public License
661 # along with this program; if not, write to the Free Software
662 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
663 # 02111-1307, USA.
664
665 # serial 3
596 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
597
598 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
599 # Free Software Foundation, Inc.
600 #
601 # This file is free software; the Free Software Foundation
602 # gives unlimited permission to copy and/or distribute it,
603 # with or without modifications, as long as this notice is preserved.
604
605 # serial 5
666606
667607 # AM_MISSING_PROG(NAME, PROGRAM)
668608 # ------------------------------
678618 # If it does, set am_missing_run to use it, otherwise, to nothing.
679619 AC_DEFUN([AM_MISSING_HAS_RUN],
680620 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
621 AC_REQUIRE_AUX_FILE([missing])dnl
681622 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
682623 # Use eval to expand $SHELL
683624 if eval "$MISSING --run true"; then
688629 fi
689630 ])
690631
632 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
633 #
634 # This file is free software; the Free Software Foundation
635 # gives unlimited permission to copy and/or distribute it,
636 # with or without modifications, as long as this notice is preserved.
637
691638 # AM_PROG_MKDIR_P
692639 # ---------------
693 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
694
695 # Copyright (C) 2003, 2004 Free Software Foundation, Inc.
696
697 # This program is free software; you can redistribute it and/or modify
698 # it under the terms of the GNU General Public License as published by
699 # the Free Software Foundation; either version 2, or (at your option)
700 # any later version.
701
702 # This program is distributed in the hope that it will be useful,
703 # but WITHOUT ANY WARRANTY; without even the implied warranty of
704 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
705 # GNU General Public License for more details.
706
707 # You should have received a copy of the GNU General Public License
708 # along with this program; if not, write to the Free Software
709 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
710 # 02111-1307, USA.
711
712 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
713 # created by `make install' are always world readable, even if the
714 # installer happens to have an overly restrictive umask (e.g. 077).
715 # This was a mistake. There are at least two reasons why we must not
716 # use `-m 0755':
717 # - it causes special bits like SGID to be ignored,
718 # - it may be too restrictive (some setups expect 775 directories).
719 #
720 # Do not use -m 0755 and let people choose whatever they expect by
721 # setting umask.
722 #
723 # We cannot accept any implementation of `mkdir' that recognizes `-p'.
724 # Some implementations (such as Solaris 8's) are not thread-safe: if a
725 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
726 # concurrently, both version can detect that a/ is missing, but only
727 # one can create it and the other will error out. Consequently we
728 # restrict ourselves to GNU make (using the --version option ensures
729 # this.)
640 # Check for `mkdir -p'.
730641 AC_DEFUN([AM_PROG_MKDIR_P],
731 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
732 # We used to keeping the `.' as first argument, in order to
733 # allow $(mkdir_p) to be used without argument. As in
734 # $(mkdir_p) $(somedir)
735 # where $(somedir) is conditionally defined. However this is wrong
736 # for two reasons:
737 # 1. if the package is installed by a user who cannot write `.'
738 # make install will fail,
739 # 2. the above comment should most certainly read
740 # $(mkdir_p) $(DESTDIR)$(somedir)
741 # so it does not work when $(somedir) is undefined and
742 # $(DESTDIR) is not.
743 # To support the latter case, we have to write
744 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
745 # so the `.' trick is pointless.
746 mkdir_p='mkdir -p --'
747 else
748 # On NextStep and OpenStep, the `mkdir' command does not
749 # recognize any option. It will interpret all options as
750 # directories to create, and then abort because `.' already
751 # exists.
752 for d in ./-p ./--version;
753 do
754 test -d $d && rmdir $d
755 done
756 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
757 if test -f "$ac_aux_dir/mkinstalldirs"; then
758 mkdir_p='$(mkinstalldirs)'
759 else
760 mkdir_p='$(install_sh) -d'
761 fi
762 fi
763 AC_SUBST([mkdir_p])])
764
765 # Helper functions for option handling. -*- Autoconf -*-
766
767 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
768
769 # This program is free software; you can redistribute it and/or modify
770 # it under the terms of the GNU General Public License as published by
771 # the Free Software Foundation; either version 2, or (at your option)
772 # any later version.
773
774 # This program is distributed in the hope that it will be useful,
775 # but WITHOUT ANY WARRANTY; without even the implied warranty of
776 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
777 # GNU General Public License for more details.
778
779 # You should have received a copy of the GNU General Public License
780 # along with this program; if not, write to the Free Software
781 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
782 # 02111-1307, USA.
783
784 # serial 2
642 [AC_PREREQ([2.60])dnl
643 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
644 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
645 dnl while keeping a definition of mkdir_p for backward compatibility.
646 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
647 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
648 dnl Makefile.ins that do not define MKDIR_P, so we do our own
649 dnl adjustment using top_builddir (which is defined more often than
650 dnl MKDIR_P).
651 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
652 case $mkdir_p in
653 [[\\/$]]* | ?:[[\\/]]*) ;;
654 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
655 esac
656 ])
657
658 # Helper functions for option handling. -*- Autoconf -*-
659
660 # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
661 #
662 # This file is free software; the Free Software Foundation
663 # gives unlimited permission to copy and/or distribute it,
664 # with or without modifications, as long as this notice is preserved.
665
666 # serial 4
785667
786668 # _AM_MANGLE_OPTION(NAME)
787669 # -----------------------
798680 # ----------------------------------
799681 # OPTIONS is a space-separated list of Automake options.
800682 AC_DEFUN([_AM_SET_OPTIONS],
801 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
683 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
802684
803685 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
804686 # -------------------------------------------
806688 AC_DEFUN([_AM_IF_OPTION],
807689 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
808690
809 #
810 # Check to make sure that the build environment is sane.
811 #
812
813 # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
814
815 # This program is free software; you can redistribute it and/or modify
816 # it under the terms of the GNU General Public License as published by
817 # the Free Software Foundation; either version 2, or (at your option)
818 # any later version.
819
820 # This program is distributed in the hope that it will be useful,
821 # but WITHOUT ANY WARRANTY; without even the implied warranty of
822 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
823 # GNU General Public License for more details.
824
825 # You should have received a copy of the GNU General Public License
826 # along with this program; if not, write to the Free Software
827 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
828 # 02111-1307, USA.
829
830 # serial 3
691 # Check to make sure that the build environment is sane. -*- Autoconf -*-
692
693 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
694 # Free Software Foundation, Inc.
695 #
696 # This file is free software; the Free Software Foundation
697 # gives unlimited permission to copy and/or distribute it,
698 # with or without modifications, as long as this notice is preserved.
699
700 # serial 4
831701
832702 # AM_SANITY_CHECK
833703 # ---------------
870740 fi
871741 AC_MSG_RESULT(yes)])
872742
743 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
744 #
745 # This file is free software; the Free Software Foundation
746 # gives unlimited permission to copy and/or distribute it,
747 # with or without modifications, as long as this notice is preserved.
748
873749 # AM_PROG_INSTALL_STRIP
874
875 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.
876
877 # This program is free software; you can redistribute it and/or modify
878 # it under the terms of the GNU General Public License as published by
879 # the Free Software Foundation; either version 2, or (at your option)
880 # any later version.
881
882 # This program is distributed in the hope that it will be useful,
883 # but WITHOUT ANY WARRANTY; without even the implied warranty of
884 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
885 # GNU General Public License for more details.
886
887 # You should have received a copy of the GNU General Public License
888 # along with this program; if not, write to the Free Software
889 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
890 # 02111-1307, USA.
891
750 # ---------------------
892751 # One issue with vendor `install' (even GNU) is that you can't
893752 # specify the program used to strip binaries. This is especially
894753 # annoying in cross-compiling environments, where the build's strip
906765 if test "$cross_compiling" != no; then
907766 AC_CHECK_TOOL([STRIP], [strip], :)
908767 fi
909 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
768 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
910769 AC_SUBST([INSTALL_STRIP_PROGRAM])])
911770
771 # Copyright (C) 2006 Free Software Foundation, Inc.
772 #
773 # This file is free software; the Free Software Foundation
774 # gives unlimited permission to copy and/or distribute it,
775 # with or without modifications, as long as this notice is preserved.
776
777 # _AM_SUBST_NOTMAKE(VARIABLE)
778 # ---------------------------
779 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
780 # This macro is traced by Automake.
781 AC_DEFUN([_AM_SUBST_NOTMAKE])
782
912783 # Check how to create a tarball. -*- Autoconf -*-
913784
914 # Copyright (C) 2004 Free Software Foundation, Inc.
915
916 # This program is free software; you can redistribute it and/or modify
917 # it under the terms of the GNU General Public License as published by
918 # the Free Software Foundation; either version 2, or (at your option)
919 # any later version.
920
921 # This program is distributed in the hope that it will be useful,
922 # but WITHOUT ANY WARRANTY; without even the implied warranty of
923 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
924 # GNU General Public License for more details.
925
926 # You should have received a copy of the GNU General Public License
927 # along with this program; if not, write to the Free Software
928 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
929 # 02111-1307, USA.
930
931 # serial 1
932
785 # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
786 #
787 # This file is free software; the Free Software Foundation
788 # gives unlimited permission to copy and/or distribute it,
789 # with or without modifications, as long as this notice is preserved.
790
791 # serial 2
933792
934793 # _AM_PROG_TAR(FORMAT)
935794 # --------------------
2020 .\" along with cciss_vol_status; if not, write to the Free Software
2121 .\" Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2222 .\"
23 .TH CCISS_VOL_STATUS "8" "March 2007" "cciss_vol_status (ccissutils) " ""
23 .TH CCISS_VOL_STATUS "8" "Nov 2009" "cciss_vol_status (ccissutils) " ""
2424 .SH NAME
2525 cciss_vol_status \- show status of logical drives attached to HP Smartarray controllers
2626 .SH SYNOPSIS
7373 otherwise be missed. This option no longer does anything, as the
7474 algorithm for finding logical drives was changed to obviate the
7575 need for it.
76 .SH DEVICE
77 .PP
78 The DEVICE argument indicates which RAID controller is to be queried.
79 Note, that it indicates which RAID controller, not which logical drive.
80 .PP
81 For the cciss driver, the "d0" nodes matching "/dev/cciss/c*d0" are the
82 nodes which correspond to the RAID controllers. (See note 1, below.)
83 It is not necessary to invoke cciss_vol_status on each logical drive
84 individually, though if you do this, each time it will report the
85 status of ALL logical drives on the controller.
86 .PP
87 For the hpsa driver, or for fibre attached MSA1000 family devices, or
88 for the hpahcisr sotware RAID driver which emulates Smart Arrays,
89 the RAID controller
90 is accessed via the scsi generic driver, and the device nodes will
91 match "/dev/sg*" Some variants of the "lsscsi" tool will easily
92 identify which device node corresponds to the RAID controller. Some
93 variants may only report the SCSI nexus (controller/bus/target/lun
94 tuple.) Some distros may not have the lsscsi tool.
95 .PP
96 .br
97 Executing the following query to the /sys filesystem and correlating
98 this with the contents of /proc/scsi/scsi or output of lsscsi
99 can help in finding the right
100 /dev/sg node to use with cciss_vol_status:
101 .PP
102 .nf
103 .LD
104 wumpus:/home/scameron # ls -l /sys/class/scsi_generic/*
105 lrwxrwxrwx 1 root root 0 2009-11-18 12:31 /sys/class/scsi_generic/sg0 -> ../../devices/pci0000:00/0000:00:02.0/0000:02:00.0/0000:03:03.0/host0/target0:0:0/0:0:0:0/scsi_generic/sg0
106 lrwxrwxrwx 1 root root 0 2009-11-18 12:31 /sys/class/scsi_generic/sg1 -> ../../devices/pci0000:00/0000:00:1f.1/host2/target2:0:0/2:0:0:0/scsi_generic/sg1
107 lrwxrwxrwx 1 root root 0 2009-11-19 07:47 /sys/class/scsi_generic/sg2 -> ../../devices/pci0000:00/0000:00:05.0/0000:0e:00.0/host4/target4:3:0/4:3:0:0/scsi_generic/sg2
108 wumpus:/home/scameron # cat /proc/scsi/scsi
109 Attached devices:
110 Host: scsi0 Channel: 00 Id: 00 Lun: 00
111 Vendor: COMPAQ Model: BD03685A24 Rev: HPB6
112 Type: Direct-Access ANSI SCSI revision: 03
113 Host: scsi2 Channel: 00 Id: 00 Lun: 00
114 Vendor: SAMSUNG Model: CD-ROM SC-148A Rev: B408
115 Type: CD-ROM ANSI SCSI revision: 05
116 Host: scsi4 Channel: 03 Id: 00 Lun: 00
117 Vendor: HP Model: P800 Rev: 6.82
118 Type: RAID ANSI SCSI revision: 00
119 wumpus:/home/scameron # lsscsi
120 [0:0:0:0] disk COMPAQ BD03685A24 HPB6 /dev/sda
121 [2:0:0:0] cd/dvd SAMSUNG CD-ROM SC-148A B408 /dev/sr0
122 [4:3:0:0] storage HP P800 6.82 -
123 .DE
124 .fi
125 .PP
126 From the above you can see that /dev/sg2 corresponds to SCSI nexus 4:3:0:0,
127 which corresponds to the HP P800 RAID controller listed in /proc/scsi/scsi.
76128 .SH EXAMPLE
77129 .nf
78130 .LD
79131 [root@somehost]# cciss_vol_status -q /dev/cciss/c*d0
80 /dev/cciss/c0d0: (Smart Array P600) RAID 0 Volume 0 status: OK.
81 /dev/cciss/c0d0: (Smart Array P600) RAID 0 Volume 1 status: OK.
82 /dev/cciss/c0d0: (Smart Array P600) RAID 1 Volume 2 status: OK.
83 /dev/cciss/c0d0: (Smart Array P600) RAID 5 Volume 4 status: OK.
84 /dev/cciss/c0d0: (Smart Array P600) RAID 5 Volume 5 status: OK.
132 /dev/cciss/c0d0: (Smart Array P800) RAID 0 Volume 0 status: OK.
133 /dev/cciss/c0d0: (Smart Array P800) RAID 0 Volume 1 status: OK.
134 /dev/cciss/c0d0: (Smart Array P800) RAID 1 Volume 2 status: OK.
135 /dev/cciss/c0d0: (Smart Array P800) RAID 5 Volume 4 status: OK.
136 /dev/cciss/c0d0: (Smart Array P800) RAID 5 Volume 5 status: OK.
137 /dev/cciss/c0d0: (Smart Array P800) Enclosure MSA60 (S/N: USP6340B3F) on Bus 2, Physical Port 1E status: Power Supply Unit failed
85138 /dev/cciss/c1d0: (Smart Array P800) RAID 5 Volume 0 status: OK.
86139 /dev/cciss/c1d0: (Smart Array P800) RAID 5 Volume 1 status: OK.
87140 /dev/cciss/c1d0: (Smart Array P800) RAID 5 Volume 2 status: OK.
147200 .TP
148201 "Queued for expansion." (12) - The logical drive will be expended
149202 when the controller is able to begin working on it.
203 .PP
204 Additionally, the following messages may appear regarding spare
205 drive status:
206 .PP
207 .nf
208 .LD
209 "At least one spare drive designated"
210 "At least one spare drive activated and currently rebuilding"
211 "At least one activated on-line spare drive is completely rebuilt on this logical drive"
212 "At least one spare drive has failed"
213 "At least one spare drive activated"
214 "At least one spare drive remains available"
215 .DE
216 .fi
217 .PP
218 For each logical drive, the total number of failed
219 physical drives, if more than zero, will be reported as:
220 .TP
221 .nf
222 .LD
223 "Total of n failed physical drives detected on this logical drive."
224 .DE
225 .fi
226 .PP
227 with "n" replaced by the actual number, of course.
228 .PP
229 Additionally failure conditions of disk enclosure fans,
230 power supplies, and temperature are reported as follows:
231 .PP
232 .nf
233 .LD
234 "Fan failed"
235 "Temperature problem"
236 "Door alert"
237 "Power Supply Unit failed"
238 .DE
239 .fi
150240 .SH FILES
151 /dev/cciss/c*d0 (Smart Array PCI controllers)
241 /dev/cciss/c*d0 (Smart Array PCI controllers using the cciss driver)
152242 .br
153 /dev/sg* (Fibre attached MSA1000 controllers)
243 /dev/sg* (Fibre attached MSA1000 controllers and
244 Smart Array controllers using the hpsa driver or
245 hpahcisr software RAID driver.)
154246 .SH EXIT CODES
155247 .TP
156248 0 - All configured logical drives queried have status of "OK."
159251 .SH AUTHOR
160252 Written by Stephen M. Cameron
161253 .SH "REPORTING BUGS"
254 .P
255 MSA500 G1 logical drive numbers may not be reported correctly.
256 .P
257 I've seen enclosure serial numbers contain garbage.
258 .P
162259 Report bugs to <steve.cameron@hp.com>
163260 .SH COPYRIGHT
164261 Copyright \(co 2007 Hewlett-Packard Development Company, L.P.
167264 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
168265 .SH "SEE ALSO"
169266 http://cciss.sourceforge.net
267 .SH note 1
268 The /dev/cciss/c*d0 device nodes of the cciss driver do double duty.
269 They serve as an access point to both the RAID controllers, and to the
270 first logical drive of each RAID controller. Notice that a /dev/cciss/c*d0
271 node will be present for each controller even if no logical drives are
272 configured on that controller. It might be cleaner if the driver had
273 a special device node just for the controller, instead of making these
274 device nodes do double duty. It has been like that since the 2.2
275 linux kernel timeframe. At that time, device major and minor nodes
276 were statically allocated at compile time, and were in short supply.
277 Changing this behavior at this point would break lots of userland
278 programs.
279 .FE
5858
5959 #include <inttypes.h>
6060 #include <getopt.h>
61 #include <dirent.h>
6162
6263 #ifdef HAVE_LINUX_CCISS_IOCTL_H
6364 /* Some versions of cciss_ioctl.h contain a "__user" attribute which
115116 { 0x3215103C, "Smart Array E200i", 0, 1},
116117 { 0x3223103C, "Smart Array P800", 0, 1},
117118 { 0x3237103c, "Smart Array E500", 0, 1},
119 { 0x323D103C, "Smart Array P700m", 0, 1},
120 { 0x3241103C, "Smart Array P212", 0, 1},
121 { 0x3243103C, "Smart Array P410", 0, 1},
122 { 0x3245103C, "Smart Array P410i", 0, 1},
123 { 0x3247103C, "Smart Array P411", 0, 1},
124 { 0x3249103C, "Smart Array P812", 0, 1},
118125 { 0xe0110e11, "HP MSA500", 1, 0}, /* aka Smart Array CL */
119126 { 0xe0200e11, "HP MSA500 G2", 1, 0},
127 { 0xe0300e11, "HP MSA20", 1, 0},
128 { 0x3118103c, "HP B110i", 0, 1},
120129 #ifdef HAVE_SCSI_SG_H
121130 { MSA1000_ID, "MSA1000", 1,},
122131 #else
124133 #endif
125134 { 0xFFFFFFFF, "Unknown Smart Array", 0,},
126135 };
136
137 #define ARRAYSIZE(a) (sizeof((a)) / sizeof((a)[0]))
138 #define UNKNOWN_CONTROLLER ARRAYSIZE(smartarray_id)
127139
128140 unsigned long long zero_lun = 0x00ULL;
129141 #define ZEROLUN ((unsigned char *) &zero_lun)
153165 int naddrs;
154166 struct cciss_bmic_addr_t addr[1024]; /* 1024 should do us for awhile */
155167 } cciss_to_bmic;
168
169 /* List of controllers -- not all controllers in the system, just the
170 internal one (e.g. all zero luns, plus externally attached ones --
171 like MSA500. */
172 #define MAX_CONTROLLERS 256 /* this is a ridiculously large number */
173 unsigned char controller_lun_list[MAX_CONTROLLERS][8];
174 int busses_on_this_ctlr[MAX_CONTROLLERS];
175 int num_controllers = 0;
156176
157177 /* See the following documents for information about the hardware
158178 * specific structures used in this program:
193213
194214 const char *spare_drive_status_msg[] = {
195215 /* Corresponds to bits in spare_status field, above */
196 /* bit 0 */ "At least one spare drive",
216 /* bit 0 */ "At least one spare drive designated",
197217 /* bit 1 */ "At least one spare drive activated and currently rebuilding",
198 /* bit 2 */ "At least one spare drive has failed",
199 /* bit 3 */ "At least one spare drive activated",
200 /* bit 4 */ "At least one spare drive remains available",
218 /* bit 2 */ "At least one activated on-line spare drive is completely rebuilt on this logical drive",
219 /* bit 3 */ "At least one spare drive has failed",
220 /* bit 4 */ "At least one spare drive activated",
221 /* bit 5 */ "At least one spare drive remains available",
201222 };
202 #define NSPARE_MSGS (sizeof(spare_drive_status_msg) / sizeof(spare_drive_status_msg[0]))
223
224 #define NSPARE_MSGS ARRAYSIZE(spare_drive_status_msg)
203225
204226 #pragma pack(1)
205227 /* Structure returned by Identify Controller command (0x11) */
323345 #define ID_LOGICAL_DRIVE 0x10
324346 #pragma pack()
325347
348
349 #pragma pack(1)
350 typedef struct alarm_struct_t {
351 uint8_t alarm_status;
352 uint8_t temp_status;
353 uint8_t valid_alarm_bits;
354 uint16_t alarm_count;
355 uint16_t specific_alarm_counts[8];
356 } alarm_struct;
357
358 typedef struct inquiry_data_t {
359 uint8_t peripheral_type;
360 uint8_t rmb;
361 uint8_t versions;
362 uint8_t misc;
363 uint8_t additional_length;
364 uint8_t reserved[2];
365 uint8_t support_bits;
366 uint8_t vendor_id[8];
367 uint8_t product_id[16];
368 uint8_t product_revision[4];
369 } inquiry_data;
370
371 typedef struct sense_bus_param_t {
372 inquiry_data inquiry;
373 uint8_t inquiry_valid;
374 uint32_t installed_drive_map;
375 uint16_t hot_plug_count[32];
376 uint8_t reserved1; /* physical box number? */
377 uint8_t reserved2;
378 alarm_struct alarm_data;
379 uint16_t connection_info; /* 0x01: External Connector is Used? */
380 uint8_t scsi_device_revision;
381 uint8_t fan_status;
382 uint8_t more_inquiry_data[64];
383 uint32_t scsi_device_type;
384 uint32_t bus_bit_map;
385 uint8_t reserved3[8];
386 uint8_t scsi_initiator_id;
387 uint8_t scsi_target_id;
388 uint8_t physical_port[2];
389 uint16_t big_installed_drive_map[8];
390 uint16_t big_bus_bit_map[8];
391 uint16_t big_box_bit_map[8];
392 uint8_t installed_box_map;
393 uint8_t more_connection_info;
394 uint8_t reserved4[2];
395 char chassis_sn[40];
396 } sense_bus_param;
397 #define SENSE_BUS_PARAM 0x65
398 #pragma pack()
399
400
326401 char *progname = "cciss_vol_status";
327402
328403 void usage()
598673 /* 12 */ "Queued for expansion",
599674 };
600675
601 #define MAX_DECODE_STATUS (sizeof(decode_status) / sizeof(decode_status[0]))
676 #define MAX_DECODE_STATUS ARRAYSIZE(decode_status)
602677
603678 void print_volume_status(char *file, int ctlrtype, int volume_number,
604679 ida_id_lstatus *vs, id_ctlr *id, int tolerance_type, int certain)
605680 {
606681 int spare_bit;
682 int i, j, failed_drive_count;
607683 unsigned char raid_level[100];
608684
609685 if (vs->status == 2) {/* This logical drive is not configured, so no status. */
662738 }
663739
664740 printf("\n");
741
742 /* Scan the failed drives map. If any bits set, we're not happy. Note, the
743 * logical drive status may still be zero in this instance, as a spare drive
744 * may have taken over but we don't want to exit with status of zero in such
745 * cases.
746 */
747
748 failed_drive_count = 0;
749 for (i = 0; i < ARRAYSIZE(vs->big_failure_map); i++) {
750 if (vs->big_failure_map[i]) {
751 for (j = 0; j < sizeof(vs->big_failure_map[i]) * 8; j++)
752 if ((1 << j) & vs->big_failure_map[i])
753 failed_drive_count++;
754 }
755 }
756 if (failed_drive_count != 0) {
757 everything_hunky_dory = 0;
758 printf(" Total of %d failed physical drives "
759 "detected on this logical drive.\n",
760 failed_drive_count);
761 }
665762 }
666763
667764 int lookup_controller(uint32_t board_id)
676773 return -1;
677774 }
678775
776 void print_bus_status(char *file, int ctlrtype, int controller_number,
777 int bus_number, sense_bus_param *bus_param)
778 {
779 int alarms;
780 char status[4*60];
781 char enclosure_name[17];
782 char enclosure_sn[41];
783 int i;
784
785 /* check if inquiry was valid (if not, bus does not exist) */
786 if (bus_param->inquiry_valid == 0) return;
787
788 /* prepare enclosure name */
789 strncpy(enclosure_name, bus_param->inquiry.product_id, 16);
790 enclosure_name[16] = '\0';
791 for (i=16-1; i>0; i--)
792 if (enclosure_name[i] == ' ') {
793 enclosure_name[i] = '\0';
794 } else {
795 break;
796 }
797 for (i=0; i<16; i++)
798 if (enclosure_name[i] != ' ')
799 break;
800 strncpy(enclosure_name, enclosure_name+i, 16-i);
801
802 /* prepare enclosure S/N -- sometimes this is screwed up. */
803 /* Eg. 6400 with internal card cage gives back bogus info */
804 /* for me for the serial number. */
805 strncpy(enclosure_sn, bus_param->chassis_sn, 40);
806 enclosure_sn[41] = '\0';
807 for (i=40-1; i>0; i--)
808 if (enclosure_sn[i] == ' ') {
809 enclosure_sn[i] = '\0';
810 } else {
811 break;
812 }
813 for (i=0; i<40; i++)
814 if (enclosure_sn[i] != ' ')
815 break;
816 strncpy(enclosure_sn, enclosure_sn+i, 40-i);
817
818 /* check only for valid alarm bits */
819 alarms = bus_param->alarm_data.alarm_status & bus_param->alarm_data.valid_alarm_bits;
820
821 if (alarms) {
822 everything_hunky_dory = 0;
823
824 status[0] = '\0';
825 if (alarms & 0x1) {
826 /* fan alert */
827 if (strlen(status) > 0) strcat(status, ", ");
828 strcat(status, "Fan failed");
829 }
830 if (alarms & 0x2) {
831 /* temperature alert */
832 if (strlen(status) > 0) strcat(status, ", ");
833 strcat(status, "Temperature problem");
834 }
835 if (alarms & 0x4) {
836 /* door alert */
837 if (strlen(status) > 0) strcat(status, ", ");
838 strcat(status, "Door alert");
839 }
840 if (alarms & 0x8) {
841 /* power supply alert */
842 if (strlen(status) > 0) strcat(status, ", ");
843 strcat(status, "Power Supply Unit failed");
844 }
845 if (strlen(status) == 0) {
846 sprintf(status, "Unknown problem (alarm value: 0x%X, allowed: 0x%X)", bus_param->alarm_data.alarm_status, bus_param->alarm_data.valid_alarm_bits);
847 }
848 } else {
849 strcpy(status, "OK");
850 }
851
852 printf("%s: (%s) Enclosure %s (S/N: %s) on Bus %d, Physical Port %c%c status: %s.\n", file,
853 smartarray_id[ctlrtype].board_name, enclosure_name, enclosure_sn,
854 bus_number, bus_param->physical_port[0], bus_param->physical_port[1],
855 status);
856 }
679857
680858 #ifdef HAVE_SCSI_SG_H
681859
815993 return do_sg_io(fd, cdb, cdblen, buffer, size, direction);
816994 }
817995
996 int inquiry_vendor_model_matches(int fd, char *prod[])
997 {
998 int status;
999 char std_inq[256];
1000 int i;
1001
1002 status = do_inquiry(fd, 0, (unsigned char *) std_inq, 255);
1003 if (status < 0)
1004 return 0;
1005 for (i = 0; prod[i] != NULL; i++) {
1006 if (strncmp(std_inq+8, prod[i], strnlen(prod[i])) == 0)
1007 return 1;
1008 }
1009 return 0;
1010 }
1011
1012 static char *hpahcisr_prod[] = {
1013 "HP B110i",
1014 NULL,
1015 };
1016
1017 static char *hpsa_prod[] = {
1018 "HP P800",
1019 "HP P400",
1020 "HP P700M",
1021 "HP P212",
1022 "HP P410",
1023 "HP P410i",
1024 "HP P411",
1025 "HP P812",
1026 NULL,
1027 };
1028
1029 int is_hpsa(int fd)
1030 {
1031 return inquiry_vendor_model_matches(fd, hpsa_prod);
1032 }
1033
1034 int is_hpahcisr(int fd)
1035 {
1036 return inquiry_vendor_model_matches(fd, hpahcisr_prod);
1037 }
1038
8181039 int is_msa1000(int fd)
8191040 {
8201041 int status;
8321053 return 0;
8331054 }
8341055
1056 #define MAX_CACHED_DEVICE_NODES 2048
1057 static struct serial_number_map {
1058 char *device_node;
1059 char serial_no[16];
1060 } serial_no_map[MAX_CACHED_DEVICE_NODES] = { 0 };
1061 static int ncached_device_nodes = 0;
1062
1063 char *lookup_cached_device_node(char *serial_no)
1064 {
1065 int i;
1066 for (i = 0; i < ncached_device_nodes; i++) {
1067 if (memcmp(serial_no, serial_no_map[i].serial_no, 16) == 0)
1068 return serial_no_map[i].device_node;
1069 }
1070 return NULL;
1071 }
1072
1073 char *lookup_cached_serialno(char *filename)
1074 {
1075 int i;
1076 for (i = 0; i < ncached_device_nodes; i++) {
1077 if (strcmp(filename, serial_no_map[i].device_node) == 0)
1078 return serial_no_map[i].serial_no;
1079 }
1080 return NULL;
1081 }
1082
1083 void cache_device_node(char *device_node, char *serial_no)
1084 {
1085 int i;
1086 for (i = 0; i < ncached_device_nodes; i++) {
1087 if (memcmp(serial_no, serial_no_map[i].serial_no, 16) == 0 &&
1088 strcmp(device_node, serial_no_map[i].device_node) == 0)
1089 /* already cached */
1090 return;
1091 }
1092 if (i >= MAX_CACHED_DEVICE_NODES)
1093 return; /* cache is full. */
1094 ncached_device_nodes = i;
1095 memcpy(serial_no_map[i].serial_no, serial_no, 16);
1096 serial_no_map[i].device_node = malloc(strlen(device_node)+1);
1097 strcpy(serial_no_map[i].device_node, device_node);
1098 }
1099
1100 void free_device_node_cache()
1101 {
1102 int i;
1103 for (i = 0; i < ncached_device_nodes; i++)
1104 if (serial_no_map[i].device_node)
1105 free(serial_no_map[i].device_node);
1106 }
1107
1108 int scsi_device_scandir_filter(const struct dirent *d)
1109 {
1110 int len;
1111
1112 len = strlen(d->d_name);
1113
1114
1115
1116 /* Skip non /dev/sd* devices */
1117 if (strncmp(d->d_name, "sd", 2) != 0)
1118 return 0;
1119
1120 /* Skip partitions. Only hit the whole disk device. */
1121 if (d->d_name[len-1] <= '9' && d->d_name[len-1] >= '0')
1122 return 0;
1123
1124 return 1;
1125 }
1126
1127 /* Given a IDENTIFY LOGICAL DRIVE data, find the matching /dev/sd* */
1128 /* note. "Matching" means, the one with the same serial number. */
1129 static char *unknown_scsi_device = "/dev/???";
1130 void find_scsi_device_node(id_logical_drive *drive_id, char **scsi_device_node)
1131 {
1132 struct dirent **namelist = NULL;
1133 int nents, rc, i, fd;
1134 unsigned char buffer[64];
1135 char filename[1024];
1136 char *device_node;
1137
1138
1139 /* see if we already know the device node for this serialno. Unlikely */
1140 device_node = lookup_cached_device_node(drive_id->unique_volume_id);
1141 if (device_node != NULL) {
1142 *scsi_device_node = malloc(strlen(device_node) + 1);
1143 strcpy(*scsi_device_node, device_node);
1144 return;
1145 }
1146
1147 /* Scan for /dev/sd[a-z]+ device nodes */
1148 *scsi_device_node = unknown_scsi_device;
1149 nents = scandir("/dev", &namelist, scsi_device_scandir_filter, alphasort);
1150 if (nents < 0)
1151 return;
1152
1153 for (i=0;i<nents;i++) { /* for each device node /dev/sd[a-z]+ */
1154 char *sn;
1155 snprintf(filename, 1023, "/dev/%s", namelist[i]->d_name);
1156
1157 /* see if we already know the serial no. */
1158 sn = lookup_cached_serialno(filename);
1159 if (sn != NULL) {
1160 /* see if the serial number matches. */
1161 if (memcmp(sn, drive_id->unique_volume_id, 16) == 0) {
1162 *scsi_device_node = malloc(strlen(filename)+1);
1163 strcpy(*scsi_device_node, filename);
1164 break; /* serial number matches, we're done. */
1165 } else
1166 continue; /* serial number doesn't match. */
1167 }
1168
1169 /* we don't know the serial number for this dev node, find it. */
1170 fd = open(filename, O_RDWR);
1171 if (fd < 0)
1172 continue;
1173
1174 rc = do_inquiry(fd, 0x83, buffer, sizeof(buffer));
1175 if (rc < 0)
1176 continue;
1177
1178 /* remember the serial number for this device node for next time. */
1179 cache_device_node(filename, &buffer[8]);
1180
1181 /* Does it match? */
1182 if (memcmp(&buffer[8], drive_id->unique_volume_id, 16) == 0) {
1183 *scsi_device_node = malloc(strlen(filename)+1);
1184 strcpy(*scsi_device_node, filename);
1185 break; /* matching serial number, we're done. */
1186 }
1187 }
1188
1189 /* free what scandir() allocated. */
1190 for (i=0;i<nents;i++)
1191 free(namelist[i]);
1192 free(namelist);
1193
1194 return;
1195 }
1196
8351197 void msa1000_logical_drive_status(char *file, int fd,
8361198 unsigned int logical_drive, id_ctlr *id)
8371199 {
8391201 ida_id_lstatus ldstatus;
8401202 id_logical_drive drive_id;
8411203 int tolerance_type = -1;
1204 char *scsi_device_node;
8421205
8431206 rc = msa1000_passthru_ioctl(fd, ID_LOGICAL_DRIVE, &drive_id,
8441207 sizeof(drive_id), logical_drive);
8581221 progname, file, id->board_id);
8591222 return;
8601223 }
861 print_volume_status(file, ctlrtype, logical_drive, &ldstatus, id, tolerance_type, 1);
1224 find_scsi_device_node(&drive_id, &scsi_device_node);
1225 print_volume_status(scsi_device_node, ctlrtype, logical_drive, &ldstatus, id, tolerance_type, 1);
1226 if (scsi_device_node != unknown_scsi_device)
1227 free(scsi_device_node);
8621228 }
8631229
8641230 #endif /* ifdef HAVE_SCSI_SG_H */
9601326 inquiry pages accessible via the 8-byte LUN which report the same things
9611327 as are accessible via the old "BMIC way", esp, e.g. SENSE_LOGICAL_DRIVE_STATUS.
9621328 I wonder the same thing myself.
1329
1330 This function has the side effect of filling out controller_lun_list[]
1331 and num_controllers.
9631332
9641333 ***************************************8***************************/
9651334
9821351 int nguessed = 0;
9831352 int rc;
9841353 int i, j, k, m;
1354 int ctlrtype;
9851355
9861356 memset(&cciss_to_bmic, 0, sizeof(cciss_to_bmic));
9871357
10321402 /* Careful, first 8 bytes of physlunlist are a count, not lun */
10331403 memcpy(&physlunlist[luncount+1], ZEROLUN, 8);
10341404 luncount++;
1405 memset(controller_lun_list[0], 0, 8);
1406 num_controllers = 1;
10351407
10361408 for (i=0;i<luncount;i++) { /* For each physical LUN... */
10371409
10851457 fprintf(stderr, "\nSkipping standby/secondary controller.\n");
10861458 continue;
10871459 }
1460
1461 /* Record this controller for later checking of fan/power/temp status */
1462 memcpy(controller_lun_list[num_controllers], (unsigned char *) &physlunlist[i+1], 8);
1463 busses_on_this_ctlr[num_controllers] = id_ctlr_data.scsi_chip_count;
1464
1465 /* For SAS controllers, there's a different way to figure "busses"
1466 * (how many storage boxes can be attached) than using the scsi_chip_count,
1467 * but it's not publically documented. So, I'm just going to use 16 for SAS
1468 * and "unknown" controllers.
1469 */
1470 ctlrtype = lookup_controller(id_ctlr_data.board_id);
1471 if (ctlrtype == -1 || smartarray_id[ctlrtype].supports_sas)
1472 busses_on_this_ctlr[num_controllers] = 16;
1473
1474 num_controllers++;
10881475
10891476 max_possible_drives = id_ctlr_data.usMaxLogicalUnits;
10901477 if (debug) {
11901577 /* Ugh. This is really ugly. MSA500 does not have the */
11911578 /* Unique ID in the identify_logical_drive_data. In that case...sigh... */
11921579 /* just scan through our list of unmatched ones and assign them sequentially */
1193 /* MOST times this will be correct. */
1580 /* MOST times this will be correct. Apparently some other old controllers */
1581 /* have the same problem as well, e.g.: Smart Array 5300 */
11941582
11951583 for (m=0;m<nmissed;m++) {
11961584 for (k=0;k<cciss_to_bmic.naddrs;k++) {
12491637 return 0;
12501638 }
12511639
1640 void setup_sense_bus_params_cmd(IOCTL_Command_struct *c,
1641 unsigned char lunaddr[], unsigned char bus,
1642 sense_bus_param *bus_param)
1643 {
1644 memset(c, 0, sizeof(c));
1645 memcpy(&c->LUN_info, lunaddr, 8);
1646 c->Request.CDBLen = 10;
1647 c->Request.Type.Type = TYPE_CMD;
1648 c->Request.Type.Attribute = ATTR_SIMPLE;
1649 c->Request.Type.Direction = XFER_READ;
1650 c->Request.Timeout = 0;
1651 c->Request.CDB[0] = 0x26; /* 0x26 means "CCISS READ" */
1652 c->Request.CDB[1] = 0; /* logical drive id? */
1653 c->Request.CDB[5] = bus; /* bus id */
1654 c->Request.CDB[6] = SENSE_BUS_PARAM;
1655 c->buf_size = sizeof(*bus_param);
1656 c->Request.CDB[7] = (c->buf_size >> 8) & 0xff;
1657 c->Request.CDB[8] = c->buf_size & 0xff;
1658 c->buf = (unsigned char *) bus_param;
1659 }
1660
1661 int do_sense_bus_parameters(char *file, int fd, unsigned char lunaddr[],
1662 int ctlr, unsigned char bus, sense_bus_param *bus_param)
1663 {
1664 IOCTL_Command_struct c;
1665 int status;
1666
1667 setup_sense_bus_params_cmd(&c, lunaddr, bus, bus_param);
1668 if (debug)
1669 fprintf(stderr, "Getting bus status for bus %d\n", bus);
1670 /* Get bus status */
1671 status = ioctl(fd, CCISS_PASSTHRU, &c);
1672
1673 if (status != 0) {
1674 fprintf(stderr, "%s: %s: ioctl: controller: %d bus: %d %s\n",
1675 progname, file, ctlr, bus, strerror(errno));
1676 /* This really should not ever happen. */
1677 everything_hunky_dory = 0;
1678 return -1;
1679 }
1680
1681 /* This happens when we query busses that don't exist. */
1682 if (c.error_info.CommandStatus == 4) /* 4 means "invalid command" */
1683 return -1;
1684
1685 if (c.error_info.CommandStatus != 0) {
1686 fprintf(stderr, "Error getting status for %s "
1687 "controller: %d bus: %d: Commandstatus is %d\n",
1688 file, ctlr, bus, c.error_info.CommandStatus);
1689 everything_hunky_dory = 0;
1690 return -1;
1691 }
1692 if (debug)
1693 fprintf(stderr, "Status for controller %d bus %d "
1694 "seems to be gettable.\n", ctlr, bus);
1695 return 0;
1696 }
1697
1698 int check_fan_power_temp(char *file, int ctlrtype, int fd, int num_controllers)
1699 {
1700 int i, j;
1701 IOCTL_Command_struct c;
1702 int status;
1703
1704 /* Check the fan/power/temp status of each controller */
1705 for (i = 0; i < num_controllers; i++) {
1706 for (j = 0; j < busses_on_this_ctlr[i]; j++) {
1707 sense_bus_param bus_param;
1708 memset(&bus_param, 0, sizeof(bus_param));
1709 if (do_sense_bus_parameters(file, fd, controller_lun_list[i],
1710 i, j, &bus_param) != 0)
1711 continue;
1712 print_bus_status(file, ctlrtype, i, j, &bus_param);
1713 }
1714 }
1715 }
1716
12521717 int cciss_status(char *file)
12531718 {
12541719
1255 int fd, status, i, rc;
1720 int fd, status, i, j, rc;
12561721 IOCTL_Command_struct c;
12571722 ida_id_lstatus ldstatus;
12581723 id_ctlr id;
12611726 int numluns;
12621727 int bus;
12631728 int foundluns, maxluns, luncount;
1729 int hpsa_driver = 0;
1730 int hpahcisr_driver = 0;
12641731
12651732 fd = open(file, O_RDWR);
12661733 if (fd < 0) {
12771744 rc = ioctl(fd, SCSI_IOCTL_GET_BUS_NUMBER, &bus);
12781745 if (rc == 0) {
12791746 /* It's a SCSI device... maybe it's an MSA1000. */
1280 if (is_msa1000(fd)) {
1747 hpsa_driver = is_hpsa(fd);
1748 if (!hpsa_driver)
1749 hpahcisr_driver = is_hpahcisr(fd);
1750 if (is_msa1000(fd) || hpsa_driver || hpahcisr_driver || try_unknown_devices)
1751 {
12811752 rc = msa1000_passthru_ioctl(fd, ID_CTLR, &id, sizeof(id), 0);
12821753 if (rc < 0) {
12831754 fprintf(stderr, "%s: %s: Can't identify controller, id = 0x%08x.\n",
12891760 numluns = id.num_logical_drives;
12901761 for (i=0;i<numluns;i++) /* We know msa1000 supports only 32 logical drives */
12911762 msa1000_logical_drive_status(file, fd, i, &id);
1763
1764 /* We're not doing fan/temp/power for msa1000 for now. */
1765 if (!hpsa_driver && !hpahcisr_driver)
1766 return 0;
1767
1768 /* Construct mapping of CISS LUN addresses to "the BMIC way" */
1769 rc = init_cciss_to_bmic(file, fd);
1770 if (rc != 0) {
1771 fprintf(stderr, "%s: Internal error, could not construct CISS to BMIC mapping.\n",
1772 progname);
1773 everything_hunky_dory = 0;
1774 return -1;
1775 }
1776 ctlrtype = lookup_controller(id.board_id);
1777 if (ctlrtype < 0)
1778 ctlrtype = UNKNOWN_CONTROLLER;
1779 check_fan_power_temp(file, ctlrtype, fd, num_controllers);
12921780 close(fd);
12931781 return 0;
12941782 }
13961884 cciss_to_bmic.addr[i].tolerance_type,
13971885 cciss_to_bmic.addr[i].certain);
13981886 }
1887
1888 /* Check the fan/power/temp status of each controller */
1889 check_fan_power_temp(file, ctlrtype, fd, num_controllers);
13991890 close(fd);
14001891 return 0;
14011892 }
+3796
-3058
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.59 for cciss_vol_status 1.03.
2 # Generated by GNU Autoconf 2.63 for cciss_vol_status 1.06.
33 #
44 # Report bugs to <smcameron@users.sourceforge.net>.
55 #
6 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
78 # This configure script is free software; the Free Software Foundation
89 # gives unlimited permission to copy, distribute and modify it.
910 ## --------------------- ##
1011 ## M4sh Initialization. ##
1112 ## --------------------- ##
1213
13 # Be Bourne compatible
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
1416 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1517 emulate sh
1618 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1820 # is contrary to our usage. Disable this feature.
1921 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21 set -o posix
22 fi
23 DUALCASE=1; export DUALCASE # for MKS sh
24
25 # Support unset when possible.
26 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
27 as_unset=unset
28 else
29 as_unset=false
30 fi
31
32
33 # Work around bugs in pre-3.0 UWIN ksh.
34 $as_unset ENV MAIL MAILPATH
35 PS1='$ '
36 PS2='> '
37 PS4='+ '
38
39 # NLS nuisances.
40 for as_var in \
41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43 LC_TELEPHONE LC_TIME
44 do
45 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46 eval $as_var=C; export $as_var
47 else
48 $as_unset $as_var
49 fi
50 done
51
52 # Required to use basename.
53 if expr a : '\(a\)' >/dev/null 2>&1; then
54 as_expr=expr
55 else
56 as_expr=false
57 fi
58
59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
60 as_basename=basename
61 else
62 as_basename=false
63 fi
64
65
66 # Name of the executable.
67 as_me=`$as_basename "$0" ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69 X"$0" : 'X\(//\)$' \| \
70 X"$0" : 'X\(/\)$' \| \
71 . : '\(.\)' 2>/dev/null ||
72 echo X/"$0" |
73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74 /^X\/\(\/\/\)$/{ s//\1/; q; }
75 /^X\/\(\/\).*/{ s//\1/; q; }
76 s/.*/./; q'`
77
78
79 # PATH needs CR, and LINENO needs CR and PATH.
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in
25 *posix*) set -o posix ;;
26 esac
27
28 fi
29
30
31
32
33 # PATH needs CR
8034 # Avoid depending upon Character Ranges.
8135 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8236 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8438 as_cr_digits='0123456789'
8539 as_cr_alnum=$as_cr_Letters$as_cr_digits
8640
41 as_nl='
42 '
43 export as_nl
44 # Printing a long string crashes Solaris 7 /usr/bin/printf.
45 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
48 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='printf %s\n'
50 as_echo_n='printf %s'
51 else
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
55 else
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 as_echo_n_body='eval
58 arg=$1;
59 case $arg in
60 *"$as_nl"*)
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 esac;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 '
66 export as_echo_n_body
67 as_echo_n='sh -c $as_echo_n_body as_echo'
68 fi
69 export as_echo_body
70 as_echo='sh -c $as_echo_body as_echo'
71 fi
72
8773 # The user is always right.
8874 if test "${PATH_SEPARATOR+set}" != set; then
89 echo "#! /bin/sh" >conf$$.sh
90 echo "exit 0" >>conf$$.sh
91 chmod +x conf$$.sh
92 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
93 PATH_SEPARATOR=';'
94 else
95 PATH_SEPARATOR=:
96 fi
97 rm -f conf$$.sh
98 fi
99
100
101 as_lineno_1=$LINENO
102 as_lineno_2=$LINENO
103 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
104 test "x$as_lineno_1" != "x$as_lineno_2" &&
105 test "x$as_lineno_3" = "x$as_lineno_2" || {
106 # Find who we are. Look in the path if we contain no path at all
107 # relative or not.
108 case $0 in
109 *[\\/]* ) as_myself=$0 ;;
110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75 PATH_SEPARATOR=:
76 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78 PATH_SEPARATOR=';'
79 }
80 fi
81
82 # Support unset when possible.
83 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
84 as_unset=unset
85 else
86 as_unset=false
87 fi
88
89
90 # IFS
91 # We need space, tab and new line, in precisely that order. Quoting is
92 # there to prevent editors from complaining about space-tab.
93 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
94 # splitting by setting IFS to empty value.)
95 IFS=" "" $as_nl"
96
97 # Find who we are. Look in the path if we contain no directory separator.
98 case $0 in
99 *[\\/]* ) as_myself=$0 ;;
100 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
111101 for as_dir in $PATH
112102 do
113103 IFS=$as_save_IFS
114104 test -z "$as_dir" && as_dir=.
115105 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116106 done
117
118 ;;
119 esac
120 # We did not find ourselves, most probably we were run as `sh COMMAND'
121 # in which case we are not to be found in the path.
122 if test "x$as_myself" = x; then
123 as_myself=$0
124 fi
125 if test ! -f "$as_myself"; then
126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127 { (exit 1); exit 1; }; }
128 fi
129 case $CONFIG_SHELL in
130 '')
107 IFS=$as_save_IFS
108
109 ;;
110 esac
111 # We did not find ourselves, most probably we were run as `sh COMMAND'
112 # in which case we are not to be found in the path.
113 if test "x$as_myself" = x; then
114 as_myself=$0
115 fi
116 if test ! -f "$as_myself"; then
117 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 { (exit 1); exit 1; }
119 fi
120
121 # Work around bugs in pre-3.0 UWIN ksh.
122 for as_var in ENV MAIL MAILPATH
123 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # Required to use basename.
136 if expr a : '\(a\)' >/dev/null 2>&1 &&
137 test "X`expr 00001 : '.*\(...\)'`" = X001; then
138 as_expr=expr
139 else
140 as_expr=false
141 fi
142
143 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
144 as_basename=basename
145 else
146 as_basename=false
147 fi
148
149
150 # Name of the executable.
151 as_me=`$as_basename -- "$0" ||
152 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
153 X"$0" : 'X\(//\)$' \| \
154 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 $as_echo X/"$0" |
156 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 s//\1/
158 q
159 }
160 /^X\/\(\/\/\)$/{
161 s//\1/
162 q
163 }
164 /^X\/\(\/\).*/{
165 s//\1/
166 q
167 }
168 s/.*/./; q'`
169
170 # CDPATH.
171 $as_unset CDPATH
172
173
174 if test "x$CONFIG_SHELL" = x; then
175 if (eval ":") 2>/dev/null; then
176 as_have_required=yes
177 else
178 as_have_required=no
179 fi
180
181 if test $as_have_required = yes && (eval ":
182 (as_func_return () {
183 (exit \$1)
184 }
185 as_func_success () {
186 as_func_return 0
187 }
188 as_func_failure () {
189 as_func_return 1
190 }
191 as_func_ret_success () {
192 return 0
193 }
194 as_func_ret_failure () {
195 return 1
196 }
197
198 exitcode=0
199 if as_func_success; then
200 :
201 else
202 exitcode=1
203 echo as_func_success failed.
204 fi
205
206 if as_func_failure; then
207 exitcode=1
208 echo as_func_failure succeeded.
209 fi
210
211 if as_func_ret_success; then
212 :
213 else
214 exitcode=1
215 echo as_func_ret_success failed.
216 fi
217
218 if as_func_ret_failure; then
219 exitcode=1
220 echo as_func_ret_failure succeeded.
221 fi
222
223 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
224 :
225 else
226 exitcode=1
227 echo positional parameters were not saved.
228 fi
229
230 test \$exitcode = 0) || { (exit 1); exit 1; }
231
232 (
233 as_lineno_1=\$LINENO
234 as_lineno_2=\$LINENO
235 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
236 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
237 ") 2> /dev/null; then
238 :
239 else
240 as_candidate_shells=
131241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132242 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133243 do
134244 IFS=$as_save_IFS
135245 test -z "$as_dir" && as_dir=.
136 for as_base in sh bash ksh sh5; do
137 case $as_dir in
246 case $as_dir in
138247 /*)
139 if ("$as_dir/$as_base" -c '
248 for as_base in sh bash ksh sh5; do
249 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
250 done;;
251 esac
252 done
253 IFS=$as_save_IFS
254
255
256 for as_shell in $as_candidate_shells $SHELL; do
257 # Try only shells that exist, to save several forks.
258 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
259 { ("$as_shell") 2> /dev/null <<\_ASEOF
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 emulate sh
262 NULLCMD=:
263 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
266 setopt NO_GLOB_SUBST
267 else
268 case `(set -o) 2>/dev/null` in
269 *posix*) set -o posix ;;
270 esac
271
272 fi
273
274
275 :
276 _ASEOF
277 }; then
278 CONFIG_SHELL=$as_shell
279 as_have_required=yes
280 if { "$as_shell" 2> /dev/null <<\_ASEOF
281 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
282 emulate sh
283 NULLCMD=:
284 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
285 # is contrary to our usage. Disable this feature.
286 alias -g '${1+"$@"}'='"$@"'
287 setopt NO_GLOB_SUBST
288 else
289 case `(set -o) 2>/dev/null` in
290 *posix*) set -o posix ;;
291 esac
292
293 fi
294
295
296 :
297 (as_func_return () {
298 (exit $1)
299 }
300 as_func_success () {
301 as_func_return 0
302 }
303 as_func_failure () {
304 as_func_return 1
305 }
306 as_func_ret_success () {
307 return 0
308 }
309 as_func_ret_failure () {
310 return 1
311 }
312
313 exitcode=0
314 if as_func_success; then
315 :
316 else
317 exitcode=1
318 echo as_func_success failed.
319 fi
320
321 if as_func_failure; then
322 exitcode=1
323 echo as_func_failure succeeded.
324 fi
325
326 if as_func_ret_success; then
327 :
328 else
329 exitcode=1
330 echo as_func_ret_success failed.
331 fi
332
333 if as_func_ret_failure; then
334 exitcode=1
335 echo as_func_ret_failure succeeded.
336 fi
337
338 if ( set x; as_func_ret_success y && test x = "$1" ); then
339 :
340 else
341 exitcode=1
342 echo positional parameters were not saved.
343 fi
344
345 test $exitcode = 0) || { (exit 1); exit 1; }
346
347 (
140348 as_lineno_1=$LINENO
141349 as_lineno_2=$LINENO
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143350 test "x$as_lineno_1" != "x$as_lineno_2" &&
144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
145 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
146 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
147 CONFIG_SHELL=$as_dir/$as_base
148 export CONFIG_SHELL
149 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
150 fi;;
151 esac
152 done
153 done
154 ;;
155 esac
351 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
352
353 _ASEOF
354 }; then
355 break
356 fi
357
358 fi
359
360 done
361
362 if test "x$CONFIG_SHELL" != x; then
363 for as_var in BASH_ENV ENV
364 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
365 done
366 export CONFIG_SHELL
367 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
368 fi
369
370
371 if test $as_have_required = no; then
372 echo This script requires a shell more modern than all the
373 echo shells that I found on your system. Please install a
374 echo modern shell, or manually run the script under such a
375 echo shell if you do have one.
376 { (exit 1); exit 1; }
377 fi
378
379
380 fi
381
382 fi
383
384
385
386 (eval "as_func_return () {
387 (exit \$1)
388 }
389 as_func_success () {
390 as_func_return 0
391 }
392 as_func_failure () {
393 as_func_return 1
394 }
395 as_func_ret_success () {
396 return 0
397 }
398 as_func_ret_failure () {
399 return 1
400 }
401
402 exitcode=0
403 if as_func_success; then
404 :
405 else
406 exitcode=1
407 echo as_func_success failed.
408 fi
409
410 if as_func_failure; then
411 exitcode=1
412 echo as_func_failure succeeded.
413 fi
414
415 if as_func_ret_success; then
416 :
417 else
418 exitcode=1
419 echo as_func_ret_success failed.
420 fi
421
422 if as_func_ret_failure; then
423 exitcode=1
424 echo as_func_ret_failure succeeded.
425 fi
426
427 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
428 :
429 else
430 exitcode=1
431 echo positional parameters were not saved.
432 fi
433
434 test \$exitcode = 0") || {
435 echo No shell found that supports shell functions.
436 echo Please tell bug-autoconf@gnu.org about your system,
437 echo including any error possibly output before this message.
438 echo This can help us improve future autoconf versions.
439 echo Configuration will now proceed without shell functions.
440 }
441
442
443
444 as_lineno_1=$LINENO
445 as_lineno_2=$LINENO
446 test "x$as_lineno_1" != "x$as_lineno_2" &&
447 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
156448
157449 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158450 # uniformly replaced by the line number. The first 'sed' inserts a
159 # line-number line before each line; the second 'sed' does the real
160 # work. The second script uses 'N' to pair each line-number line
161 # with the numbered line, and appends trailing '-' during
162 # substitution so that $LINENO is not a special case at line end.
451 # line-number line after each line using $LINENO; the second 'sed'
452 # does the real work. The second script uses 'N' to pair each
453 # line-number line with the line containing $LINENO, and appends
454 # trailing '-' during substitution so that $LINENO is not a special
455 # case at line end.
163456 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
165 sed '=' <$as_myself |
457 # scripts with optimization help from Paolo Bonzini. Blame Lee
458 # E. McMahon (1931-1989) for sed's syntax. :-)
459 sed -n '
460 p
461 /[$]LINENO/=
462 ' <$as_myself |
166463 sed '
464 s/[$]LINENO.*/&-/
465 t lineno
466 b
467 :lineno
167468 N
168 s,$,-,
169 : loop
170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
469 :loop
470 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
171471 t loop
172 s,-$,,
173 s,^['$as_cr_digits']*\n,,
472 s/-\n.*//
174473 ' >$as_me.lineno &&
175 chmod +x $as_me.lineno ||
176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
474 chmod +x "$as_me.lineno" ||
475 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177476 { (exit 1); exit 1; }; }
178477
179478 # Don't try to exec as it changes $[0], causing all sort of problems
180479 # (the dirname of $[0] is not the place where we might find the
181 # original and so on. Autoconf is especially sensible to this).
182 . ./$as_me.lineno
480 # original and so on. Autoconf is especially sensitive to this).
481 . "./$as_me.lineno"
183482 # Exit status is that of the last command.
184483 exit
185484 }
186485
187486
188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189 *c*,-n*) ECHO_N= ECHO_C='
190 ' ECHO_T=' ' ;;
191 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
192 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
487 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
488 as_dirname=dirname
489 else
490 as_dirname=false
491 fi
492
493 ECHO_C= ECHO_N= ECHO_T=
494 case `echo -n x` in
495 -n*)
496 case `echo 'x\c'` in
497 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
498 *) ECHO_C='\c';;
499 esac;;
500 *)
501 ECHO_N='-n';;
193502 esac
194
195 if expr a : '\(a\)' >/dev/null 2>&1; then
503 if expr a : '\(a\)' >/dev/null 2>&1 &&
504 test "X`expr 00001 : '.*\(...\)'`" = X001; then
196505 as_expr=expr
197506 else
198507 as_expr=false
199508 fi
200509
201510 rm -f conf$$ conf$$.exe conf$$.file
202 echo >conf$$.file
203 if ln -s conf$$.file conf$$ 2>/dev/null; then
204 # We could just check for DJGPP; but this test a) works b) is more generic
205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206 if test -f conf$$.exe; then
207 # Don't use ln at all; we don't have any links
511 if test -d conf$$.dir; then
512 rm -f conf$$.dir/conf$$.file
513 else
514 rm -f conf$$.dir
515 mkdir conf$$.dir 2>/dev/null
516 fi
517 if (echo >conf$$.file) 2>/dev/null; then
518 if ln -s conf$$.file conf$$ 2>/dev/null; then
519 as_ln_s='ln -s'
520 # ... but there are two gotchas:
521 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
522 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
523 # In both cases, we have to default to `cp -p'.
524 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525 as_ln_s='cp -p'
526 elif ln conf$$.file conf$$ 2>/dev/null; then
527 as_ln_s=ln
528 else
208529 as_ln_s='cp -p'
209 else
210 as_ln_s='ln -s'
211530 fi
212 elif ln conf$$.file conf$$ 2>/dev/null; then
213 as_ln_s=ln
214531 else
215532 as_ln_s='cp -p'
216533 fi
217 rm -f conf$$ conf$$.exe conf$$.file
534 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
535 rmdir conf$$.dir 2>/dev/null
218536
219537 if mkdir -p . 2>/dev/null; then
220538 as_mkdir_p=:
223541 as_mkdir_p=false
224542 fi
225543
226 as_executable_p="test -f"
544 if test -x / >/dev/null 2>&1; then
545 as_test_x='test -x'
546 else
547 if ls -dL / >/dev/null 2>&1; then
548 as_ls_L_option=L
549 else
550 as_ls_L_option=
551 fi
552 as_test_x='
553 eval sh -c '\''
554 if test -d "$1"; then
555 test -d "$1/.";
556 else
557 case $1 in
558 -*)set "./$1";;
559 esac;
560 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
561 ???[sx]*):;;*)false;;esac;fi
562 '\'' sh
563 '
564 fi
565 as_executable_p=$as_test_x
227566
228567 # Sed expression to map a string onto a valid CPP name.
229568 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232571 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
233572
234573
235 # IFS
236 # We need space, tab and new line, in precisely that order.
237 as_nl='
238 '
239 IFS=" $as_nl"
240
241 # CDPATH.
242 $as_unset CDPATH
243
574
575 exec 7<&0 </dev/null 6>&1
244576
245577 # Name of the host.
246578 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247579 # so uname gets run too.
248580 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249581
250 exec 6>&1
251
252582 #
253583 # Initializations.
254584 #
255585 ac_default_prefix=/usr/local
586 ac_clean_files=
256587 ac_config_libobj_dir=.
588 LIBOBJS=
257589 cross_compiling=no
258590 subdirs=
259591 MFLAGS=
260592 MAKEFLAGS=
261593 SHELL=${CONFIG_SHELL-/bin/sh}
262594
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
267
268595 # Identity of this package.
269596 PACKAGE_NAME='cciss_vol_status'
270597 PACKAGE_TARNAME='cciss_vol_status'
271 PACKAGE_VERSION='1.03'
272 PACKAGE_STRING='cciss_vol_status 1.03'
598 PACKAGE_VERSION='1.06'
599 PACKAGE_STRING='cciss_vol_status 1.06'
273600 PACKAGE_BUGREPORT='smcameron@users.sourceforge.net'
274601
275602 ac_unique_file="cciss_vol_status.c"
276603 # Factoring default headers for most tests.
277604 ac_includes_default="\
278605 #include <stdio.h>
279 #if HAVE_SYS_TYPES_H
606 #ifdef HAVE_SYS_TYPES_H
280607 # include <sys/types.h>
281608 #endif
282 #if HAVE_SYS_STAT_H
609 #ifdef HAVE_SYS_STAT_H
283610 # include <sys/stat.h>
284611 #endif
285 #if STDC_HEADERS
612 #ifdef STDC_HEADERS
286613 # include <stdlib.h>
287614 # include <stddef.h>
288615 #else
289 # if HAVE_STDLIB_H
616 # ifdef HAVE_STDLIB_H
290617 # include <stdlib.h>
291618 # endif
292619 #endif
293 #if HAVE_STRING_H
294 # if !STDC_HEADERS && HAVE_MEMORY_H
620 #ifdef HAVE_STRING_H
621 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
295622 # include <memory.h>
296623 # endif
297624 # include <string.h>
298625 #endif
299 #if HAVE_STRINGS_H
626 #ifdef HAVE_STRINGS_H
300627 # include <strings.h>
301628 #endif
302 #if HAVE_INTTYPES_H
629 #ifdef HAVE_INTTYPES_H
303630 # include <inttypes.h>
304 #else
305 # if HAVE_STDINT_H
306 # include <stdint.h>
307 # endif
308631 #endif
309 #if HAVE_UNISTD_H
632 #ifdef HAVE_STDINT_H
633 # include <stdint.h>
634 #endif
635 #ifdef HAVE_UNISTD_H
310636 # include <unistd.h>
311637 #endif"
312638
313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LIBOBJS LTLIBOBJS'
639 ac_subst_vars='LTLIBOBJS
640 LIBOBJS
641 EGREP
642 GREP
643 CPP
644 am__fastdepCC_FALSE
645 am__fastdepCC_TRUE
646 CCDEPMODE
647 AMDEPBACKSLASH
648 AMDEP_FALSE
649 AMDEP_TRUE
650 am__quote
651 am__include
652 DEPDIR
653 OBJEXT
654 EXEEXT
655 ac_ct_CC
656 CPPFLAGS
657 LDFLAGS
658 CFLAGS
659 CC
660 am__untar
661 am__tar
662 AMTAR
663 am__leading_dot
664 SET_MAKE
665 AWK
666 mkdir_p
667 MKDIR_P
668 INSTALL_STRIP_PROGRAM
669 STRIP
670 install_sh
671 MAKEINFO
672 AUTOHEADER
673 AUTOMAKE
674 AUTOCONF
675 ACLOCAL
676 VERSION
677 PACKAGE
678 CYGPATH_W
679 am__isrc
680 INSTALL_DATA
681 INSTALL_SCRIPT
682 INSTALL_PROGRAM
683 target_alias
684 host_alias
685 build_alias
686 LIBS
687 ECHO_T
688 ECHO_N
689 ECHO_C
690 DEFS
691 mandir
692 localedir
693 libdir
694 psdir
695 pdfdir
696 dvidir
697 htmldir
698 infodir
699 docdir
700 oldincludedir
701 includedir
702 localstatedir
703 sharedstatedir
704 sysconfdir
705 datadir
706 datarootdir
707 libexecdir
708 sbindir
709 bindir
710 program_transform_name
711 prefix
712 exec_prefix
713 PACKAGE_BUGREPORT
714 PACKAGE_STRING
715 PACKAGE_VERSION
716 PACKAGE_TARNAME
717 PACKAGE_NAME
718 PATH_SEPARATOR
719 SHELL'
314720 ac_subst_files=''
721 ac_user_opts='
722 enable_option_checking
723 enable_dependency_tracking
724 '
725 ac_precious_vars='build_alias
726 host_alias
727 target_alias
728 CC
729 CFLAGS
730 LDFLAGS
731 LIBS
732 CPPFLAGS
733 CPP'
734
315735
316736 # Initialize some variables set by options.
317737 ac_init_help=
318738 ac_init_version=false
739 ac_unrecognized_opts=
740 ac_unrecognized_sep=
319741 # The variables have the same names as the options, with
320742 # dashes changed to underlines.
321743 cache_file=/dev/null
338760 # and all the variables that are supposed to be based on exec_prefix
339761 # by default will actually change.
340762 # Use braces instead of parens because sh, perl, etc. also accept them.
763 # (The list follows the same order as the GNU Coding Standards.)
341764 bindir='${exec_prefix}/bin'
342765 sbindir='${exec_prefix}/sbin'
343766 libexecdir='${exec_prefix}/libexec'
344 datadir='${prefix}/share'
767 datarootdir='${prefix}/share'
768 datadir='${datarootdir}'
345769 sysconfdir='${prefix}/etc'
346770 sharedstatedir='${prefix}/com'
347771 localstatedir='${prefix}/var'
348 libdir='${exec_prefix}/lib'
349772 includedir='${prefix}/include'
350773 oldincludedir='/usr/include'
351 infodir='${prefix}/info'
352 mandir='${prefix}/man'
774 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
775 infodir='${datarootdir}/info'
776 htmldir='${docdir}'
777 dvidir='${docdir}'
778 pdfdir='${docdir}'
779 psdir='${docdir}'
780 libdir='${exec_prefix}/lib'
781 localedir='${datarootdir}/locale'
782 mandir='${datarootdir}/man'
353783
354784 ac_prev=
785 ac_dashdash=
355786 for ac_option
356787 do
357788 # If the previous option needs an argument, assign it.
358789 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
790 eval $ac_prev=\$ac_option
360791 ac_prev=
361792 continue
362793 fi
363794
364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
795 case $ac_option in
796 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
797 *) ac_optarg=yes ;;
798 esac
365799
366800 # Accept the important Cygnus configure options, so we can diagnose typos.
367801
368 case $ac_option in
802 case $ac_dashdash$ac_option in
803 --)
804 ac_dashdash=yes ;;
369805
370806 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371807 ac_prev=bindir ;;
387823 --config-cache | -C)
388824 cache_file=config.cache ;;
389825
390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
826 -datadir | --datadir | --datadi | --datad)
391827 ac_prev=datadir ;;
392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 | --da=*)
828 -datadir=* | --datadir=* | --datadi=* | --datad=*)
394829 datadir=$ac_optarg ;;
395830
831 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
832 | --dataroo | --dataro | --datar)
833 ac_prev=datarootdir ;;
834 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
835 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
836 datarootdir=$ac_optarg ;;
837
396838 -disable-* | --disable-*)
397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
839 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398840 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
841 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
842 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
401843 { (exit 1); exit 1; }; }
402 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
844 ac_useropt_orig=$ac_useropt
845 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
846 case $ac_user_opts in
847 *"
848 "enable_$ac_useropt"
849 "*) ;;
850 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
851 ac_unrecognized_sep=', ';;
852 esac
853 eval enable_$ac_useropt=no ;;
854
855 -docdir | --docdir | --docdi | --doc | --do)
856 ac_prev=docdir ;;
857 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
858 docdir=$ac_optarg ;;
859
860 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
861 ac_prev=dvidir ;;
862 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
863 dvidir=$ac_optarg ;;
404864
405865 -enable-* | --enable-*)
406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
866 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407867 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
869 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
410870 { (exit 1); exit 1; }; }
411 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 case $ac_option in
413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 *) ac_optarg=yes ;;
871 ac_useropt_orig=$ac_useropt
872 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
873 case $ac_user_opts in
874 *"
875 "enable_$ac_useropt"
876 "*) ;;
877 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
878 ac_unrecognized_sep=', ';;
415879 esac
416 eval "enable_$ac_feature='$ac_optarg'" ;;
880 eval enable_$ac_useropt=\$ac_optarg ;;
417881
418882 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419883 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
440904 -host=* | --host=* | --hos=* | --ho=*)
441905 host_alias=$ac_optarg ;;
442906
907 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
908 ac_prev=htmldir ;;
909 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
910 | --ht=*)
911 htmldir=$ac_optarg ;;
912
443913 -includedir | --includedir | --includedi | --included | --include \
444914 | --includ | --inclu | --incl | --inc)
445915 ac_prev=includedir ;;
464934 | --libexe=* | --libex=* | --libe=*)
465935 libexecdir=$ac_optarg ;;
466936
937 -localedir | --localedir | --localedi | --localed | --locale)
938 ac_prev=localedir ;;
939 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
940 localedir=$ac_optarg ;;
941
467942 -localstatedir | --localstatedir | --localstatedi | --localstated \
468 | --localstate | --localstat | --localsta | --localst \
469 | --locals | --local | --loca | --loc | --lo)
943 | --localstate | --localstat | --localsta | --localst | --locals)
470944 ac_prev=localstatedir ;;
471945 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
946 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
474947 localstatedir=$ac_optarg ;;
475948
476949 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
5351008 | --progr-tra=* | --program-tr=* | --program-t=*)
5361009 program_transform_name=$ac_optarg ;;
5371010
1011 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1012 ac_prev=pdfdir ;;
1013 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1014 pdfdir=$ac_optarg ;;
1015
1016 -psdir | --psdir | --psdi | --psd | --ps)
1017 ac_prev=psdir ;;
1018 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1019 psdir=$ac_optarg ;;
1020
5381021 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5391022 | -silent | --silent | --silen | --sile | --sil)
5401023 silent=yes ;;
5851068 ac_init_version=: ;;
5861069
5871070 -with-* | --with-*)
588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1071 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
5891072 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1074 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
5921075 { (exit 1); exit 1; }; }
593 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 case $ac_option in
595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 *) ac_optarg=yes ;;
1076 ac_useropt_orig=$ac_useropt
1077 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078 case $ac_user_opts in
1079 *"
1080 "with_$ac_useropt"
1081 "*) ;;
1082 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1083 ac_unrecognized_sep=', ';;
5971084 esac
598 eval "with_$ac_package='$ac_optarg'" ;;
1085 eval with_$ac_useropt=\$ac_optarg ;;
5991086
6001087 -without-* | --without-*)
601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1088 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
6021089 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1091 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
6051092 { (exit 1); exit 1; }; }
606 ac_package=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
1093 ac_useropt_orig=$ac_useropt
1094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095 case $ac_user_opts in
1096 *"
1097 "with_$ac_useropt"
1098 "*) ;;
1099 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1100 ac_unrecognized_sep=', ';;
1101 esac
1102 eval with_$ac_useropt=no ;;
6081103
6091104 --x)
6101105 # Obsolete; use --with-x.
6241119 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
6251120 x_libraries=$ac_optarg ;;
6261121
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
1122 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
6281123 Try \`$0 --help' for more information." >&2
6291124 { (exit 1); exit 1; }; }
6301125 ;;
6331128 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
6341129 # Reject names that are not valid shell variable names.
6351130 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1131 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
6371132 { (exit 1); exit 1; }; }
638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
1133 eval $ac_envvar=\$ac_optarg
6401134 export $ac_envvar ;;
6411135
6421136 *)
6431137 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1138 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
6451139 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1140 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
6471141 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
6481142 ;;
6491143
6521146
6531147 if test -n "$ac_prev"; then
6541148 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
1149 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
6561150 { (exit 1); exit 1; }; }
6571151 fi
6581152
659 # Be sure to have absolute paths.
660 for ac_var in exec_prefix prefix
1153 if test -n "$ac_unrecognized_opts"; then
1154 case $enable_option_checking in
1155 no) ;;
1156 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1157 { (exit 1); exit 1; }; } ;;
1158 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1159 esac
1160 fi
1161
1162 # Check all directory arguments for consistency.
1163 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1164 datadir sysconfdir sharedstatedir localstatedir includedir \
1165 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1166 libdir localedir mandir
6611167 do
662 eval ac_val=$`echo $ac_var`
1168 eval ac_val=\$$ac_var
1169 # Remove trailing slashes.
6631170 case $ac_val in
664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
1171 */ )
1172 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1173 eval $ac_var=\$ac_val;;
6671174 esac
668 done
669
670 # Be sure to have absolute paths.
671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
673 do
674 eval ac_val=$`echo $ac_var`
1175 # Be sure to have absolute directory names.
6751176 case $ac_val in
676 [\\/$]* | ?:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
1177 [\\/$]* | ?:[\\/]* ) continue;;
1178 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
6791179 esac
1180 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1181 { (exit 1); exit 1; }; }
6801182 done
6811183
6821184 # There might be people who depend on the old broken behavior: `$host'
6901192 if test "x$host_alias" != x; then
6911193 if test "x$build_alias" = x; then
6921194 cross_compiling=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1195 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
6941196 If a cross compiler is detected then cross compile mode will be used." >&2
6951197 elif test "x$build_alias" != "x$host_alias"; then
6961198 cross_compiling=yes
7031205 test "$silent" = yes && exec 6>/dev/null
7041206
7051207
1208 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1209 ac_ls_di=`ls -di .` &&
1210 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1211 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1212 { (exit 1); exit 1; }; }
1213 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1214 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1215 { (exit 1); exit 1; }; }
1216
1217
7061218 # Find the source files, if location was not specified.
7071219 if test -z "$srcdir"; then
7081220 ac_srcdir_defaulted=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
716 echo X"$0" |
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
721 s/.*/./; q'`
1221 # Try the directory containing this script, then the parent directory.
1222 ac_confdir=`$as_dirname -- "$as_myself" ||
1223 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1224 X"$as_myself" : 'X\(//\)[^/]' \| \
1225 X"$as_myself" : 'X\(//\)$' \| \
1226 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1227 $as_echo X"$as_myself" |
1228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1229 s//\1/
1230 q
1231 }
1232 /^X\(\/\/\)[^/].*/{
1233 s//\1/
1234 q
1235 }
1236 /^X\(\/\/\)$/{
1237 s//\1/
1238 q
1239 }
1240 /^X\(\/\).*/{
1241 s//\1/
1242 q
1243 }
1244 s/.*/./; q'`
7221245 srcdir=$ac_confdir
723 if test ! -r $srcdir/$ac_unique_file; then
1246 if test ! -r "$srcdir/$ac_unique_file"; then
7241247 srcdir=..
7251248 fi
7261249 else
7271250 ac_srcdir_defaulted=no
7281251 fi
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1253 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1254 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
7321255 { (exit 1); exit 1; }; }
733 else
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1256 fi
1257 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1258 ac_abs_confdir=`(
1259 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
7351260 { (exit 1); exit 1; }; }
736 fi
737 fi
738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set=${build_alias+set}
743 ac_env_build_alias_value=$build_alias
744 ac_cv_env_build_alias_set=${build_alias+set}
745 ac_cv_env_build_alias_value=$build_alias
746 ac_env_host_alias_set=${host_alias+set}
747 ac_env_host_alias_value=$host_alias
748 ac_cv_env_host_alias_set=${host_alias+set}
749 ac_cv_env_host_alias_value=$host_alias
750 ac_env_target_alias_set=${target_alias+set}
751 ac_env_target_alias_value=$target_alias
752 ac_cv_env_target_alias_set=${target_alias+set}
753 ac_cv_env_target_alias_value=$target_alias
754 ac_env_CC_set=${CC+set}
755 ac_env_CC_value=$CC
756 ac_cv_env_CC_set=${CC+set}
757 ac_cv_env_CC_value=$CC
758 ac_env_CFLAGS_set=${CFLAGS+set}
759 ac_env_CFLAGS_value=$CFLAGS
760 ac_cv_env_CFLAGS_set=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value=$CFLAGS
762 ac_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_env_LDFLAGS_value=$LDFLAGS
764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value=$LDFLAGS
766 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770 ac_env_CPP_set=${CPP+set}
771 ac_env_CPP_value=$CPP
772 ac_cv_env_CPP_set=${CPP+set}
773 ac_cv_env_CPP_value=$CPP
1261 pwd)`
1262 # When building in place, set srcdir=.
1263 if test "$ac_abs_confdir" = "$ac_pwd"; then
1264 srcdir=.
1265 fi
1266 # Remove unnecessary trailing slashes from srcdir.
1267 # Double slashes in file names in object file debugging info
1268 # mess up M-x gdb in Emacs.
1269 case $srcdir in
1270 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1271 esac
1272 for ac_var in $ac_precious_vars; do
1273 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1274 eval ac_env_${ac_var}_value=\$${ac_var}
1275 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1276 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1277 done
7741278
7751279 #
7761280 # Report the --help message.
7791283 # Omit some internal or obsolete options to make the list less imposing.
7801284 # This message is too long to be a string in the A/UX 3.1 sh.
7811285 cat <<_ACEOF
782 \`configure' configures cciss_vol_status 1.03 to adapt to many kinds of systems.
1286 \`configure' configures cciss_vol_status 1.06 to adapt to many kinds of systems.
7831287
7841288 Usage: $0 [OPTION]... [VAR=VALUE]...
7851289
7991303 -n, --no-create do not create output files
8001304 --srcdir=DIR find the sources in DIR [configure dir or \`..']
8011305
802 _ACEOF
803
804 cat <<_ACEOF
8051306 Installation directories:
8061307 --prefix=PREFIX install architecture-independent files in PREFIX
807 [$ac_default_prefix]
1308 [$ac_default_prefix]
8081309 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 [PREFIX]
1310 [PREFIX]
8101311
8111312 By default, \`make install' will install all the files in
8121313 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
8161317 For better control, use the options below.
8171318
8181319 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
1320 --bindir=DIR user executables [EPREFIX/bin]
1321 --sbindir=DIR system admin executables [EPREFIX/sbin]
1322 --libexecdir=DIR program executables [EPREFIX/libexec]
1323 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1324 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1325 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1326 --libdir=DIR object code libraries [EPREFIX/lib]
1327 --includedir=DIR C header files [PREFIX/include]
1328 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1329 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1330 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1331 --infodir=DIR info documentation [DATAROOTDIR/info]
1332 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1333 --mandir=DIR man documentation [DATAROOTDIR/man]
1334 --docdir=DIR documentation root
1335 [DATAROOTDIR/doc/cciss_vol_status]
1336 --htmldir=DIR html documentation [DOCDIR]
1337 --dvidir=DIR dvi documentation [DOCDIR]
1338 --pdfdir=DIR pdf documentation [DOCDIR]
1339 --psdir=DIR ps documentation [DOCDIR]
8311340 _ACEOF
8321341
8331342 cat <<\_ACEOF
8411350
8421351 if test -n "$ac_init_help"; then
8431352 case $ac_init_help in
844 short | recursive ) echo "Configuration of cciss_vol_status 1.03:";;
1353 short | recursive ) echo "Configuration of cciss_vol_status 1.06:";;
8451354 esac
8461355 cat <<\_ACEOF
8471356
8481357 Optional Features:
1358 --disable-option-checking ignore unrecognized --enable/--with options
8491359 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
8501360 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
8511361 --disable-dependency-tracking speeds up one-time build
8561366 CFLAGS C compiler flags
8571367 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
8581368 nonstandard directory <lib dir>
859 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
860 headers in a nonstandard directory <include dir>
1369 LIBS libraries to pass to the linker, e.g. -l<library>
1370 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1371 you have headers in a nonstandard directory <include dir>
8611372 CPP C preprocessor
8621373
8631374 Use these variables to override the choices made by `configure' or to help
8651376
8661377 Report bugs to <smcameron@users.sourceforge.net>.
8671378 _ACEOF
1379 ac_status=$?
8681380 fi
8691381
8701382 if test "$ac_init_help" = "recursive"; then
8711383 # If there are subdirs, report their specific --help.
872 ac_popdir=`pwd`
8731384 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
874 test -d $ac_dir || continue
1385 test -d "$ac_dir" ||
1386 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1387 continue
8751388 ac_builddir=.
8761389
877 if test "$ac_dir" != .; then
878 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
879 # A "../" for each directory in $ac_dir_suffix.
880 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
881 else
882 ac_dir_suffix= ac_top_builddir=
883 fi
1390 case "$ac_dir" in
1391 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1392 *)
1393 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1394 # A ".." for each directory in $ac_dir_suffix.
1395 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1396 case $ac_top_builddir_sub in
1397 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1398 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1399 esac ;;
1400 esac
1401 ac_abs_top_builddir=$ac_pwd
1402 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1403 # for backward compatibility:
1404 ac_top_builddir=$ac_top_build_prefix
8841405
8851406 case $srcdir in
886 .) # No --srcdir option. We are building in place.
1407 .) # We are building in place.
8871408 ac_srcdir=.
888 if test -z "$ac_top_builddir"; then
889 ac_top_srcdir=.
1409 ac_top_srcdir=$ac_top_builddir_sub
1410 ac_abs_top_srcdir=$ac_pwd ;;
1411 [\\/]* | ?:[\\/]* ) # Absolute name.
1412 ac_srcdir=$srcdir$ac_dir_suffix;
1413 ac_top_srcdir=$srcdir
1414 ac_abs_top_srcdir=$srcdir ;;
1415 *) # Relative name.
1416 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1417 ac_top_srcdir=$ac_top_build_prefix$srcdir
1418 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1419 esac
1420 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1421
1422 cd "$ac_dir" || { ac_status=$?; continue; }
1423 # Check for guested configure.
1424 if test -f "$ac_srcdir/configure.gnu"; then
1425 echo &&
1426 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1427 elif test -f "$ac_srcdir/configure"; then
1428 echo &&
1429 $SHELL "$ac_srcdir/configure" --help=recursive
8901430 else
891 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
892 fi ;;
893 [\\/]* | ?:[\\/]* ) # Absolute path.
894 ac_srcdir=$srcdir$ac_dir_suffix;
895 ac_top_srcdir=$srcdir ;;
896 *) # Relative path.
897 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
898 ac_top_srcdir=$ac_top_builddir$srcdir ;;
899 esac
900
901 # Do not use `cd foo && pwd` to compute absolute paths, because
902 # the directories may not exist.
903 case `pwd` in
904 .) ac_abs_builddir="$ac_dir";;
905 *)
906 case "$ac_dir" in
907 .) ac_abs_builddir=`pwd`;;
908 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
909 *) ac_abs_builddir=`pwd`/"$ac_dir";;
910 esac;;
911 esac
912 case $ac_abs_builddir in
913 .) ac_abs_top_builddir=${ac_top_builddir}.;;
914 *)
915 case ${ac_top_builddir}. in
916 .) ac_abs_top_builddir=$ac_abs_builddir;;
917 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
918 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
919 esac;;
920 esac
921 case $ac_abs_builddir in
922 .) ac_abs_srcdir=$ac_srcdir;;
923 *)
924 case $ac_srcdir in
925 .) ac_abs_srcdir=$ac_abs_builddir;;
926 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
927 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
928 esac;;
929 esac
930 case $ac_abs_builddir in
931 .) ac_abs_top_srcdir=$ac_top_srcdir;;
932 *)
933 case $ac_top_srcdir in
934 .) ac_abs_top_srcdir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
936 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
937 esac;;
938 esac
939
940 cd $ac_dir
941 # Check for guested configure; otherwise get Cygnus style configure.
942 if test -f $ac_srcdir/configure.gnu; then
943 echo
944 $SHELL $ac_srcdir/configure.gnu --help=recursive
945 elif test -f $ac_srcdir/configure; then
946 echo
947 $SHELL $ac_srcdir/configure --help=recursive
948 elif test -f $ac_srcdir/configure.ac ||
949 test -f $ac_srcdir/configure.in; then
950 echo
951 $ac_configure --help
952 else
953 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
954 fi
955 cd $ac_popdir
1431 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1432 fi || ac_status=$?
1433 cd "$ac_pwd" || { ac_status=$?; break; }
9561434 done
9571435 fi
9581436
959 test -n "$ac_init_help" && exit 0
1437 test -n "$ac_init_help" && exit $ac_status
9601438 if $ac_init_version; then
9611439 cat <<\_ACEOF
962 cciss_vol_status configure 1.03
963 generated by GNU Autoconf 2.59
964
965 Copyright (C) 2003 Free Software Foundation, Inc.
1440 cciss_vol_status configure 1.06
1441 generated by GNU Autoconf 2.63
1442
1443 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1444 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9661445 This configure script is free software; the Free Software Foundation
9671446 gives unlimited permission to copy, distribute and modify it.
9681447 _ACEOF
969 exit 0
970 fi
971 exec 5>config.log
972 cat >&5 <<_ACEOF
1448 exit
1449 fi
1450 cat >config.log <<_ACEOF
9731451 This file contains any messages produced by compilers while
9741452 running configure, to aid debugging if configure makes a mistake.
9751453
976 It was created by cciss_vol_status $as_me 1.03, which was
977 generated by GNU Autoconf 2.59. Invocation command line was
1454 It was created by cciss_vol_status $as_me 1.06, which was
1455 generated by GNU Autoconf 2.63. Invocation command line was
9781456
9791457 $ $0 $@
9801458
9811459 _ACEOF
1460 exec 5>>config.log
9821461 {
9831462 cat <<_ASUNAME
9841463 ## --------- ##
9971476 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
9981477 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
9991478 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1000 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1479 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
10011480 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
10021481 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
10031482 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
10091488 do
10101489 IFS=$as_save_IFS
10111490 test -z "$as_dir" && as_dir=.
1012 echo "PATH: $as_dir"
1491 $as_echo "PATH: $as_dir"
10131492 done
1493 IFS=$as_save_IFS
10141494
10151495 } >&5
10161496
10321512 ac_configure_args=
10331513 ac_configure_args0=
10341514 ac_configure_args1=
1035 ac_sep=
10361515 ac_must_keep_next=false
10371516 for ac_pass in 1 2
10381517 do
10431522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10441523 | -silent | --silent | --silen | --sile | --sil)
10451524 continue ;;
1046 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1047 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1525 *\'*)
1526 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10481527 esac
10491528 case $ac_pass in
10501529 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
10651544 -* ) ac_must_keep_next=true ;;
10661545 esac
10671546 fi
1068 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1069 # Get rid of the leading space.
1070 ac_sep=" "
1547 ac_configure_args="$ac_configure_args '$ac_arg'"
10711548 ;;
10721549 esac
10731550 done
10781555 # When interrupted or exit'd, cleanup temporary files, and complete
10791556 # config.log. We remove comments because anyway the quotes in there
10801557 # would cause problems or look ugly.
1081 # WARNING: Be sure not to use single quotes in there, as some shells,
1082 # such as our DU 5.0 friend, will then `close' the trap.
1558 # WARNING: Use '\'' to represent an apostrophe within the trap.
1559 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
10831560 trap 'exit_status=$?
10841561 # Save into config.log some information that might help in debugging.
10851562 {
10921569 _ASBOX
10931570 echo
10941571 # The following way of writing the cache mishandles newlines in values,
1095 {
1572 (
1573 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1574 eval ac_val=\$$ac_var
1575 case $ac_val in #(
1576 *${as_nl}*)
1577 case $ac_var in #(
1578 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1579 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1580 esac
1581 case $ac_var in #(
1582 _ | IFS | as_nl) ;; #(
1583 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1584 *) $as_unset $ac_var ;;
1585 esac ;;
1586 esac
1587 done
10961588 (set) 2>&1 |
1097 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1098 *ac_space=\ *)
1589 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1590 *${as_nl}ac_space=\ *)
10991591 sed -n \
1100 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1101 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1592 "s/'\''/'\''\\\\'\'''\''/g;
1593 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1594 ;; #(
1595 *)
1596 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11021597 ;;
1103 *)
1104 sed -n \
1105 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1106 ;;
1107 esac;
1108 }
1598 esac |
1599 sort
1600 )
11091601 echo
11101602
11111603 cat <<\_ASBOX
11161608 echo
11171609 for ac_var in $ac_subst_vars
11181610 do
1119 eval ac_val=$`echo $ac_var`
1120 echo "$ac_var='"'"'$ac_val'"'"'"
1611 eval ac_val=\$$ac_var
1612 case $ac_val in
1613 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1614 esac
1615 $as_echo "$ac_var='\''$ac_val'\''"
11211616 done | sort
11221617 echo
11231618
11241619 if test -n "$ac_subst_files"; then
11251620 cat <<\_ASBOX
1126 ## ------------- ##
1127 ## Output files. ##
1128 ## ------------- ##
1621 ## ------------------- ##
1622 ## File substitutions. ##
1623 ## ------------------- ##
11291624 _ASBOX
11301625 echo
11311626 for ac_var in $ac_subst_files
11321627 do
1133 eval ac_val=$`echo $ac_var`
1134 echo "$ac_var='"'"'$ac_val'"'"'"
1628 eval ac_val=\$$ac_var
1629 case $ac_val in
1630 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631 esac
1632 $as_echo "$ac_var='\''$ac_val'\''"
11351633 done | sort
11361634 echo
11371635 fi
11431641 ## ----------- ##
11441642 _ASBOX
11451643 echo
1146 sed "/^$/d" confdefs.h | sort
1644 cat confdefs.h
11471645 echo
11481646 fi
11491647 test "$ac_signal" != 0 &&
1150 echo "$as_me: caught signal $ac_signal"
1151 echo "$as_me: exit $exit_status"
1648 $as_echo "$as_me: caught signal $ac_signal"
1649 $as_echo "$as_me: exit $exit_status"
11521650 } >&5
1153 rm -f core *.core &&
1154 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1651 rm -f core *.core core.conftest.* &&
1652 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
11551653 exit $exit_status
1156 ' 0
1654 ' 0
11571655 for ac_signal in 1 2 13 15; do
11581656 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
11591657 done
11601658 ac_signal=0
11611659
11621660 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1163 rm -rf conftest* confdefs.h
1164 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1165 echo >confdefs.h
1661 rm -f -r conftest* confdefs.h
11661662
11671663 # Predefined preprocessor variables.
11681664
11921688
11931689
11941690 # Let the site file select an alternate cache file if it wants to.
1195 # Prefer explicitly selected file to automatically selected ones.
1196 if test -z "$CONFIG_SITE"; then
1197 if test "x$prefix" != xNONE; then
1198 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1199 else
1200 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1201 fi
1202 fi
1203 for ac_site_file in $CONFIG_SITE; do
1691 # Prefer an explicitly selected file to automatically selected ones.
1692 ac_site_file1=NONE
1693 ac_site_file2=NONE
1694 if test -n "$CONFIG_SITE"; then
1695 ac_site_file1=$CONFIG_SITE
1696 elif test "x$prefix" != xNONE; then
1697 ac_site_file1=$prefix/share/config.site
1698 ac_site_file2=$prefix/etc/config.site
1699 else
1700 ac_site_file1=$ac_default_prefix/share/config.site
1701 ac_site_file2=$ac_default_prefix/etc/config.site
1702 fi
1703 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1704 do
1705 test "x$ac_site_file" = xNONE && continue
12041706 if test -r "$ac_site_file"; then
1205 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1206 echo "$as_me: loading site script $ac_site_file" >&6;}
1707 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1708 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
12071709 sed 's/^/| /' "$ac_site_file" >&5
12081710 . "$ac_site_file"
12091711 fi
12131715 # Some versions of bash will fail to source /dev/null (special
12141716 # files actually), so we avoid doing that.
12151717 if test -f "$cache_file"; then
1216 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1217 echo "$as_me: loading cache $cache_file" >&6;}
1718 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1719 $as_echo "$as_me: loading cache $cache_file" >&6;}
12181720 case $cache_file in
1219 [\\/]* | ?:[\\/]* ) . $cache_file;;
1220 *) . ./$cache_file;;
1721 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1722 *) . "./$cache_file";;
12211723 esac
12221724 fi
12231725 else
1224 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1225 echo "$as_me: creating cache $cache_file" >&6;}
1726 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1727 $as_echo "$as_me: creating cache $cache_file" >&6;}
12261728 >$cache_file
12271729 fi
12281730
12291731 # Check that the precious variables saved in the cache have kept the same
12301732 # value.
12311733 ac_cache_corrupted=false
1232 for ac_var in `(set) 2>&1 |
1233 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1734 for ac_var in $ac_precious_vars; do
12341735 eval ac_old_set=\$ac_cv_env_${ac_var}_set
12351736 eval ac_new_set=\$ac_env_${ac_var}_set
1236 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1237 eval ac_new_val="\$ac_env_${ac_var}_value"
1737 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1738 eval ac_new_val=\$ac_env_${ac_var}_value
12381739 case $ac_old_set,$ac_new_set in
12391740 set,)
1240 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1241 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1741 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1742 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
12421743 ac_cache_corrupted=: ;;
12431744 ,set)
1244 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1245 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1745 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1746 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
12461747 ac_cache_corrupted=: ;;
12471748 ,);;
12481749 *)
12491750 if test "x$ac_old_val" != "x$ac_new_val"; then
1250 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1251 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1252 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1253 echo "$as_me: former value: $ac_old_val" >&2;}
1254 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1255 echo "$as_me: current value: $ac_new_val" >&2;}
1256 ac_cache_corrupted=:
1751 # differences in whitespace do not lead to failure.
1752 ac_old_val_w=`echo x $ac_old_val`
1753 ac_new_val_w=`echo x $ac_new_val`
1754 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1755 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1756 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1757 ac_cache_corrupted=:
1758 else
1759 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1760 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1761 eval $ac_var=\$ac_old_val
1762 fi
1763 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1764 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1765 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1766 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
12571767 fi;;
12581768 esac
12591769 # Pass precious variables to config.status.
12601770 if test "$ac_new_set" = set; then
12611771 case $ac_new_val in
1262 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1263 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1772 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
12641773 *) ac_arg=$ac_var=$ac_new_val ;;
12651774 esac
12661775 case " $ac_configure_args " in
12701779 fi
12711780 done
12721781 if $ac_cache_corrupted; then
1273 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1274 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1275 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1276 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1782 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1784 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1785 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1786 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1787 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
12771788 { (exit 1); exit 1; }; }
12781789 fi
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
12791814
12801815 ac_ext=c
12811816 ac_cpp='$CPP $CPPFLAGS'
12851820
12861821
12871822
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313 ac_config_headers="$ac_config_headers config.h"
1314
1315
1316 am__api_version="1.9"
1823 ac_config_headers="$ac_config_headers config.h"
1824
1825
1826 am__api_version='1.10'
1827
13171828 ac_aux_dir=
1318 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1319 if test -f $ac_dir/install-sh; then
1829 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1830 if test -f "$ac_dir/install-sh"; then
13201831 ac_aux_dir=$ac_dir
13211832 ac_install_sh="$ac_aux_dir/install-sh -c"
13221833 break
1323 elif test -f $ac_dir/install.sh; then
1834 elif test -f "$ac_dir/install.sh"; then
13241835 ac_aux_dir=$ac_dir
13251836 ac_install_sh="$ac_aux_dir/install.sh -c"
13261837 break
1327 elif test -f $ac_dir/shtool; then
1838 elif test -f "$ac_dir/shtool"; then
13281839 ac_aux_dir=$ac_dir
13291840 ac_install_sh="$ac_aux_dir/shtool install -c"
13301841 break
13311842 fi
13321843 done
13331844 if test -z "$ac_aux_dir"; then
1334 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1335 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1845 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1846 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
13361847 { (exit 1); exit 1; }; }
13371848 fi
1338 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1339 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1340 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1849
1850 # These three variables are undocumented and unsupported,
1851 # and are intended to be withdrawn in a future Autoconf release.
1852 # They can cause serious problems if a builder's source tree is in a directory
1853 # whose full name contains unusual characters.
1854 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1855 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1856 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1857
13411858
13421859 # Find a good install program. We prefer a C program (faster),
13431860 # so one script is as good as another. But avoid the broken or
13521869 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13531870 # OS/2's system install, which has a completely different semantic
13541871 # ./install, which can be erroneously created by make from ./install.sh.
1355 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1356 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1872 # Reject install programs that cannot install multiple files.
1873 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1874 $as_echo_n "checking for a BSD-compatible install... " >&6; }
13571875 if test -z "$INSTALL"; then
13581876 if test "${ac_cv_path_install+set}" = set; then
1359 echo $ECHO_N "(cached) $ECHO_C" >&6
1877 $as_echo_n "(cached) " >&6
13601878 else
13611879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13621880 for as_dir in $PATH
13751893 # by default.
13761894 for ac_prog in ginstall scoinst install; do
13771895 for ac_exec_ext in '' $ac_executable_extensions; do
1378 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1896 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
13791897 if test $ac_prog = install &&
13801898 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13811899 # AIX install. It has an incompatible calling convention.
13851903 # program-specific install script used by HP pwplus--don't use.
13861904 :
13871905 else
1388 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1389 break 3
1906 rm -rf conftest.one conftest.two conftest.dir
1907 echo one > conftest.one
1908 echo two > conftest.two
1909 mkdir conftest.dir
1910 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1911 test -s conftest.one && test -s conftest.two &&
1912 test -s conftest.dir/conftest.one &&
1913 test -s conftest.dir/conftest.two
1914 then
1915 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1916 break 3
1917 fi
13901918 fi
13911919 fi
13921920 done
13931921 done
13941922 ;;
13951923 esac
1924
13961925 done
1397
1926 IFS=$as_save_IFS
1927
1928 rm -rf conftest.one conftest.two conftest.dir
13981929
13991930 fi
14001931 if test "${ac_cv_path_install+set}" = set; then
14011932 INSTALL=$ac_cv_path_install
14021933 else
1403 # As a last resort, use the slow shell script. We don't cache a
1404 # path for INSTALL within a source directory, because that will
1934 # As a last resort, use the slow shell script. Don't cache a
1935 # value for INSTALL within a source directory, because that will
14051936 # break other packages using the cache if that directory is
1406 # removed, or if the path is relative.
1937 # removed, or if the value is a relative name.
14071938 INSTALL=$ac_install_sh
14081939 fi
14091940 fi
1410 echo "$as_me:$LINENO: result: $INSTALL" >&5
1411 echo "${ECHO_T}$INSTALL" >&6
1941 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1942 $as_echo "$INSTALL" >&6; }
14121943
14131944 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14141945 # It thinks the first close brace ends the variable substitution.
14181949
14191950 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14201951
1421 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1422 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1952 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1953 $as_echo_n "checking whether build environment is sane... " >&6; }
14231954 # Just in case
14241955 sleep 1
14251956 echo timestamp > conftest.file
14421973 # if, for instance, CONFIG_SHELL is bash and it inherits a
14431974 # broken ls alias from the environment. This has actually
14441975 # happened. Such a system could not be considered "sane".
1445 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1976 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
14461977 alias in your environment" >&5
1447 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1978 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
14481979 alias in your environment" >&2;}
14491980 { (exit 1); exit 1; }; }
14501981 fi
14551986 # Ok.
14561987 :
14571988 else
1458 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1989 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
14591990 Check your system clock" >&5
1460 echo "$as_me: error: newly created file is older than distributed files!
1991 $as_echo "$as_me: error: newly created file is older than distributed files!
14611992 Check your system clock" >&2;}
14621993 { (exit 1); exit 1; }; }
14631994 fi
1464 echo "$as_me:$LINENO: result: yes" >&5
1465 echo "${ECHO_T}yes" >&6
1995 { $as_echo "$as_me:$LINENO: result: yes" >&5
1996 $as_echo "yes" >&6; }
14661997 test "$program_prefix" != NONE &&
1467 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1998 program_transform_name="s&^&$program_prefix&;$program_transform_name"
14681999 # Use a double $ so make ignores it.
14692000 test "$program_suffix" != NONE &&
1470 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1471 # Double any \ or $. echo might interpret backslashes.
2001 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2002 # Double any \ or $.
14722003 # By default was `s,x,x', remove it if useless.
1473 cat <<\_ACEOF >conftest.sed
1474 s/[\\$]/&&/g;s/;s,x,x,$//
1475 _ACEOF
1476 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1477 rm conftest.sed
2004 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2005 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
14782006
14792007 # expand $ac_aux_dir to an absolute path
14802008 am_aux_dir=`cd $ac_aux_dir && pwd`
14852013 am_missing_run="$MISSING --run "
14862014 else
14872015 am_missing_run=
1488 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1489 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1490 fi
1491
1492 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1493 # We used to keeping the `.' as first argument, in order to
1494 # allow $(mkdir_p) to be used without argument. As in
1495 # $(mkdir_p) $(somedir)
1496 # where $(somedir) is conditionally defined. However this is wrong
1497 # for two reasons:
1498 # 1. if the package is installed by a user who cannot write `.'
1499 # make install will fail,
1500 # 2. the above comment should most certainly read
1501 # $(mkdir_p) $(DESTDIR)$(somedir)
1502 # so it does not work when $(somedir) is undefined and
1503 # $(DESTDIR) is not.
1504 # To support the latter case, we have to write
1505 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1506 # so the `.' trick is pointless.
1507 mkdir_p='mkdir -p --'
1508 else
1509 # On NextStep and OpenStep, the `mkdir' command does not
1510 # recognize any option. It will interpret all options as
1511 # directories to create, and then abort because `.' already
1512 # exists.
1513 for d in ./-p ./--version;
1514 do
1515 test -d $d && rmdir $d
1516 done
1517 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1518 if test -f "$ac_aux_dir/mkinstalldirs"; then
1519 mkdir_p='$(mkinstalldirs)'
2016 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2017 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2018 fi
2019
2020 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2021 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2022 if test -z "$MKDIR_P"; then
2023 if test "${ac_cv_path_mkdir+set}" = set; then
2024 $as_echo_n "(cached) " >&6
2025 else
2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2027 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2028 do
2029 IFS=$as_save_IFS
2030 test -z "$as_dir" && as_dir=.
2031 for ac_prog in mkdir gmkdir; do
2032 for ac_exec_ext in '' $ac_executable_extensions; do
2033 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2034 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2035 'mkdir (GNU coreutils) '* | \
2036 'mkdir (coreutils) '* | \
2037 'mkdir (fileutils) '4.1*)
2038 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2039 break 3;;
2040 esac
2041 done
2042 done
2043 done
2044 IFS=$as_save_IFS
2045
2046 fi
2047
2048 if test "${ac_cv_path_mkdir+set}" = set; then
2049 MKDIR_P="$ac_cv_path_mkdir -p"
15202050 else
1521 mkdir_p='$(install_sh) -d'
2051 # As a last resort, use the slow shell script. Don't cache a
2052 # value for MKDIR_P within a source directory, because that will
2053 # break other packages using the cache if that directory is
2054 # removed, or if the value is a relative name.
2055 test -d ./--version && rmdir ./--version
2056 MKDIR_P="$ac_install_sh -d"
15222057 fi
15232058 fi
2059 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2060 $as_echo "$MKDIR_P" >&6; }
2061
2062 mkdir_p="$MKDIR_P"
2063 case $mkdir_p in
2064 [\\/$]* | ?:[\\/]*) ;;
2065 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2066 esac
15242067
15252068 for ac_prog in gawk mawk nawk awk
15262069 do
15272070 # Extract the first word of "$ac_prog", so it can be a program name with args.
15282071 set dummy $ac_prog; ac_word=$2
1529 echo "$as_me:$LINENO: checking for $ac_word" >&5
1530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2072 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2073 $as_echo_n "checking for $ac_word... " >&6; }
15312074 if test "${ac_cv_prog_AWK+set}" = set; then
1532 echo $ECHO_N "(cached) $ECHO_C" >&6
2075 $as_echo_n "(cached) " >&6
15332076 else
15342077 if test -n "$AWK"; then
15352078 ac_cv_prog_AWK="$AWK" # Let the user override the test.
15402083 IFS=$as_save_IFS
15412084 test -z "$as_dir" && as_dir=.
15422085 for ac_exec_ext in '' $ac_executable_extensions; do
1543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15442087 ac_cv_prog_AWK="$ac_prog"
1545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2088 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15462089 break 2
15472090 fi
15482091 done
15492092 done
2093 IFS=$as_save_IFS
15502094
15512095 fi
15522096 fi
15532097 AWK=$ac_cv_prog_AWK
15542098 if test -n "$AWK"; then
1555 echo "$as_me:$LINENO: result: $AWK" >&5
1556 echo "${ECHO_T}$AWK" >&6
1557 else
1558 echo "$as_me:$LINENO: result: no" >&5
1559 echo "${ECHO_T}no" >&6
1560 fi
2099 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2100 $as_echo "$AWK" >&6; }
2101 else
2102 { $as_echo "$as_me:$LINENO: result: no" >&5
2103 $as_echo "no" >&6; }
2104 fi
2105
15612106
15622107 test -n "$AWK" && break
15632108 done
15642109
1565 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1566 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1567 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1568 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1569 echo $ECHO_N "(cached) $ECHO_C" >&6
2110 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2111 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2112 set x ${MAKE-make}
2113 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2114 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2115 $as_echo_n "(cached) " >&6
15702116 else
15712117 cat >conftest.make <<\_ACEOF
2118 SHELL = /bin/sh
15722119 all:
1573 @echo 'ac_maketemp="$(MAKE)"'
2120 @echo '@@@%%%=$(MAKE)=@@@%%%'
15742121 _ACEOF
15752122 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1576 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1577 if test -n "$ac_maketemp"; then
1578 eval ac_cv_prog_make_${ac_make}_set=yes
1579 else
1580 eval ac_cv_prog_make_${ac_make}_set=no
1581 fi
2123 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2124 *@@@%%%=?*=@@@%%%*)
2125 eval ac_cv_prog_make_${ac_make}_set=yes;;
2126 *)
2127 eval ac_cv_prog_make_${ac_make}_set=no;;
2128 esac
15822129 rm -f conftest.make
15832130 fi
1584 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1585 echo "$as_me:$LINENO: result: yes" >&5
1586 echo "${ECHO_T}yes" >&6
2131 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2132 { $as_echo "$as_me:$LINENO: result: yes" >&5
2133 $as_echo "yes" >&6; }
15872134 SET_MAKE=
15882135 else
1589 echo "$as_me:$LINENO: result: no" >&5
1590 echo "${ECHO_T}no" >&6
2136 { $as_echo "$as_me:$LINENO: result: no" >&5
2137 $as_echo "no" >&6; }
15912138 SET_MAKE="MAKE=${MAKE-make}"
15922139 fi
15932140
16002147 fi
16012148 rmdir .tst 2>/dev/null
16022149
1603 # test to see if srcdir already configured
1604 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1605 test -f $srcdir/config.status; then
1606 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1607 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2150 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2151 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2152 # is not polluted with repeated "-I."
2153 am__isrc=' -I$(srcdir)'
2154 # test to see if srcdir already configured
2155 if test -f $srcdir/config.status; then
2156 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2157 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
16082158 { (exit 1); exit 1; }; }
2159 fi
16092160 fi
16102161
16112162 # test whether we have cygpath
16202171
16212172 # Define the identity of the package.
16222173 PACKAGE='cciss_vol_status'
1623 VERSION='1.03'
2174 VERSION='1.06'
16242175
16252176
16262177 cat >>confdefs.h <<_ACEOF
16482199
16492200 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
16502201
1651 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2202 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
16522203
16532204 # Installed binaries are usually stripped using `strip' when the user
16542205 # run `make install-strip'. However `strip' might not be the right
16582209 if test -n "$ac_tool_prefix"; then
16592210 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16602211 set dummy ${ac_tool_prefix}strip; ac_word=$2
1661 echo "$as_me:$LINENO: checking for $ac_word" >&5
1662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2212 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2213 $as_echo_n "checking for $ac_word... " >&6; }
16632214 if test "${ac_cv_prog_STRIP+set}" = set; then
1664 echo $ECHO_N "(cached) $ECHO_C" >&6
2215 $as_echo_n "(cached) " >&6
16652216 else
16662217 if test -n "$STRIP"; then
16672218 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16722223 IFS=$as_save_IFS
16732224 test -z "$as_dir" && as_dir=.
16742225 for ac_exec_ext in '' $ac_executable_extensions; do
1675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16762227 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2228 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16782229 break 2
16792230 fi
16802231 done
16812232 done
2233 IFS=$as_save_IFS
16822234
16832235 fi
16842236 fi
16852237 STRIP=$ac_cv_prog_STRIP
16862238 if test -n "$STRIP"; then
1687 echo "$as_me:$LINENO: result: $STRIP" >&5
1688 echo "${ECHO_T}$STRIP" >&6
1689 else
1690 echo "$as_me:$LINENO: result: no" >&5
1691 echo "${ECHO_T}no" >&6
1692 fi
2239 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2240 $as_echo "$STRIP" >&6; }
2241 else
2242 { $as_echo "$as_me:$LINENO: result: no" >&5
2243 $as_echo "no" >&6; }
2244 fi
2245
16932246
16942247 fi
16952248 if test -z "$ac_cv_prog_STRIP"; then
16962249 ac_ct_STRIP=$STRIP
16972250 # Extract the first word of "strip", so it can be a program name with args.
16982251 set dummy strip; ac_word=$2
1699 echo "$as_me:$LINENO: checking for $ac_word" >&5
1700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2252 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2253 $as_echo_n "checking for $ac_word... " >&6; }
17012254 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1702 echo $ECHO_N "(cached) $ECHO_C" >&6
2255 $as_echo_n "(cached) " >&6
17032256 else
17042257 if test -n "$ac_ct_STRIP"; then
17052258 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
17102263 IFS=$as_save_IFS
17112264 test -z "$as_dir" && as_dir=.
17122265 for ac_exec_ext in '' $ac_executable_extensions; do
1713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17142267 ac_cv_prog_ac_ct_STRIP="strip"
1715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2268 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17162269 break 2
17172270 fi
17182271 done
17192272 done
1720
1721 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2273 IFS=$as_save_IFS
2274
17222275 fi
17232276 fi
17242277 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
17252278 if test -n "$ac_ct_STRIP"; then
1726 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1727 echo "${ECHO_T}$ac_ct_STRIP" >&6
1728 else
1729 echo "$as_me:$LINENO: result: no" >&5
1730 echo "${ECHO_T}no" >&6
1731 fi
1732
1733 STRIP=$ac_ct_STRIP
2279 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2280 $as_echo "$ac_ct_STRIP" >&6; }
2281 else
2282 { $as_echo "$as_me:$LINENO: result: no" >&5
2283 $as_echo "no" >&6; }
2284 fi
2285
2286 if test "x$ac_ct_STRIP" = x; then
2287 STRIP=":"
2288 else
2289 case $cross_compiling:$ac_tool_warned in
2290 yes:)
2291 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2292 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2293 ac_tool_warned=yes ;;
2294 esac
2295 STRIP=$ac_ct_STRIP
2296 fi
17342297 else
17352298 STRIP="$ac_cv_prog_STRIP"
17362299 fi
17372300
17382301 fi
1739 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2302 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
17402303
17412304 # We need awk for the "check" target. The system "awk" is bad on
17422305 # some platforms.
17592322 if test -n "$ac_tool_prefix"; then
17602323 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
17612324 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1762 echo "$as_me:$LINENO: checking for $ac_word" >&5
1763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2325 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2326 $as_echo_n "checking for $ac_word... " >&6; }
17642327 if test "${ac_cv_prog_CC+set}" = set; then
1765 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 $as_echo_n "(cached) " >&6
17662329 else
17672330 if test -n "$CC"; then
17682331 ac_cv_prog_CC="$CC" # Let the user override the test.
17732336 IFS=$as_save_IFS
17742337 test -z "$as_dir" && as_dir=.
17752338 for ac_exec_ext in '' $ac_executable_extensions; do
1776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17772340 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17792342 break 2
17802343 fi
17812344 done
17822345 done
2346 IFS=$as_save_IFS
17832347
17842348 fi
17852349 fi
17862350 CC=$ac_cv_prog_CC
17872351 if test -n "$CC"; then
1788 echo "$as_me:$LINENO: result: $CC" >&5
1789 echo "${ECHO_T}$CC" >&6
1790 else
1791 echo "$as_me:$LINENO: result: no" >&5
1792 echo "${ECHO_T}no" >&6
1793 fi
2352 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2353 $as_echo "$CC" >&6; }
2354 else
2355 { $as_echo "$as_me:$LINENO: result: no" >&5
2356 $as_echo "no" >&6; }
2357 fi
2358
17942359
17952360 fi
17962361 if test -z "$ac_cv_prog_CC"; then
17972362 ac_ct_CC=$CC
17982363 # Extract the first word of "gcc", so it can be a program name with args.
17992364 set dummy gcc; ac_word=$2
1800 echo "$as_me:$LINENO: checking for $ac_word" >&5
1801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2365 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2366 $as_echo_n "checking for $ac_word... " >&6; }
18022367 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1803 echo $ECHO_N "(cached) $ECHO_C" >&6
2368 $as_echo_n "(cached) " >&6
18042369 else
18052370 if test -n "$ac_ct_CC"; then
18062371 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
18112376 IFS=$as_save_IFS
18122377 test -z "$as_dir" && as_dir=.
18132378 for ac_exec_ext in '' $ac_executable_extensions; do
1814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18152380 ac_cv_prog_ac_ct_CC="gcc"
1816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18172382 break 2
18182383 fi
18192384 done
18202385 done
2386 IFS=$as_save_IFS
18212387
18222388 fi
18232389 fi
18242390 ac_ct_CC=$ac_cv_prog_ac_ct_CC
18252391 if test -n "$ac_ct_CC"; then
1826 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1827 echo "${ECHO_T}$ac_ct_CC" >&6
1828 else
1829 echo "$as_me:$LINENO: result: no" >&5
1830 echo "${ECHO_T}no" >&6
1831 fi
1832
1833 CC=$ac_ct_CC
2392 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2393 $as_echo "$ac_ct_CC" >&6; }
2394 else
2395 { $as_echo "$as_me:$LINENO: result: no" >&5
2396 $as_echo "no" >&6; }
2397 fi
2398
2399 if test "x$ac_ct_CC" = x; then
2400 CC=""
2401 else
2402 case $cross_compiling:$ac_tool_warned in
2403 yes:)
2404 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2406 ac_tool_warned=yes ;;
2407 esac
2408 CC=$ac_ct_CC
2409 fi
18342410 else
18352411 CC="$ac_cv_prog_CC"
18362412 fi
18372413
18382414 if test -z "$CC"; then
1839 if test -n "$ac_tool_prefix"; then
1840 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2415 if test -n "$ac_tool_prefix"; then
2416 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
18412417 set dummy ${ac_tool_prefix}cc; ac_word=$2
1842 echo "$as_me:$LINENO: checking for $ac_word" >&5
1843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2418 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2419 $as_echo_n "checking for $ac_word... " >&6; }
18442420 if test "${ac_cv_prog_CC+set}" = set; then
1845 echo $ECHO_N "(cached) $ECHO_C" >&6
2421 $as_echo_n "(cached) " >&6
18462422 else
18472423 if test -n "$CC"; then
18482424 ac_cv_prog_CC="$CC" # Let the user override the test.
18532429 IFS=$as_save_IFS
18542430 test -z "$as_dir" && as_dir=.
18552431 for ac_exec_ext in '' $ac_executable_extensions; do
1856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18572433 ac_cv_prog_CC="${ac_tool_prefix}cc"
1858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2434 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18592435 break 2
18602436 fi
18612437 done
18622438 done
2439 IFS=$as_save_IFS
18632440
18642441 fi
18652442 fi
18662443 CC=$ac_cv_prog_CC
18672444 if test -n "$CC"; then
1868 echo "$as_me:$LINENO: result: $CC" >&5
1869 echo "${ECHO_T}$CC" >&6
1870 else
1871 echo "$as_me:$LINENO: result: no" >&5
1872 echo "${ECHO_T}no" >&6
1873 fi
1874
1875 fi
1876 if test -z "$ac_cv_prog_CC"; then
1877 ac_ct_CC=$CC
1878 # Extract the first word of "cc", so it can be a program name with args.
1879 set dummy cc; ac_word=$2
1880 echo "$as_me:$LINENO: checking for $ac_word" >&5
1881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1882 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1883 echo $ECHO_N "(cached) $ECHO_C" >&6
1884 else
1885 if test -n "$ac_ct_CC"; then
1886 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1887 else
1888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889 for as_dir in $PATH
1890 do
1891 IFS=$as_save_IFS
1892 test -z "$as_dir" && as_dir=.
1893 for ac_exec_ext in '' $ac_executable_extensions; do
1894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1895 ac_cv_prog_ac_ct_CC="cc"
1896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897 break 2
2445 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2446 $as_echo "$CC" >&6; }
2447 else
2448 { $as_echo "$as_me:$LINENO: result: no" >&5
2449 $as_echo "no" >&6; }
2450 fi
2451
2452
18982453 fi
1899 done
1900 done
1901
1902 fi
1903 fi
1904 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1905 if test -n "$ac_ct_CC"; then
1906 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1907 echo "${ECHO_T}$ac_ct_CC" >&6
1908 else
1909 echo "$as_me:$LINENO: result: no" >&5
1910 echo "${ECHO_T}no" >&6
1911 fi
1912
1913 CC=$ac_ct_CC
1914 else
1915 CC="$ac_cv_prog_CC"
1916 fi
1917
19182454 fi
19192455 if test -z "$CC"; then
19202456 # Extract the first word of "cc", so it can be a program name with args.
19212457 set dummy cc; ac_word=$2
1922 echo "$as_me:$LINENO: checking for $ac_word" >&5
1923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2458 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2459 $as_echo_n "checking for $ac_word... " >&6; }
19242460 if test "${ac_cv_prog_CC+set}" = set; then
1925 echo $ECHO_N "(cached) $ECHO_C" >&6
2461 $as_echo_n "(cached) " >&6
19262462 else
19272463 if test -n "$CC"; then
19282464 ac_cv_prog_CC="$CC" # Let the user override the test.
19342470 IFS=$as_save_IFS
19352471 test -z "$as_dir" && as_dir=.
19362472 for ac_exec_ext in '' $ac_executable_extensions; do
1937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19382474 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
19392475 ac_prog_rejected=yes
19402476 continue
19412477 fi
19422478 ac_cv_prog_CC="cc"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2479 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19442480 break 2
19452481 fi
19462482 done
19472483 done
2484 IFS=$as_save_IFS
19482485
19492486 if test $ac_prog_rejected = yes; then
19502487 # We found a bogon in the path, so make sure we never use it.
19622499 fi
19632500 CC=$ac_cv_prog_CC
19642501 if test -n "$CC"; then
1965 echo "$as_me:$LINENO: result: $CC" >&5
1966 echo "${ECHO_T}$CC" >&6
1967 else
1968 echo "$as_me:$LINENO: result: no" >&5
1969 echo "${ECHO_T}no" >&6
1970 fi
2502 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2503 $as_echo "$CC" >&6; }
2504 else
2505 { $as_echo "$as_me:$LINENO: result: no" >&5
2506 $as_echo "no" >&6; }
2507 fi
2508
19712509
19722510 fi
19732511 if test -z "$CC"; then
19742512 if test -n "$ac_tool_prefix"; then
1975 for ac_prog in cl
2513 for ac_prog in cl.exe
19762514 do
19772515 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19782516 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1979 echo "$as_me:$LINENO: checking for $ac_word" >&5
1980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2517 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2518 $as_echo_n "checking for $ac_word... " >&6; }
19812519 if test "${ac_cv_prog_CC+set}" = set; then
1982 echo $ECHO_N "(cached) $ECHO_C" >&6
2520 $as_echo_n "(cached) " >&6
19832521 else
19842522 if test -n "$CC"; then
19852523 ac_cv_prog_CC="$CC" # Let the user override the test.
19902528 IFS=$as_save_IFS
19912529 test -z "$as_dir" && as_dir=.
19922530 for ac_exec_ext in '' $ac_executable_extensions; do
1993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19942532 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2533 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19962534 break 2
19972535 fi
19982536 done
19992537 done
2538 IFS=$as_save_IFS
20002539
20012540 fi
20022541 fi
20032542 CC=$ac_cv_prog_CC
20042543 if test -n "$CC"; then
2005 echo "$as_me:$LINENO: result: $CC" >&5
2006 echo "${ECHO_T}$CC" >&6
2007 else
2008 echo "$as_me:$LINENO: result: no" >&5
2009 echo "${ECHO_T}no" >&6
2010 fi
2544 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2545 $as_echo "$CC" >&6; }
2546 else
2547 { $as_echo "$as_me:$LINENO: result: no" >&5
2548 $as_echo "no" >&6; }
2549 fi
2550
20112551
20122552 test -n "$CC" && break
20132553 done
20142554 fi
20152555 if test -z "$CC"; then
20162556 ac_ct_CC=$CC
2017 for ac_prog in cl
2557 for ac_prog in cl.exe
20182558 do
20192559 # Extract the first word of "$ac_prog", so it can be a program name with args.
20202560 set dummy $ac_prog; ac_word=$2
2021 echo "$as_me:$LINENO: checking for $ac_word" >&5
2022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2561 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2562 $as_echo_n "checking for $ac_word... " >&6; }
20232563 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2024 echo $ECHO_N "(cached) $ECHO_C" >&6
2564 $as_echo_n "(cached) " >&6
20252565 else
20262566 if test -n "$ac_ct_CC"; then
20272567 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
20322572 IFS=$as_save_IFS
20332573 test -z "$as_dir" && as_dir=.
20342574 for ac_exec_ext in '' $ac_executable_extensions; do
2035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20362576 ac_cv_prog_ac_ct_CC="$ac_prog"
2037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2577 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20382578 break 2
20392579 fi
20402580 done
20412581 done
2582 IFS=$as_save_IFS
20422583
20432584 fi
20442585 fi
20452586 ac_ct_CC=$ac_cv_prog_ac_ct_CC
20462587 if test -n "$ac_ct_CC"; then
2047 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2048 echo "${ECHO_T}$ac_ct_CC" >&6
2049 else
2050 echo "$as_me:$LINENO: result: no" >&5
2051 echo "${ECHO_T}no" >&6
2052 fi
2588 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2589 $as_echo "$ac_ct_CC" >&6; }
2590 else
2591 { $as_echo "$as_me:$LINENO: result: no" >&5
2592 $as_echo "no" >&6; }
2593 fi
2594
20532595
20542596 test -n "$ac_ct_CC" && break
20552597 done
20562598
2057 CC=$ac_ct_CC
2058 fi
2059
2060 fi
2061
2062
2063 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2599 if test "x$ac_ct_CC" = x; then
2600 CC=""
2601 else
2602 case $cross_compiling:$ac_tool_warned in
2603 yes:)
2604 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2606 ac_tool_warned=yes ;;
2607 esac
2608 CC=$ac_ct_CC
2609 fi
2610 fi
2611
2612 fi
2613
2614
2615 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2617 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
20642618 See \`config.log' for more details." >&5
2065 echo "$as_me: error: no acceptable C compiler found in \$PATH
2619 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
20662620 See \`config.log' for more details." >&2;}
2067 { (exit 1); exit 1; }; }
2621 { (exit 1); exit 1; }; }; }
20682622
20692623 # Provide some information about the compiler.
2070 echo "$as_me:$LINENO:" \
2071 "checking for C compiler version" >&5
2072 ac_compiler=`set X $ac_compile; echo $2`
2073 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2074 (eval $ac_compiler --version </dev/null >&5) 2>&5
2624 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2625 set X $ac_compile
2626 ac_compiler=$2
2627 { (ac_try="$ac_compiler --version >&5"
2628 case "(($ac_try" in
2629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2630 *) ac_try_echo=$ac_try;;
2631 esac
2632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2633 $as_echo "$ac_try_echo") >&5
2634 (eval "$ac_compiler --version >&5") 2>&5
20752635 ac_status=$?
2076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772637 (exit $ac_status); }
2078 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2079 (eval $ac_compiler -v </dev/null >&5) 2>&5
2638 { (ac_try="$ac_compiler -v >&5"
2639 case "(($ac_try" in
2640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2641 *) ac_try_echo=$ac_try;;
2642 esac
2643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2644 $as_echo "$ac_try_echo") >&5
2645 (eval "$ac_compiler -v >&5") 2>&5
20802646 ac_status=$?
2081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822648 (exit $ac_status); }
2083 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2084 (eval $ac_compiler -V </dev/null >&5) 2>&5
2649 { (ac_try="$ac_compiler -V >&5"
2650 case "(($ac_try" in
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2653 esac
2654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2655 $as_echo "$ac_try_echo") >&5
2656 (eval "$ac_compiler -V >&5") 2>&5
20852657 ac_status=$?
2086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20872659 (exit $ac_status); }
20882660
20892661 cat >conftest.$ac_ext <<_ACEOF
21022674 }
21032675 _ACEOF
21042676 ac_clean_files_save=$ac_clean_files
2105 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2677 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
21062678 # Try to create an executable without -o first, disregard a.out.
21072679 # It will help us diagnose broken compilers, and finding out an intuition
21082680 # of exeext.
2109 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2110 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2111 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2112 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2113 (eval $ac_link_default) 2>&5
2681 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2682 $as_echo_n "checking for C compiler default output file name... " >&6; }
2683 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2684
2685 # The possible output files:
2686 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2687
2688 ac_rmfiles=
2689 for ac_file in $ac_files
2690 do
2691 case $ac_file in
2692 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2693 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2694 esac
2695 done
2696 rm -f $ac_rmfiles
2697
2698 if { (ac_try="$ac_link_default"
2699 case "(($ac_try" in
2700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2701 *) ac_try_echo=$ac_try;;
2702 esac
2703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2704 $as_echo "$ac_try_echo") >&5
2705 (eval "$ac_link_default") 2>&5
21142706 ac_status=$?
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162708 (exit $ac_status); }; then
2117 # Find the output, starting from the most likely. This scheme is
2118 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2119 # resort.
2120
2121 # Be careful to initialize this variable, since it used to be cached.
2122 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2123 ac_cv_exeext=
2124 # b.out is created by i960 compilers.
2125 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2709 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2710 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2711 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2712 # so that the user can short-circuit this test for compilers unknown to
2713 # Autoconf.
2714 for ac_file in $ac_files ''
21262715 do
21272716 test -f "$ac_file" || continue
21282717 case $ac_file in
2129 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2130 ;;
2131 conftest.$ac_ext )
2132 # This is the source file.
2718 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
21332719 ;;
21342720 [ab].out )
21352721 # We found the default executable, but exeext='' is most
21362722 # certainly right.
21372723 break;;
21382724 *.* )
2139 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2140 # FIXME: I believe we export ac_cv_exeext for Libtool,
2141 # but it would be cool to find out if it's true. Does anybody
2142 # maintain Libtool? --akim.
2143 export ac_cv_exeext
2725 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2726 then :; else
2727 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2728 fi
2729 # We set ac_cv_exeext here because the later test for it is not
2730 # safe: cross compilers may not add the suffix if given an `-o'
2731 # argument, so we may need to know it at that point already.
2732 # Even if this section looks crufty: it has the advantage of
2733 # actually working.
21442734 break;;
21452735 * )
21462736 break;;
21472737 esac
21482738 done
2149 else
2150 echo "$as_me: failed program was:" >&5
2739 test "$ac_cv_exeext" = no && ac_cv_exeext=
2740
2741 else
2742 ac_file=''
2743 fi
2744
2745 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2746 $as_echo "$ac_file" >&6; }
2747 if test -z "$ac_file"; then
2748 $as_echo "$as_me: failed program was:" >&5
21512749 sed 's/^/| /' conftest.$ac_ext >&5
21522750
2153 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2751 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2753 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
21542754 See \`config.log' for more details." >&5
2155 echo "$as_me: error: C compiler cannot create executables
2755 $as_echo "$as_me: error: C compiler cannot create executables
21562756 See \`config.log' for more details." >&2;}
2157 { (exit 77); exit 77; }; }
2757 { (exit 77); exit 77; }; }; }
21582758 fi
21592759
21602760 ac_exeext=$ac_cv_exeext
2161 echo "$as_me:$LINENO: result: $ac_file" >&5
2162 echo "${ECHO_T}$ac_file" >&6
2163
2164 # Check the compiler produces executables we can run. If not, either
2761
2762 # Check that the compiler produces executables we can run. If not, either
21652763 # the compiler is broken, or we cross compile.
2166 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2167 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2764 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2765 $as_echo_n "checking whether the C compiler works... " >&6; }
21682766 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
21692767 # If not cross compiling, check that we can run a simple program.
21702768 if test "$cross_compiling" != yes; then
21712769 if { ac_try='./$ac_file'
2172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2173 (eval $ac_try) 2>&5
2770 { (case "(($ac_try" in
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2773 esac
2774 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2775 $as_echo "$ac_try_echo") >&5
2776 (eval "$ac_try") 2>&5
21742777 ac_status=$?
2175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21762779 (exit $ac_status); }; }; then
21772780 cross_compiling=no
21782781 else
21792782 if test "$cross_compiling" = maybe; then
21802783 cross_compiling=yes
21812784 else
2182 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2785 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2787 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
21832788 If you meant to cross compile, use \`--host'.
21842789 See \`config.log' for more details." >&5
2185 echo "$as_me: error: cannot run C compiled programs.
2790 $as_echo "$as_me: error: cannot run C compiled programs.
21862791 If you meant to cross compile, use \`--host'.
21872792 See \`config.log' for more details." >&2;}
2188 { (exit 1); exit 1; }; }
2793 { (exit 1); exit 1; }; }; }
21892794 fi
21902795 fi
21912796 fi
2192 echo "$as_me:$LINENO: result: yes" >&5
2193 echo "${ECHO_T}yes" >&6
2194
2195 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2797 { $as_echo "$as_me:$LINENO: result: yes" >&5
2798 $as_echo "yes" >&6; }
2799
2800 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
21962801 ac_clean_files=$ac_clean_files_save
2197 # Check the compiler produces executables we can run. If not, either
2802 # Check that the compiler produces executables we can run. If not, either
21982803 # the compiler is broken, or we cross compile.
2199 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2200 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2201 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2202 echo "${ECHO_T}$cross_compiling" >&6
2203
2204 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2205 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2207 (eval $ac_link) 2>&5
2804 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2805 $as_echo_n "checking whether we are cross compiling... " >&6; }
2806 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2807 $as_echo "$cross_compiling" >&6; }
2808
2809 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2810 $as_echo_n "checking for suffix of executables... " >&6; }
2811 if { (ac_try="$ac_link"
2812 case "(($ac_try" in
2813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2814 *) ac_try_echo=$ac_try;;
2815 esac
2816 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2817 $as_echo "$ac_try_echo") >&5
2818 (eval "$ac_link") 2>&5
22082819 ac_status=$?
2209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102821 (exit $ac_status); }; then
22112822 # If both `conftest.exe' and `conftest' are `present' (well, observable)
22122823 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
22152826 for ac_file in conftest.exe conftest conftest.*; do
22162827 test -f "$ac_file" || continue
22172828 case $ac_file in
2218 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2829 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
22192830 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2220 export ac_cv_exeext
22212831 break;;
22222832 * ) break;;
22232833 esac
22242834 done
22252835 else
2226 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2836 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2838 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
22272839 See \`config.log' for more details." >&5
2228 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2840 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
22292841 See \`config.log' for more details." >&2;}
2230 { (exit 1); exit 1; }; }
2842 { (exit 1); exit 1; }; }; }
22312843 fi
22322844
22332845 rm -f conftest$ac_cv_exeext
2234 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2235 echo "${ECHO_T}$ac_cv_exeext" >&6
2846 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2847 $as_echo "$ac_cv_exeext" >&6; }
22362848
22372849 rm -f conftest.$ac_ext
22382850 EXEEXT=$ac_cv_exeext
22392851 ac_exeext=$EXEEXT
2240 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2241 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2852 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2853 $as_echo_n "checking for suffix of object files... " >&6; }
22422854 if test "${ac_cv_objext+set}" = set; then
2243 echo $ECHO_N "(cached) $ECHO_C" >&6
2855 $as_echo_n "(cached) " >&6
22442856 else
22452857 cat >conftest.$ac_ext <<_ACEOF
22462858 /* confdefs.h. */
22582870 }
22592871 _ACEOF
22602872 rm -f conftest.o conftest.obj
2261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2262 (eval $ac_compile) 2>&5
2873 if { (ac_try="$ac_compile"
2874 case "(($ac_try" in
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2877 esac
2878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2879 $as_echo "$ac_try_echo") >&5
2880 (eval "$ac_compile") 2>&5
22632881 ac_status=$?
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22652883 (exit $ac_status); }; then
2266 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2884 for ac_file in conftest.o conftest.obj conftest.*; do
2885 test -f "$ac_file" || continue;
22672886 case $ac_file in
2268 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2887 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
22692888 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
22702889 break;;
22712890 esac
22722891 done
22732892 else
2274 echo "$as_me: failed program was:" >&5
2893 $as_echo "$as_me: failed program was:" >&5
22752894 sed 's/^/| /' conftest.$ac_ext >&5
22762895
2277 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2896 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2898 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
22782899 See \`config.log' for more details." >&5
2279 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2900 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
22802901 See \`config.log' for more details." >&2;}
2281 { (exit 1); exit 1; }; }
2902 { (exit 1); exit 1; }; }; }
22822903 fi
22832904
22842905 rm -f conftest.$ac_cv_objext conftest.$ac_ext
22852906 fi
2286 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2287 echo "${ECHO_T}$ac_cv_objext" >&6
2907 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2908 $as_echo "$ac_cv_objext" >&6; }
22882909 OBJEXT=$ac_cv_objext
22892910 ac_objext=$OBJEXT
2290 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2291 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2911 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2912 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
22922913 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2293 echo $ECHO_N "(cached) $ECHO_C" >&6
2914 $as_echo_n "(cached) " >&6
22942915 else
22952916 cat >conftest.$ac_ext <<_ACEOF
22962917 /* confdefs.h. */
23112932 }
23122933 _ACEOF
23132934 rm -f conftest.$ac_objext
2314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2315 (eval $ac_compile) 2>conftest.er1
2935 if { (ac_try="$ac_compile"
2936 case "(($ac_try" in
2937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2938 *) ac_try_echo=$ac_try;;
2939 esac
2940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2941 $as_echo "$ac_try_echo") >&5
2942 (eval "$ac_compile") 2>conftest.er1
23162943 ac_status=$?
23172944 grep -v '^ *+' conftest.er1 >conftest.err
23182945 rm -f conftest.er1
23192946 cat conftest.err >&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); } &&
2322 { ac_try='test -z "$ac_c_werror_flag"
2323 || test ! -s conftest.err'
2324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2325 (eval $ac_try) 2>&5
2326 ac_status=$?
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }; } &&
2329 { ac_try='test -s conftest.$ac_objext'
2330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2331 (eval $ac_try) 2>&5
2332 ac_status=$?
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }; }; then
2947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); } && {
2949 test -z "$ac_c_werror_flag" ||
2950 test ! -s conftest.err
2951 } && test -s conftest.$ac_objext; then
23352952 ac_compiler_gnu=yes
23362953 else
2337 echo "$as_me: failed program was:" >&5
2954 $as_echo "$as_me: failed program was:" >&5
23382955 sed 's/^/| /' conftest.$ac_ext >&5
23392956
2340 ac_compiler_gnu=no
2341 fi
2342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2957 ac_compiler_gnu=no
2958 fi
2959
2960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23432961 ac_cv_c_compiler_gnu=$ac_compiler_gnu
23442962
23452963 fi
2346 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2347 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2348 GCC=`test $ac_compiler_gnu = yes && echo yes`
2964 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2965 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2966 if test $ac_compiler_gnu = yes; then
2967 GCC=yes
2968 else
2969 GCC=
2970 fi
23492971 ac_test_CFLAGS=${CFLAGS+set}
23502972 ac_save_CFLAGS=$CFLAGS
2351 CFLAGS="-g"
2352 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2353 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2973 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2974 $as_echo_n "checking whether $CC accepts -g... " >&6; }
23542975 if test "${ac_cv_prog_cc_g+set}" = set; then
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 else
2357 cat >conftest.$ac_ext <<_ACEOF
2976 $as_echo_n "(cached) " >&6
2977 else
2978 ac_save_c_werror_flag=$ac_c_werror_flag
2979 ac_c_werror_flag=yes
2980 ac_cv_prog_cc_g=no
2981 CFLAGS="-g"
2982 cat >conftest.$ac_ext <<_ACEOF
23582983 /* confdefs.h. */
23592984 _ACEOF
23602985 cat confdefs.h >>conftest.$ac_ext
23702995 }
23712996 _ACEOF
23722997 rm -f conftest.$ac_objext
2373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2374 (eval $ac_compile) 2>conftest.er1
2998 if { (ac_try="$ac_compile"
2999 case "(($ac_try" in
3000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3001 *) ac_try_echo=$ac_try;;
3002 esac
3003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3004 $as_echo "$ac_try_echo") >&5
3005 (eval "$ac_compile") 2>conftest.er1
23753006 ac_status=$?
23763007 grep -v '^ *+' conftest.er1 >conftest.err
23773008 rm -f conftest.er1
23783009 cat conftest.err >&5
2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380 (exit $ac_status); } &&
2381 { ac_try='test -z "$ac_c_werror_flag"
2382 || test ! -s conftest.err'
2383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2384 (eval $ac_try) 2>&5
3010 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); } && {
3012 test -z "$ac_c_werror_flag" ||
3013 test ! -s conftest.err
3014 } && test -s conftest.$ac_objext; then
3015 ac_cv_prog_cc_g=yes
3016 else
3017 $as_echo "$as_me: failed program was:" >&5
3018 sed 's/^/| /' conftest.$ac_ext >&5
3019
3020 CFLAGS=""
3021 cat >conftest.$ac_ext <<_ACEOF
3022 /* confdefs.h. */
3023 _ACEOF
3024 cat confdefs.h >>conftest.$ac_ext
3025 cat >>conftest.$ac_ext <<_ACEOF
3026 /* end confdefs.h. */
3027
3028 int
3029 main ()
3030 {
3031
3032 ;
3033 return 0;
3034 }
3035 _ACEOF
3036 rm -f conftest.$ac_objext
3037 if { (ac_try="$ac_compile"
3038 case "(($ac_try" in
3039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3040 *) ac_try_echo=$ac_try;;
3041 esac
3042 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3043 $as_echo "$ac_try_echo") >&5
3044 (eval "$ac_compile") 2>conftest.er1
23853045 ac_status=$?
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }; } &&
2388 { ac_try='test -s conftest.$ac_objext'
2389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2390 (eval $ac_try) 2>&5
3046 grep -v '^ *+' conftest.er1 >conftest.err
3047 rm -f conftest.er1
3048 cat conftest.err >&5
3049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } && {
3051 test -z "$ac_c_werror_flag" ||
3052 test ! -s conftest.err
3053 } && test -s conftest.$ac_objext; then
3054 :
3055 else
3056 $as_echo "$as_me: failed program was:" >&5
3057 sed 's/^/| /' conftest.$ac_ext >&5
3058
3059 ac_c_werror_flag=$ac_save_c_werror_flag
3060 CFLAGS="-g"
3061 cat >conftest.$ac_ext <<_ACEOF
3062 /* confdefs.h. */
3063 _ACEOF
3064 cat confdefs.h >>conftest.$ac_ext
3065 cat >>conftest.$ac_ext <<_ACEOF
3066 /* end confdefs.h. */
3067
3068 int
3069 main ()
3070 {
3071
3072 ;
3073 return 0;
3074 }
3075 _ACEOF
3076 rm -f conftest.$ac_objext
3077 if { (ac_try="$ac_compile"
3078 case "(($ac_try" in
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3081 esac
3082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3083 $as_echo "$ac_try_echo") >&5
3084 (eval "$ac_compile") 2>conftest.er1
23913085 ac_status=$?
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); }; }; then
3086 grep -v '^ *+' conftest.er1 >conftest.err
3087 rm -f conftest.er1
3088 cat conftest.err >&5
3089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); } && {
3091 test -z "$ac_c_werror_flag" ||
3092 test ! -s conftest.err
3093 } && test -s conftest.$ac_objext; then
23943094 ac_cv_prog_cc_g=yes
23953095 else
2396 echo "$as_me: failed program was:" >&5
3096 $as_echo "$as_me: failed program was:" >&5
23973097 sed 's/^/| /' conftest.$ac_ext >&5
23983098
2399 ac_cv_prog_cc_g=no
2400 fi
2401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2402 fi
2403 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2404 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3099
3100 fi
3101
3102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3103 fi
3104
3105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3106 fi
3107
3108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3109 ac_c_werror_flag=$ac_save_c_werror_flag
3110 fi
3111 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3112 $as_echo "$ac_cv_prog_cc_g" >&6; }
24053113 if test "$ac_test_CFLAGS" = set; then
24063114 CFLAGS=$ac_save_CFLAGS
24073115 elif test $ac_cv_prog_cc_g = yes; then
24173125 CFLAGS=
24183126 fi
24193127 fi
2420 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2421 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2422 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2423 echo $ECHO_N "(cached) $ECHO_C" >&6
2424 else
2425 ac_cv_prog_cc_stdc=no
3128 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3129 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3130 if test "${ac_cv_prog_cc_c89+set}" = set; then
3131 $as_echo_n "(cached) " >&6
3132 else
3133 ac_cv_prog_cc_c89=no
24263134 ac_save_CC=$CC
24273135 cat >conftest.$ac_ext <<_ACEOF
24283136 /* confdefs.h. */
24563164 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
24573165 function prototypes and stuff, but not '\xHH' hex character constants.
24583166 These don't provoke an error unfortunately, instead are silently treated
2459 as 'x'. The following induces an error, until -std1 is added to get
3167 as 'x'. The following induces an error, until -std is added to get
24603168 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
24613169 array size at least. It's necessary to write '\x00'==0 to get something
2462 that's true only with -std1. */
3170 that's true only with -std. */
24633171 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3172
3173 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3174 inside strings and character constants. */
3175 #define FOO(x) 'x'
3176 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
24643177
24653178 int test (int i, double x);
24663179 struct s1 {int (*f) (int a);};
24763189 return 0;
24773190 }
24783191 _ACEOF
2479 # Don't try gcc -ansi; that turns off useful extensions and
2480 # breaks some systems' header files.
2481 # AIX -qlanglvl=ansi
2482 # Ultrix and OSF/1 -std1
2483 # HP-UX 10.20 and later -Ae
2484 # HP-UX older versions -Aa -D_HPUX_SOURCE
2485 # SVR4 -Xc -D__EXTENSIONS__
2486 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3192 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3193 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
24873194 do
24883195 CC="$ac_save_CC $ac_arg"
24893196 rm -f conftest.$ac_objext
2490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2491 (eval $ac_compile) 2>conftest.er1
3197 if { (ac_try="$ac_compile"
3198 case "(($ac_try" in
3199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200 *) ac_try_echo=$ac_try;;
3201 esac
3202 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3203 $as_echo "$ac_try_echo") >&5
3204 (eval "$ac_compile") 2>conftest.er1
24923205 ac_status=$?
24933206 grep -v '^ *+' conftest.er1 >conftest.err
24943207 rm -f conftest.er1
24953208 cat conftest.err >&5
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); } &&
2498 { ac_try='test -z "$ac_c_werror_flag"
2499 || test ! -s conftest.err'
2500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2501 (eval $ac_try) 2>&5
2502 ac_status=$?
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); }; } &&
2505 { ac_try='test -s conftest.$ac_objext'
2506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507 (eval $ac_try) 2>&5
2508 ac_status=$?
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); }; }; then
2511 ac_cv_prog_cc_stdc=$ac_arg
2512 break
2513 else
2514 echo "$as_me: failed program was:" >&5
3209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } && {
3211 test -z "$ac_c_werror_flag" ||
3212 test ! -s conftest.err
3213 } && test -s conftest.$ac_objext; then
3214 ac_cv_prog_cc_c89=$ac_arg
3215 else
3216 $as_echo "$as_me: failed program was:" >&5
25153217 sed 's/^/| /' conftest.$ac_ext >&5
25163218
2517 fi
2518 rm -f conftest.err conftest.$ac_objext
3219
3220 fi
3221
3222 rm -f core conftest.err conftest.$ac_objext
3223 test "x$ac_cv_prog_cc_c89" != "xno" && break
25193224 done
2520 rm -f conftest.$ac_ext conftest.$ac_objext
3225 rm -f conftest.$ac_ext
25213226 CC=$ac_save_CC
25223227
25233228 fi
2524
2525 case "x$ac_cv_prog_cc_stdc" in
2526 x|xno)
2527 echo "$as_me:$LINENO: result: none needed" >&5
2528 echo "${ECHO_T}none needed" >&6 ;;
3229 # AC_CACHE_VAL
3230 case "x$ac_cv_prog_cc_c89" in
3231 x)
3232 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3233 $as_echo "none needed" >&6; } ;;
3234 xno)
3235 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3236 $as_echo "unsupported" >&6; } ;;
25293237 *)
2530 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2531 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2532 CC="$CC $ac_cv_prog_cc_stdc" ;;
3238 CC="$CC $ac_cv_prog_cc_c89"
3239 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3240 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
25333241 esac
25343242
2535 # Some people use a C++ compiler to compile C. Since we use `exit',
2536 # in C++ we need to declare it. In case someone uses the same compiler
2537 # for both compiling C and C++ we need to have the C++ compiler decide
2538 # the declaration of exit, since it's the most demanding environment.
2539 cat >conftest.$ac_ext <<_ACEOF
2540 #ifndef __cplusplus
2541 choke me
2542 #endif
2543 _ACEOF
2544 rm -f conftest.$ac_objext
2545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2546 (eval $ac_compile) 2>conftest.er1
2547 ac_status=$?
2548 grep -v '^ *+' conftest.er1 >conftest.err
2549 rm -f conftest.er1
2550 cat conftest.err >&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); } &&
2553 { ac_try='test -z "$ac_c_werror_flag"
2554 || test ! -s conftest.err'
2555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2556 (eval $ac_try) 2>&5
2557 ac_status=$?
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }; } &&
2560 { ac_try='test -s conftest.$ac_objext'
2561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2562 (eval $ac_try) 2>&5
2563 ac_status=$?
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); }; }; then
2566 for ac_declaration in \
2567 '' \
2568 'extern "C" void std::exit (int) throw (); using std::exit;' \
2569 'extern "C" void std::exit (int); using std::exit;' \
2570 'extern "C" void exit (int) throw ();' \
2571 'extern "C" void exit (int);' \
2572 'void exit (int);'
2573 do
2574 cat >conftest.$ac_ext <<_ACEOF
2575 /* confdefs.h. */
2576 _ACEOF
2577 cat confdefs.h >>conftest.$ac_ext
2578 cat >>conftest.$ac_ext <<_ACEOF
2579 /* end confdefs.h. */
2580 $ac_declaration
2581 #include <stdlib.h>
2582 int
2583 main ()
2584 {
2585 exit (42);
2586 ;
2587 return 0;
2588 }
2589 _ACEOF
2590 rm -f conftest.$ac_objext
2591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2592 (eval $ac_compile) 2>conftest.er1
2593 ac_status=$?
2594 grep -v '^ *+' conftest.er1 >conftest.err
2595 rm -f conftest.er1
2596 cat conftest.err >&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); } &&
2599 { ac_try='test -z "$ac_c_werror_flag"
2600 || test ! -s conftest.err'
2601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602 (eval $ac_try) 2>&5
2603 ac_status=$?
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; } &&
2606 { ac_try='test -s conftest.$ac_objext'
2607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2608 (eval $ac_try) 2>&5
2609 ac_status=$?
2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); }; }; then
2612 :
2613 else
2614 echo "$as_me: failed program was:" >&5
2615 sed 's/^/| /' conftest.$ac_ext >&5
2616
2617 continue
2618 fi
2619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2620 cat >conftest.$ac_ext <<_ACEOF
2621 /* confdefs.h. */
2622 _ACEOF
2623 cat confdefs.h >>conftest.$ac_ext
2624 cat >>conftest.$ac_ext <<_ACEOF
2625 /* end confdefs.h. */
2626 $ac_declaration
2627 int
2628 main ()
2629 {
2630 exit (42);
2631 ;
2632 return 0;
2633 }
2634 _ACEOF
2635 rm -f conftest.$ac_objext
2636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2637 (eval $ac_compile) 2>conftest.er1
2638 ac_status=$?
2639 grep -v '^ *+' conftest.er1 >conftest.err
2640 rm -f conftest.er1
2641 cat conftest.err >&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); } &&
2644 { ac_try='test -z "$ac_c_werror_flag"
2645 || test ! -s conftest.err'
2646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2647 (eval $ac_try) 2>&5
2648 ac_status=$?
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); }; } &&
2651 { ac_try='test -s conftest.$ac_objext'
2652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653 (eval $ac_try) 2>&5
2654 ac_status=$?
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); }; }; then
2657 break
2658 else
2659 echo "$as_me: failed program was:" >&5
2660 sed 's/^/| /' conftest.$ac_ext >&5
2661
2662 fi
2663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2664 done
2665 rm -f conftest*
2666 if test -n "$ac_declaration"; then
2667 echo '#ifdef __cplusplus' >>confdefs.h
2668 echo $ac_declaration >>confdefs.h
2669 echo '#endif' >>confdefs.h
2670 fi
2671
2672 else
2673 echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2675
2676 fi
2677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3243
26783244 ac_ext=c
26793245 ac_cpp='$CPP $CPPFLAGS'
26803246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26823248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26833249 DEPDIR="${am__leading_dot}deps"
26843250
2685 ac_config_commands="$ac_config_commands depfiles"
3251 ac_config_commands="$ac_config_commands depfiles"
26863252
26873253
26883254 am_make=${MAKE-make}
26923258 .PHONY: am__doit
26933259 END
26943260 # If we don't find an include directive, just comment out the code.
2695 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2696 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3261 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3262 $as_echo_n "checking for style of include used by $am_make... " >&6; }
26973263 am__include="#"
26983264 am__quote=
26993265 _am_result=none
27203286 fi
27213287
27223288
2723 echo "$as_me:$LINENO: result: $_am_result" >&5
2724 echo "${ECHO_T}$_am_result" >&6
3289 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3290 $as_echo "$_am_result" >&6; }
27253291 rm -f confinc confmf
27263292
2727 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3293 # Check whether --enable-dependency-tracking was given.
27283294 if test "${enable_dependency_tracking+set}" = set; then
2729 enableval="$enable_dependency_tracking"
2730
2731 fi;
3295 enableval=$enable_dependency_tracking;
3296 fi
3297
27323298 if test "x$enable_dependency_tracking" != xno; then
27333299 am_depcomp="$ac_aux_dir/depcomp"
27343300 AMDEPBACKSLASH='\'
27353301 fi
2736
2737
2738 if test "x$enable_dependency_tracking" != xno; then
3302 if test "x$enable_dependency_tracking" != xno; then
27393303 AMDEP_TRUE=
27403304 AMDEP_FALSE='#'
27413305 else
27453309
27463310
27473311
2748
27493312 depcc="$CC" am_compiler_list=
27503313
2751 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2752 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3314 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3315 $as_echo_n "checking dependency style of $depcc... " >&6; }
27533316 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2754 echo $ECHO_N "(cached) $ECHO_C" >&6
3317 $as_echo_n "(cached) " >&6
27553318 else
27563319 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
27573320 # We make a subdir and do the tests there. Otherwise we can end up
28133376 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
28143377 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
28153378 >/dev/null 2>conftest.err &&
3379 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
28163380 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
28173381 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
28183382 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
28383402 fi
28393403
28403404 fi
2841 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2842 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3405 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3406 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
28433407 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
28443408
2845
2846
2847 if
3409 if
28483410 test "x$enable_dependency_tracking" != xno \
28493411 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
28503412 am__fastdepCC_TRUE=
28653427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28663428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28673429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2868 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2869 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3430 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3431 $as_echo_n "checking how to run the C preprocessor... " >&6; }
28703432 # On Suns, sometimes $CPP names a directory.
28713433 if test -n "$CPP" && test -d "$CPP"; then
28723434 CPP=
28733435 fi
28743436 if test -z "$CPP"; then
28753437 if test "${ac_cv_prog_CPP+set}" = set; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
3438 $as_echo_n "(cached) " >&6
28773439 else
28783440 # Double quotes because CPP needs to be expanded
28793441 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
29003462 #endif
29013463 Syntax error
29023464 _ACEOF
2903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2904 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3465 if { (ac_try="$ac_cpp conftest.$ac_ext"
3466 case "(($ac_try" in
3467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3468 *) ac_try_echo=$ac_try;;
3469 esac
3470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3471 $as_echo "$ac_try_echo") >&5
3472 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29053473 ac_status=$?
29063474 grep -v '^ *+' conftest.er1 >conftest.err
29073475 rm -f conftest.er1
29083476 cat conftest.err >&5
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); } >/dev/null; then
2911 if test -s conftest.err; then
2912 ac_cpp_err=$ac_c_preproc_warn_flag
2913 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2914 else
2915 ac_cpp_err=
2916 fi
2917 else
2918 ac_cpp_err=yes
2919 fi
2920 if test -z "$ac_cpp_err"; then
3477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); } >/dev/null && {
3479 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3480 test ! -s conftest.err
3481 }; then
29213482 :
29223483 else
2923 echo "$as_me: failed program was:" >&5
3484 $as_echo "$as_me: failed program was:" >&5
29243485 sed 's/^/| /' conftest.$ac_ext >&5
29253486
29263487 # Broken: fails on valid input.
29273488 continue
29283489 fi
3490
29293491 rm -f conftest.err conftest.$ac_ext
29303492
2931 # OK, works on sane cases. Now check whether non-existent headers
3493 # OK, works on sane cases. Now check whether nonexistent headers
29323494 # can be detected and how.
29333495 cat >conftest.$ac_ext <<_ACEOF
29343496 /* confdefs.h. */
29383500 /* end confdefs.h. */
29393501 #include <ac_nonexistent.h>
29403502 _ACEOF
2941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3503 if { (ac_try="$ac_cpp conftest.$ac_ext"
3504 case "(($ac_try" in
3505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3506 *) ac_try_echo=$ac_try;;
3507 esac
3508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3509 $as_echo "$ac_try_echo") >&5
3510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29433511 ac_status=$?
29443512 grep -v '^ *+' conftest.er1 >conftest.err
29453513 rm -f conftest.er1
29463514 cat conftest.err >&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); } >/dev/null; then
2949 if test -s conftest.err; then
2950 ac_cpp_err=$ac_c_preproc_warn_flag
2951 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2952 else
2953 ac_cpp_err=
2954 fi
2955 else
2956 ac_cpp_err=yes
2957 fi
2958 if test -z "$ac_cpp_err"; then
3515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516 (exit $ac_status); } >/dev/null && {
3517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3518 test ! -s conftest.err
3519 }; then
29593520 # Broken: success on invalid input.
29603521 continue
29613522 else
2962 echo "$as_me: failed program was:" >&5
3523 $as_echo "$as_me: failed program was:" >&5
29633524 sed 's/^/| /' conftest.$ac_ext >&5
29643525
29653526 # Passes both tests.
29663527 ac_preproc_ok=:
29673528 break
29683529 fi
3530
29693531 rm -f conftest.err conftest.$ac_ext
29703532
29713533 done
29833545 else
29843546 ac_cv_prog_CPP=$CPP
29853547 fi
2986 echo "$as_me:$LINENO: result: $CPP" >&5
2987 echo "${ECHO_T}$CPP" >&6
3548 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3549 $as_echo "$CPP" >&6; }
29883550 ac_preproc_ok=false
29893551 for ac_c_preproc_warn_flag in '' yes
29903552 do
30073569 #endif
30083570 Syntax error
30093571 _ACEOF
3010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3011 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3572 if { (ac_try="$ac_cpp conftest.$ac_ext"
3573 case "(($ac_try" in
3574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3575 *) ac_try_echo=$ac_try;;
3576 esac
3577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3578 $as_echo "$ac_try_echo") >&5
3579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30123580 ac_status=$?
30133581 grep -v '^ *+' conftest.er1 >conftest.err
30143582 rm -f conftest.er1
30153583 cat conftest.err >&5
3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); } >/dev/null; then
3018 if test -s conftest.err; then
3019 ac_cpp_err=$ac_c_preproc_warn_flag
3020 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3021 else
3022 ac_cpp_err=
3023 fi
3024 else
3025 ac_cpp_err=yes
3026 fi
3027 if test -z "$ac_cpp_err"; then
3584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585 (exit $ac_status); } >/dev/null && {
3586 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3587 test ! -s conftest.err
3588 }; then
30283589 :
30293590 else
3030 echo "$as_me: failed program was:" >&5
3591 $as_echo "$as_me: failed program was:" >&5
30313592 sed 's/^/| /' conftest.$ac_ext >&5
30323593
30333594 # Broken: fails on valid input.
30343595 continue
30353596 fi
3597
30363598 rm -f conftest.err conftest.$ac_ext
30373599
3038 # OK, works on sane cases. Now check whether non-existent headers
3600 # OK, works on sane cases. Now check whether nonexistent headers
30393601 # can be detected and how.
30403602 cat >conftest.$ac_ext <<_ACEOF
30413603 /* confdefs.h. */
30453607 /* end confdefs.h. */
30463608 #include <ac_nonexistent.h>
30473609 _ACEOF
3048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3049 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3610 if { (ac_try="$ac_cpp conftest.$ac_ext"
3611 case "(($ac_try" in
3612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3613 *) ac_try_echo=$ac_try;;
3614 esac
3615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3616 $as_echo "$ac_try_echo") >&5
3617 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30503618 ac_status=$?
30513619 grep -v '^ *+' conftest.er1 >conftest.err
30523620 rm -f conftest.er1
30533621 cat conftest.err >&5
3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); } >/dev/null; then
3056 if test -s conftest.err; then
3057 ac_cpp_err=$ac_c_preproc_warn_flag
3058 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3059 else
3060 ac_cpp_err=
3061 fi
3062 else
3063 ac_cpp_err=yes
3064 fi
3065 if test -z "$ac_cpp_err"; then
3622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623 (exit $ac_status); } >/dev/null && {
3624 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3625 test ! -s conftest.err
3626 }; then
30663627 # Broken: success on invalid input.
30673628 continue
30683629 else
3069 echo "$as_me: failed program was:" >&5
3630 $as_echo "$as_me: failed program was:" >&5
30703631 sed 's/^/| /' conftest.$ac_ext >&5
30713632
30723633 # Passes both tests.
30733634 ac_preproc_ok=:
30743635 break
30753636 fi
3637
30763638 rm -f conftest.err conftest.$ac_ext
30773639
30783640 done
30813643 if $ac_preproc_ok; then
30823644 :
30833645 else
3084 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3646 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3648 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
30853649 See \`config.log' for more details." >&5
3086 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3650 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
30873651 See \`config.log' for more details." >&2;}
3088 { (exit 1); exit 1; }; }
3652 { (exit 1); exit 1; }; }; }
30893653 fi
30903654
30913655 ac_ext=c
30953659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30963660
30973661
3098 echo "$as_me:$LINENO: checking for egrep" >&5
3099 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3100 if test "${ac_cv_prog_egrep+set}" = set; then
3101 echo $ECHO_N "(cached) $ECHO_C" >&6
3102 else
3103 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3104 then ac_cv_prog_egrep='grep -E'
3105 else ac_cv_prog_egrep='egrep'
3662 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3663 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3664 if test "${ac_cv_path_GREP+set}" = set; then
3665 $as_echo_n "(cached) " >&6
3666 else
3667 if test -z "$GREP"; then
3668 ac_path_GREP_found=false
3669 # Loop through the user's path and test for each of PROGNAME-LIST
3670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3671 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3672 do
3673 IFS=$as_save_IFS
3674 test -z "$as_dir" && as_dir=.
3675 for ac_prog in grep ggrep; do
3676 for ac_exec_ext in '' $ac_executable_extensions; do
3677 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3678 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3679 # Check for GNU ac_path_GREP and select it if it is found.
3680 # Check for GNU $ac_path_GREP
3681 case `"$ac_path_GREP" --version 2>&1` in
3682 *GNU*)
3683 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3684 *)
3685 ac_count=0
3686 $as_echo_n 0123456789 >"conftest.in"
3687 while :
3688 do
3689 cat "conftest.in" "conftest.in" >"conftest.tmp"
3690 mv "conftest.tmp" "conftest.in"
3691 cp "conftest.in" "conftest.nl"
3692 $as_echo 'GREP' >> "conftest.nl"
3693 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3694 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3695 ac_count=`expr $ac_count + 1`
3696 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3697 # Best one so far, save it but keep looking for a better one
3698 ac_cv_path_GREP="$ac_path_GREP"
3699 ac_path_GREP_max=$ac_count
31063700 fi
3107 fi
3108 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3109 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3110 EGREP=$ac_cv_prog_egrep
3111
3112
3113 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3114 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3701 # 10*(2^10) chars as input seems more than enough
3702 test $ac_count -gt 10 && break
3703 done
3704 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3705 esac
3706
3707 $ac_path_GREP_found && break 3
3708 done
3709 done
3710 done
3711 IFS=$as_save_IFS
3712 if test -z "$ac_cv_path_GREP"; then
3713 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3714 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3715 { (exit 1); exit 1; }; }
3716 fi
3717 else
3718 ac_cv_path_GREP=$GREP
3719 fi
3720
3721 fi
3722 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3723 $as_echo "$ac_cv_path_GREP" >&6; }
3724 GREP="$ac_cv_path_GREP"
3725
3726
3727 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3728 $as_echo_n "checking for egrep... " >&6; }
3729 if test "${ac_cv_path_EGREP+set}" = set; then
3730 $as_echo_n "(cached) " >&6
3731 else
3732 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3733 then ac_cv_path_EGREP="$GREP -E"
3734 else
3735 if test -z "$EGREP"; then
3736 ac_path_EGREP_found=false
3737 # Loop through the user's path and test for each of PROGNAME-LIST
3738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3739 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3740 do
3741 IFS=$as_save_IFS
3742 test -z "$as_dir" && as_dir=.
3743 for ac_prog in egrep; do
3744 for ac_exec_ext in '' $ac_executable_extensions; do
3745 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3746 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3747 # Check for GNU ac_path_EGREP and select it if it is found.
3748 # Check for GNU $ac_path_EGREP
3749 case `"$ac_path_EGREP" --version 2>&1` in
3750 *GNU*)
3751 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3752 *)
3753 ac_count=0
3754 $as_echo_n 0123456789 >"conftest.in"
3755 while :
3756 do
3757 cat "conftest.in" "conftest.in" >"conftest.tmp"
3758 mv "conftest.tmp" "conftest.in"
3759 cp "conftest.in" "conftest.nl"
3760 $as_echo 'EGREP' >> "conftest.nl"
3761 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3762 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3763 ac_count=`expr $ac_count + 1`
3764 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3765 # Best one so far, save it but keep looking for a better one
3766 ac_cv_path_EGREP="$ac_path_EGREP"
3767 ac_path_EGREP_max=$ac_count
3768 fi
3769 # 10*(2^10) chars as input seems more than enough
3770 test $ac_count -gt 10 && break
3771 done
3772 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3773 esac
3774
3775 $ac_path_EGREP_found && break 3
3776 done
3777 done
3778 done
3779 IFS=$as_save_IFS
3780 if test -z "$ac_cv_path_EGREP"; then
3781 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3782 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3783 { (exit 1); exit 1; }; }
3784 fi
3785 else
3786 ac_cv_path_EGREP=$EGREP
3787 fi
3788
3789 fi
3790 fi
3791 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3792 $as_echo "$ac_cv_path_EGREP" >&6; }
3793 EGREP="$ac_cv_path_EGREP"
3794
3795
3796 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3797 $as_echo_n "checking for ANSI C header files... " >&6; }
31153798 if test "${ac_cv_header_stdc+set}" = set; then
3116 echo $ECHO_N "(cached) $ECHO_C" >&6
3799 $as_echo_n "(cached) " >&6
31173800 else
31183801 cat >conftest.$ac_ext <<_ACEOF
31193802 /* confdefs.h. */
31353818 }
31363819 _ACEOF
31373820 rm -f conftest.$ac_objext
3138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3139 (eval $ac_compile) 2>conftest.er1
3821 if { (ac_try="$ac_compile"
3822 case "(($ac_try" in
3823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3824 *) ac_try_echo=$ac_try;;
3825 esac
3826 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3827 $as_echo "$ac_try_echo") >&5
3828 (eval "$ac_compile") 2>conftest.er1
31403829 ac_status=$?
31413830 grep -v '^ *+' conftest.er1 >conftest.err
31423831 rm -f conftest.er1
31433832 cat conftest.err >&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } &&
3146 { ac_try='test -z "$ac_c_werror_flag"
3147 || test ! -s conftest.err'
3148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3149 (eval $ac_try) 2>&5
3150 ac_status=$?
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); }; } &&
3153 { ac_try='test -s conftest.$ac_objext'
3154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3155 (eval $ac_try) 2>&5
3156 ac_status=$?
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); }; }; then
3833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834 (exit $ac_status); } && {
3835 test -z "$ac_c_werror_flag" ||
3836 test ! -s conftest.err
3837 } && test -s conftest.$ac_objext; then
31593838 ac_cv_header_stdc=yes
31603839 else
3161 echo "$as_me: failed program was:" >&5
3840 $as_echo "$as_me: failed program was:" >&5
31623841 sed 's/^/| /' conftest.$ac_ext >&5
31633842
3164 ac_cv_header_stdc=no
3165 fi
3166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3843 ac_cv_header_stdc=no
3844 fi
3845
3846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31673847
31683848 if test $ac_cv_header_stdc = yes; then
31693849 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
32193899 cat >>conftest.$ac_ext <<_ACEOF
32203900 /* end confdefs.h. */
32213901 #include <ctype.h>
3902 #include <stdlib.h>
32223903 #if ((' ' & 0x0FF) == 0x020)
32233904 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
32243905 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
32383919 for (i = 0; i < 256; i++)
32393920 if (XOR (islower (i), ISLOWER (i))
32403921 || toupper (i) != TOUPPER (i))
3241 exit(2);
3242 exit (0);
3922 return 2;
3923 return 0;
32433924 }
32443925 _ACEOF
32453926 rm -f conftest$ac_exeext
3246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3247 (eval $ac_link) 2>&5
3927 if { (ac_try="$ac_link"
3928 case "(($ac_try" in
3929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3930 *) ac_try_echo=$ac_try;;
3931 esac
3932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3933 $as_echo "$ac_try_echo") >&5
3934 (eval "$ac_link") 2>&5
32483935 ac_status=$?
3249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32503937 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3252 (eval $ac_try) 2>&5
3938 { (case "(($ac_try" in
3939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3940 *) ac_try_echo=$ac_try;;
3941 esac
3942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3943 $as_echo "$ac_try_echo") >&5
3944 (eval "$ac_try") 2>&5
32533945 ac_status=$?
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32553947 (exit $ac_status); }; }; then
32563948 :
32573949 else
3258 echo "$as_me: program exited with status $ac_status" >&5
3259 echo "$as_me: failed program was:" >&5
3950 $as_echo "$as_me: program exited with status $ac_status" >&5
3951 $as_echo "$as_me: failed program was:" >&5
32603952 sed 's/^/| /' conftest.$ac_ext >&5
32613953
32623954 ( exit $ac_status )
32633955 ac_cv_header_stdc=no
32643956 fi
3265 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3266 fi
3267 fi
3268 fi
3269 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3270 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3957 rm -rf conftest.dSYM
3958 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3959 fi
3960
3961
3962 fi
3963 fi
3964 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3965 $as_echo "$ac_cv_header_stdc" >&6; }
32713966 if test $ac_cv_header_stdc = yes; then
32723967
32733968 cat >>confdefs.h <<\_ACEOF
32893984 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
32903985 inttypes.h stdint.h unistd.h
32913986 do
3292 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3293 echo "$as_me:$LINENO: checking for $ac_header" >&5
3294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3296 echo $ECHO_N "(cached) $ECHO_C" >&6
3987 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3988 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3989 $as_echo_n "checking for $ac_header... " >&6; }
3990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3991 $as_echo_n "(cached) " >&6
32973992 else
32983993 cat >conftest.$ac_ext <<_ACEOF
32993994 /* confdefs.h. */
33064001 #include <$ac_header>
33074002 _ACEOF
33084003 rm -f conftest.$ac_objext
3309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3310 (eval $ac_compile) 2>conftest.er1
4004 if { (ac_try="$ac_compile"
4005 case "(($ac_try" in
4006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4007 *) ac_try_echo=$ac_try;;
4008 esac
4009 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4010 $as_echo "$ac_try_echo") >&5
4011 (eval "$ac_compile") 2>conftest.er1
33114012 ac_status=$?
33124013 grep -v '^ *+' conftest.er1 >conftest.err
33134014 rm -f conftest.er1
33144015 cat conftest.err >&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); } &&
3317 { ac_try='test -z "$ac_c_werror_flag"
3318 || test ! -s conftest.err'
3319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 (eval $ac_try) 2>&5
3321 ac_status=$?
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); }; } &&
3324 { ac_try='test -s conftest.$ac_objext'
3325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 (eval $ac_try) 2>&5
3327 ac_status=$?
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); }; }; then
4016 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); } && {
4018 test -z "$ac_c_werror_flag" ||
4019 test ! -s conftest.err
4020 } && test -s conftest.$ac_objext; then
33304021 eval "$as_ac_Header=yes"
33314022 else
3332 echo "$as_me: failed program was:" >&5
4023 $as_echo "$as_me: failed program was:" >&5
33334024 sed 's/^/| /' conftest.$ac_ext >&5
33344025
3335 eval "$as_ac_Header=no"
3336 fi
3337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3338 fi
3339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4026 eval "$as_ac_Header=no"
4027 fi
4028
4029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4030 fi
4031 ac_res=`eval 'as_val=${'$as_ac_Header'}
4032 $as_echo "$as_val"'`
4033 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4034 $as_echo "$ac_res" >&6; }
4035 as_val=`eval 'as_val=${'$as_ac_Header'}
4036 $as_echo "$as_val"'`
4037 if test "x$as_val" = x""yes; then
33424038 cat >>confdefs.h <<_ACEOF
3343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4039 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
33444040 _ACEOF
33454041
33464042 fi
33584054
33594055 for ac_header in errno.h fcntl.h inttypes.h netinet/in.h stdlib.h string.h sys/ioctl.h unistd.h
33604056 do
3361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3363 echo "$as_me:$LINENO: checking for $ac_header" >&5
3364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3366 echo $ECHO_N "(cached) $ECHO_C" >&6
3367 fi
3368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4057 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4058 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4059 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4060 $as_echo_n "checking for $ac_header... " >&6; }
4061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4062 $as_echo_n "(cached) " >&6
4063 fi
4064 ac_res=`eval 'as_val=${'$as_ac_Header'}
4065 $as_echo "$as_val"'`
4066 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4067 $as_echo "$ac_res" >&6; }
33704068 else
33714069 # Is the header compilable?
3372 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3373 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4070 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4071 $as_echo_n "checking $ac_header usability... " >&6; }
33744072 cat >conftest.$ac_ext <<_ACEOF
33754073 /* confdefs.h. */
33764074 _ACEOF
33814079 #include <$ac_header>
33824080 _ACEOF
33834081 rm -f conftest.$ac_objext
3384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3385 (eval $ac_compile) 2>conftest.er1
4082 if { (ac_try="$ac_compile"
4083 case "(($ac_try" in
4084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4085 *) ac_try_echo=$ac_try;;
4086 esac
4087 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4088 $as_echo "$ac_try_echo") >&5
4089 (eval "$ac_compile") 2>conftest.er1
33864090 ac_status=$?
33874091 grep -v '^ *+' conftest.er1 >conftest.err
33884092 rm -f conftest.er1
33894093 cat conftest.err >&5
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); } &&
3392 { ac_try='test -z "$ac_c_werror_flag"
3393 || test ! -s conftest.err'
3394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3395 (eval $ac_try) 2>&5
3396 ac_status=$?
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); }; } &&
3399 { ac_try='test -s conftest.$ac_objext'
3400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3401 (eval $ac_try) 2>&5
3402 ac_status=$?
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); }; }; then
4094 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); } && {
4096 test -z "$ac_c_werror_flag" ||
4097 test ! -s conftest.err
4098 } && test -s conftest.$ac_objext; then
34054099 ac_header_compiler=yes
34064100 else
3407 echo "$as_me: failed program was:" >&5
4101 $as_echo "$as_me: failed program was:" >&5
34084102 sed 's/^/| /' conftest.$ac_ext >&5
34094103
3410 ac_header_compiler=no
3411 fi
3412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3413 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3414 echo "${ECHO_T}$ac_header_compiler" >&6
4104 ac_header_compiler=no
4105 fi
4106
4107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4108 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4109 $as_echo "$ac_header_compiler" >&6; }
34154110
34164111 # Is the header present?
3417 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3418 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4112 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4113 $as_echo_n "checking $ac_header presence... " >&6; }
34194114 cat >conftest.$ac_ext <<_ACEOF
34204115 /* confdefs.h. */
34214116 _ACEOF
34244119 /* end confdefs.h. */
34254120 #include <$ac_header>
34264121 _ACEOF
3427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4122 if { (ac_try="$ac_cpp conftest.$ac_ext"
4123 case "(($ac_try" in
4124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4125 *) ac_try_echo=$ac_try;;
4126 esac
4127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4128 $as_echo "$ac_try_echo") >&5
4129 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34294130 ac_status=$?
34304131 grep -v '^ *+' conftest.er1 >conftest.err
34314132 rm -f conftest.er1
34324133 cat conftest.err >&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); } >/dev/null; then
3435 if test -s conftest.err; then
3436 ac_cpp_err=$ac_c_preproc_warn_flag
3437 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3438 else
3439 ac_cpp_err=
3440 fi
3441 else
3442 ac_cpp_err=yes
3443 fi
3444 if test -z "$ac_cpp_err"; then
4134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); } >/dev/null && {
4136 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4137 test ! -s conftest.err
4138 }; then
34454139 ac_header_preproc=yes
34464140 else
3447 echo "$as_me: failed program was:" >&5
4141 $as_echo "$as_me: failed program was:" >&5
34484142 sed 's/^/| /' conftest.$ac_ext >&5
34494143
34504144 ac_header_preproc=no
34514145 fi
4146
34524147 rm -f conftest.err conftest.$ac_ext
3453 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3454 echo "${ECHO_T}$ac_header_preproc" >&6
4148 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4149 $as_echo "$ac_header_preproc" >&6; }
34554150
34564151 # So? What about this header?
34574152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34584153 yes:no: )
3459 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3460 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3462 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4154 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4155 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4156 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4157 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34634158 ac_header_preproc=yes
34644159 ;;
34654160 no:yes:* )
3466 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3467 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3468 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3469 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3470 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3471 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3472 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3473 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3475 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3476 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3477 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3478 (
3479 cat <<\_ASBOX
4161 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4162 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4163 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4164 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4165 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4166 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4167 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4168 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4169 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4170 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4171 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4172 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4173 ( cat <<\_ASBOX
34804174 ## ---------------------------------------------- ##
34814175 ## Report this to smcameron@users.sourceforge.net ##
34824176 ## ---------------------------------------------- ##
34834177 _ASBOX
3484 ) |
3485 sed "s/^/$as_me: WARNING: /" >&2
4178 ) | sed "s/^/$as_me: WARNING: /" >&2
34864179 ;;
34874180 esac
3488 echo "$as_me:$LINENO: checking for $ac_header" >&5
3489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3491 echo $ECHO_N "(cached) $ECHO_C" >&6
4181 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4182 $as_echo_n "checking for $ac_header... " >&6; }
4183 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4184 $as_echo_n "(cached) " >&6
34924185 else
34934186 eval "$as_ac_Header=\$ac_header_preproc"
34944187 fi
3495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3497
3498 fi
3499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4188 ac_res=`eval 'as_val=${'$as_ac_Header'}
4189 $as_echo "$as_val"'`
4190 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4191 $as_echo "$ac_res" >&6; }
4192
4193 fi
4194 as_val=`eval 'as_val=${'$as_ac_Header'}
4195 $as_echo "$as_val"'`
4196 if test "x$as_val" = x""yes; then
35004197 cat >>confdefs.h <<_ACEOF
3501 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4198 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
35024199 _ACEOF
35034200
35044201 fi
35064203 done
35074204
35084205 if test "${ac_cv_header_scsi_sg_h+set}" = set; then
3509 echo "$as_me:$LINENO: checking for scsi/sg.h" >&5
3510 echo $ECHO_N "checking for scsi/sg.h... $ECHO_C" >&6
4206 { $as_echo "$as_me:$LINENO: checking for scsi/sg.h" >&5
4207 $as_echo_n "checking for scsi/sg.h... " >&6; }
35114208 if test "${ac_cv_header_scsi_sg_h+set}" = set; then
3512 echo $ECHO_N "(cached) $ECHO_C" >&6
3513 fi
3514 echo "$as_me:$LINENO: result: $ac_cv_header_scsi_sg_h" >&5
3515 echo "${ECHO_T}$ac_cv_header_scsi_sg_h" >&6
4209 $as_echo_n "(cached) " >&6
4210 fi
4211 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_scsi_sg_h" >&5
4212 $as_echo "$ac_cv_header_scsi_sg_h" >&6; }
35164213 else
35174214 # Is the header compilable?
3518 echo "$as_me:$LINENO: checking scsi/sg.h usability" >&5
3519 echo $ECHO_N "checking scsi/sg.h usability... $ECHO_C" >&6
4215 { $as_echo "$as_me:$LINENO: checking scsi/sg.h usability" >&5
4216 $as_echo_n "checking scsi/sg.h usability... " >&6; }
35204217 cat >conftest.$ac_ext <<_ACEOF
35214218 /* confdefs.h. */
35224219 _ACEOF
35274224 #include <scsi/sg.h>
35284225 _ACEOF
35294226 rm -f conftest.$ac_objext
3530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3531 (eval $ac_compile) 2>conftest.er1
4227 if { (ac_try="$ac_compile"
4228 case "(($ac_try" in
4229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4230 *) ac_try_echo=$ac_try;;
4231 esac
4232 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4233 $as_echo "$ac_try_echo") >&5
4234 (eval "$ac_compile") 2>conftest.er1
35324235 ac_status=$?
35334236 grep -v '^ *+' conftest.er1 >conftest.err
35344237 rm -f conftest.er1
35354238 cat conftest.err >&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); } &&
3538 { ac_try='test -z "$ac_c_werror_flag"
3539 || test ! -s conftest.err'
3540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3541 (eval $ac_try) 2>&5
3542 ac_status=$?
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); }; } &&
3545 { ac_try='test -s conftest.$ac_objext'
3546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3547 (eval $ac_try) 2>&5
3548 ac_status=$?
3549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3550 (exit $ac_status); }; }; then
4239 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240 (exit $ac_status); } && {
4241 test -z "$ac_c_werror_flag" ||
4242 test ! -s conftest.err
4243 } && test -s conftest.$ac_objext; then
35514244 ac_header_compiler=yes
35524245 else
3553 echo "$as_me: failed program was:" >&5
4246 $as_echo "$as_me: failed program was:" >&5
35544247 sed 's/^/| /' conftest.$ac_ext >&5
35554248
3556 ac_header_compiler=no
3557 fi
3558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3559 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3560 echo "${ECHO_T}$ac_header_compiler" >&6
4249 ac_header_compiler=no
4250 fi
4251
4252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4253 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4254 $as_echo "$ac_header_compiler" >&6; }
35614255
35624256 # Is the header present?
3563 echo "$as_me:$LINENO: checking scsi/sg.h presence" >&5
3564 echo $ECHO_N "checking scsi/sg.h presence... $ECHO_C" >&6
4257 { $as_echo "$as_me:$LINENO: checking scsi/sg.h presence" >&5
4258 $as_echo_n "checking scsi/sg.h presence... " >&6; }
35654259 cat >conftest.$ac_ext <<_ACEOF
35664260 /* confdefs.h. */
35674261 _ACEOF
35704264 /* end confdefs.h. */
35714265 #include <scsi/sg.h>
35724266 _ACEOF
3573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3574 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4267 if { (ac_try="$ac_cpp conftest.$ac_ext"
4268 case "(($ac_try" in
4269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4270 *) ac_try_echo=$ac_try;;
4271 esac
4272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4273 $as_echo "$ac_try_echo") >&5
4274 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35754275 ac_status=$?
35764276 grep -v '^ *+' conftest.er1 >conftest.err
35774277 rm -f conftest.er1
35784278 cat conftest.err >&5
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); } >/dev/null; then
3581 if test -s conftest.err; then
3582 ac_cpp_err=$ac_c_preproc_warn_flag
3583 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3584 else
3585 ac_cpp_err=
3586 fi
3587 else
3588 ac_cpp_err=yes
3589 fi
3590 if test -z "$ac_cpp_err"; then
4279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4280 (exit $ac_status); } >/dev/null && {
4281 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4282 test ! -s conftest.err
4283 }; then
35914284 ac_header_preproc=yes
35924285 else
3593 echo "$as_me: failed program was:" >&5
4286 $as_echo "$as_me: failed program was:" >&5
35944287 sed 's/^/| /' conftest.$ac_ext >&5
35954288
35964289 ac_header_preproc=no
35974290 fi
4291
35984292 rm -f conftest.err conftest.$ac_ext
3599 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3600 echo "${ECHO_T}$ac_header_preproc" >&6
4293 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4294 $as_echo "$ac_header_preproc" >&6; }
36014295
36024296 # So? What about this header?
36034297 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36044298 yes:no: )
3605 { echo "$as_me:$LINENO: WARNING: scsi/sg.h: accepted by the compiler, rejected by the preprocessor!" >&5
3606 echo "$as_me: WARNING: scsi/sg.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3607 { echo "$as_me:$LINENO: WARNING: scsi/sg.h: proceeding with the compiler's result" >&5
3608 echo "$as_me: WARNING: scsi/sg.h: proceeding with the compiler's result" >&2;}
4299 { $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: accepted by the compiler, rejected by the preprocessor!" >&5
4300 $as_echo "$as_me: WARNING: scsi/sg.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4301 { $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: proceeding with the compiler's result" >&5
4302 $as_echo "$as_me: WARNING: scsi/sg.h: proceeding with the compiler's result" >&2;}
36094303 ac_header_preproc=yes
36104304 ;;
36114305 no:yes:* )
3612 { echo "$as_me:$LINENO: WARNING: scsi/sg.h: present but cannot be compiled" >&5
3613 echo "$as_me: WARNING: scsi/sg.h: present but cannot be compiled" >&2;}
3614 { echo "$as_me:$LINENO: WARNING: scsi/sg.h: check for missing prerequisite headers?" >&5
3615 echo "$as_me: WARNING: scsi/sg.h: check for missing prerequisite headers?" >&2;}
3616 { echo "$as_me:$LINENO: WARNING: scsi/sg.h: see the Autoconf documentation" >&5
3617 echo "$as_me: WARNING: scsi/sg.h: see the Autoconf documentation" >&2;}
3618 { echo "$as_me:$LINENO: WARNING: scsi/sg.h: section \"Present But Cannot Be Compiled\"" >&5
3619 echo "$as_me: WARNING: scsi/sg.h: section \"Present But Cannot Be Compiled\"" >&2;}
3620 { echo "$as_me:$LINENO: WARNING: scsi/sg.h: proceeding with the preprocessor's result" >&5
3621 echo "$as_me: WARNING: scsi/sg.h: proceeding with the preprocessor's result" >&2;}
3622 { echo "$as_me:$LINENO: WARNING: scsi/sg.h: in the future, the compiler will take precedence" >&5
3623 echo "$as_me: WARNING: scsi/sg.h: in the future, the compiler will take precedence" >&2;}
3624 (
3625 cat <<\_ASBOX
4306 { $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: present but cannot be compiled" >&5
4307 $as_echo "$as_me: WARNING: scsi/sg.h: present but cannot be compiled" >&2;}
4308 { $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: check for missing prerequisite headers?" >&5
4309 $as_echo "$as_me: WARNING: scsi/sg.h: check for missing prerequisite headers?" >&2;}
4310 { $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: see the Autoconf documentation" >&5
4311 $as_echo "$as_me: WARNING: scsi/sg.h: see the Autoconf documentation" >&2;}
4312 { $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: section \"Present But Cannot Be Compiled\"" >&5
4313 $as_echo "$as_me: WARNING: scsi/sg.h: section \"Present But Cannot Be Compiled\"" >&2;}
4314 { $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: proceeding with the preprocessor's result" >&5
4315 $as_echo "$as_me: WARNING: scsi/sg.h: proceeding with the preprocessor's result" >&2;}
4316 { $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: in the future, the compiler will take precedence" >&5
4317 $as_echo "$as_me: WARNING: scsi/sg.h: in the future, the compiler will take precedence" >&2;}
4318 ( cat <<\_ASBOX
36264319 ## ---------------------------------------------- ##
36274320 ## Report this to smcameron@users.sourceforge.net ##
36284321 ## ---------------------------------------------- ##
36294322 _ASBOX
3630 ) |
3631 sed "s/^/$as_me: WARNING: /" >&2
4323 ) | sed "s/^/$as_me: WARNING: /" >&2
36324324 ;;
36334325 esac
3634 echo "$as_me:$LINENO: checking for scsi/sg.h" >&5
3635 echo $ECHO_N "checking for scsi/sg.h... $ECHO_C" >&6
4326 { $as_echo "$as_me:$LINENO: checking for scsi/sg.h" >&5
4327 $as_echo_n "checking for scsi/sg.h... " >&6; }
36364328 if test "${ac_cv_header_scsi_sg_h+set}" = set; then
3637 echo $ECHO_N "(cached) $ECHO_C" >&6
4329 $as_echo_n "(cached) " >&6
36384330 else
36394331 ac_cv_header_scsi_sg_h=$ac_header_preproc
36404332 fi
3641 echo "$as_me:$LINENO: result: $ac_cv_header_scsi_sg_h" >&5
3642 echo "${ECHO_T}$ac_cv_header_scsi_sg_h" >&6
3643
3644 fi
3645 if test $ac_cv_header_scsi_sg_h = yes; then
4333 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_scsi_sg_h" >&5
4334 $as_echo "$ac_cv_header_scsi_sg_h" >&6; }
4335
4336 fi
4337 if test "x$ac_cv_header_scsi_sg_h" = x""yes; then
36464338
36474339 cat >>confdefs.h <<\_ACEOF
36484340 #define HAVE_SCSI_SG_H 1
36494341 _ACEOF
36504342
36514343 else
3652 { echo "$as_me:$LINENO: WARNING: scsi/sg.h not found so MSA1000 support will not be compiled." >&5
3653 echo "$as_me: WARNING: scsi/sg.h not found so MSA1000 support will not be compiled." >&2;}
4344 { $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h not found so MSA1000 support will not be compiled." >&5
4345 $as_echo "$as_me: WARNING: scsi/sg.h not found so MSA1000 support will not be compiled." >&2;}
36544346 fi
36554347
36564348
36574349 if test "${ac_cv_header_scsi_scsi_h+set}" = set; then
3658 echo "$as_me:$LINENO: checking for scsi/scsi.h" >&5
3659 echo $ECHO_N "checking for scsi/scsi.h... $ECHO_C" >&6
4350 { $as_echo "$as_me:$LINENO: checking for scsi/scsi.h" >&5
4351 $as_echo_n "checking for scsi/scsi.h... " >&6; }
36604352 if test "${ac_cv_header_scsi_scsi_h+set}" = set; then
3661 echo $ECHO_N "(cached) $ECHO_C" >&6
3662 fi
3663 echo "$as_me:$LINENO: result: $ac_cv_header_scsi_scsi_h" >&5
3664 echo "${ECHO_T}$ac_cv_header_scsi_scsi_h" >&6
4353 $as_echo_n "(cached) " >&6
4354 fi
4355 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_scsi_scsi_h" >&5
4356 $as_echo "$ac_cv_header_scsi_scsi_h" >&6; }
36654357 else
36664358 # Is the header compilable?
3667 echo "$as_me:$LINENO: checking scsi/scsi.h usability" >&5
3668 echo $ECHO_N "checking scsi/scsi.h usability... $ECHO_C" >&6
4359 { $as_echo "$as_me:$LINENO: checking scsi/scsi.h usability" >&5
4360 $as_echo_n "checking scsi/scsi.h usability... " >&6; }
36694361 cat >conftest.$ac_ext <<_ACEOF
36704362 /* confdefs.h. */
36714363 _ACEOF
36764368 #include <scsi/scsi.h>
36774369 _ACEOF
36784370 rm -f conftest.$ac_objext
3679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3680 (eval $ac_compile) 2>conftest.er1
4371 if { (ac_try="$ac_compile"
4372 case "(($ac_try" in
4373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4374 *) ac_try_echo=$ac_try;;
4375 esac
4376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4377 $as_echo "$ac_try_echo") >&5
4378 (eval "$ac_compile") 2>conftest.er1
36814379 ac_status=$?
36824380 grep -v '^ *+' conftest.er1 >conftest.err
36834381 rm -f conftest.er1
36844382 cat conftest.err >&5
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); } &&
3687 { ac_try='test -z "$ac_c_werror_flag"
3688 || test ! -s conftest.err'
3689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3690 (eval $ac_try) 2>&5
3691 ac_status=$?
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); }; } &&
3694 { ac_try='test -s conftest.$ac_objext'
3695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3696 (eval $ac_try) 2>&5
3697 ac_status=$?
3698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); }; }; then
4383 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); } && {
4385 test -z "$ac_c_werror_flag" ||
4386 test ! -s conftest.err
4387 } && test -s conftest.$ac_objext; then
37004388 ac_header_compiler=yes
37014389 else
3702 echo "$as_me: failed program was:" >&5
4390 $as_echo "$as_me: failed program was:" >&5
37034391 sed 's/^/| /' conftest.$ac_ext >&5
37044392
3705 ac_header_compiler=no
3706 fi
3707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3708 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3709 echo "${ECHO_T}$ac_header_compiler" >&6
4393 ac_header_compiler=no
4394 fi
4395
4396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4397 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4398 $as_echo "$ac_header_compiler" >&6; }
37104399
37114400 # Is the header present?
3712 echo "$as_me:$LINENO: checking scsi/scsi.h presence" >&5
3713 echo $ECHO_N "checking scsi/scsi.h presence... $ECHO_C" >&6
4401 { $as_echo "$as_me:$LINENO: checking scsi/scsi.h presence" >&5
4402 $as_echo_n "checking scsi/scsi.h presence... " >&6; }
37144403 cat >conftest.$ac_ext <<_ACEOF
37154404 /* confdefs.h. */
37164405 _ACEOF
37194408 /* end confdefs.h. */
37204409 #include <scsi/scsi.h>
37214410 _ACEOF
3722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4411 if { (ac_try="$ac_cpp conftest.$ac_ext"
4412 case "(($ac_try" in
4413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4414 *) ac_try_echo=$ac_try;;
4415 esac
4416 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4417 $as_echo "$ac_try_echo") >&5
4418 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37244419 ac_status=$?
37254420 grep -v '^ *+' conftest.er1 >conftest.err
37264421 rm -f conftest.er1
37274422 cat conftest.err >&5
3728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729 (exit $ac_status); } >/dev/null; then
3730 if test -s conftest.err; then
3731 ac_cpp_err=$ac_c_preproc_warn_flag
3732 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3733 else
3734 ac_cpp_err=
3735 fi
3736 else
3737 ac_cpp_err=yes
3738 fi
3739 if test -z "$ac_cpp_err"; then
4423 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); } >/dev/null && {
4425 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4426 test ! -s conftest.err
4427 }; then
37404428 ac_header_preproc=yes
37414429 else
3742 echo "$as_me: failed program was:" >&5
4430 $as_echo "$as_me: failed program was:" >&5
37434431 sed 's/^/| /' conftest.$ac_ext >&5
37444432
37454433 ac_header_preproc=no
37464434 fi
4435
37474436 rm -f conftest.err conftest.$ac_ext
3748 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3749 echo "${ECHO_T}$ac_header_preproc" >&6
4437 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4438 $as_echo "$ac_header_preproc" >&6; }
37504439
37514440 # So? What about this header?
37524441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37534442 yes:no: )
3754 { echo "$as_me:$LINENO: WARNING: scsi/scsi.h: accepted by the compiler, rejected by the preprocessor!" >&5
3755 echo "$as_me: WARNING: scsi/scsi.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3756 { echo "$as_me:$LINENO: WARNING: scsi/scsi.h: proceeding with the compiler's result" >&5
3757 echo "$as_me: WARNING: scsi/scsi.h: proceeding with the compiler's result" >&2;}
4443 { $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: accepted by the compiler, rejected by the preprocessor!" >&5
4444 $as_echo "$as_me: WARNING: scsi/scsi.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4445 { $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: proceeding with the compiler's result" >&5
4446 $as_echo "$as_me: WARNING: scsi/scsi.h: proceeding with the compiler's result" >&2;}
37584447 ac_header_preproc=yes
37594448 ;;
37604449 no:yes:* )
3761 { echo "$as_me:$LINENO: WARNING: scsi/scsi.h: present but cannot be compiled" >&5
3762 echo "$as_me: WARNING: scsi/scsi.h: present but cannot be compiled" >&2;}
3763 { echo "$as_me:$LINENO: WARNING: scsi/scsi.h: check for missing prerequisite headers?" >&5
3764 echo "$as_me: WARNING: scsi/scsi.h: check for missing prerequisite headers?" >&2;}
3765 { echo "$as_me:$LINENO: WARNING: scsi/scsi.h: see the Autoconf documentation" >&5
3766 echo "$as_me: WARNING: scsi/scsi.h: see the Autoconf documentation" >&2;}
3767 { echo "$as_me:$LINENO: WARNING: scsi/scsi.h: section \"Present But Cannot Be Compiled\"" >&5
3768 echo "$as_me: WARNING: scsi/scsi.h: section \"Present But Cannot Be Compiled\"" >&2;}
3769 { echo "$as_me:$LINENO: WARNING: scsi/scsi.h: proceeding with the preprocessor's result" >&5
3770 echo "$as_me: WARNING: scsi/scsi.h: proceeding with the preprocessor's result" >&2;}
3771 { echo "$as_me:$LINENO: WARNING: scsi/scsi.h: in the future, the compiler will take precedence" >&5
3772 echo "$as_me: WARNING: scsi/scsi.h: in the future, the compiler will take precedence" >&2;}
3773 (
3774 cat <<\_ASBOX
4450 { $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: present but cannot be compiled" >&5
4451 $as_echo "$as_me: WARNING: scsi/scsi.h: present but cannot be compiled" >&2;}
4452 { $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: check for missing prerequisite headers?" >&5
4453 $as_echo "$as_me: WARNING: scsi/scsi.h: check for missing prerequisite headers?" >&2;}
4454 { $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: see the Autoconf documentation" >&5
4455 $as_echo "$as_me: WARNING: scsi/scsi.h: see the Autoconf documentation" >&2;}
4456 { $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: section \"Present But Cannot Be Compiled\"" >&5
4457 $as_echo "$as_me: WARNING: scsi/scsi.h: section \"Present But Cannot Be Compiled\"" >&2;}
4458 { $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: proceeding with the preprocessor's result" >&5
4459 $as_echo "$as_me: WARNING: scsi/scsi.h: proceeding with the preprocessor's result" >&2;}
4460 { $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: in the future, the compiler will take precedence" >&5
4461 $as_echo "$as_me: WARNING: scsi/scsi.h: in the future, the compiler will take precedence" >&2;}
4462 ( cat <<\_ASBOX
37754463 ## ---------------------------------------------- ##
37764464 ## Report this to smcameron@users.sourceforge.net ##
37774465 ## ---------------------------------------------- ##
37784466 _ASBOX
3779 ) |
3780 sed "s/^/$as_me: WARNING: /" >&2
4467 ) | sed "s/^/$as_me: WARNING: /" >&2
37814468 ;;
37824469 esac
3783 echo "$as_me:$LINENO: checking for scsi/scsi.h" >&5
3784 echo $ECHO_N "checking for scsi/scsi.h... $ECHO_C" >&6
4470 { $as_echo "$as_me:$LINENO: checking for scsi/scsi.h" >&5
4471 $as_echo_n "checking for scsi/scsi.h... " >&6; }
37854472 if test "${ac_cv_header_scsi_scsi_h+set}" = set; then
3786 echo $ECHO_N "(cached) $ECHO_C" >&6
4473 $as_echo_n "(cached) " >&6
37874474 else
37884475 ac_cv_header_scsi_scsi_h=$ac_header_preproc
37894476 fi
3790 echo "$as_me:$LINENO: result: $ac_cv_header_scsi_scsi_h" >&5
3791 echo "${ECHO_T}$ac_cv_header_scsi_scsi_h" >&6
3792
3793 fi
3794 if test $ac_cv_header_scsi_scsi_h = yes; then
4477 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_scsi_scsi_h" >&5
4478 $as_echo "$ac_cv_header_scsi_scsi_h" >&6; }
4479
4480 fi
4481 if test "x$ac_cv_header_scsi_scsi_h" = x""yes; then
37954482
37964483 cat >>confdefs.h <<\_ACEOF
37974484 #define HAVE_SCSI_SCSI_H 1
38014488
38024489
38034490 if test "${ac_cv_header_linux_cciss_ioctl_h+set}" = set; then
3804 echo "$as_me:$LINENO: checking for linux/cciss_ioctl.h" >&5
3805 echo $ECHO_N "checking for linux/cciss_ioctl.h... $ECHO_C" >&6
4491 { $as_echo "$as_me:$LINENO: checking for linux/cciss_ioctl.h" >&5
4492 $as_echo_n "checking for linux/cciss_ioctl.h... " >&6; }
38064493 if test "${ac_cv_header_linux_cciss_ioctl_h+set}" = set; then
3807 echo $ECHO_N "(cached) $ECHO_C" >&6
3808 fi
3809 echo "$as_me:$LINENO: result: $ac_cv_header_linux_cciss_ioctl_h" >&5
3810 echo "${ECHO_T}$ac_cv_header_linux_cciss_ioctl_h" >&6
4494 $as_echo_n "(cached) " >&6
4495 fi
4496 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cciss_ioctl_h" >&5
4497 $as_echo "$ac_cv_header_linux_cciss_ioctl_h" >&6; }
38114498 else
38124499 # Is the header compilable?
3813 echo "$as_me:$LINENO: checking linux/cciss_ioctl.h usability" >&5
3814 echo $ECHO_N "checking linux/cciss_ioctl.h usability... $ECHO_C" >&6
4500 { $as_echo "$as_me:$LINENO: checking linux/cciss_ioctl.h usability" >&5
4501 $as_echo_n "checking linux/cciss_ioctl.h usability... " >&6; }
38154502 cat >conftest.$ac_ext <<_ACEOF
38164503 /* confdefs.h. */
38174504 _ACEOF
38224509 #include <linux/cciss_ioctl.h>
38234510 _ACEOF
38244511 rm -f conftest.$ac_objext
3825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3826 (eval $ac_compile) 2>conftest.er1
4512 if { (ac_try="$ac_compile"
4513 case "(($ac_try" in
4514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4515 *) ac_try_echo=$ac_try;;
4516 esac
4517 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4518 $as_echo "$ac_try_echo") >&5
4519 (eval "$ac_compile") 2>conftest.er1
38274520 ac_status=$?
38284521 grep -v '^ *+' conftest.er1 >conftest.err
38294522 rm -f conftest.er1
38304523 cat conftest.err >&5
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); } &&
3833 { ac_try='test -z "$ac_c_werror_flag"
3834 || test ! -s conftest.err'
3835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3836 (eval $ac_try) 2>&5
3837 ac_status=$?
3838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839 (exit $ac_status); }; } &&
3840 { ac_try='test -s conftest.$ac_objext'
3841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3842 (eval $ac_try) 2>&5
3843 ac_status=$?
3844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3845 (exit $ac_status); }; }; then
4524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); } && {
4526 test -z "$ac_c_werror_flag" ||
4527 test ! -s conftest.err
4528 } && test -s conftest.$ac_objext; then
38464529 ac_header_compiler=yes
38474530 else
3848 echo "$as_me: failed program was:" >&5
4531 $as_echo "$as_me: failed program was:" >&5
38494532 sed 's/^/| /' conftest.$ac_ext >&5
38504533
3851 ac_header_compiler=no
3852 fi
3853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3854 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3855 echo "${ECHO_T}$ac_header_compiler" >&6
4534 ac_header_compiler=no
4535 fi
4536
4537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4538 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4539 $as_echo "$ac_header_compiler" >&6; }
38564540
38574541 # Is the header present?
3858 echo "$as_me:$LINENO: checking linux/cciss_ioctl.h presence" >&5
3859 echo $ECHO_N "checking linux/cciss_ioctl.h presence... $ECHO_C" >&6
4542 { $as_echo "$as_me:$LINENO: checking linux/cciss_ioctl.h presence" >&5
4543 $as_echo_n "checking linux/cciss_ioctl.h presence... " >&6; }
38604544 cat >conftest.$ac_ext <<_ACEOF
38614545 /* confdefs.h. */
38624546 _ACEOF
38654549 /* end confdefs.h. */
38664550 #include <linux/cciss_ioctl.h>
38674551 _ACEOF
3868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3869 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4552 if { (ac_try="$ac_cpp conftest.$ac_ext"
4553 case "(($ac_try" in
4554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4555 *) ac_try_echo=$ac_try;;
4556 esac
4557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4558 $as_echo "$ac_try_echo") >&5
4559 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
38704560 ac_status=$?
38714561 grep -v '^ *+' conftest.er1 >conftest.err
38724562 rm -f conftest.er1
38734563 cat conftest.err >&5
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); } >/dev/null; then
3876 if test -s conftest.err; then
3877 ac_cpp_err=$ac_c_preproc_warn_flag
3878 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3879 else
3880 ac_cpp_err=
3881 fi
3882 else
3883 ac_cpp_err=yes
3884 fi
3885 if test -z "$ac_cpp_err"; then
4564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); } >/dev/null && {
4566 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4567 test ! -s conftest.err
4568 }; then
38864569 ac_header_preproc=yes
38874570 else
3888 echo "$as_me: failed program was:" >&5
4571 $as_echo "$as_me: failed program was:" >&5
38894572 sed 's/^/| /' conftest.$ac_ext >&5
38904573
38914574 ac_header_preproc=no
38924575 fi
4576
38934577 rm -f conftest.err conftest.$ac_ext
3894 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3895 echo "${ECHO_T}$ac_header_preproc" >&6
4578 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4579 $as_echo "$ac_header_preproc" >&6; }
38964580
38974581 # So? What about this header?
38984582 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38994583 yes:no: )
3900 { echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5
3901 echo "$as_me: WARNING: linux/cciss_ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3902 { echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: proceeding with the compiler's result" >&5
3903 echo "$as_me: WARNING: linux/cciss_ioctl.h: proceeding with the compiler's result" >&2;}
4584 { $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4585 $as_echo "$as_me: WARNING: linux/cciss_ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4586 { $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: proceeding with the compiler's result" >&5
4587 $as_echo "$as_me: WARNING: linux/cciss_ioctl.h: proceeding with the compiler's result" >&2;}
39044588 ac_header_preproc=yes
39054589 ;;
39064590 no:yes:* )
3907 { echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: present but cannot be compiled" >&5
3908 echo "$as_me: WARNING: linux/cciss_ioctl.h: present but cannot be compiled" >&2;}
3909 { echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: check for missing prerequisite headers?" >&5
3910 echo "$as_me: WARNING: linux/cciss_ioctl.h: check for missing prerequisite headers?" >&2;}
3911 { echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: see the Autoconf documentation" >&5
3912 echo "$as_me: WARNING: linux/cciss_ioctl.h: see the Autoconf documentation" >&2;}
3913 { echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: section \"Present But Cannot Be Compiled\"" >&5
3914 echo "$as_me: WARNING: linux/cciss_ioctl.h: section \"Present But Cannot Be Compiled\"" >&2;}
3915 { echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: proceeding with the preprocessor's result" >&5
3916 echo "$as_me: WARNING: linux/cciss_ioctl.h: proceeding with the preprocessor's result" >&2;}
3917 { echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: in the future, the compiler will take precedence" >&5
3918 echo "$as_me: WARNING: linux/cciss_ioctl.h: in the future, the compiler will take precedence" >&2;}
3919 (
3920 cat <<\_ASBOX
4591 { $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: present but cannot be compiled" >&5
4592 $as_echo "$as_me: WARNING: linux/cciss_ioctl.h: present but cannot be compiled" >&2;}
4593 { $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: check for missing prerequisite headers?" >&5
4594 $as_echo "$as_me: WARNING: linux/cciss_ioctl.h: check for missing prerequisite headers?" >&2;}
4595 { $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: see the Autoconf documentation" >&5
4596 $as_echo "$as_me: WARNING: linux/cciss_ioctl.h: see the Autoconf documentation" >&2;}
4597 { $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: section \"Present But Cannot Be Compiled\"" >&5
4598 $as_echo "$as_me: WARNING: linux/cciss_ioctl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4599 { $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: proceeding with the preprocessor's result" >&5
4600 $as_echo "$as_me: WARNING: linux/cciss_ioctl.h: proceeding with the preprocessor's result" >&2;}
4601 { $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: in the future, the compiler will take precedence" >&5
4602 $as_echo "$as_me: WARNING: linux/cciss_ioctl.h: in the future, the compiler will take precedence" >&2;}
4603 ( cat <<\_ASBOX
39214604 ## ---------------------------------------------- ##
39224605 ## Report this to smcameron@users.sourceforge.net ##
39234606 ## ---------------------------------------------- ##
39244607 _ASBOX
3925 ) |
3926 sed "s/^/$as_me: WARNING: /" >&2
4608 ) | sed "s/^/$as_me: WARNING: /" >&2
39274609 ;;
39284610 esac
3929 echo "$as_me:$LINENO: checking for linux/cciss_ioctl.h" >&5
3930 echo $ECHO_N "checking for linux/cciss_ioctl.h... $ECHO_C" >&6
4611 { $as_echo "$as_me:$LINENO: checking for linux/cciss_ioctl.h" >&5
4612 $as_echo_n "checking for linux/cciss_ioctl.h... " >&6; }
39314613 if test "${ac_cv_header_linux_cciss_ioctl_h+set}" = set; then
3932 echo $ECHO_N "(cached) $ECHO_C" >&6
4614 $as_echo_n "(cached) " >&6
39334615 else
39344616 ac_cv_header_linux_cciss_ioctl_h=$ac_header_preproc
39354617 fi
3936 echo "$as_me:$LINENO: result: $ac_cv_header_linux_cciss_ioctl_h" >&5
3937 echo "${ECHO_T}$ac_cv_header_linux_cciss_ioctl_h" >&6
3938
3939 fi
3940 if test $ac_cv_header_linux_cciss_ioctl_h = yes; then
4618 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cciss_ioctl_h" >&5
4619 $as_echo "$ac_cv_header_linux_cciss_ioctl_h" >&6; }
4620
4621 fi
4622 if test "x$ac_cv_header_linux_cciss_ioctl_h" = x""yes; then
39414623
39424624 cat >>confdefs.h <<\_ACEOF
39434625 #define HAVE_LINUX_CCISS_IOCTL_H 1
39474629
39484630
39494631 if test "${ac_cv_header__usr_src_sys_dev_ciss_cissio_h+set}" = set; then
3950 echo "$as_me:$LINENO: checking for /usr/src/sys/dev/ciss/cissio.h" >&5
3951 echo $ECHO_N "checking for /usr/src/sys/dev/ciss/cissio.h... $ECHO_C" >&6
4632 { $as_echo "$as_me:$LINENO: checking for /usr/src/sys/dev/ciss/cissio.h" >&5
4633 $as_echo_n "checking for /usr/src/sys/dev/ciss/cissio.h... " >&6; }
39524634 if test "${ac_cv_header__usr_src_sys_dev_ciss_cissio_h+set}" = set; then
3953 echo $ECHO_N "(cached) $ECHO_C" >&6
3954 fi
3955 echo "$as_me:$LINENO: result: $ac_cv_header__usr_src_sys_dev_ciss_cissio_h" >&5
3956 echo "${ECHO_T}$ac_cv_header__usr_src_sys_dev_ciss_cissio_h" >&6
4635 $as_echo_n "(cached) " >&6
4636 fi
4637 { $as_echo "$as_me:$LINENO: result: $ac_cv_header__usr_src_sys_dev_ciss_cissio_h" >&5
4638 $as_echo "$ac_cv_header__usr_src_sys_dev_ciss_cissio_h" >&6; }
39574639 else
39584640 # Is the header compilable?
3959 echo "$as_me:$LINENO: checking /usr/src/sys/dev/ciss/cissio.h usability" >&5
3960 echo $ECHO_N "checking /usr/src/sys/dev/ciss/cissio.h usability... $ECHO_C" >&6
4641 { $as_echo "$as_me:$LINENO: checking /usr/src/sys/dev/ciss/cissio.h usability" >&5
4642 $as_echo_n "checking /usr/src/sys/dev/ciss/cissio.h usability... " >&6; }
39614643 cat >conftest.$ac_ext <<_ACEOF
39624644 /* confdefs.h. */
39634645 _ACEOF
39684650 #include </usr/src/sys/dev/ciss/cissio.h>
39694651 _ACEOF
39704652 rm -f conftest.$ac_objext
3971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3972 (eval $ac_compile) 2>conftest.er1
4653 if { (ac_try="$ac_compile"
4654 case "(($ac_try" in
4655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4656 *) ac_try_echo=$ac_try;;
4657 esac
4658 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4659 $as_echo "$ac_try_echo") >&5
4660 (eval "$ac_compile") 2>conftest.er1
39734661 ac_status=$?
39744662 grep -v '^ *+' conftest.er1 >conftest.err
39754663 rm -f conftest.er1
39764664 cat conftest.err >&5
3977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978 (exit $ac_status); } &&
3979 { ac_try='test -z "$ac_c_werror_flag"
3980 || test ! -s conftest.err'
3981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3982 (eval $ac_try) 2>&5
3983 ac_status=$?
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985 (exit $ac_status); }; } &&
3986 { ac_try='test -s conftest.$ac_objext'
3987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3988 (eval $ac_try) 2>&5
3989 ac_status=$?
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); }; }; then
4665 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); } && {
4667 test -z "$ac_c_werror_flag" ||
4668 test ! -s conftest.err
4669 } && test -s conftest.$ac_objext; then
39924670 ac_header_compiler=yes
39934671 else
3994 echo "$as_me: failed program was:" >&5
4672 $as_echo "$as_me: failed program was:" >&5
39954673 sed 's/^/| /' conftest.$ac_ext >&5
39964674
3997 ac_header_compiler=no
3998 fi
3999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4000 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4001 echo "${ECHO_T}$ac_header_compiler" >&6
4675 ac_header_compiler=no
4676 fi
4677
4678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4679 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4680 $as_echo "$ac_header_compiler" >&6; }
40024681
40034682 # Is the header present?
4004 echo "$as_me:$LINENO: checking /usr/src/sys/dev/ciss/cissio.h presence" >&5
4005 echo $ECHO_N "checking /usr/src/sys/dev/ciss/cissio.h presence... $ECHO_C" >&6
4683 { $as_echo "$as_me:$LINENO: checking /usr/src/sys/dev/ciss/cissio.h presence" >&5
4684 $as_echo_n "checking /usr/src/sys/dev/ciss/cissio.h presence... " >&6; }
40064685 cat >conftest.$ac_ext <<_ACEOF
40074686 /* confdefs.h. */
40084687 _ACEOF
40114690 /* end confdefs.h. */
40124691 #include </usr/src/sys/dev/ciss/cissio.h>
40134692 _ACEOF
4014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4015 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4693 if { (ac_try="$ac_cpp conftest.$ac_ext"
4694 case "(($ac_try" in
4695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4696 *) ac_try_echo=$ac_try;;
4697 esac
4698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4699 $as_echo "$ac_try_echo") >&5
4700 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
40164701 ac_status=$?
40174702 grep -v '^ *+' conftest.er1 >conftest.err
40184703 rm -f conftest.er1
40194704 cat conftest.err >&5
4020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4021 (exit $ac_status); } >/dev/null; then
4022 if test -s conftest.err; then
4023 ac_cpp_err=$ac_c_preproc_warn_flag
4024 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4025 else
4026 ac_cpp_err=
4027 fi
4028 else
4029 ac_cpp_err=yes
4030 fi
4031 if test -z "$ac_cpp_err"; then
4705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); } >/dev/null && {
4707 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4708 test ! -s conftest.err
4709 }; then
40324710 ac_header_preproc=yes
40334711 else
4034 echo "$as_me: failed program was:" >&5
4712 $as_echo "$as_me: failed program was:" >&5
40354713 sed 's/^/| /' conftest.$ac_ext >&5
40364714
40374715 ac_header_preproc=no
40384716 fi
4717
40394718 rm -f conftest.err conftest.$ac_ext
4040 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4041 echo "${ECHO_T}$ac_header_preproc" >&6
4719 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4720 $as_echo "$ac_header_preproc" >&6; }
40424721
40434722 # So? What about this header?
40444723 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40454724 yes:no: )
4046 { echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: accepted by the compiler, rejected by the preprocessor!" >&5
4047 echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4048 { echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: proceeding with the compiler's result" >&5
4049 echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: proceeding with the compiler's result" >&2;}
4725 { $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: accepted by the compiler, rejected by the preprocessor!" >&5
4726 $as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4727 { $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: proceeding with the compiler's result" >&5
4728 $as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: proceeding with the compiler's result" >&2;}
40504729 ac_header_preproc=yes
40514730 ;;
40524731 no:yes:* )
4053 { echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: present but cannot be compiled" >&5
4054 echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: present but cannot be compiled" >&2;}
4055 { echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: check for missing prerequisite headers?" >&5
4056 echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: check for missing prerequisite headers?" >&2;}
4057 { echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: see the Autoconf documentation" >&5
4058 echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: see the Autoconf documentation" >&2;}
4059 { echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: section \"Present But Cannot Be Compiled\"" >&5
4060 echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: section \"Present But Cannot Be Compiled\"" >&2;}
4061 { echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: proceeding with the preprocessor's result" >&5
4062 echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: proceeding with the preprocessor's result" >&2;}
4063 { echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: in the future, the compiler will take precedence" >&5
4064 echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: in the future, the compiler will take precedence" >&2;}
4065 (
4066 cat <<\_ASBOX
4732 { $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: present but cannot be compiled" >&5
4733 $as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: present but cannot be compiled" >&2;}
4734 { $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: check for missing prerequisite headers?" >&5
4735 $as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: check for missing prerequisite headers?" >&2;}
4736 { $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: see the Autoconf documentation" >&5
4737 $as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: see the Autoconf documentation" >&2;}
4738 { $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: section \"Present But Cannot Be Compiled\"" >&5
4739 $as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: section \"Present But Cannot Be Compiled\"" >&2;}
4740 { $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: proceeding with the preprocessor's result" >&5
4741 $as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: proceeding with the preprocessor's result" >&2;}
4742 { $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: in the future, the compiler will take precedence" >&5
4743 $as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: in the future, the compiler will take precedence" >&2;}
4744 ( cat <<\_ASBOX
40674745 ## ---------------------------------------------- ##
40684746 ## Report this to smcameron@users.sourceforge.net ##
40694747 ## ---------------------------------------------- ##
40704748 _ASBOX
4071 ) |
4072 sed "s/^/$as_me: WARNING: /" >&2
4749 ) | sed "s/^/$as_me: WARNING: /" >&2
40734750 ;;
40744751 esac
4075 echo "$as_me:$LINENO: checking for /usr/src/sys/dev/ciss/cissio.h" >&5
4076 echo $ECHO_N "checking for /usr/src/sys/dev/ciss/cissio.h... $ECHO_C" >&6
4752 { $as_echo "$as_me:$LINENO: checking for /usr/src/sys/dev/ciss/cissio.h" >&5
4753 $as_echo_n "checking for /usr/src/sys/dev/ciss/cissio.h... " >&6; }
40774754 if test "${ac_cv_header__usr_src_sys_dev_ciss_cissio_h+set}" = set; then
4078 echo $ECHO_N "(cached) $ECHO_C" >&6
4755 $as_echo_n "(cached) " >&6
40794756 else
40804757 ac_cv_header__usr_src_sys_dev_ciss_cissio_h=$ac_header_preproc
40814758 fi
4082 echo "$as_me:$LINENO: result: $ac_cv_header__usr_src_sys_dev_ciss_cissio_h" >&5
4083 echo "${ECHO_T}$ac_cv_header__usr_src_sys_dev_ciss_cissio_h" >&6
4084
4085 fi
4086 if test $ac_cv_header__usr_src_sys_dev_ciss_cissio_h = yes; then
4759 { $as_echo "$as_me:$LINENO: result: $ac_cv_header__usr_src_sys_dev_ciss_cissio_h" >&5
4760 $as_echo "$ac_cv_header__usr_src_sys_dev_ciss_cissio_h" >&6; }
4761
4762 fi
4763 if test "x$ac_cv_header__usr_src_sys_dev_ciss_cissio_h" = x""yes; then
40874764
40884765 cat >>confdefs.h <<\_ACEOF
40894766 #define HAVE_CISSIO_H 1
40944771
40954772
40964773 # Checks for typedefs, structures, and compiler characteristics.
4097 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4098 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4774 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4775 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
40994776 if test "${ac_cv_c_const+set}" = set; then
4100 echo $ECHO_N "(cached) $ECHO_C" >&6
4777 $as_echo_n "(cached) " >&6
41014778 else
41024779 cat >conftest.$ac_ext <<_ACEOF
41034780 /* confdefs.h. */
41134790 #ifndef __cplusplus
41144791 /* Ultrix mips cc rejects this. */
41154792 typedef int charset[2];
4116 const charset x;
4793 const charset cs;
41174794 /* SunOS 4.1.1 cc rejects this. */
4118 char const *const *ccp;
4119 char **p;
4795 char const *const *pcpcc;
4796 char **ppc;
41204797 /* NEC SVR4.0.2 mips cc rejects this. */
41214798 struct point {int x, y;};
41224799 static struct point const zero = {0,0};
41254802 an arm of an if-expression whose if-part is not a constant
41264803 expression */
41274804 const char *g = "string";
4128 ccp = &g + (g ? g-g : 0);
4805 pcpcc = &g + (g ? g-g : 0);
41294806 /* HPUX 7.0 cc rejects these. */
4130 ++ccp;
4131 p = (char**) ccp;
4132 ccp = (char const *const *) p;
4807 ++pcpcc;
4808 ppc = (char**) pcpcc;
4809 pcpcc = (char const *const *) ppc;
41334810 { /* SCO 3.2v4 cc rejects this. */
41344811 char *t;
41354812 char const *s = 0 ? (char *) 0 : (char const *) 0;
41364813
41374814 *t++ = 0;
4815 if (s) return 0;
41384816 }
41394817 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
41404818 int x[] = {25, 17};
41534831 }
41544832 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
41554833 const int foo = 10;
4834 if (!foo) return 0;
41564835 }
4836 return !cs[0] && !zero.x;
41574837 #endif
41584838
41594839 ;
41614841 }
41624842 _ACEOF
41634843 rm -f conftest.$ac_objext
4164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4165 (eval $ac_compile) 2>conftest.er1
4844 if { (ac_try="$ac_compile"
4845 case "(($ac_try" in
4846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4847 *) ac_try_echo=$ac_try;;
4848 esac
4849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4850 $as_echo "$ac_try_echo") >&5
4851 (eval "$ac_compile") 2>conftest.er1
41664852 ac_status=$?
41674853 grep -v '^ *+' conftest.er1 >conftest.err
41684854 rm -f conftest.er1
41694855 cat conftest.err >&5
4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171 (exit $ac_status); } &&
4172 { ac_try='test -z "$ac_c_werror_flag"
4173 || test ! -s conftest.err'
4174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4175 (eval $ac_try) 2>&5
4176 ac_status=$?
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); }; } &&
4179 { ac_try='test -s conftest.$ac_objext'
4180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4181 (eval $ac_try) 2>&5
4182 ac_status=$?
4183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184 (exit $ac_status); }; }; then
4856 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857 (exit $ac_status); } && {
4858 test -z "$ac_c_werror_flag" ||
4859 test ! -s conftest.err
4860 } && test -s conftest.$ac_objext; then
41854861 ac_cv_c_const=yes
41864862 else
4187 echo "$as_me: failed program was:" >&5
4863 $as_echo "$as_me: failed program was:" >&5
41884864 sed 's/^/| /' conftest.$ac_ext >&5
41894865
4190 ac_cv_c_const=no
4191 fi
4192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4193 fi
4194 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4195 echo "${ECHO_T}$ac_cv_c_const" >&6
4866 ac_cv_c_const=no
4867 fi
4868
4869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4870 fi
4871 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4872 $as_echo "$ac_cv_c_const" >&6; }
41964873 if test $ac_cv_c_const = no; then
41974874
41984875 cat >>confdefs.h <<\_ACEOF
4199 #define const
4876 #define const /**/
42004877 _ACEOF
42014878
42024879 fi
42044881
42054882 # Checks for library functions.
42064883 if test $ac_cv_c_compiler_gnu = yes; then
4207 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4208 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
4884 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4885 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
42094886 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4210 echo $ECHO_N "(cached) $ECHO_C" >&6
4887 $as_echo_n "(cached) " >&6
42114888 else
42124889 ac_pattern="Autoconf.*'x'"
42134890 cat >conftest.$ac_ext <<_ACEOF
42464923
42474924 fi
42484925 fi
4249 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
4250 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
4926 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
4927 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
42514928 if test $ac_cv_prog_gcc_traditional = yes; then
42524929 CC="$CC -traditional"
42534930 fi
42564933
42574934 for ac_header in stdlib.h
42584935 do
4259 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4261 echo "$as_me:$LINENO: checking for $ac_header" >&5
4262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4264 echo $ECHO_N "(cached) $ECHO_C" >&6
4265 fi
4266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4936 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4937 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4938 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4939 $as_echo_n "checking for $ac_header... " >&6; }
4940 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4941 $as_echo_n "(cached) " >&6
4942 fi
4943 ac_res=`eval 'as_val=${'$as_ac_Header'}
4944 $as_echo "$as_val"'`
4945 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4946 $as_echo "$ac_res" >&6; }
42684947 else
42694948 # Is the header compilable?
4270 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4271 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4949 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4950 $as_echo_n "checking $ac_header usability... " >&6; }
42724951 cat >conftest.$ac_ext <<_ACEOF
42734952 /* confdefs.h. */
42744953 _ACEOF
42794958 #include <$ac_header>
42804959 _ACEOF
42814960 rm -f conftest.$ac_objext
4282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4283 (eval $ac_compile) 2>conftest.er1
4961 if { (ac_try="$ac_compile"
4962 case "(($ac_try" in
4963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4964 *) ac_try_echo=$ac_try;;
4965 esac
4966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4967 $as_echo "$ac_try_echo") >&5
4968 (eval "$ac_compile") 2>conftest.er1
42844969 ac_status=$?
42854970 grep -v '^ *+' conftest.er1 >conftest.err
42864971 rm -f conftest.er1
42874972 cat conftest.err >&5
4288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289 (exit $ac_status); } &&
4290 { ac_try='test -z "$ac_c_werror_flag"
4291 || test ! -s conftest.err'
4292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4293 (eval $ac_try) 2>&5
4294 ac_status=$?
4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); }; } &&
4297 { ac_try='test -s conftest.$ac_objext'
4298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4299 (eval $ac_try) 2>&5
4300 ac_status=$?
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); }; }; then
4973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4974 (exit $ac_status); } && {
4975 test -z "$ac_c_werror_flag" ||
4976 test ! -s conftest.err
4977 } && test -s conftest.$ac_objext; then
43034978 ac_header_compiler=yes
43044979 else
4305 echo "$as_me: failed program was:" >&5
4980 $as_echo "$as_me: failed program was:" >&5
43064981 sed 's/^/| /' conftest.$ac_ext >&5
43074982
4308 ac_header_compiler=no
4309 fi
4310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4311 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4312 echo "${ECHO_T}$ac_header_compiler" >&6
4983 ac_header_compiler=no
4984 fi
4985
4986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4987 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4988 $as_echo "$ac_header_compiler" >&6; }
43134989
43144990 # Is the header present?
4315 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4316 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4991 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4992 $as_echo_n "checking $ac_header presence... " >&6; }
43174993 cat >conftest.$ac_ext <<_ACEOF
43184994 /* confdefs.h. */
43194995 _ACEOF
43224998 /* end confdefs.h. */
43234999 #include <$ac_header>
43245000 _ACEOF
4325 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4326 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5001 if { (ac_try="$ac_cpp conftest.$ac_ext"
5002 case "(($ac_try" in
5003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5004 *) ac_try_echo=$ac_try;;
5005 esac
5006 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5007 $as_echo "$ac_try_echo") >&5
5008 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
43275009 ac_status=$?
43285010 grep -v '^ *+' conftest.er1 >conftest.err
43295011 rm -f conftest.er1
43305012 cat conftest.err >&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); } >/dev/null; then
4333 if test -s conftest.err; then
4334 ac_cpp_err=$ac_c_preproc_warn_flag
4335 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4336 else
4337 ac_cpp_err=
4338 fi
4339 else
4340 ac_cpp_err=yes
4341 fi
4342 if test -z "$ac_cpp_err"; then
5013 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); } >/dev/null && {
5015 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5016 test ! -s conftest.err
5017 }; then
43435018 ac_header_preproc=yes
43445019 else
4345 echo "$as_me: failed program was:" >&5
5020 $as_echo "$as_me: failed program was:" >&5
43465021 sed 's/^/| /' conftest.$ac_ext >&5
43475022
43485023 ac_header_preproc=no
43495024 fi
5025
43505026 rm -f conftest.err conftest.$ac_ext
4351 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4352 echo "${ECHO_T}$ac_header_preproc" >&6
5027 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5028 $as_echo "$ac_header_preproc" >&6; }
43535029
43545030 # So? What about this header?
43555031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43565032 yes:no: )
4357 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4358 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4360 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5033 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5034 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5035 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5036 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43615037 ac_header_preproc=yes
43625038 ;;
43635039 no:yes:* )
4364 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4365 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4366 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4367 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4368 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4369 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4370 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4371 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4372 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4373 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4374 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4375 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4376 (
4377 cat <<\_ASBOX
5040 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5041 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5042 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5043 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5044 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5045 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5046 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5047 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5048 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5049 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5050 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5051 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5052 ( cat <<\_ASBOX
43785053 ## ---------------------------------------------- ##
43795054 ## Report this to smcameron@users.sourceforge.net ##
43805055 ## ---------------------------------------------- ##
43815056 _ASBOX
4382 ) |
4383 sed "s/^/$as_me: WARNING: /" >&2
5057 ) | sed "s/^/$as_me: WARNING: /" >&2
43845058 ;;
43855059 esac
4386 echo "$as_me:$LINENO: checking for $ac_header" >&5
4387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4389 echo $ECHO_N "(cached) $ECHO_C" >&6
5060 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5061 $as_echo_n "checking for $ac_header... " >&6; }
5062 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5063 $as_echo_n "(cached) " >&6
43905064 else
43915065 eval "$as_ac_Header=\$ac_header_preproc"
43925066 fi
4393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4395
4396 fi
4397 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5067 ac_res=`eval 'as_val=${'$as_ac_Header'}
5068 $as_echo "$as_val"'`
5069 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5070 $as_echo "$ac_res" >&6; }
5071
5072 fi
5073 as_val=`eval 'as_val=${'$as_ac_Header'}
5074 $as_echo "$as_val"'`
5075 if test "x$as_val" = x""yes; then
43985076 cat >>confdefs.h <<_ACEOF
4399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5077 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
44005078 _ACEOF
44015079
44025080 fi
44035081
44045082 done
44055083
4406 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
4407 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
5084 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
5085 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
44085086 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
4409 echo $ECHO_N "(cached) $ECHO_C" >&6
5087 $as_echo_n "(cached) " >&6
44105088 else
44115089 if test "$cross_compiling" = yes; then
44125090 ac_cv_func_malloc_0_nonnull=no
44175095 cat confdefs.h >>conftest.$ac_ext
44185096 cat >>conftest.$ac_ext <<_ACEOF
44195097 /* end confdefs.h. */
4420 #if STDC_HEADERS || HAVE_STDLIB_H
5098 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
44215099 # include <stdlib.h>
44225100 #else
44235101 char *malloc ();
44265104 int
44275105 main ()
44285106 {
4429 exit (malloc (0) ? 0 : 1);
5107 return ! malloc (0);
44305108 ;
44315109 return 0;
44325110 }
44335111 _ACEOF
44345112 rm -f conftest$ac_exeext
4435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4436 (eval $ac_link) 2>&5
5113 if { (ac_try="$ac_link"
5114 case "(($ac_try" in
5115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5116 *) ac_try_echo=$ac_try;;
5117 esac
5118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5119 $as_echo "$ac_try_echo") >&5
5120 (eval "$ac_link") 2>&5
44375121 ac_status=$?
4438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
44395123 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4441 (eval $ac_try) 2>&5
5124 { (case "(($ac_try" in
5125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5126 *) ac_try_echo=$ac_try;;
5127 esac
5128 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5129 $as_echo "$ac_try_echo") >&5
5130 (eval "$ac_try") 2>&5
44425131 ac_status=$?
4443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
44445133 (exit $ac_status); }; }; then
44455134 ac_cv_func_malloc_0_nonnull=yes
44465135 else
4447 echo "$as_me: program exited with status $ac_status" >&5
4448 echo "$as_me: failed program was:" >&5
5136 $as_echo "$as_me: program exited with status $ac_status" >&5
5137 $as_echo "$as_me: failed program was:" >&5
44495138 sed 's/^/| /' conftest.$ac_ext >&5
44505139
44515140 ( exit $ac_status )
44525141 ac_cv_func_malloc_0_nonnull=no
44535142 fi
4454 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4455 fi
4456 fi
4457 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
4458 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
5143 rm -rf conftest.dSYM
5144 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5145 fi
5146
5147
5148 fi
5149 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
5150 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
44595151 if test $ac_cv_func_malloc_0_nonnull = yes; then
44605152
44615153 cat >>confdefs.h <<\_ACEOF
44675159 #define HAVE_MALLOC 0
44685160 _ACEOF
44695161
4470 case $LIBOBJS in
4471 "malloc.$ac_objext" | \
4472 *" malloc.$ac_objext" | \
4473 "malloc.$ac_objext "* | \
5162 case " $LIBOBJS " in
44745163 *" malloc.$ac_objext "* ) ;;
4475 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;;
5164 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5165 ;;
44765166 esac
44775167
44785168
44845174
44855175
44865176
4487 echo "$as_me:$LINENO: checking for getopt" >&5
4488 echo $ECHO_N "checking for getopt... $ECHO_C" >&6
5177 { $as_echo "$as_me:$LINENO: checking for getopt" >&5
5178 $as_echo_n "checking for getopt... " >&6; }
44895179 if test "${ac_cv_func_getopt+set}" = set; then
4490 echo $ECHO_N "(cached) $ECHO_C" >&6
5180 $as_echo_n "(cached) " >&6
44915181 else
44925182 cat >conftest.$ac_ext <<_ACEOF
44935183 /* confdefs.h. */
45125202
45135203 #undef getopt
45145204
4515 /* Override any gcc2 internal prototype to avoid an error. */
5205 /* Override any GCC internal prototype to avoid an error.
5206 Use char because int might match the return type of a GCC
5207 builtin and then its argument prototype would still apply. */
45165208 #ifdef __cplusplus
45175209 extern "C"
4518 {
45195210 #endif
4520 /* We use char because int might match the return type of a gcc2
4521 builtin and then its argument prototype would still apply. */
45225211 char getopt ();
45235212 /* The GNU C library defines this for functions which it implements
45245213 to always fail with ENOSYS. Some functions are actually named
45255214 something starting with __ and the normal name is an alias. */
4526 #if defined (__stub_getopt) || defined (__stub___getopt)
5215 #if defined __stub_getopt || defined __stub___getopt
45275216 choke me
4528 #else
4529 char (*f) () = getopt;
4530 #endif
4531 #ifdef __cplusplus
4532 }
45335217 #endif
45345218
45355219 int
45365220 main ()
45375221 {
4538 return f != getopt;
5222 return getopt ();
45395223 ;
45405224 return 0;
45415225 }
45425226 _ACEOF
45435227 rm -f conftest.$ac_objext conftest$ac_exeext
4544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4545 (eval $ac_link) 2>conftest.er1
5228 if { (ac_try="$ac_link"
5229 case "(($ac_try" in
5230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5231 *) ac_try_echo=$ac_try;;
5232 esac
5233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5234 $as_echo "$ac_try_echo") >&5
5235 (eval "$ac_link") 2>conftest.er1
45465236 ac_status=$?
45475237 grep -v '^ *+' conftest.er1 >conftest.err
45485238 rm -f conftest.er1
45495239 cat conftest.err >&5
4550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4551 (exit $ac_status); } &&
4552 { ac_try='test -z "$ac_c_werror_flag"
4553 || test ! -s conftest.err'
4554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4555 (eval $ac_try) 2>&5
4556 ac_status=$?
4557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4558 (exit $ac_status); }; } &&
4559 { ac_try='test -s conftest$ac_exeext'
4560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4561 (eval $ac_try) 2>&5
4562 ac_status=$?
4563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4564 (exit $ac_status); }; }; then
5240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241 (exit $ac_status); } && {
5242 test -z "$ac_c_werror_flag" ||
5243 test ! -s conftest.err
5244 } && test -s conftest$ac_exeext && {
5245 test "$cross_compiling" = yes ||
5246 $as_test_x conftest$ac_exeext
5247 }; then
45655248 ac_cv_func_getopt=yes
45665249 else
4567 echo "$as_me: failed program was:" >&5
5250 $as_echo "$as_me: failed program was:" >&5
45685251 sed 's/^/| /' conftest.$ac_ext >&5
45695252
4570 ac_cv_func_getopt=no
4571 fi
4572 rm -f conftest.err conftest.$ac_objext \
5253 ac_cv_func_getopt=no
5254 fi
5255
5256 rm -rf conftest.dSYM
5257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45735258 conftest$ac_exeext conftest.$ac_ext
45745259 fi
4575 echo "$as_me:$LINENO: result: $ac_cv_func_getopt" >&5
4576 echo "${ECHO_T}$ac_cv_func_getopt" >&6
4577
4578 echo "$as_me:$LINENO: checking for getopt_long" >&5
4579 echo $ECHO_N "checking for getopt_long... $ECHO_C" >&6
5260 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getopt" >&5
5261 $as_echo "$ac_cv_func_getopt" >&6; }
5262
5263 { $as_echo "$as_me:$LINENO: checking for getopt_long" >&5
5264 $as_echo_n "checking for getopt_long... " >&6; }
45805265 if test "${ac_cv_func_getopt_long+set}" = set; then
4581 echo $ECHO_N "(cached) $ECHO_C" >&6
5266 $as_echo_n "(cached) " >&6
45825267 else
45835268 cat >conftest.$ac_ext <<_ACEOF
45845269 /* confdefs.h. */
46035288
46045289 #undef getopt_long
46055290
4606 /* Override any gcc2 internal prototype to avoid an error. */
5291 /* Override any GCC internal prototype to avoid an error.
5292 Use char because int might match the return type of a GCC
5293 builtin and then its argument prototype would still apply. */
46075294 #ifdef __cplusplus
46085295 extern "C"
4609 {
46105296 #endif
4611 /* We use char because int might match the return type of a gcc2
4612 builtin and then its argument prototype would still apply. */
46135297 char getopt_long ();
46145298 /* The GNU C library defines this for functions which it implements
46155299 to always fail with ENOSYS. Some functions are actually named
46165300 something starting with __ and the normal name is an alias. */
4617 #if defined (__stub_getopt_long) || defined (__stub___getopt_long)
5301 #if defined __stub_getopt_long || defined __stub___getopt_long
46185302 choke me
4619 #else
4620 char (*f) () = getopt_long;
4621 #endif
4622 #ifdef __cplusplus
4623 }
46245303 #endif
46255304
46265305 int
46275306 main ()
46285307 {
4629 return f != getopt_long;
5308 return getopt_long ();
46305309 ;
46315310 return 0;
46325311 }
46335312 _ACEOF
46345313 rm -f conftest.$ac_objext conftest$ac_exeext
4635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4636 (eval $ac_link) 2>conftest.er1
5314 if { (ac_try="$ac_link"
5315 case "(($ac_try" in
5316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5317 *) ac_try_echo=$ac_try;;
5318 esac
5319 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5320 $as_echo "$ac_try_echo") >&5
5321 (eval "$ac_link") 2>conftest.er1
46375322 ac_status=$?
46385323 grep -v '^ *+' conftest.er1 >conftest.err
46395324 rm -f conftest.er1
46405325 cat conftest.err >&5
4641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4642 (exit $ac_status); } &&
4643 { ac_try='test -z "$ac_c_werror_flag"
4644 || test ! -s conftest.err'
4645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4646 (eval $ac_try) 2>&5
4647 ac_status=$?
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); }; } &&
4650 { ac_try='test -s conftest$ac_exeext'
4651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4652 (eval $ac_try) 2>&5
4653 ac_status=$?
4654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655 (exit $ac_status); }; }; then
5326 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5327 (exit $ac_status); } && {
5328 test -z "$ac_c_werror_flag" ||
5329 test ! -s conftest.err
5330 } && test -s conftest$ac_exeext && {
5331 test "$cross_compiling" = yes ||
5332 $as_test_x conftest$ac_exeext
5333 }; then
46565334 ac_cv_func_getopt_long=yes
46575335 else
4658 echo "$as_me: failed program was:" >&5
5336 $as_echo "$as_me: failed program was:" >&5
46595337 sed 's/^/| /' conftest.$ac_ext >&5
46605338
4661 ac_cv_func_getopt_long=no
4662 fi
4663 rm -f conftest.err conftest.$ac_objext \
5339 ac_cv_func_getopt_long=no
5340 fi
5341
5342 rm -rf conftest.dSYM
5343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46645344 conftest$ac_exeext conftest.$ac_ext
46655345 fi
4666 echo "$as_me:$LINENO: result: $ac_cv_func_getopt_long" >&5
4667 echo "${ECHO_T}$ac_cv_func_getopt_long" >&6
5346 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getopt_long" >&5
5347 $as_echo "$ac_cv_func_getopt_long" >&6; }
46685348
46695349
46705350
46715351
46725352 for ac_func in memset strerror strstr
46735353 do
4674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4675 echo "$as_me:$LINENO: checking for $ac_func" >&5
4676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4677 if eval "test \"\${$as_ac_var+set}\" = set"; then
4678 echo $ECHO_N "(cached) $ECHO_C" >&6
5354 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5355 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5356 $as_echo_n "checking for $ac_func... " >&6; }
5357 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5358 $as_echo_n "(cached) " >&6
46795359 else
46805360 cat >conftest.$ac_ext <<_ACEOF
46815361 /* confdefs.h. */
47005380
47015381 #undef $ac_func
47025382
4703 /* Override any gcc2 internal prototype to avoid an error. */
5383 /* Override any GCC internal prototype to avoid an error.
5384 Use char because int might match the return type of a GCC
5385 builtin and then its argument prototype would still apply. */
47045386 #ifdef __cplusplus
47055387 extern "C"
4706 {
47075388 #endif
4708 /* We use char because int might match the return type of a gcc2
4709 builtin and then its argument prototype would still apply. */
47105389 char $ac_func ();
47115390 /* The GNU C library defines this for functions which it implements
47125391 to always fail with ENOSYS. Some functions are actually named
47135392 something starting with __ and the normal name is an alias. */
4714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5393 #if defined __stub_$ac_func || defined __stub___$ac_func
47155394 choke me
4716 #else
4717 char (*f) () = $ac_func;
4718 #endif
4719 #ifdef __cplusplus
4720 }
47215395 #endif
47225396
47235397 int
47245398 main ()
47255399 {
4726 return f != $ac_func;
5400 return $ac_func ();
47275401 ;
47285402 return 0;
47295403 }
47305404 _ACEOF
47315405 rm -f conftest.$ac_objext conftest$ac_exeext
4732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4733 (eval $ac_link) 2>conftest.er1
5406 if { (ac_try="$ac_link"
5407 case "(($ac_try" in
5408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5409 *) ac_try_echo=$ac_try;;
5410 esac
5411 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5412 $as_echo "$ac_try_echo") >&5
5413 (eval "$ac_link") 2>conftest.er1
47345414 ac_status=$?
47355415 grep -v '^ *+' conftest.er1 >conftest.err
47365416 rm -f conftest.er1
47375417 cat conftest.err >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); } &&
4740 { ac_try='test -z "$ac_c_werror_flag"
4741 || test ! -s conftest.err'
4742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4743 (eval $ac_try) 2>&5
4744 ac_status=$?
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); }; } &&
4747 { ac_try='test -s conftest$ac_exeext'
4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4749 (eval $ac_try) 2>&5
4750 ac_status=$?
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; }; then
5418 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419 (exit $ac_status); } && {
5420 test -z "$ac_c_werror_flag" ||
5421 test ! -s conftest.err
5422 } && test -s conftest$ac_exeext && {
5423 test "$cross_compiling" = yes ||
5424 $as_test_x conftest$ac_exeext
5425 }; then
47535426 eval "$as_ac_var=yes"
47545427 else
4755 echo "$as_me: failed program was:" >&5
5428 $as_echo "$as_me: failed program was:" >&5
47565429 sed 's/^/| /' conftest.$ac_ext >&5
47575430
4758 eval "$as_ac_var=no"
4759 fi
4760 rm -f conftest.err conftest.$ac_objext \
5431 eval "$as_ac_var=no"
5432 fi
5433
5434 rm -rf conftest.dSYM
5435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47615436 conftest$ac_exeext conftest.$ac_ext
47625437 fi
4763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4765 if test `eval echo '${'$as_ac_var'}'` = yes; then
5438 ac_res=`eval 'as_val=${'$as_ac_var'}
5439 $as_echo "$as_val"'`
5440 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5441 $as_echo "$ac_res" >&6; }
5442 as_val=`eval 'as_val=${'$as_ac_var'}
5443 $as_echo "$as_val"'`
5444 if test "x$as_val" = x""yes; then
47665445 cat >>confdefs.h <<_ACEOF
4767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5446 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47685447 _ACEOF
47695448
47705449 fi
47715450 done
47725451
47735452
4774 ac_config_files="$ac_config_files Makefile"
5453 ac_config_files="$ac_config_files Makefile"
47755454
47765455 cat >confcache <<\_ACEOF
47775456 # This file is a shell script that caches the results of configure
47915470
47925471 # The following way of writing the cache mishandles newlines in values,
47935472 # but we know of no workaround that is simple, portable, and efficient.
4794 # So, don't put newlines in cache variables' values.
5473 # So, we kill variables containing newlines.
47955474 # Ultrix sh set writes to stderr and can't be redirected directly,
47965475 # and sets the high bit in the cache file unless we assign to the vars.
4797 {
5476 (
5477 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5478 eval ac_val=\$$ac_var
5479 case $ac_val in #(
5480 *${as_nl}*)
5481 case $ac_var in #(
5482 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5483 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5484 esac
5485 case $ac_var in #(
5486 _ | IFS | as_nl) ;; #(
5487 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5488 *) $as_unset $ac_var ;;
5489 esac ;;
5490 esac
5491 done
5492
47985493 (set) 2>&1 |
4799 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4800 *ac_space=\ *)
5494 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5495 *${as_nl}ac_space=\ *)
48015496 # `set' does not quote correctly, so add quotes (double-quote
48025497 # substitution turns \\\\ into \\, and sed turns \\ into \).
48035498 sed -n \
48045499 "s/'/'\\\\''/g;
48055500 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4806 ;;
5501 ;; #(
48075502 *)
48085503 # `set' quotes correctly as required by POSIX, so do not add quotes.
4809 sed -n \
4810 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5504 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
48115505 ;;
4812 esac;
4813 } |
5506 esac |
5507 sort
5508 ) |
48145509 sed '
5510 /^ac_cv_env_/b end
48155511 t clear
4816 : clear
5512 :clear
48175513 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48185514 t end
4819 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4820 : end' >>confcache
4821 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4822 if test -w $cache_file; then
4823 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5515 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5516 :end' >>confcache
5517 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5518 if test -w "$cache_file"; then
5519 test "x$cache_file" != "x/dev/null" &&
5520 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5521 $as_echo "$as_me: updating cache $cache_file" >&6;}
48245522 cat confcache >$cache_file
48255523 else
4826 echo "not updating unwritable cache $cache_file"
5524 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5525 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
48275526 fi
48285527 fi
48295528 rm -f confcache
48315530 test "x$prefix" = xNONE && prefix=$ac_default_prefix
48325531 # Let make expand exec_prefix.
48335532 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4834
4835 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4836 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4837 # trailing colons and then remove the whole line if VPATH becomes empty
4838 # (actually we leave an empty line to preserve line numbers).
4839 if test "x$srcdir" = x.; then
4840 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4841 s/:*\$(srcdir):*/:/;
4842 s/:*\${srcdir}:*/:/;
4843 s/:*@srcdir@:*/:/;
4844 s/^\([^=]*=[ ]*\):*/\1/;
4845 s/:*$//;
4846 s/^[^=]*=[ ]*$//;
4847 }'
4848 fi
48495533
48505534 DEFS=-DHAVE_CONFIG_H
48515535
48535537 ac_ltlibobjs=
48545538 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
48555539 # 1. Remove the extension, and $U if already installed.
4856 ac_i=`echo "$ac_i" |
4857 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4858 # 2. Add them.
4859 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4860 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5540 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5541 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5542 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5543 # will be set to the directory where LIBOBJS objects are built.
5544 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5545 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
48615546 done
48625547 LIBOBJS=$ac_libobjs
48635548
48655550
48665551
48675552 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4868 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5553 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
48695554 Usually this means the macro was only invoked conditionally." >&5
4870 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5555 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
48715556 Usually this means the macro was only invoked conditionally." >&2;}
48725557 { (exit 1); exit 1; }; }
48735558 fi
48745559 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4875 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5560 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
48765561 Usually this means the macro was only invoked conditionally." >&5
4877 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5562 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
48785563 Usually this means the macro was only invoked conditionally." >&2;}
48795564 { (exit 1); exit 1; }; }
48805565 fi
48815566
48825567 : ${CONFIG_STATUS=./config.status}
5568 ac_write_fail=0
48835569 ac_clean_files_save=$ac_clean_files
48845570 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4885 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4886 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4887 cat >$CONFIG_STATUS <<_ACEOF
5571 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5572 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5573 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
48885574 #! $SHELL
48895575 # Generated by $as_me.
48905576 # Run this file to recreate the current configuration.
48975583 SHELL=\${CONFIG_SHELL-$SHELL}
48985584 _ACEOF
48995585
4900 cat >>$CONFIG_STATUS <<\_ACEOF
5586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
49015587 ## --------------------- ##
49025588 ## M4sh Initialization. ##
49035589 ## --------------------- ##
49045590
4905 # Be Bourne compatible
5591 # Be more Bourne compatible
5592 DUALCASE=1; export DUALCASE # for MKS sh
49065593 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49075594 emulate sh
49085595 NULLCMD=:
4909 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5596 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
49105597 # is contrary to our usage. Disable this feature.
49115598 alias -g '${1+"$@"}'='"$@"'
4912 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4913 set -o posix
4914 fi
4915 DUALCASE=1; export DUALCASE # for MKS sh
4916
4917 # Support unset when possible.
4918 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4919 as_unset=unset
4920 else
4921 as_unset=false
4922 fi
4923
4924
4925 # Work around bugs in pre-3.0 UWIN ksh.
4926 $as_unset ENV MAIL MAILPATH
4927 PS1='$ '
4928 PS2='> '
4929 PS4='+ '
4930
4931 # NLS nuisances.
4932 for as_var in \
4933 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4934 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4935 LC_TELEPHONE LC_TIME
4936 do
4937 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4938 eval $as_var=C; export $as_var
4939 else
4940 $as_unset $as_var
4941 fi
4942 done
4943
4944 # Required to use basename.
4945 if expr a : '\(a\)' >/dev/null 2>&1; then
4946 as_expr=expr
4947 else
4948 as_expr=false
4949 fi
4950
4951 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4952 as_basename=basename
4953 else
4954 as_basename=false
4955 fi
4956
4957
4958 # Name of the executable.
4959 as_me=`$as_basename "$0" ||
4960 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4961 X"$0" : 'X\(//\)$' \| \
4962 X"$0" : 'X\(/\)$' \| \
4963 . : '\(.\)' 2>/dev/null ||
4964 echo X/"$0" |
4965 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4966 /^X\/\(\/\/\)$/{ s//\1/; q; }
4967 /^X\/\(\/\).*/{ s//\1/; q; }
4968 s/.*/./; q'`
4969
4970
4971 # PATH needs CR, and LINENO needs CR and PATH.
5599 setopt NO_GLOB_SUBST
5600 else
5601 case `(set -o) 2>/dev/null` in
5602 *posix*) set -o posix ;;
5603 esac
5604
5605 fi
5606
5607
5608
5609
5610 # PATH needs CR
49725611 # Avoid depending upon Character Ranges.
49735612 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49745613 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49765615 as_cr_digits='0123456789'
49775616 as_cr_alnum=$as_cr_Letters$as_cr_digits
49785617
5618 as_nl='
5619 '
5620 export as_nl
5621 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5622 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5623 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5624 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5625 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5626 as_echo='printf %s\n'
5627 as_echo_n='printf %s'
5628 else
5629 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5630 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5631 as_echo_n='/usr/ucb/echo -n'
5632 else
5633 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5634 as_echo_n_body='eval
5635 arg=$1;
5636 case $arg in
5637 *"$as_nl"*)
5638 expr "X$arg" : "X\\(.*\\)$as_nl";
5639 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5640 esac;
5641 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5642 '
5643 export as_echo_n_body
5644 as_echo_n='sh -c $as_echo_n_body as_echo'
5645 fi
5646 export as_echo_body
5647 as_echo='sh -c $as_echo_body as_echo'
5648 fi
5649
49795650 # The user is always right.
49805651 if test "${PATH_SEPARATOR+set}" != set; then
4981 echo "#! /bin/sh" >conf$$.sh
4982 echo "exit 0" >>conf$$.sh
4983 chmod +x conf$$.sh
4984 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4985 PATH_SEPARATOR=';'
4986 else
4987 PATH_SEPARATOR=:
4988 fi
4989 rm -f conf$$.sh
4990 fi
4991
4992
4993 as_lineno_1=$LINENO
4994 as_lineno_2=$LINENO
4995 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4996 test "x$as_lineno_1" != "x$as_lineno_2" &&
4997 test "x$as_lineno_3" = "x$as_lineno_2" || {
4998 # Find who we are. Look in the path if we contain no path at all
4999 # relative or not.
5000 case $0 in
5001 *[\\/]* ) as_myself=$0 ;;
5002 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5652 PATH_SEPARATOR=:
5653 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5654 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5655 PATH_SEPARATOR=';'
5656 }
5657 fi
5658
5659 # Support unset when possible.
5660 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5661 as_unset=unset
5662 else
5663 as_unset=false
5664 fi
5665
5666
5667 # IFS
5668 # We need space, tab and new line, in precisely that order. Quoting is
5669 # there to prevent editors from complaining about space-tab.
5670 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5671 # splitting by setting IFS to empty value.)
5672 IFS=" "" $as_nl"
5673
5674 # Find who we are. Look in the path if we contain no directory separator.
5675 case $0 in
5676 *[\\/]* ) as_myself=$0 ;;
5677 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50035678 for as_dir in $PATH
50045679 do
50055680 IFS=$as_save_IFS
50065681 test -z "$as_dir" && as_dir=.
50075682 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50085683 done
5009
5010 ;;
5011 esac
5012 # We did not find ourselves, most probably we were run as `sh COMMAND'
5013 # in which case we are not to be found in the path.
5014 if test "x$as_myself" = x; then
5015 as_myself=$0
5016 fi
5017 if test ! -f "$as_myself"; then
5018 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5019 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5020 { (exit 1); exit 1; }; }
5021 fi
5022 case $CONFIG_SHELL in
5023 '')
5024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5025 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5026 do
5027 IFS=$as_save_IFS
5028 test -z "$as_dir" && as_dir=.
5029 for as_base in sh bash ksh sh5; do
5030 case $as_dir in
5031 /*)
5032 if ("$as_dir/$as_base" -c '
5684 IFS=$as_save_IFS
5685
5686 ;;
5687 esac
5688 # We did not find ourselves, most probably we were run as `sh COMMAND'
5689 # in which case we are not to be found in the path.
5690 if test "x$as_myself" = x; then
5691 as_myself=$0
5692 fi
5693 if test ! -f "$as_myself"; then
5694 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5695 { (exit 1); exit 1; }
5696 fi
5697
5698 # Work around bugs in pre-3.0 UWIN ksh.
5699 for as_var in ENV MAIL MAILPATH
5700 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5701 done
5702 PS1='$ '
5703 PS2='> '
5704 PS4='+ '
5705
5706 # NLS nuisances.
5707 LC_ALL=C
5708 export LC_ALL
5709 LANGUAGE=C
5710 export LANGUAGE
5711
5712 # Required to use basename.
5713 if expr a : '\(a\)' >/dev/null 2>&1 &&
5714 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5715 as_expr=expr
5716 else
5717 as_expr=false
5718 fi
5719
5720 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5721 as_basename=basename
5722 else
5723 as_basename=false
5724 fi
5725
5726
5727 # Name of the executable.
5728 as_me=`$as_basename -- "$0" ||
5729 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5730 X"$0" : 'X\(//\)$' \| \
5731 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5732 $as_echo X/"$0" |
5733 sed '/^.*\/\([^/][^/]*\)\/*$/{
5734 s//\1/
5735 q
5736 }
5737 /^X\/\(\/\/\)$/{
5738 s//\1/
5739 q
5740 }
5741 /^X\/\(\/\).*/{
5742 s//\1/
5743 q
5744 }
5745 s/.*/./; q'`
5746
5747 # CDPATH.
5748 $as_unset CDPATH
5749
5750
5751
50335752 as_lineno_1=$LINENO
50345753 as_lineno_2=$LINENO
5035 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50365754 test "x$as_lineno_1" != "x$as_lineno_2" &&
5037 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5038 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5039 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5040 CONFIG_SHELL=$as_dir/$as_base
5041 export CONFIG_SHELL
5042 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5043 fi;;
5044 esac
5045 done
5046 done
5047 ;;
5048 esac
5755 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50495756
50505757 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50515758 # uniformly replaced by the line number. The first 'sed' inserts a
5052 # line-number line before each line; the second 'sed' does the real
5053 # work. The second script uses 'N' to pair each line-number line
5054 # with the numbered line, and appends trailing '-' during
5055 # substitution so that $LINENO is not a special case at line end.
5759 # line-number line after each line using $LINENO; the second 'sed'
5760 # does the real work. The second script uses 'N' to pair each
5761 # line-number line with the line containing $LINENO, and appends
5762 # trailing '-' during substitution so that $LINENO is not a special
5763 # case at line end.
50565764 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5057 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5058 sed '=' <$as_myself |
5765 # scripts with optimization help from Paolo Bonzini. Blame Lee
5766 # E. McMahon (1931-1989) for sed's syntax. :-)
5767 sed -n '
5768 p
5769 /[$]LINENO/=
5770 ' <$as_myself |
50595771 sed '
5772 s/[$]LINENO.*/&-/
5773 t lineno
5774 b
5775 :lineno
50605776 N
5061 s,$,-,
5062 : loop
5063 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5777 :loop
5778 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50645779 t loop
5065 s,-$,,
5066 s,^['$as_cr_digits']*\n,,
5780 s/-\n.*//
50675781 ' >$as_me.lineno &&
5068 chmod +x $as_me.lineno ||
5069 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5070 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5782 chmod +x "$as_me.lineno" ||
5783 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50715784 { (exit 1); exit 1; }; }
50725785
50735786 # Don't try to exec as it changes $[0], causing all sort of problems
50745787 # (the dirname of $[0] is not the place where we might find the
5075 # original and so on. Autoconf is especially sensible to this).
5076 . ./$as_me.lineno
5788 # original and so on. Autoconf is especially sensitive to this).
5789 . "./$as_me.lineno"
50775790 # Exit status is that of the last command.
50785791 exit
50795792 }
50805793
50815794
5082 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5083 *c*,-n*) ECHO_N= ECHO_C='
5084 ' ECHO_T=' ' ;;
5085 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5086 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5795 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5796 as_dirname=dirname
5797 else
5798 as_dirname=false
5799 fi
5800
5801 ECHO_C= ECHO_N= ECHO_T=
5802 case `echo -n x` in
5803 -n*)
5804 case `echo 'x\c'` in
5805 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5806 *) ECHO_C='\c';;
5807 esac;;
5808 *)
5809 ECHO_N='-n';;
50875810 esac
5088
5089 if expr a : '\(a\)' >/dev/null 2>&1; then
5811 if expr a : '\(a\)' >/dev/null 2>&1 &&
5812 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50905813 as_expr=expr
50915814 else
50925815 as_expr=false
50935816 fi
50945817
50955818 rm -f conf$$ conf$$.exe conf$$.file
5096 echo >conf$$.file
5097 if ln -s conf$$.file conf$$ 2>/dev/null; then
5098 # We could just check for DJGPP; but this test a) works b) is more generic
5099 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5100 if test -f conf$$.exe; then
5101 # Don't use ln at all; we don't have any links
5819 if test -d conf$$.dir; then
5820 rm -f conf$$.dir/conf$$.file
5821 else
5822 rm -f conf$$.dir
5823 mkdir conf$$.dir 2>/dev/null
5824 fi
5825 if (echo >conf$$.file) 2>/dev/null; then
5826 if ln -s conf$$.file conf$$ 2>/dev/null; then
5827 as_ln_s='ln -s'
5828 # ... but there are two gotchas:
5829 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5830 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5831 # In both cases, we have to default to `cp -p'.
5832 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5833 as_ln_s='cp -p'
5834 elif ln conf$$.file conf$$ 2>/dev/null; then
5835 as_ln_s=ln
5836 else
51025837 as_ln_s='cp -p'
5103 else
5104 as_ln_s='ln -s'
51055838 fi
5106 elif ln conf$$.file conf$$ 2>/dev/null; then
5107 as_ln_s=ln
51085839 else
51095840 as_ln_s='cp -p'
51105841 fi
5111 rm -f conf$$ conf$$.exe conf$$.file
5842 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5843 rmdir conf$$.dir 2>/dev/null
51125844
51135845 if mkdir -p . 2>/dev/null; then
51145846 as_mkdir_p=:
51175849 as_mkdir_p=false
51185850 fi
51195851
5120 as_executable_p="test -f"
5852 if test -x / >/dev/null 2>&1; then
5853 as_test_x='test -x'
5854 else
5855 if ls -dL / >/dev/null 2>&1; then
5856 as_ls_L_option=L
5857 else
5858 as_ls_L_option=
5859 fi
5860 as_test_x='
5861 eval sh -c '\''
5862 if test -d "$1"; then
5863 test -d "$1/.";
5864 else
5865 case $1 in
5866 -*)set "./$1";;
5867 esac;
5868 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5869 ???[sx]*):;;*)false;;esac;fi
5870 '\'' sh
5871 '
5872 fi
5873 as_executable_p=$as_test_x
51215874
51225875 # Sed expression to map a string onto a valid CPP name.
51235876 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51265879 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51275880
51285881
5129 # IFS
5130 # We need space, tab and new line, in precisely that order.
5131 as_nl='
5132 '
5133 IFS=" $as_nl"
5134
5135 # CDPATH.
5136 $as_unset CDPATH
5137
51385882 exec 6>&1
51395883
5140 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5884 # Save the log message, to keep $[0] and so on meaningful, and to
51415885 # report actual input values of CONFIG_FILES etc. instead of their
5142 # values after options handling. Logging --version etc. is OK.
5886 # values after options handling.
5887 ac_log="
5888 This file was extended by cciss_vol_status $as_me 1.06, which was
5889 generated by GNU Autoconf 2.63. Invocation command line was
5890
5891 CONFIG_FILES = $CONFIG_FILES
5892 CONFIG_HEADERS = $CONFIG_HEADERS
5893 CONFIG_LINKS = $CONFIG_LINKS
5894 CONFIG_COMMANDS = $CONFIG_COMMANDS
5895 $ $0 $@
5896
5897 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5898 "
5899
5900 _ACEOF
5901
5902 case $ac_config_files in *"
5903 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5904 esac
5905
5906 case $ac_config_headers in *"
5907 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5908 esac
5909
5910
5911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5912 # Files that config.status was made for.
5913 config_files="$ac_config_files"
5914 config_headers="$ac_config_headers"
5915 config_commands="$ac_config_commands"
5916
5917 _ACEOF
5918
5919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5920 ac_cs_usage="\
5921 \`$as_me' instantiates files from templates according to the
5922 current configuration.
5923
5924 Usage: $0 [OPTION]... [FILE]...
5925
5926 -h, --help print this help, then exit
5927 -V, --version print version number and configuration settings, then exit
5928 -q, --quiet, --silent
5929 do not print progress messages
5930 -d, --debug don't remove temporary files
5931 --recheck update $as_me by reconfiguring in the same conditions
5932 --file=FILE[:TEMPLATE]
5933 instantiate the configuration file FILE
5934 --header=FILE[:TEMPLATE]
5935 instantiate the configuration header FILE
5936
5937 Configuration files:
5938 $config_files
5939
5940 Configuration headers:
5941 $config_headers
5942
5943 Configuration commands:
5944 $config_commands
5945
5946 Report bugs to <bug-autoconf@gnu.org>."
5947
5948 _ACEOF
5949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5950 ac_cs_version="\\
5951 cciss_vol_status config.status 1.06
5952 configured by $0, generated by GNU Autoconf 2.63,
5953 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5954
5955 Copyright (C) 2008 Free Software Foundation, Inc.
5956 This config.status script is free software; the Free Software Foundation
5957 gives unlimited permission to copy, distribute and modify it."
5958
5959 ac_pwd='$ac_pwd'
5960 srcdir='$srcdir'
5961 INSTALL='$INSTALL'
5962 MKDIR_P='$MKDIR_P'
5963 AWK='$AWK'
5964 test -n "\$AWK" || AWK=awk
5965 _ACEOF
5966
5967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5968 # The default lists apply if the user does not specify any file.
5969 ac_need_defaults=:
5970 while test $# != 0
5971 do
5972 case $1 in
5973 --*=*)
5974 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5975 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5976 ac_shift=:
5977 ;;
5978 *)
5979 ac_option=$1
5980 ac_optarg=$2
5981 ac_shift=shift
5982 ;;
5983 esac
5984
5985 case $ac_option in
5986 # Handling of the options.
5987 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5988 ac_cs_recheck=: ;;
5989 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5990 $as_echo "$ac_cs_version"; exit ;;
5991 --debug | --debu | --deb | --de | --d | -d )
5992 debug=: ;;
5993 --file | --fil | --fi | --f )
5994 $ac_shift
5995 case $ac_optarg in
5996 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5997 esac
5998 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5999 ac_need_defaults=false;;
6000 --header | --heade | --head | --hea )
6001 $ac_shift
6002 case $ac_optarg in
6003 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6004 esac
6005 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
6006 ac_need_defaults=false;;
6007 --he | --h)
6008 # Conflict between --help and --header
6009 { $as_echo "$as_me: error: ambiguous option: $1
6010 Try \`$0 --help' for more information." >&2
6011 { (exit 1); exit 1; }; };;
6012 --help | --hel | -h )
6013 $as_echo "$ac_cs_usage"; exit ;;
6014 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6015 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6016 ac_cs_silent=: ;;
6017
6018 # This is an error.
6019 -*) { $as_echo "$as_me: error: unrecognized option: $1
6020 Try \`$0 --help' for more information." >&2
6021 { (exit 1); exit 1; }; } ;;
6022
6023 *) ac_config_targets="$ac_config_targets $1"
6024 ac_need_defaults=false ;;
6025
6026 esac
6027 shift
6028 done
6029
6030 ac_configure_extra_args=
6031
6032 if $ac_cs_silent; then
6033 exec 6>/dev/null
6034 ac_configure_extra_args="$ac_configure_extra_args --silent"
6035 fi
6036
6037 _ACEOF
6038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6039 if \$ac_cs_recheck; then
6040 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6041 shift
6042 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6043 CONFIG_SHELL='$SHELL'
6044 export CONFIG_SHELL
6045 exec "\$@"
6046 fi
6047
6048 _ACEOF
6049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
51436050 exec 5>>config.log
51446051 {
51456052 echo
51466053 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51476054 ## Running $as_me. ##
51486055 _ASBOX
6056 $as_echo "$ac_log"
51496057 } >&5
5150 cat >&5 <<_CSEOF
5151
5152 This file was extended by cciss_vol_status $as_me 1.03, which was
5153 generated by GNU Autoconf 2.59. Invocation command line was
5154
5155 CONFIG_FILES = $CONFIG_FILES
5156 CONFIG_HEADERS = $CONFIG_HEADERS
5157 CONFIG_LINKS = $CONFIG_LINKS
5158 CONFIG_COMMANDS = $CONFIG_COMMANDS
5159 $ $0 $@
5160
5161 _CSEOF
5162 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5163 echo >&5
5164 _ACEOF
5165
5166 # Files that config.status was made for.
5167 if test -n "$ac_config_files"; then
5168 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5169 fi
5170
5171 if test -n "$ac_config_headers"; then
5172 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5173 fi
5174
5175 if test -n "$ac_config_links"; then
5176 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5177 fi
5178
5179 if test -n "$ac_config_commands"; then
5180 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5181 fi
5182
5183 cat >>$CONFIG_STATUS <<\_ACEOF
5184
5185 ac_cs_usage="\
5186 \`$as_me' instantiates files from templates according to the
5187 current configuration.
5188
5189 Usage: $0 [OPTIONS] [FILE]...
5190
5191 -h, --help print this help, then exit
5192 -V, --version print version number, then exit
5193 -q, --quiet do not print progress messages
5194 -d, --debug don't remove temporary files
5195 --recheck update $as_me by reconfiguring in the same conditions
5196 --file=FILE[:TEMPLATE]
5197 instantiate the configuration file FILE
5198 --header=FILE[:TEMPLATE]
5199 instantiate the configuration header FILE
5200
5201 Configuration files:
5202 $config_files
5203
5204 Configuration headers:
5205 $config_headers
5206
5207 Configuration commands:
5208 $config_commands
5209
5210 Report bugs to <bug-autoconf@gnu.org>."
5211 _ACEOF
5212
5213 cat >>$CONFIG_STATUS <<_ACEOF
5214 ac_cs_version="\\
5215 cciss_vol_status config.status 1.03
5216 configured by $0, generated by GNU Autoconf 2.59,
5217 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5218
5219 Copyright (C) 2003 Free Software Foundation, Inc.
5220 This config.status script is free software; the Free Software Foundation
5221 gives unlimited permission to copy, distribute and modify it."
5222 srcdir=$srcdir
5223 INSTALL="$INSTALL"
5224 _ACEOF
5225
5226 cat >>$CONFIG_STATUS <<\_ACEOF
5227 # If no file are specified by the user, then we need to provide default
5228 # value. By we need to know if files were specified by the user.
5229 ac_need_defaults=:
5230 while test $# != 0
5231 do
5232 case $1 in
5233 --*=*)
5234 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5235 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5236 ac_shift=:
5237 ;;
5238 -*)
5239 ac_option=$1
5240 ac_optarg=$2
5241 ac_shift=shift
5242 ;;
5243 *) # This is not an option, so the user has probably given explicit
5244 # arguments.
5245 ac_option=$1
5246 ac_need_defaults=false;;
5247 esac
5248
5249 case $ac_option in
5250 # Handling of the options.
5251 _ACEOF
5252 cat >>$CONFIG_STATUS <<\_ACEOF
5253 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5254 ac_cs_recheck=: ;;
5255 --version | --vers* | -V )
5256 echo "$ac_cs_version"; exit 0 ;;
5257 --he | --h)
5258 # Conflict between --help and --header
5259 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5260 Try \`$0 --help' for more information." >&5
5261 echo "$as_me: error: ambiguous option: $1
5262 Try \`$0 --help' for more information." >&2;}
5263 { (exit 1); exit 1; }; };;
5264 --help | --hel | -h )
5265 echo "$ac_cs_usage"; exit 0 ;;
5266 --debug | --d* | -d )
5267 debug=: ;;
5268 --file | --fil | --fi | --f )
5269 $ac_shift
5270 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5271 ac_need_defaults=false;;
5272 --header | --heade | --head | --hea )
5273 $ac_shift
5274 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5275 ac_need_defaults=false;;
5276 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5277 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5278 ac_cs_silent=: ;;
5279
5280 # This is an error.
5281 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5282 Try \`$0 --help' for more information." >&5
5283 echo "$as_me: error: unrecognized option: $1
5284 Try \`$0 --help' for more information." >&2;}
5285 { (exit 1); exit 1; }; } ;;
5286
5287 *) ac_config_targets="$ac_config_targets $1" ;;
5288
5289 esac
5290 shift
5291 done
5292
5293 ac_configure_extra_args=
5294
5295 if $ac_cs_silent; then
5296 exec 6>/dev/null
5297 ac_configure_extra_args="$ac_configure_extra_args --silent"
5298 fi
5299
5300 _ACEOF
5301 cat >>$CONFIG_STATUS <<_ACEOF
5302 if \$ac_cs_recheck; then
5303 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5304 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5305 fi
5306
5307 _ACEOF
5308
5309 cat >>$CONFIG_STATUS <<_ACEOF
6058
6059 _ACEOF
6060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
53106061 #
5311 # INIT-COMMANDS section.
6062 # INIT-COMMANDS
53126063 #
5313
53146064 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
53156065
53166066 _ACEOF
53176067
5318
5319
5320 cat >>$CONFIG_STATUS <<\_ACEOF
6068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6069
6070 # Handling of arguments.
53216071 for ac_config_target in $ac_config_targets
53226072 do
5323 case "$ac_config_target" in
5324 # Handling of arguments.
5325 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5326 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5327 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5328 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5329 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6073 case $ac_config_target in
6074 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6075 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6076 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6077
6078 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6079 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53306080 { (exit 1); exit 1; }; };;
53316081 esac
53326082 done
6083
53336084
53346085 # If the user did not use the arguments to specify the items to instantiate,
53356086 # then the envvar interface is used. Set only those that are not.
53426093 fi
53436094
53446095 # Have a temporary directory for convenience. Make it in the build tree
5345 # simply because there is no reason to put it here, and in addition,
6096 # simply because there is no reason against having it here, and in addition,
53466097 # creating and moving files from /tmp can sometimes cause problems.
5347 # Create a temporary directory, and hook for its removal unless debugging.
6098 # Hook for its removal unless debugging.
6099 # Note that there is a small window in which the directory will not be cleaned:
6100 # after its creation but before its name has been assigned to `$tmp'.
53486101 $debug ||
53496102 {
5350 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6103 tmp=
6104 trap 'exit_status=$?
6105 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6106 ' 0
53516107 trap '{ (exit 1); exit 1; }' 1 2 13 15
53526108 }
5353
53546109 # Create a (secure) tmp directory for tmp files.
53556110
53566111 {
5357 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6112 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53586113 test -n "$tmp" && test -d "$tmp"
53596114 } ||
53606115 {
5361 tmp=./confstat$$-$RANDOM
5362 (umask 077 && mkdir $tmp)
6116 tmp=./conf$$-$RANDOM
6117 (umask 077 && mkdir "$tmp")
53636118 } ||
53646119 {
5365 echo "$me: cannot create a temporary directory in ." >&2
6120 $as_echo "$as_me: cannot create a temporary directory in ." >&2
53666121 { (exit 1); exit 1; }
53676122 }
53686123
5369 _ACEOF
5370
5371 cat >>$CONFIG_STATUS <<_ACEOF
5372
5373 #
5374 # CONFIG_FILES section.
5375 #
5376
5377 # No need to generate the scripts if there are no CONFIG_FILES.
5378 # This happens for instance when ./config.status config.h
5379 if test -n "\$CONFIG_FILES"; then
5380 # Protect against being on the right side of a sed subst in config.status.
5381 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5382 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5383 s,@SHELL@,$SHELL,;t t
5384 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5385 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5386 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5387 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5388 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5389 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5390 s,@exec_prefix@,$exec_prefix,;t t
5391 s,@prefix@,$prefix,;t t
5392 s,@program_transform_name@,$program_transform_name,;t t
5393 s,@bindir@,$bindir,;t t
5394 s,@sbindir@,$sbindir,;t t
5395 s,@libexecdir@,$libexecdir,;t t
5396 s,@datadir@,$datadir,;t t
5397 s,@sysconfdir@,$sysconfdir,;t t
5398 s,@sharedstatedir@,$sharedstatedir,;t t
5399 s,@localstatedir@,$localstatedir,;t t
5400 s,@libdir@,$libdir,;t t
5401 s,@includedir@,$includedir,;t t
5402 s,@oldincludedir@,$oldincludedir,;t t
5403 s,@infodir@,$infodir,;t t
5404 s,@mandir@,$mandir,;t t
5405 s,@build_alias@,$build_alias,;t t
5406 s,@host_alias@,$host_alias,;t t
5407 s,@target_alias@,$target_alias,;t t
5408 s,@DEFS@,$DEFS,;t t
5409 s,@ECHO_C@,$ECHO_C,;t t
5410 s,@ECHO_N@,$ECHO_N,;t t
5411 s,@ECHO_T@,$ECHO_T,;t t
5412 s,@LIBS@,$LIBS,;t t
5413 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5414 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5415 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5416 s,@CYGPATH_W@,$CYGPATH_W,;t t
5417 s,@PACKAGE@,$PACKAGE,;t t
5418 s,@VERSION@,$VERSION,;t t
5419 s,@ACLOCAL@,$ACLOCAL,;t t
5420 s,@AUTOCONF@,$AUTOCONF,;t t
5421 s,@AUTOMAKE@,$AUTOMAKE,;t t
5422 s,@AUTOHEADER@,$AUTOHEADER,;t t
5423 s,@MAKEINFO@,$MAKEINFO,;t t
5424 s,@install_sh@,$install_sh,;t t
5425 s,@STRIP@,$STRIP,;t t
5426 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5427 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5428 s,@mkdir_p@,$mkdir_p,;t t
5429 s,@AWK@,$AWK,;t t
5430 s,@SET_MAKE@,$SET_MAKE,;t t
5431 s,@am__leading_dot@,$am__leading_dot,;t t
5432 s,@AMTAR@,$AMTAR,;t t
5433 s,@am__tar@,$am__tar,;t t
5434 s,@am__untar@,$am__untar,;t t
5435 s,@CC@,$CC,;t t
5436 s,@CFLAGS@,$CFLAGS,;t t
5437 s,@LDFLAGS@,$LDFLAGS,;t t
5438 s,@CPPFLAGS@,$CPPFLAGS,;t t
5439 s,@ac_ct_CC@,$ac_ct_CC,;t t
5440 s,@EXEEXT@,$EXEEXT,;t t
5441 s,@OBJEXT@,$OBJEXT,;t t
5442 s,@DEPDIR@,$DEPDIR,;t t
5443 s,@am__include@,$am__include,;t t
5444 s,@am__quote@,$am__quote,;t t
5445 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5446 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5447 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5448 s,@CCDEPMODE@,$CCDEPMODE,;t t
5449 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5450 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5451 s,@CPP@,$CPP,;t t
5452 s,@EGREP@,$EGREP,;t t
5453 s,@LIBOBJS@,$LIBOBJS,;t t
5454 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5455 CEOF
5456
5457 _ACEOF
5458
5459 cat >>$CONFIG_STATUS <<\_ACEOF
5460 # Split the substitutions into bite-sized pieces for seds with
5461 # small command number limits, like on Digital OSF/1 and HP-UX.
5462 ac_max_sed_lines=48
5463 ac_sed_frag=1 # Number of current file.
5464 ac_beg=1 # First line for current file.
5465 ac_end=$ac_max_sed_lines # Line after last line for current file.
5466 ac_more_lines=:
5467 ac_sed_cmds=
5468 while $ac_more_lines; do
5469 if test $ac_beg -gt 1; then
5470 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5471 else
5472 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6124 # Set up the scripts for CONFIG_FILES section.
6125 # No need to generate them if there are no CONFIG_FILES.
6126 # This happens for instance with `./config.status config.h'.
6127 if test -n "$CONFIG_FILES"; then
6128
6129
6130 ac_cr='
6131 '
6132 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6133 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6134 ac_cs_awk_cr='\\r'
6135 else
6136 ac_cs_awk_cr=$ac_cr
6137 fi
6138
6139 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6140 _ACEOF
6141
6142
6143 {
6144 echo "cat >conf$$subs.awk <<_ACEOF" &&
6145 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6146 echo "_ACEOF"
6147 } >conf$$subs.sh ||
6148 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6149 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6150 { (exit 1); exit 1; }; }
6151 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6152 ac_delim='%!_!# '
6153 for ac_last_try in false false false false false :; do
6154 . ./conf$$subs.sh ||
6155 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6156 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6157 { (exit 1); exit 1; }; }
6158
6159 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6160 if test $ac_delim_n = $ac_delim_num; then
6161 break
6162 elif $ac_last_try; then
6163 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6164 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6165 { (exit 1); exit 1; }; }
6166 else
6167 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6168 fi
6169 done
6170 rm -f conf$$subs.sh
6171
6172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6173 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6174 _ACEOF
6175 sed -n '
6176 h
6177 s/^/S["/; s/!.*/"]=/
6178 p
6179 g
6180 s/^[^!]*!//
6181 :repl
6182 t repl
6183 s/'"$ac_delim"'$//
6184 t delim
6185 :nl
6186 h
6187 s/\(.\{148\}\).*/\1/
6188 t more1
6189 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6190 p
6191 n
6192 b repl
6193 :more1
6194 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6195 p
6196 g
6197 s/.\{148\}//
6198 t nl
6199 :delim
6200 h
6201 s/\(.\{148\}\).*/\1/
6202 t more2
6203 s/["\\]/\\&/g; s/^/"/; s/$/"/
6204 p
6205 b
6206 :more2
6207 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6208 p
6209 g
6210 s/.\{148\}//
6211 t delim
6212 ' <conf$$subs.awk | sed '
6213 /^[^""]/{
6214 N
6215 s/\n//
6216 }
6217 ' >>$CONFIG_STATUS || ac_write_fail=1
6218 rm -f conf$$subs.awk
6219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6220 _ACAWK
6221 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6222 for (key in S) S_is_set[key] = 1
6223 FS = ""
6224
6225 }
6226 {
6227 line = $ 0
6228 nfields = split(line, field, "@")
6229 substed = 0
6230 len = length(field[1])
6231 for (i = 2; i < nfields; i++) {
6232 key = field[i]
6233 keylen = length(key)
6234 if (S_is_set[key]) {
6235 value = S[key]
6236 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6237 len += length(value) + length(field[++i])
6238 substed = 1
6239 } else
6240 len += 1 + keylen
6241 }
6242
6243 print line
6244 }
6245
6246 _ACAWK
6247 _ACEOF
6248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6249 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6250 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6251 else
6252 cat
6253 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6254 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6255 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
6256 { (exit 1); exit 1; }; }
6257 _ACEOF
6258
6259 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6260 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6261 # trailing colons and then remove the whole line if VPATH becomes empty
6262 # (actually we leave an empty line to preserve line numbers).
6263 if test "x$srcdir" = x.; then
6264 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6265 s/:*\$(srcdir):*/:/
6266 s/:*\${srcdir}:*/:/
6267 s/:*@srcdir@:*/:/
6268 s/^\([^=]*=[ ]*\):*/\1/
6269 s/:*$//
6270 s/^[^=]*=[ ]*$//
6271 }'
6272 fi
6273
6274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6275 fi # test -n "$CONFIG_FILES"
6276
6277 # Set up the scripts for CONFIG_HEADERS section.
6278 # No need to generate them if there are no CONFIG_HEADERS.
6279 # This happens for instance with `./config.status Makefile'.
6280 if test -n "$CONFIG_HEADERS"; then
6281 cat >"$tmp/defines.awk" <<\_ACAWK ||
6282 BEGIN {
6283 _ACEOF
6284
6285 # Transform confdefs.h into an awk script `defines.awk', embedded as
6286 # here-document in config.status, that substitutes the proper values into
6287 # config.h.in to produce config.h.
6288
6289 # Create a delimiter string that does not exist in confdefs.h, to ease
6290 # handling of long lines.
6291 ac_delim='%!_!# '
6292 for ac_last_try in false false :; do
6293 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6294 if test -z "$ac_t"; then
6295 break
6296 elif $ac_last_try; then
6297 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6298 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6299 { (exit 1); exit 1; }; }
6300 else
6301 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6302 fi
6303 done
6304
6305 # For the awk script, D is an array of macro values keyed by name,
6306 # likewise P contains macro parameters if any. Preserve backslash
6307 # newline sequences.
6308
6309 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6310 sed -n '
6311 s/.\{148\}/&'"$ac_delim"'/g
6312 t rset
6313 :rset
6314 s/^[ ]*#[ ]*define[ ][ ]*/ /
6315 t def
6316 d
6317 :def
6318 s/\\$//
6319 t bsnl
6320 s/["\\]/\\&/g
6321 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6322 D["\1"]=" \3"/p
6323 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6324 d
6325 :bsnl
6326 s/["\\]/\\&/g
6327 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6328 D["\1"]=" \3\\\\\\n"\\/p
6329 t cont
6330 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6331 t cont
6332 d
6333 :cont
6334 n
6335 s/.\{148\}/&'"$ac_delim"'/g
6336 t clear
6337 :clear
6338 s/\\$//
6339 t bsnlc
6340 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6341 d
6342 :bsnlc
6343 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6344 b cont
6345 ' <confdefs.h | sed '
6346 s/'"$ac_delim"'/"\\\
6347 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6348
6349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6350 for (key in D) D_is_set[key] = 1
6351 FS = ""
6352 }
6353 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6354 line = \$ 0
6355 split(line, arg, " ")
6356 if (arg[1] == "#") {
6357 defundef = arg[2]
6358 mac1 = arg[3]
6359 } else {
6360 defundef = substr(arg[1], 2)
6361 mac1 = arg[2]
6362 }
6363 split(mac1, mac2, "(") #)
6364 macro = mac2[1]
6365 prefix = substr(line, 1, index(line, defundef) - 1)
6366 if (D_is_set[macro]) {
6367 # Preserve the white space surrounding the "#".
6368 print prefix "define", macro P[macro] D[macro]
6369 next
6370 } else {
6371 # Replace #undef with comments. This is necessary, for example,
6372 # in the case of _POSIX_SOURCE, which is predefined and required
6373 # on some systems where configure will not decide to define it.
6374 if (defundef == "undef") {
6375 print "/*", prefix defundef, macro, "*/"
6376 next
6377 }
6378 }
6379 }
6380 { print }
6381 _ACAWK
6382 _ACEOF
6383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6384 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6385 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6386 { (exit 1); exit 1; }; }
6387 fi # test -n "$CONFIG_HEADERS"
6388
6389
6390 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6391 shift
6392 for ac_tag
6393 do
6394 case $ac_tag in
6395 :[FHLC]) ac_mode=$ac_tag; continue;;
6396 esac
6397 case $ac_mode$ac_tag in
6398 :[FHL]*:*);;
6399 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6400 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6401 { (exit 1); exit 1; }; };;
6402 :[FH]-) ac_tag=-:-;;
6403 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6404 esac
6405 ac_save_IFS=$IFS
6406 IFS=:
6407 set x $ac_tag
6408 IFS=$ac_save_IFS
6409 shift
6410 ac_file=$1
6411 shift
6412
6413 case $ac_mode in
6414 :L) ac_source=$1;;
6415 :[FH])
6416 ac_file_inputs=
6417 for ac_f
6418 do
6419 case $ac_f in
6420 -) ac_f="$tmp/stdin";;
6421 *) # Look for the file first in the build tree, then in the source tree
6422 # (if the path is not absolute). The absolute path cannot be DOS-style,
6423 # because $ac_f cannot contain `:'.
6424 test -f "$ac_f" ||
6425 case $ac_f in
6426 [\\/$]*) false;;
6427 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6428 esac ||
6429 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6430 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6431 { (exit 1); exit 1; }; };;
6432 esac
6433 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6434 ac_file_inputs="$ac_file_inputs '$ac_f'"
6435 done
6436
6437 # Let's still pretend it is `configure' which instantiates (i.e., don't
6438 # use $as_me), people would be surprised to read:
6439 # /* config.h. Generated by config.status. */
6440 configure_input='Generated from '`
6441 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6442 `' by configure.'
6443 if test x"$ac_file" != x-; then
6444 configure_input="$ac_file. $configure_input"
6445 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6446 $as_echo "$as_me: creating $ac_file" >&6;}
54736447 fi
5474 if test ! -s $tmp/subs.frag; then
5475 ac_more_lines=false
5476 else
5477 # The purpose of the label and of the branching condition is to
5478 # speed up the sed processing (if there are no `@' at all, there
5479 # is no need to browse any of the substitutions).
5480 # These are the two extra sed commands mentioned above.
5481 (echo ':t
5482 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5483 if test -z "$ac_sed_cmds"; then
5484 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5485 else
5486 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5487 fi
5488 ac_sed_frag=`expr $ac_sed_frag + 1`
5489 ac_beg=$ac_end
5490 ac_end=`expr $ac_end + $ac_max_sed_lines`
5491 fi
5492 done
5493 if test -z "$ac_sed_cmds"; then
5494 ac_sed_cmds=cat
5495 fi
5496 fi # test -n "$CONFIG_FILES"
5497
5498 _ACEOF
5499 cat >>$CONFIG_STATUS <<\_ACEOF
5500 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5501 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5502 case $ac_file in
5503 - | *:- | *:-:* ) # input from stdin
5504 cat >$tmp/stdin
5505 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5506 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5507 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5508 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5509 * ) ac_file_in=$ac_file.in ;;
6448 # Neutralize special characters interpreted by sed in replacement strings.
6449 case $configure_input in #(
6450 *\&* | *\|* | *\\* )
6451 ac_sed_conf_input=`$as_echo "$configure_input" |
6452 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6453 *) ac_sed_conf_input=$configure_input;;
6454 esac
6455
6456 case $ac_tag in
6457 *:-:* | *:-) cat >"$tmp/stdin" \
6458 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6459 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6460 { (exit 1); exit 1; }; } ;;
6461 esac
6462 ;;
55106463 esac
55116464
5512 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5513 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6465 ac_dir=`$as_dirname -- "$ac_file" ||
55146466 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55156467 X"$ac_file" : 'X\(//\)[^/]' \| \
55166468 X"$ac_file" : 'X\(//\)$' \| \
5517 X"$ac_file" : 'X\(/\)' \| \
5518 . : '\(.\)' 2>/dev/null ||
5519 echo X"$ac_file" |
5520 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5521 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5522 /^X\(\/\/\)$/{ s//\1/; q; }
5523 /^X\(\/\).*/{ s//\1/; q; }
5524 s/.*/./; q'`
5525 { if $as_mkdir_p; then
5526 mkdir -p "$ac_dir"
5527 else
5528 as_dir="$ac_dir"
6469 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6470 $as_echo X"$ac_file" |
6471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6472 s//\1/
6473 q
6474 }
6475 /^X\(\/\/\)[^/].*/{
6476 s//\1/
6477 q
6478 }
6479 /^X\(\/\/\)$/{
6480 s//\1/
6481 q
6482 }
6483 /^X\(\/\).*/{
6484 s//\1/
6485 q
6486 }
6487 s/.*/./; q'`
6488 { as_dir="$ac_dir"
6489 case $as_dir in #(
6490 -*) as_dir=./$as_dir;;
6491 esac
6492 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
55296493 as_dirs=
5530 while test ! -d "$as_dir"; do
5531 as_dirs="$as_dir $as_dirs"
5532 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6494 while :; do
6495 case $as_dir in #(
6496 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6497 *) as_qdir=$as_dir;;
6498 esac
6499 as_dirs="'$as_qdir' $as_dirs"
6500 as_dir=`$as_dirname -- "$as_dir" ||
55336501 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55346502 X"$as_dir" : 'X\(//\)[^/]' \| \
55356503 X"$as_dir" : 'X\(//\)$' \| \
5536 X"$as_dir" : 'X\(/\)' \| \
5537 . : '\(.\)' 2>/dev/null ||
5538 echo X"$as_dir" |
5539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5540 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5541 /^X\(\/\/\)$/{ s//\1/; q; }
5542 /^X\(\/\).*/{ s//\1/; q; }
5543 s/.*/./; q'`
6504 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6505 $as_echo X"$as_dir" |
6506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6507 s//\1/
6508 q
6509 }
6510 /^X\(\/\/\)[^/].*/{
6511 s//\1/
6512 q
6513 }
6514 /^X\(\/\/\)$/{
6515 s//\1/
6516 q
6517 }
6518 /^X\(\/\).*/{
6519 s//\1/
6520 q
6521 }
6522 s/.*/./; q'`
6523 test -d "$as_dir" && break
55446524 done
5545 test ! -n "$as_dirs" || mkdir $as_dirs
5546 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5547 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6525 test -z "$as_dirs" || eval "mkdir $as_dirs"
6526 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6527 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
55486528 { (exit 1); exit 1; }; }; }
5549
55506529 ac_builddir=.
55516530
5552 if test "$ac_dir" != .; then
5553 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5554 # A "../" for each directory in $ac_dir_suffix.
5555 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5556 else
5557 ac_dir_suffix= ac_top_builddir=
5558 fi
6531 case "$ac_dir" in
6532 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6533 *)
6534 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6535 # A ".." for each directory in $ac_dir_suffix.
6536 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6537 case $ac_top_builddir_sub in
6538 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6539 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6540 esac ;;
6541 esac
6542 ac_abs_top_builddir=$ac_pwd
6543 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6544 # for backward compatibility:
6545 ac_top_builddir=$ac_top_build_prefix
55596546
55606547 case $srcdir in
5561 .) # No --srcdir option. We are building in place.
6548 .) # We are building in place.
55626549 ac_srcdir=.
5563 if test -z "$ac_top_builddir"; then
5564 ac_top_srcdir=.
5565 else
5566 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5567 fi ;;
5568 [\\/]* | ?:[\\/]* ) # Absolute path.
6550 ac_top_srcdir=$ac_top_builddir_sub
6551 ac_abs_top_srcdir=$ac_pwd ;;
6552 [\\/]* | ?:[\\/]* ) # Absolute name.
55696553 ac_srcdir=$srcdir$ac_dir_suffix;
5570 ac_top_srcdir=$srcdir ;;
5571 *) # Relative path.
5572 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5573 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6554 ac_top_srcdir=$srcdir
6555 ac_abs_top_srcdir=$srcdir ;;
6556 *) # Relative name.
6557 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6558 ac_top_srcdir=$ac_top_build_prefix$srcdir
6559 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55746560 esac
5575
5576 # Do not use `cd foo && pwd` to compute absolute paths, because
5577 # the directories may not exist.
5578 case `pwd` in
5579 .) ac_abs_builddir="$ac_dir";;
5580 *)
5581 case "$ac_dir" in
5582 .) ac_abs_builddir=`pwd`;;
5583 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5584 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5585 esac;;
5586 esac
5587 case $ac_abs_builddir in
5588 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5589 *)
5590 case ${ac_top_builddir}. in
5591 .) ac_abs_top_builddir=$ac_abs_builddir;;
5592 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5593 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5594 esac;;
5595 esac
5596 case $ac_abs_builddir in
5597 .) ac_abs_srcdir=$ac_srcdir;;
5598 *)
5599 case $ac_srcdir in
5600 .) ac_abs_srcdir=$ac_abs_builddir;;
5601 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5602 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5603 esac;;
5604 esac
5605 case $ac_abs_builddir in
5606 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5607 *)
5608 case $ac_top_srcdir in
5609 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5610 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5611 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5612 esac;;
5613 esac
5614
6561 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6562
6563
6564 case $ac_mode in
6565 :F)
6566 #
6567 # CONFIG_FILE
6568 #
56156569
56166570 case $INSTALL in
56176571 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5618 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6572 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
56196573 esac
5620
5621 if test x"$ac_file" != x-; then
5622 { echo "$as_me:$LINENO: creating $ac_file" >&5
5623 echo "$as_me: creating $ac_file" >&6;}
5624 rm -f "$ac_file"
5625 fi
5626 # Let's still pretend it is `configure' which instantiates (i.e., don't
5627 # use $as_me), people would be surprised to read:
5628 # /* config.h. Generated by config.status. */
5629 if test x"$ac_file" = x-; then
5630 configure_input=
5631 else
5632 configure_input="$ac_file. "
5633 fi
5634 configure_input=$configure_input"Generated from `echo $ac_file_in |
5635 sed 's,.*/,,'` by configure."
5636
5637 # First look for the input files in the build tree, otherwise in the
5638 # src tree.
5639 ac_file_inputs=`IFS=:
5640 for f in $ac_file_in; do
5641 case $f in
5642 -) echo $tmp/stdin ;;
5643 [\\/$]*)
5644 # Absolute (can't be DOS-style, as IFS=:)
5645 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5646 echo "$as_me: error: cannot find input file: $f" >&2;}
5647 { (exit 1); exit 1; }; }
5648 echo "$f";;
5649 *) # Relative
5650 if test -f "$f"; then
5651 # Build tree
5652 echo "$f"
5653 elif test -f "$srcdir/$f"; then
5654 # Source tree
5655 echo "$srcdir/$f"
5656 else
5657 # /dev/null tree
5658 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5659 echo "$as_me: error: cannot find input file: $f" >&2;}
5660 { (exit 1); exit 1; }; }
5661 fi;;
5662 esac
5663 done` || { (exit 1); exit 1; }
5664 _ACEOF
5665 cat >>$CONFIG_STATUS <<_ACEOF
5666 sed "$ac_vpsub
6574 ac_MKDIR_P=$MKDIR_P
6575 case $MKDIR_P in
6576 [\\/$]* | ?:[\\/]* ) ;;
6577 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6578 esac
6579 _ACEOF
6580
6581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6582 # If the template does not know about datarootdir, expand it.
6583 # FIXME: This hack should be removed a few years after 2.60.
6584 ac_datarootdir_hack=; ac_datarootdir_seen=
6585
6586 ac_sed_dataroot='
6587 /datarootdir/ {
6588 p
6589 q
6590 }
6591 /@datadir@/p
6592 /@docdir@/p
6593 /@infodir@/p
6594 /@localedir@/p
6595 /@mandir@/p
6596 '
6597 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6598 *datarootdir*) ac_datarootdir_seen=yes;;
6599 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6600 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6601 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6602 _ACEOF
6603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6604 ac_datarootdir_hack='
6605 s&@datadir@&$datadir&g
6606 s&@docdir@&$docdir&g
6607 s&@infodir@&$infodir&g
6608 s&@localedir@&$localedir&g
6609 s&@mandir@&$mandir&g
6610 s&\\\${datarootdir}&$datarootdir&g' ;;
6611 esac
6612 _ACEOF
6613
6614 # Neutralize VPATH when `$srcdir' = `.'.
6615 # Shell code in configure.ac might set extrasub.
6616 # FIXME: do we really want to maintain this feature?
6617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6618 ac_sed_extra="$ac_vpsub
56676619 $extrasub
56686620 _ACEOF
5669 cat >>$CONFIG_STATUS <<\_ACEOF
6621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
56706622 :t
56716623 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5672 s,@configure_input@,$configure_input,;t t
5673 s,@srcdir@,$ac_srcdir,;t t
5674 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5675 s,@top_srcdir@,$ac_top_srcdir,;t t
5676 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5677 s,@builddir@,$ac_builddir,;t t
5678 s,@abs_builddir@,$ac_abs_builddir,;t t
5679 s,@top_builddir@,$ac_top_builddir,;t t
5680 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5681 s,@INSTALL@,$ac_INSTALL,;t t
5682 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5683 rm -f $tmp/stdin
6624 s|@configure_input@|$ac_sed_conf_input|;t t
6625 s&@top_builddir@&$ac_top_builddir_sub&;t t
6626 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6627 s&@srcdir@&$ac_srcdir&;t t
6628 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6629 s&@top_srcdir@&$ac_top_srcdir&;t t
6630 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6631 s&@builddir@&$ac_builddir&;t t
6632 s&@abs_builddir@&$ac_abs_builddir&;t t
6633 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6634 s&@INSTALL@&$ac_INSTALL&;t t
6635 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6636 $ac_datarootdir_hack
6637 "
6638 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6639 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6640 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6641 { (exit 1); exit 1; }; }
6642
6643 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6644 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6645 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6646 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6647 which seems to be undefined. Please make sure it is defined." >&5
6648 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6649 which seems to be undefined. Please make sure it is defined." >&2;}
6650
6651 rm -f "$tmp/stdin"
6652 case $ac_file in
6653 -) cat "$tmp/out" && rm -f "$tmp/out";;
6654 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6655 esac \
6656 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6657 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6658 { (exit 1); exit 1; }; }
6659 ;;
6660 :H)
6661 #
6662 # CONFIG_HEADER
6663 #
56846664 if test x"$ac_file" != x-; then
5685 mv $tmp/out $ac_file
5686 else
5687 cat $tmp/out
5688 rm -f $tmp/out
5689 fi
5690
5691 done
5692 _ACEOF
5693 cat >>$CONFIG_STATUS <<\_ACEOF
5694
5695 #
5696 # CONFIG_HEADER section.
5697 #
5698
5699 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5700 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5701 #
5702 # ac_d sets the value in "#define NAME VALUE" lines.
5703 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5704 ac_dB='[ ].*$,\1#\2'
5705 ac_dC=' '
5706 ac_dD=',;t'
5707 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5708 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5709 ac_uB='$,\1#\2define\3'
5710 ac_uC=' '
5711 ac_uD=',;t'
5712
5713 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5714 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5715 case $ac_file in
5716 - | *:- | *:-:* ) # input from stdin
5717 cat >$tmp/stdin
5718 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5719 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5720 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5721 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5722 * ) ac_file_in=$ac_file.in ;;
5723 esac
5724
5725 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5726 echo "$as_me: creating $ac_file" >&6;}
5727
5728 # First look for the input files in the build tree, otherwise in the
5729 # src tree.
5730 ac_file_inputs=`IFS=:
5731 for f in $ac_file_in; do
5732 case $f in
5733 -) echo $tmp/stdin ;;
5734 [\\/$]*)
5735 # Absolute (can't be DOS-style, as IFS=:)
5736 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5737 echo "$as_me: error: cannot find input file: $f" >&2;}
6665 {
6666 $as_echo "/* $configure_input */" \
6667 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6668 } >"$tmp/config.h" \
6669 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6670 $as_echo "$as_me: error: could not create $ac_file" >&2;}
57386671 { (exit 1); exit 1; }; }
5739 # Do quote $f, to prevent DOS paths from being IFS'd.
5740 echo "$f";;
5741 *) # Relative
5742 if test -f "$f"; then
5743 # Build tree
5744 echo "$f"
5745 elif test -f "$srcdir/$f"; then
5746 # Source tree
5747 echo "$srcdir/$f"
5748 else
5749 # /dev/null tree
5750 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5751 echo "$as_me: error: cannot find input file: $f" >&2;}
6672 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6673 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6674 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6675 else
6676 rm -f "$ac_file"
6677 mv "$tmp/config.h" "$ac_file" \
6678 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6679 $as_echo "$as_me: error: could not create $ac_file" >&2;}
57526680 { (exit 1); exit 1; }; }
5753 fi;;
5754 esac
5755 done` || { (exit 1); exit 1; }
5756 # Remove the trailing spaces.
5757 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5758
5759 _ACEOF
5760
5761 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5762 # `conftest.undefs', that substitutes the proper values into
5763 # config.h.in to produce config.h. The first handles `#define'
5764 # templates, and the second `#undef' templates.
5765 # And first: Protect against being on the right side of a sed subst in
5766 # config.status. Protect against being in an unquoted here document
5767 # in config.status.
5768 rm -f conftest.defines conftest.undefs
5769 # Using a here document instead of a string reduces the quoting nightmare.
5770 # Putting comments in sed scripts is not portable.
5771 #
5772 # `end' is used to avoid that the second main sed command (meant for
5773 # 0-ary CPP macros) applies to n-ary macro definitions.
5774 # See the Autoconf documentation for `clear'.
5775 cat >confdef2sed.sed <<\_ACEOF
5776 s/[\\&,]/\\&/g
5777 s,[\\$`],\\&,g
5778 t clear
5779 : clear
5780 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5781 t end
5782 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5783 : end
5784 _ACEOF
5785 # If some macros were called several times there might be several times
5786 # the same #defines, which is useless. Nevertheless, we may not want to
5787 # sort them, since we want the *last* AC-DEFINE to be honored.
5788 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5789 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5790 rm -f confdef2sed.sed
5791
5792 # This sed command replaces #undef with comments. This is necessary, for
5793 # example, in the case of _POSIX_SOURCE, which is predefined and required
5794 # on some systems where configure will not decide to define it.
5795 cat >>conftest.undefs <<\_ACEOF
5796 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5797 _ACEOF
5798
5799 # Break up conftest.defines because some shells have a limit on the size
5800 # of here documents, and old seds have small limits too (100 cmds).
5801 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5802 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5803 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5804 echo ' :' >>$CONFIG_STATUS
5805 rm -f conftest.tail
5806 while grep . conftest.defines >/dev/null
5807 do
5808 # Write a limited-size here document to $tmp/defines.sed.
5809 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5810 # Speed up: don't consider the non `#define' lines.
5811 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5812 # Work around the forget-to-reset-the-flag bug.
5813 echo 't clr' >>$CONFIG_STATUS
5814 echo ': clr' >>$CONFIG_STATUS
5815 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5816 echo 'CEOF
5817 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5818 rm -f $tmp/in
5819 mv $tmp/out $tmp/in
5820 ' >>$CONFIG_STATUS
5821 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5822 rm -f conftest.defines
5823 mv conftest.tail conftest.defines
5824 done
5825 rm -f conftest.defines
5826 echo ' fi # grep' >>$CONFIG_STATUS
5827 echo >>$CONFIG_STATUS
5828
5829 # Break up conftest.undefs because some shells have a limit on the size
5830 # of here documents, and old seds have small limits too (100 cmds).
5831 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5832 rm -f conftest.tail
5833 while grep . conftest.undefs >/dev/null
5834 do
5835 # Write a limited-size here document to $tmp/undefs.sed.
5836 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5837 # Speed up: don't consider the non `#undef'
5838 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5839 # Work around the forget-to-reset-the-flag bug.
5840 echo 't clr' >>$CONFIG_STATUS
5841 echo ': clr' >>$CONFIG_STATUS
5842 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5843 echo 'CEOF
5844 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5845 rm -f $tmp/in
5846 mv $tmp/out $tmp/in
5847 ' >>$CONFIG_STATUS
5848 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5849 rm -f conftest.undefs
5850 mv conftest.tail conftest.undefs
5851 done
5852 rm -f conftest.undefs
5853
5854 cat >>$CONFIG_STATUS <<\_ACEOF
5855 # Let's still pretend it is `configure' which instantiates (i.e., don't
5856 # use $as_me), people would be surprised to read:
5857 # /* config.h. Generated by config.status. */
5858 if test x"$ac_file" = x-; then
5859 echo "/* Generated by configure. */" >$tmp/config.h
5860 else
5861 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5862 fi
5863 cat $tmp/in >>$tmp/config.h
5864 rm -f $tmp/in
5865 if test x"$ac_file" != x-; then
5866 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5867 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5868 echo "$as_me: $ac_file is unchanged" >&6;}
5869 else
5870 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5871 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5872 X"$ac_file" : 'X\(//\)[^/]' \| \
5873 X"$ac_file" : 'X\(//\)$' \| \
5874 X"$ac_file" : 'X\(/\)' \| \
5875 . : '\(.\)' 2>/dev/null ||
5876 echo X"$ac_file" |
5877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5878 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5879 /^X\(\/\/\)$/{ s//\1/; q; }
5880 /^X\(\/\).*/{ s//\1/; q; }
5881 s/.*/./; q'`
5882 { if $as_mkdir_p; then
5883 mkdir -p "$ac_dir"
5884 else
5885 as_dir="$ac_dir"
5886 as_dirs=
5887 while test ! -d "$as_dir"; do
5888 as_dirs="$as_dir $as_dirs"
5889 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5890 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5891 X"$as_dir" : 'X\(//\)[^/]' \| \
5892 X"$as_dir" : 'X\(//\)$' \| \
5893 X"$as_dir" : 'X\(/\)' \| \
5894 . : '\(.\)' 2>/dev/null ||
5895 echo X"$as_dir" |
5896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5897 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5898 /^X\(\/\/\)$/{ s//\1/; q; }
5899 /^X\(\/\).*/{ s//\1/; q; }
5900 s/.*/./; q'`
5901 done
5902 test ! -n "$as_dirs" || mkdir $as_dirs
5903 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5904 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5905 { (exit 1); exit 1; }; }; }
5906
5907 rm -f $ac_file
5908 mv $tmp/config.h $ac_file
59096681 fi
59106682 else
5911 cat $tmp/config.h
5912 rm -f $tmp/config.h
6683 $as_echo "/* $configure_input */" \
6684 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6685 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6686 $as_echo "$as_me: error: could not create -" >&2;}
6687 { (exit 1); exit 1; }; }
59136688 fi
5914 # Compute $ac_file's index in $config_headers.
6689 # Compute "$ac_file"'s index in $config_headers.
6690 _am_arg="$ac_file"
59156691 _am_stamp_count=1
59166692 for _am_header in $config_headers :; do
59176693 case $_am_header in
5918 $ac_file | $ac_file:* )
6694 $_am_arg | $_am_arg:* )
59196695 break ;;
59206696 * )
59216697 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
59226698 esac
59236699 done
5924 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5925 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5926 X$ac_file : 'X\(//\)[^/]' \| \
5927 X$ac_file : 'X\(//\)$' \| \
5928 X$ac_file : 'X\(/\)' \| \
5929 . : '\(.\)' 2>/dev/null ||
5930 echo X$ac_file |
5931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5932 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5933 /^X\(\/\/\)$/{ s//\1/; q; }
5934 /^X\(\/\).*/{ s//\1/; q; }
5935 s/.*/./; q'`/stamp-h$_am_stamp_count
5936 done
5937 _ACEOF
5938 cat >>$CONFIG_STATUS <<\_ACEOF
5939
5940 #
5941 # CONFIG_COMMANDS section.
5942 #
5943 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5944 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5945 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5946 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5947 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5948 X"$ac_dest" : 'X\(//\)[^/]' \| \
5949 X"$ac_dest" : 'X\(//\)$' \| \
5950 X"$ac_dest" : 'X\(/\)' \| \
5951 . : '\(.\)' 2>/dev/null ||
5952 echo X"$ac_dest" |
5953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5954 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5955 /^X\(\/\/\)$/{ s//\1/; q; }
5956 /^X\(\/\).*/{ s//\1/; q; }
5957 s/.*/./; q'`
5958 { if $as_mkdir_p; then
5959 mkdir -p "$ac_dir"
5960 else
5961 as_dir="$ac_dir"
6700 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6701 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6702 X"$_am_arg" : 'X\(//\)[^/]' \| \
6703 X"$_am_arg" : 'X\(//\)$' \| \
6704 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6705 $as_echo X"$_am_arg" |
6706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6707 s//\1/
6708 q
6709 }
6710 /^X\(\/\/\)[^/].*/{
6711 s//\1/
6712 q
6713 }
6714 /^X\(\/\/\)$/{
6715 s//\1/
6716 q
6717 }
6718 /^X\(\/\).*/{
6719 s//\1/
6720 q
6721 }
6722 s/.*/./; q'`/stamp-h$_am_stamp_count
6723 ;;
6724
6725 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6726 $as_echo "$as_me: executing $ac_file commands" >&6;}
6727 ;;
6728 esac
6729
6730
6731 case $ac_file$ac_mode in
6732 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6733 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6734 # are listed without --file. Let's play safe and only enable the eval
6735 # if we detect the quoting.
6736 case $CONFIG_FILES in
6737 *\'*) eval set x "$CONFIG_FILES" ;;
6738 *) set x $CONFIG_FILES ;;
6739 esac
6740 shift
6741 for mf
6742 do
6743 # Strip MF so we end up with the name of the file.
6744 mf=`echo "$mf" | sed -e 's/:.*$//'`
6745 # Check whether this is an Automake generated Makefile or not.
6746 # We used to match only the files named `Makefile.in', but
6747 # some people rename them; so instead we look at the file content.
6748 # Grep'ing the first line is not enough: some people post-process
6749 # each Makefile.in and add a new line on top of each file to say so.
6750 # Grep'ing the whole file is not good either: AIX grep has a line
6751 # limit of 2048, but all sed's we know have understand at least 4000.
6752 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6753 dirpart=`$as_dirname -- "$mf" ||
6754 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6755 X"$mf" : 'X\(//\)[^/]' \| \
6756 X"$mf" : 'X\(//\)$' \| \
6757 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6758 $as_echo X"$mf" |
6759 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6760 s//\1/
6761 q
6762 }
6763 /^X\(\/\/\)[^/].*/{
6764 s//\1/
6765 q
6766 }
6767 /^X\(\/\/\)$/{
6768 s//\1/
6769 q
6770 }
6771 /^X\(\/\).*/{
6772 s//\1/
6773 q
6774 }
6775 s/.*/./; q'`
6776 else
6777 continue
6778 fi
6779 # Extract the definition of DEPDIR, am__include, and am__quote
6780 # from the Makefile without running `make'.
6781 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6782 test -z "$DEPDIR" && continue
6783 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6784 test -z "am__include" && continue
6785 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6786 # When using ansi2knr, U may be empty or an underscore; expand it
6787 U=`sed -n 's/^U = //p' < "$mf"`
6788 # Find all dependency output files, they are included files with
6789 # $(DEPDIR) in their names. We invoke sed twice because it is the
6790 # simplest approach to changing $(DEPDIR) to its actual value in the
6791 # expansion.
6792 for file in `sed -n "
6793 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6794 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6795 # Make sure the directory exists.
6796 test -f "$dirpart/$file" && continue
6797 fdir=`$as_dirname -- "$file" ||
6798 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6799 X"$file" : 'X\(//\)[^/]' \| \
6800 X"$file" : 'X\(//\)$' \| \
6801 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6802 $as_echo X"$file" |
6803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6804 s//\1/
6805 q
6806 }
6807 /^X\(\/\/\)[^/].*/{
6808 s//\1/
6809 q
6810 }
6811 /^X\(\/\/\)$/{
6812 s//\1/
6813 q
6814 }
6815 /^X\(\/\).*/{
6816 s//\1/
6817 q
6818 }
6819 s/.*/./; q'`
6820 { as_dir=$dirpart/$fdir
6821 case $as_dir in #(
6822 -*) as_dir=./$as_dir;;
6823 esac
6824 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
59626825 as_dirs=
5963 while test ! -d "$as_dir"; do
5964 as_dirs="$as_dir $as_dirs"
5965 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6826 while :; do
6827 case $as_dir in #(
6828 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6829 *) as_qdir=$as_dir;;
6830 esac
6831 as_dirs="'$as_qdir' $as_dirs"
6832 as_dir=`$as_dirname -- "$as_dir" ||
59666833 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59676834 X"$as_dir" : 'X\(//\)[^/]' \| \
59686835 X"$as_dir" : 'X\(//\)$' \| \
5969 X"$as_dir" : 'X\(/\)' \| \
5970 . : '\(.\)' 2>/dev/null ||
5971 echo X"$as_dir" |
5972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5973 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5974 /^X\(\/\/\)$/{ s//\1/; q; }
5975 /^X\(\/\).*/{ s//\1/; q; }
5976 s/.*/./; q'`
6836 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6837 $as_echo X"$as_dir" |
6838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6839 s//\1/
6840 q
6841 }
6842 /^X\(\/\/\)[^/].*/{
6843 s//\1/
6844 q
6845 }
6846 /^X\(\/\/\)$/{
6847 s//\1/
6848 q
6849 }
6850 /^X\(\/\).*/{
6851 s//\1/
6852 q
6853 }
6854 s/.*/./; q'`
6855 test -d "$as_dir" && break
59776856 done
5978 test ! -n "$as_dirs" || mkdir $as_dirs
5979 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5980 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6857 test -z "$as_dirs" || eval "mkdir $as_dirs"
6858 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6859 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
59816860 { (exit 1); exit 1; }; }; }
5982
5983 ac_builddir=.
5984
5985 if test "$ac_dir" != .; then
5986 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5987 # A "../" for each directory in $ac_dir_suffix.
5988 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5989 else
5990 ac_dir_suffix= ac_top_builddir=
5991 fi
5992
5993 case $srcdir in
5994 .) # No --srcdir option. We are building in place.
5995 ac_srcdir=.
5996 if test -z "$ac_top_builddir"; then
5997 ac_top_srcdir=.
5998 else
5999 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6000 fi ;;
6001 [\\/]* | ?:[\\/]* ) # Absolute path.
6002 ac_srcdir=$srcdir$ac_dir_suffix;
6003 ac_top_srcdir=$srcdir ;;
6004 *) # Relative path.
6005 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6006 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6007 esac
6008
6009 # Do not use `cd foo && pwd` to compute absolute paths, because
6010 # the directories may not exist.
6011 case `pwd` in
6012 .) ac_abs_builddir="$ac_dir";;
6013 *)
6014 case "$ac_dir" in
6015 .) ac_abs_builddir=`pwd`;;
6016 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6017 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6018 esac;;
6019 esac
6020 case $ac_abs_builddir in
6021 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6022 *)
6023 case ${ac_top_builddir}. in
6024 .) ac_abs_top_builddir=$ac_abs_builddir;;
6025 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6026 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6027 esac;;
6028 esac
6029 case $ac_abs_builddir in
6030 .) ac_abs_srcdir=$ac_srcdir;;
6031 *)
6032 case $ac_srcdir in
6033 .) ac_abs_srcdir=$ac_abs_builddir;;
6034 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6035 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6036 esac;;
6037 esac
6038 case $ac_abs_builddir in
6039 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6040 *)
6041 case $ac_top_srcdir in
6042 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6043 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6044 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6045 esac;;
6046 esac
6047
6048
6049 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6050 echo "$as_me: executing $ac_dest commands" >&6;}
6051 case $ac_dest in
6052 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6053 # Strip MF so we end up with the name of the file.
6054 mf=`echo "$mf" | sed -e 's/:.*$//'`
6055 # Check whether this is an Automake generated Makefile or not.
6056 # We used to match only the files named `Makefile.in', but
6057 # some people rename them; so instead we look at the file content.
6058 # Grep'ing the first line is not enough: some people post-process
6059 # each Makefile.in and add a new line on top of each file to say so.
6060 # So let's grep whole file.
6061 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6062 dirpart=`(dirname "$mf") 2>/dev/null ||
6063 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6064 X"$mf" : 'X\(//\)[^/]' \| \
6065 X"$mf" : 'X\(//\)$' \| \
6066 X"$mf" : 'X\(/\)' \| \
6067 . : '\(.\)' 2>/dev/null ||
6068 echo X"$mf" |
6069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6070 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6071 /^X\(\/\/\)$/{ s//\1/; q; }
6072 /^X\(\/\).*/{ s//\1/; q; }
6073 s/.*/./; q'`
6074 else
6075 continue
6076 fi
6077 # Extract the definition of DEPDIR, am__include, and am__quote
6078 # from the Makefile without running `make'.
6079 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6080 test -z "$DEPDIR" && continue
6081 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6082 test -z "am__include" && continue
6083 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6084 # When using ansi2knr, U may be empty or an underscore; expand it
6085 U=`sed -n 's/^U = //p' < "$mf"`
6086 # Find all dependency output files, they are included files with
6087 # $(DEPDIR) in their names. We invoke sed twice because it is the
6088 # simplest approach to changing $(DEPDIR) to its actual value in the
6089 # expansion.
6090 for file in `sed -n "
6091 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6092 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6093 # Make sure the directory exists.
6094 test -f "$dirpart/$file" && continue
6095 fdir=`(dirname "$file") 2>/dev/null ||
6096 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6097 X"$file" : 'X\(//\)[^/]' \| \
6098 X"$file" : 'X\(//\)$' \| \
6099 X"$file" : 'X\(/\)' \| \
6100 . : '\(.\)' 2>/dev/null ||
6101 echo X"$file" |
6102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6103 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6104 /^X\(\/\/\)$/{ s//\1/; q; }
6105 /^X\(\/\).*/{ s//\1/; q; }
6106 s/.*/./; q'`
6107 { if $as_mkdir_p; then
6108 mkdir -p $dirpart/$fdir
6109 else
6110 as_dir=$dirpart/$fdir
6111 as_dirs=
6112 while test ! -d "$as_dir"; do
6113 as_dirs="$as_dir $as_dirs"
6114 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6115 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6116 X"$as_dir" : 'X\(//\)[^/]' \| \
6117 X"$as_dir" : 'X\(//\)$' \| \
6118 X"$as_dir" : 'X\(/\)' \| \
6119 . : '\(.\)' 2>/dev/null ||
6120 echo X"$as_dir" |
6121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6122 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6123 /^X\(\/\/\)$/{ s//\1/; q; }
6124 /^X\(\/\).*/{ s//\1/; q; }
6125 s/.*/./; q'`
6861 # echo "creating $dirpart/$file"
6862 echo '# dummy' > "$dirpart/$file"
61266863 done
6127 test ! -n "$as_dirs" || mkdir $as_dirs
6128 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6129 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6130 { (exit 1); exit 1; }; }; }
6131
6132 # echo "creating $dirpart/$file"
6133 echo '# dummy' > "$dirpart/$file"
61346864 done
6135 done
6865 }
61366866 ;;
6867
61376868 esac
6138 done
6139 _ACEOF
6140
6141 cat >>$CONFIG_STATUS <<\_ACEOF
6869 done # for ac_tag
6870
61426871
61436872 { (exit 0); exit 0; }
61446873 _ACEOF
61456874 chmod +x $CONFIG_STATUS
61466875 ac_clean_files=$ac_clean_files_save
6876
6877 test $ac_write_fail = 0 ||
6878 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6879 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6880 { (exit 1); exit 1; }; }
61476881
61486882
61496883 # configure is writing to config.log, and then calls config.status.
61666900 # would make configure fail if this is the last instruction.
61676901 $ac_cs_success || { (exit 1); exit 1; }
61686902 fi
6169
6903 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6904 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6905 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6906 fi
6907
11 # Process this file with autoconf to produce a configure script.
22
33 AC_PREREQ(2.59)
4 AC_INIT(cciss_vol_status, 1.03, smcameron@users.sourceforge.net)
4 AC_INIT(cciss_vol_status, 1.06, smcameron@users.sourceforge.net)
55 AC_CONFIG_SRCDIR([cciss_vol_status.c])
66 AC_CONFIG_HEADER([config.h])
77