Codebase list barrage / 32c79cb
Update upstream source from tag 'upstream/1.0.5' Update to upstream version '1.0.5' with Debian dir 2af2d9b70c229f63d457d28ba57fa369f8f3a165 Markus Koschany 4 years ago
28 changed file(s) with 7656 addition(s) and 5232 deletion(s). Raw diff Collapse all Expand all
00 SDL does not clear the return key properly when starting the game
11 from a terminal. Simply press Return to update its state.
22
3 SDL does not properly get curser position if switching from
4 fullscreen to Window and back. It's stuck to wrong 640x480 from
5 window mode not allowing to reach the far end of the shooting range.
6 No workaround known. Just decide whether to play in fullscreen or
7 window and stick to it.
8
0 1.0.5:
1 - added command line option -r to force a resolution (2019/09/04 MS)
2 - fixed fullscreen mode for non-4:3 resolutions (2019/09/04 MS)
3 - allow quit with Alt+F4 (2019/09/02 MS)
4 - fixed compiler warning (2019/09/02 MS)
5 - install hiscores to proper location instead of home dir (2019/09/02 MS)
6 - updated desktop file with german comment and keywords (2014/12/01 Markus Koschany)
7
08 1.0.4:
19 - install menu icon to proper location (Michael Speck 2011/06/26)
210 - fixed out of bounds error in menu (Michael Speck 2011/06/26)
77
88 desktopdir = $(datadir)/applications
99 desktop_DATA = barrage.desktop
10 icondir = $(datadir)/icons
11 icon_DATA = barrage48.png
1012
1113 EXTRA_DIST = BUGS README COPYING AUTHORS ChangeLog INSTALL NEWS TODO \
12 $(PACKAGE).spec $(PACKAGE).spec.in barrage.desktop \
13 barrage16.png barrage32.png barrage48.png
14 $(PACKAGE).spec $(PACKAGE).spec.in barrage.desktop.in barrage48.png
1415
15 install-data-local:
16 $(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/16x16/apps
17 $(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/32x32/apps
18 $(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps
19 $(INSTALL_DATA) barrage16.png $(DESTDIR)$(datadir)/icons/hicolor/16x16/apps/barrage.png
20 $(INSTALL_DATA) barrage32.png $(DESTDIR)$(datadir)/icons/hicolor/32x32/apps/barrage.png
21 $(INSTALL_DATA) barrage48.png $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps/barrage.png
16 # We can't use static desktop file because of icon location. Is this
17 # the right way to handle it? At least it works... as long as $datadir
18 # does not contain plus signs. :-)
19 barrage.desktop:
20 @sed -e "s+Icon=+Icon=$(datadir)/icons/barrage48.png+" \
21 < barrage.desktop.in > barrage.desktop
2222
23 uninstall-local:
24 rm -f $(DESTDIR)$(datadir)/icons/hicolor/16x16/apps/barrage.png
25 rm -f $(DESTDIR)$(datadir)/icons/hicolor/32x32/apps/barrage.png
26 rm -f $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps/barrage.png
27
28
23 ACLOCAL_AMFLAGS = -I m4
0 # Makefile.in generated by automake 1.9.6 from Makefile.am.
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
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 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
1816 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
1972 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
2074 pkglibdir = $(libdir)/@PACKAGE@
21 pkgincludedir = $(includedir)/@PACKAGE@
22 top_builddir = .
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
2376 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24 INSTALL = @INSTALL@
2577 install_sh_DATA = $(install_sh) -c -m 644
2678 install_sh_PROGRAM = $(install_sh) -c
2779 install_sh_SCRIPT = $(install_sh) -c
3688 build_triplet = @build@
3789 host_triplet = @host@
3890 target_triplet = @target@
39 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
40 $(srcdir)/Makefile.in $(srcdir)/barrage.spec.in \
41 $(srcdir)/config.h.in $(top_srcdir)/configure AUTHORS COPYING \
42 ChangeLog INSTALL NEWS TODO acconfig.h config.guess config.sub \
43 depcomp install-sh missing mkinstalldirs
4491 subdir = .
4592 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
4693 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
47 $(top_srcdir)/configure.in
94 $(top_srcdir)/configure.ac
4895 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4996 $(ACLOCAL_M4)
97 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
98 $(am__configure_deps) $(am__DIST_COMMON)
5099 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
51 configure.lineno configure.status.lineno
100 configure.lineno config.status.lineno
52101 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
53102 CONFIG_HEADER = config.h
54103 CONFIG_CLEAN_FILES = barrage.spec
104 CONFIG_CLEAN_VPATH_FILES =
105 AM_V_P = $(am__v_P_@AM_V@)
106 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
107 am__v_P_0 = false
108 am__v_P_1 = :
109 AM_V_GEN = $(am__v_GEN_@AM_V@)
110 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
111 am__v_GEN_0 = @echo " GEN " $@;
112 am__v_GEN_1 =
113 AM_V_at = $(am__v_at_@AM_V@)
114 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
115 am__v_at_0 = @
116 am__v_at_1 =
55117 SOURCES =
56118 DIST_SOURCES =
57 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
58 html-recursive info-recursive install-data-recursive \
59 install-exec-recursive install-info-recursive \
60 install-recursive installcheck-recursive installdirs-recursive \
61 pdf-recursive ps-recursive uninstall-info-recursive \
62 uninstall-recursive
119 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
120 ctags-recursive dvi-recursive html-recursive info-recursive \
121 install-data-recursive install-dvi-recursive \
122 install-exec-recursive install-html-recursive \
123 install-info-recursive install-pdf-recursive \
124 install-ps-recursive install-recursive installcheck-recursive \
125 installdirs-recursive pdf-recursive ps-recursive \
126 tags-recursive uninstall-recursive
127 am__can_run_installinfo = \
128 case $$AM_UPDATE_INFO_DIR in \
129 n|no|NO) false;; \
130 *) (install-info --version) >/dev/null 2>&1;; \
131 esac
63132 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
64133 am__vpath_adj = case $$p in \
65134 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
66135 *) f=$$p;; \
67136 esac;
68 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
69 am__installdirs = "$(DESTDIR)$(desktopdir)"
70 desktopDATA_INSTALL = $(INSTALL_DATA)
71 DATA = $(desktop_DATA)
137 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
138 am__install_max = 40
139 am__nobase_strip_setup = \
140 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
141 am__nobase_strip = \
142 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
143 am__nobase_list = $(am__nobase_strip_setup); \
144 for p in $$list; do echo "$$p $$p"; done | \
145 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
146 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
147 if (++n[$$2] == $(am__install_max)) \
148 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
149 END { for (dir in files) print dir, files[dir] }'
150 am__base_list = \
151 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
152 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
153 am__uninstall_files_from_dir = { \
154 test -z "$$files" \
155 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
156 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
157 $(am__cd) "$$dir" && rm -f $$files; }; \
158 }
159 am__installdirs = "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(icondir)"
160 DATA = $(desktop_DATA) $(icon_DATA)
161 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
162 distclean-recursive maintainer-clean-recursive
163 am__recursive_targets = \
164 $(RECURSIVE_TARGETS) \
165 $(RECURSIVE_CLEAN_TARGETS) \
166 $(am__extra_recursive_targets)
167 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
168 cscope distdir dist dist-all distcheck
169 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
170 $(LISP)config.h.in
171 # Read a list of newline-separated strings from the standard input,
172 # and print each of them once, without duplicates. Input order is
173 # *not* preserved.
174 am__uniquify_input = $(AWK) '\
175 BEGIN { nonempty = 0; } \
176 { items[$$0] = 1; nonempty = 1; } \
177 END { if (nonempty) { for (i in items) print i; }; } \
178 '
179 # Make sure the list of sources is unique. This is necessary because,
180 # e.g., the same source file might be shared among _SOURCES variables
181 # for different programs/libraries.
182 am__define_uniq_tagged_files = \
183 list='$(am__tagged_files)'; \
184 unique=`for i in $$list; do \
185 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
186 done | $(am__uniquify_input)`
72187 ETAGS = etags
73188 CTAGS = ctags
189 CSCOPE = cscope
74190 DIST_SUBDIRS = $(SUBDIRS)
191 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/barrage.spec.in \
192 $(srcdir)/config.h.in AUTHORS COPYING ChangeLog INSTALL NEWS \
193 README TODO compile config.guess config.sub depcomp install-sh \
194 missing mkinstalldirs
75195 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
76196 distdir = $(PACKAGE)-$(VERSION)
77197 top_distdir = $(distdir)
78198 am__remove_distdir = \
79 { test ! -d $(distdir) \
80 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
81 && rm -fr $(distdir); }; }
199 if test -d "$(distdir)"; then \
200 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
201 && rm -rf "$(distdir)" \
202 || { sleep 5 && rm -rf "$(distdir)"; }; \
203 else :; fi
204 am__post_remove_distdir = $(am__remove_distdir)
205 am__relativize = \
206 dir0=`pwd`; \
207 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
208 sed_rest='s,^[^/]*/*,,'; \
209 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
210 sed_butlast='s,/*[^/]*$$,,'; \
211 while test -n "$$dir1"; do \
212 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
213 if test "$$first" != "."; then \
214 if test "$$first" = ".."; then \
215 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
216 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
217 else \
218 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
219 if test "$$first2" = "$$first"; then \
220 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
221 else \
222 dir2="../$$dir2"; \
223 fi; \
224 dir0="$$dir0"/"$$first"; \
225 fi; \
226 fi; \
227 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
228 done; \
229 reldir="$$dir2"
82230 DIST_ARCHIVES = $(distdir).tar.gz
83231 GZIP_ENV = --best
232 DIST_TARGETS = dist-gzip
84233 distuninstallcheck_listfiles = find . -type f -print
234 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
235 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
85236 distcleancheck_listfiles = find . -type f -print
86237 ACLOCAL = @ACLOCAL@
87 AMDEP_FALSE = @AMDEP_FALSE@
88 AMDEP_TRUE = @AMDEP_TRUE@
238 ALLOCA = @ALLOCA@
89239 AMTAR = @AMTAR@
240 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
90241 AUTOCONF = @AUTOCONF@
91242 AUTOHEADER = @AUTOHEADER@
92243 AUTOMAKE = @AUTOMAKE@
105256 EGREP = @EGREP@
106257 EXEEXT = @EXEEXT@
107258 GREP = @GREP@
259 INSTALL = @INSTALL@
108260 INSTALL_DATA = @INSTALL_DATA@
109261 INSTALL_PROGRAM = @INSTALL_PROGRAM@
110262 INSTALL_SCRIPT = @INSTALL_SCRIPT@
114266 LIBS = @LIBS@
115267 LTLIBOBJS = @LTLIBOBJS@
116268 MAKEINFO = @MAKEINFO@
269 MKDIR_P = @MKDIR_P@
117270 OBJEXT = @OBJEXT@
118271 PACKAGE = @PACKAGE@
119272 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
120273 PACKAGE_NAME = @PACKAGE_NAME@
121274 PACKAGE_STRING = @PACKAGE_STRING@
122275 PACKAGE_TARNAME = @PACKAGE_TARNAME@
276 PACKAGE_URL = @PACKAGE_URL@
123277 PACKAGE_VERSION = @PACKAGE_VERSION@
124278 PATH_SEPARATOR = @PATH_SEPARATOR@
279 POW_LIB = @POW_LIB@
125280 RANLIB = @RANLIB@
126281 SDL_CFLAGS = @SDL_CFLAGS@
127282 SDL_CONFIG = @SDL_CONFIG@
130285 SHELL = @SHELL@
131286 STRIP = @STRIP@
132287 VERSION = @VERSION@
288 abs_builddir = @abs_builddir@
289 abs_srcdir = @abs_srcdir@
290 abs_top_builddir = @abs_top_builddir@
291 abs_top_srcdir = @abs_top_srcdir@
133292 ac_ct_CC = @ac_ct_CC@
134 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
135 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
136293 am__include = @am__include@
137294 am__leading_dot = @am__leading_dot@
138295 am__quote = @am__quote@
139296 am__tar = @am__tar@
140297 am__untar = @am__untar@
141 audio_flag = @audio_flag@
142 audio_lib = @audio_lib@
143298 bindir = @bindir@
144299 build = @build@
145300 build_alias = @build_alias@
146301 build_cpu = @build_cpu@
147302 build_os = @build_os@
148303 build_vendor = @build_vendor@
304 builddir = @builddir@
149305 datadir = @datadir@
150306 datarootdir = @datarootdir@
307 datdir = @datdir@
151308 docdir = @docdir@
152309 dvidir = @dvidir@
153310 exec_prefix = @exec_prefix@
311 hiscoredir = @hiscoredir@
154312 host = @host@
155313 host_alias = @host_alias@
156314 host_cpu = @host_cpu@
171329 prefix = @prefix@
172330 program_transform_name = @program_transform_name@
173331 psdir = @psdir@
332 runstatedir = @runstatedir@
174333 sbindir = @sbindir@
175334 sharedstatedir = @sharedstatedir@
176 src_dir = @src_dir@
177 src_dir_flag = @src_dir_flag@
335 srcdir = @srcdir@
178336 sysconfdir = @sysconfdir@
179337 target = @target@
180338 target_alias = @target_alias@
181339 target_cpu = @target_cpu@
182340 target_os = @target_os@
183341 target_vendor = @target_vendor@
342 top_build_prefix = @top_build_prefix@
343 top_builddir = @top_builddir@
344 top_srcdir = @top_srcdir@
184345 SUBDIRS = src
185346 AUTOMAKE_OPTIONS = foreign
186347 RPMBUILD = rpmbuild
187348 desktopdir = $(datadir)/applications
188349 desktop_DATA = barrage.desktop
350 icondir = $(datadir)/icons
351 icon_DATA = barrage48.png
189352 EXTRA_DIST = BUGS README COPYING AUTHORS ChangeLog INSTALL NEWS TODO \
190 $(PACKAGE).spec $(PACKAGE).spec.in barrage.desktop \
191 barrage16.png barrage32.png barrage48.png
192
353 $(PACKAGE).spec $(PACKAGE).spec.in barrage.desktop.in barrage48.png
354
355 ACLOCAL_AMFLAGS = -I m4
193356 all: config.h
194357 $(MAKE) $(AM_MAKEFLAGS) all-recursive
195358
196359 .SUFFIXES:
197 am--refresh:
360 am--refresh: Makefile
198361 @:
199362 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
200363 @for dep in $?; do \
201364 case '$(am__configure_deps)' in \
202365 *$$dep*) \
203 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
204 cd $(srcdir) && $(AUTOMAKE) --foreign \
366 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
367 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
205368 && exit 0; \
206369 exit 1;; \
207370 esac; \
208371 done; \
209 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
210 cd $(top_srcdir) && \
211 $(AUTOMAKE) --foreign Makefile
212 .PRECIOUS: Makefile
372 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
373 $(am__cd) $(top_srcdir) && \
374 $(AUTOMAKE) --foreign Makefile
213375 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
214376 @case '$?' in \
215377 *config.status*) \
224386 $(SHELL) ./config.status --recheck
225387
226388 $(top_srcdir)/configure: $(am__configure_deps)
227 cd $(srcdir) && $(AUTOCONF)
389 $(am__cd) $(srcdir) && $(AUTOCONF)
228390 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
229 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
391 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
392 $(am__aclocal_m4_deps):
230393
231394 config.h: stamp-h1
232 @if test ! -f $@; then \
233 rm -f stamp-h1; \
234 $(MAKE) stamp-h1; \
235 else :; fi
395 @test -f $@ || rm -f stamp-h1
396 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
236397
237398 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
238399 @rm -f stamp-h1
239400 cd $(top_builddir) && $(SHELL) ./config.status config.h
240 $(srcdir)/config.h.in: $(am__configure_deps) $(top_srcdir)/acconfig.h
241 cd $(top_srcdir) && $(AUTOHEADER)
401 $(srcdir)/config.h.in: $(am__configure_deps)
402 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
242403 rm -f stamp-h1
243404 touch $@
244405
246407 -rm -f config.h stamp-h1
247408 barrage.spec: $(top_builddir)/config.status $(srcdir)/barrage.spec.in
248409 cd $(top_builddir) && $(SHELL) ./config.status $@
249 uninstall-info-am:
250410 install-desktopDATA: $(desktop_DATA)
251411 @$(NORMAL_INSTALL)
252 test -z "$(desktopdir)" || $(mkdir_p) "$(DESTDIR)$(desktopdir)"
253 @list='$(desktop_DATA)'; for p in $$list; do \
412 @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \
413 if test -n "$$list"; then \
414 echo " $(MKDIR_P) '$(DESTDIR)$(desktopdir)'"; \
415 $(MKDIR_P) "$(DESTDIR)$(desktopdir)" || exit 1; \
416 fi; \
417 for p in $$list; do \
254418 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
255 f=$(am__strip_dir) \
256 echo " $(desktopDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(desktopdir)/$$f'"; \
257 $(desktopDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(desktopdir)/$$f"; \
419 echo "$$d$$p"; \
420 done | $(am__base_list) | \
421 while read files; do \
422 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \
423 $(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \
258424 done
259425
260426 uninstall-desktopDATA:
261427 @$(NORMAL_UNINSTALL)
262 @list='$(desktop_DATA)'; for p in $$list; do \
263 f=$(am__strip_dir) \
264 echo " rm -f '$(DESTDIR)$(desktopdir)/$$f'"; \
265 rm -f "$(DESTDIR)$(desktopdir)/$$f"; \
428 @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \
429 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
430 dir='$(DESTDIR)$(desktopdir)'; $(am__uninstall_files_from_dir)
431 install-iconDATA: $(icon_DATA)
432 @$(NORMAL_INSTALL)
433 @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \
434 if test -n "$$list"; then \
435 echo " $(MKDIR_P) '$(DESTDIR)$(icondir)'"; \
436 $(MKDIR_P) "$(DESTDIR)$(icondir)" || exit 1; \
437 fi; \
438 for p in $$list; do \
439 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
440 echo "$$d$$p"; \
441 done | $(am__base_list) | \
442 while read files; do \
443 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(icondir)'"; \
444 $(INSTALL_DATA) $$files "$(DESTDIR)$(icondir)" || exit $$?; \
266445 done
267446
447 uninstall-iconDATA:
448 @$(NORMAL_UNINSTALL)
449 @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \
450 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
451 dir='$(DESTDIR)$(icondir)'; $(am__uninstall_files_from_dir)
452
268453 # This directory's subdirectories are mostly independent; you can cd
269 # into them and run `make' without going through this Makefile.
270 # To change the values of `make' variables: instead of editing Makefiles,
271 # (1) if the variable is set in `config.status', edit `config.status'
272 # (which will cause the Makefiles to be regenerated when you run `make');
273 # (2) otherwise, pass the desired values on the `make' command line.
274 $(RECURSIVE_TARGETS):
275 @failcom='exit 1'; \
276 for f in x $$MAKEFLAGS; do \
277 case $$f in \
278 *=* | --[!k]*);; \
279 *k*) failcom='fail=yes';; \
280 esac; \
281 done; \
454 # into them and run 'make' without going through this Makefile.
455 # To change the values of 'make' variables: instead of editing Makefiles,
456 # (1) if the variable is set in 'config.status', edit 'config.status'
457 # (which will cause the Makefiles to be regenerated when you run 'make');
458 # (2) otherwise, pass the desired values on the 'make' command line.
459 $(am__recursive_targets):
460 @fail=; \
461 if $(am__make_keepgoing); then \
462 failcom='fail=yes'; \
463 else \
464 failcom='exit 1'; \
465 fi; \
282466 dot_seen=no; \
283467 target=`echo $@ | sed s/-recursive//`; \
284 list='$(SUBDIRS)'; for subdir in $$list; do \
468 case "$@" in \
469 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
470 *) list='$(SUBDIRS)' ;; \
471 esac; \
472 for subdir in $$list; do \
285473 echo "Making $$target in $$subdir"; \
286474 if test "$$subdir" = "."; then \
287475 dot_seen=yes; \
289477 else \
290478 local_target="$$target"; \
291479 fi; \
292 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
480 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
293481 || eval $$failcom; \
294482 done; \
295483 if test "$$dot_seen" = "no"; then \
296484 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
297485 fi; test -z "$$fail"
298486
299 mostlyclean-recursive clean-recursive distclean-recursive \
300 maintainer-clean-recursive:
301 @failcom='exit 1'; \
302 for f in x $$MAKEFLAGS; do \
303 case $$f in \
304 *=* | --[!k]*);; \
305 *k*) failcom='fail=yes';; \
306 esac; \
307 done; \
308 dot_seen=no; \
309 case "$@" in \
310 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
311 *) list='$(SUBDIRS)' ;; \
312 esac; \
313 rev=''; for subdir in $$list; do \
314 if test "$$subdir" = "."; then :; else \
315 rev="$$subdir $$rev"; \
316 fi; \
317 done; \
318 rev="$$rev ."; \
319 target=`echo $@ | sed s/-recursive//`; \
320 for subdir in $$rev; do \
321 echo "Making $$target in $$subdir"; \
322 if test "$$subdir" = "."; then \
323 local_target="$$target-am"; \
324 else \
325 local_target="$$target"; \
326 fi; \
327 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
328 || eval $$failcom; \
329 done && test -z "$$fail"
330 tags-recursive:
331 list='$(SUBDIRS)'; for subdir in $$list; do \
332 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
333 done
334 ctags-recursive:
335 list='$(SUBDIRS)'; for subdir in $$list; do \
336 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
337 done
338
339 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
340 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
341 unique=`for i in $$list; do \
342 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
343 done | \
344 $(AWK) ' { files[$$0] = 1; } \
345 END { for (i in files) print i; }'`; \
346 mkid -fID $$unique
347 tags: TAGS
348
349 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
350 $(TAGS_FILES) $(LISP)
351 tags=; \
487 ID: $(am__tagged_files)
488 $(am__define_uniq_tagged_files); mkid -fID $$unique
489 tags: tags-recursive
490 TAGS: tags
491
492 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
493 set x; \
352494 here=`pwd`; \
353495 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
354496 include_option=--etags-include; \
360502 list='$(SUBDIRS)'; for subdir in $$list; do \
361503 if test "$$subdir" = .; then :; else \
362504 test ! -f $$subdir/TAGS || \
363 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
505 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
364506 fi; \
365507 done; \
366 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
367 unique=`for i in $$list; do \
368 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
369 done | \
370 $(AWK) ' { files[$$0] = 1; } \
371 END { for (i in files) print i; }'`; \
372 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
508 $(am__define_uniq_tagged_files); \
509 shift; \
510 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
373511 test -n "$$unique" || unique=$$empty_fix; \
374 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
375 $$tags $$unique; \
512 if test $$# -gt 0; then \
513 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
514 "$$@" $$unique; \
515 else \
516 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
517 $$unique; \
518 fi; \
376519 fi
377 ctags: CTAGS
378 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
379 $(TAGS_FILES) $(LISP)
380 tags=; \
381 here=`pwd`; \
382 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
383 unique=`for i in $$list; do \
384 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
385 done | \
386 $(AWK) ' { files[$$0] = 1; } \
387 END { for (i in files) print i; }'`; \
388 test -z "$(CTAGS_ARGS)$$tags$$unique" \
520 ctags: ctags-recursive
521
522 CTAGS: ctags
523 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
524 $(am__define_uniq_tagged_files); \
525 test -z "$(CTAGS_ARGS)$$unique" \
389526 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
390 $$tags $$unique
527 $$unique
391528
392529 GTAGS:
393530 here=`$(am__cd) $(top_builddir) && pwd` \
394 && cd $(top_srcdir) \
395 && gtags -i $(GTAGS_ARGS) $$here
531 && $(am__cd) $(top_srcdir) \
532 && gtags -i $(GTAGS_ARGS) "$$here"
533 cscope: cscope.files
534 test ! -s cscope.files \
535 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
536 clean-cscope:
537 -rm -f cscope.files
538 cscope.files: clean-cscope cscopelist
539 cscopelist: cscopelist-recursive
540
541 cscopelist-am: $(am__tagged_files)
542 list='$(am__tagged_files)'; \
543 case "$(srcdir)" in \
544 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
545 *) sdir=$(subdir)/$(srcdir) ;; \
546 esac; \
547 for i in $$list; do \
548 if test -f "$$i"; then \
549 echo "$(subdir)/$$i"; \
550 else \
551 echo "$$sdir/$$i"; \
552 fi; \
553 done >> $(top_builddir)/cscope.files
396554
397555 distclean-tags:
398556 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
557 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
399558
400559 distdir: $(DISTFILES)
401560 $(am__remove_distdir)
402 mkdir $(distdir)
403 $(mkdir_p) $(distdir)/.
404 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
405 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
406 list='$(DISTFILES)'; for file in $$list; do \
407 case $$file in \
408 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
409 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
410 esac; \
561 test -d "$(distdir)" || mkdir "$(distdir)"
562 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
563 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
564 list='$(DISTFILES)'; \
565 dist_files=`for file in $$list; do echo $$file; done | \
566 sed -e "s|^$$srcdirstrip/||;t" \
567 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
568 case $$dist_files in \
569 */*) $(MKDIR_P) `echo "$$dist_files" | \
570 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
571 sort -u` ;; \
572 esac; \
573 for file in $$dist_files; do \
411574 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
412 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
413 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
414 dir="/$$dir"; \
415 $(mkdir_p) "$(distdir)$$dir"; \
575 if test -d $$d/$$file; then \
576 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
577 if test -d "$(distdir)/$$file"; then \
578 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
579 fi; \
580 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
581 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
582 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
583 fi; \
584 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
416585 else \
417 dir=''; \
418 fi; \
419 if test -d $$d/$$file; then \
420 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
421 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
422 fi; \
423 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
424 else \
425 test -f $(distdir)/$$file \
426 || cp -p $$d/$$file $(distdir)/$$file \
586 test -f "$(distdir)/$$file" \
587 || cp -p $$d/$$file "$(distdir)/$$file" \
427588 || exit 1; \
428589 fi; \
429590 done
430 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
591 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
431592 if test "$$subdir" = .; then :; else \
432 test -d "$(distdir)/$$subdir" \
433 || $(mkdir_p) "$(distdir)/$$subdir" \
434 || exit 1; \
435 distdir=`$(am__cd) $(distdir) && pwd`; \
436 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
437 (cd $$subdir && \
593 $(am__make_dryrun) \
594 || test -d "$(distdir)/$$subdir" \
595 || $(MKDIR_P) "$(distdir)/$$subdir" \
596 || exit 1; \
597 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
598 $(am__relativize); \
599 new_distdir=$$reldir; \
600 dir1=$$subdir; dir2="$(top_distdir)"; \
601 $(am__relativize); \
602 new_top_distdir=$$reldir; \
603 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
604 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
605 ($(am__cd) $$subdir && \
438606 $(MAKE) $(AM_MAKEFLAGS) \
439 top_distdir="$$top_distdir" \
440 distdir="$$distdir/$$subdir" \
607 top_distdir="$$new_top_distdir" \
608 distdir="$$new_distdir" \
609 am__remove_distdir=: \
610 am__skip_length_check=: \
611 am__skip_mode_fix=: \
441612 distdir) \
442613 || exit 1; \
443614 fi; \
444615 done
445 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
616 -test -n "$(am__skip_mode_fix)" \
617 || find "$(distdir)" -type d ! -perm -755 \
618 -exec chmod u+rwx,go+rx {} \; -o \
446619 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
447620 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
448 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
449 || chmod -R a+r $(distdir)
621 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
622 || chmod -R a+r "$(distdir)"
450623 dist-gzip: distdir
451 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
452 $(am__remove_distdir)
624 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
625 $(am__post_remove_distdir)
453626
454627 dist-bzip2: distdir
455 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
456 $(am__remove_distdir)
628 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
629 $(am__post_remove_distdir)
630
631 dist-lzip: distdir
632 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
633 $(am__post_remove_distdir)
634
635 dist-xz: distdir
636 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
637 $(am__post_remove_distdir)
457638
458639 dist-tarZ: distdir
640 @echo WARNING: "Support for distribution archives compressed with" \
641 "legacy program 'compress' is deprecated." >&2
642 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
459643 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
460 $(am__remove_distdir)
644 $(am__post_remove_distdir)
461645
462646 dist-shar: distdir
463 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
464 $(am__remove_distdir)
647 @echo WARNING: "Support for shar distribution archives is" \
648 "deprecated." >&2
649 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
650 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
651 $(am__post_remove_distdir)
465652
466653 dist-zip: distdir
467654 -rm -f $(distdir).zip
468655 zip -rq $(distdir).zip $(distdir)
469 $(am__remove_distdir)
470
471 dist dist-all: distdir
472 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
473 $(am__remove_distdir)
656 $(am__post_remove_distdir)
657
658 dist dist-all:
659 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
660 $(am__post_remove_distdir)
474661
475662 # This target untars the dist file and tries a VPATH configuration. Then
476663 # it guarantees that the distribution is self-contained by making another
478665 distcheck: dist
479666 case '$(DIST_ARCHIVES)' in \
480667 *.tar.gz*) \
481 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
668 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
482669 *.tar.bz2*) \
483 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
670 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
671 *.tar.lz*) \
672 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
673 *.tar.xz*) \
674 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
484675 *.tar.Z*) \
485676 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
486677 *.shar.gz*) \
487 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
678 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
488679 *.zip*) \
489680 unzip $(distdir).zip ;;\
490681 esac
491 chmod -R a-w $(distdir); chmod a+w $(distdir)
492 mkdir $(distdir)/_build
493 mkdir $(distdir)/_inst
682 chmod -R a-w $(distdir)
683 chmod u+w $(distdir)
684 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
494685 chmod a-w $(distdir)
686 test -d $(distdir)/_build || exit 0; \
495687 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
496688 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
497 && cd $(distdir)/_build \
498 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
689 && am__cwd=`pwd` \
690 && $(am__cd) $(distdir)/_build/sub \
691 && ../../configure \
692 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
499693 $(DISTCHECK_CONFIGURE_FLAGS) \
694 --srcdir=../.. --prefix="$$dc_install_base" \
500695 && $(MAKE) $(AM_MAKEFLAGS) \
501696 && $(MAKE) $(AM_MAKEFLAGS) dvi \
502697 && $(MAKE) $(AM_MAKEFLAGS) check \
516711 && rm -rf "$$dc_destdir" \
517712 && $(MAKE) $(AM_MAKEFLAGS) dist \
518713 && rm -rf $(DIST_ARCHIVES) \
519 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
520 $(am__remove_distdir)
714 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
715 && cd "$$am__cwd" \
716 || exit 1
717 $(am__post_remove_distdir)
521718 @(echo "$(distdir) archives ready for distribution: "; \
522719 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
523 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
720 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
524721 distuninstallcheck:
525 @cd $(distuninstallcheck_dir) \
526 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
722 @test -n '$(distuninstallcheck_dir)' || { \
723 echo 'ERROR: trying to run $@ with an empty' \
724 '$$(distuninstallcheck_dir)' >&2; \
725 exit 1; \
726 }; \
727 $(am__cd) '$(distuninstallcheck_dir)' || { \
728 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
729 exit 1; \
730 }; \
731 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
527732 || { echo "ERROR: files left after uninstall:" ; \
528733 if test -n "$(DESTDIR)"; then \
529734 echo " (check DESTDIR support)"; \
544749 all-am: Makefile $(DATA) config.h
545750 installdirs: installdirs-recursive
546751 installdirs-am:
547 for dir in "$(DESTDIR)$(desktopdir)"; do \
548 test -z "$$dir" || $(mkdir_p) "$$dir"; \
752 for dir in "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(icondir)"; do \
753 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
549754 done
550755 install: install-recursive
551756 install-exec: install-exec-recursive
557762
558763 installcheck: installcheck-recursive
559764 install-strip:
560 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
561 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
562 `test -z '$(STRIP)' || \
563 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
765 if test -z '$(STRIP)'; then \
766 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
767 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
768 install; \
769 else \
770 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
771 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
772 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
773 fi
564774 mostlyclean-generic:
565775
566776 clean-generic:
567777
568778 distclean-generic:
569779 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
780 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
570781
571782 maintainer-clean-generic:
572783 @echo "This command is intended for maintainers to use"
586797
587798 html: html-recursive
588799
800 html-am:
801
589802 info: info-recursive
590803
591804 info-am:
592805
593 install-data-am: install-data-local install-desktopDATA
806 install-data-am: install-desktopDATA install-iconDATA
807
808 install-dvi: install-dvi-recursive
809
810 install-dvi-am:
594811
595812 install-exec-am:
596813
814 install-html: install-html-recursive
815
816 install-html-am:
817
597818 install-info: install-info-recursive
598819
820 install-info-am:
821
599822 install-man:
823
824 install-pdf: install-pdf-recursive
825
826 install-pdf-am:
827
828 install-ps: install-ps-recursive
829
830 install-ps-am:
600831
601832 installcheck-am:
602833
618849
619850 ps-am:
620851
621 uninstall-am: uninstall-desktopDATA uninstall-info-am uninstall-local
622
623 uninstall-info: uninstall-info-recursive
624
625 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
626 check-am clean clean-generic clean-recursive ctags \
627 ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \
628 dist-tarZ dist-zip distcheck distclean distclean-generic \
629 distclean-hdr distclean-recursive distclean-tags \
630 distcleancheck distdir distuninstallcheck dvi dvi-am html \
631 html-am info info-am install install-am install-data \
632 install-data-am install-data-local install-desktopDATA \
633 install-exec install-exec-am install-info install-info-am \
634 install-man install-strip installcheck installcheck-am \
852 uninstall-am: uninstall-desktopDATA uninstall-iconDATA
853
854 .MAKE: $(am__recursive_targets) all install-am install-strip
855
856 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
857 am--refresh check check-am clean clean-cscope clean-generic \
858 cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
859 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
860 distcheck distclean distclean-generic distclean-hdr \
861 distclean-tags distcleancheck distdir distuninstallcheck dvi \
862 dvi-am html html-am info info-am install install-am \
863 install-data install-data-am install-desktopDATA install-dvi \
864 install-dvi-am install-exec install-exec-am install-html \
865 install-html-am install-iconDATA install-info install-info-am \
866 install-man install-pdf install-pdf-am install-ps \
867 install-ps-am install-strip installcheck installcheck-am \
635868 installdirs installdirs-am maintainer-clean \
636 maintainer-clean-generic maintainer-clean-recursive \
637 mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
638 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
639 uninstall-desktopDATA uninstall-info-am uninstall-local
869 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
870 pdf-am ps ps-am tags tags-am uninstall uninstall-am \
871 uninstall-desktopDATA uninstall-iconDATA
872
873 .PRECIOUS: Makefile
640874
641875 rpm: dist
642876 $(RPMBUILD) -ta $(distdir).tar.gz
643877
644 install-data-local:
645 $(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/16x16/apps
646 $(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/32x32/apps
647 $(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps
648 $(INSTALL_DATA) barrage16.png $(DESTDIR)$(datadir)/icons/hicolor/16x16/apps/barrage.png
649 $(INSTALL_DATA) barrage32.png $(DESTDIR)$(datadir)/icons/hicolor/32x32/apps/barrage.png
650 $(INSTALL_DATA) barrage48.png $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps/barrage.png
651
652 uninstall-local:
653 rm -f $(DESTDIR)$(datadir)/icons/hicolor/16x16/apps/barrage.png
654 rm -f $(DESTDIR)$(datadir)/icons/hicolor/32x32/apps/barrage.png
655 rm -f $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps/barrage.png
878 # We can't use static desktop file because of icon location. Is this
879 # the right way to handle it? At least it works... as long as $datadir
880 # does not contain plus signs. :-)
881 barrage.desktop:
882 @sed -e "s+Icon=+Icon=$(datadir)/icons/barrage48.png+" \
883 < barrage.desktop.in > barrage.desktop
884
656885 # Tell versions [3.59,3.63) of GNU make to not export all variables.
657886 # Otherwise a system limit (for SysV at least) may be exceeded.
658887 .NOEXPORT:
2828 can switch this anytime while playing by pressing 'f'
2929 -s play silently, thus don't play any sounds; this can
3030 also be switched by pressing 's' while playing
31 -r force (valid) resolution, can be used to fix bad auto
32 detection or zoom window mode
3133
3234 -----------
3335 How To Play
+0
-13
acconfig.h less more
0 #undef ENABLE_NLS
1 #undef HAVE_CATGETS
2 #undef HAVE_GETTEXT
3 #undef HAVE_LC_MESSAGES
4 #undef HAVE_STPCPY
5 #undef HAVE_LIBSM
6 #undef PACKAGE_LOCALE_DIR
7 #undef PACKAGE_DOC_DIR
8 #undef PACKAGE_DATA_DIR
9 #undef PACKAGE_PIXMAPS_DIR
10 #undef PACKAGE_HELP_DIR
11 #undef PACKAGE_MENU_DIR
12 #undef PACKAGE_SOURCE_DIR
0 # generated automatically by aclocal 1.9.6 -*- Autoconf -*-
1
2 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 # 2005 Free Software Foundation, Inc.
0 # generated automatically by aclocal 1.15.1 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2017 Free Software Foundation, Inc.
3
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 # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
13 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
14 m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
17 [m4_warning([this file was generated for autoconf 2.69.
18 You have another version of autoconf. It may work, but is not guaranteed to.
19 If you have problems, you may need to regenerate the build system entirely.
20 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
21
22 # Copyright (C) 2002-2017 Free Software Foundation, Inc.
1423 #
1524 # This file is free software; the Free Software Foundation
1625 # gives unlimited permission to copy and/or distribute it,
2029 # ----------------------------
2130 # Automake X.Y traces this macro to ensure aclocal.m4 has been
2231 # generated from the m4 files accompanying Automake X.Y.
23 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
32 # (This private macro should not be called outside this file.)
33 AC_DEFUN([AM_AUTOMAKE_VERSION],
34 [am__api_version='1.15'
35 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
36 dnl require some minimum version. Point them to the right macro.
37 m4_if([$1], [1.15.1], [],
38 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
39 ])
40
41 # _AM_AUTOCONF_VERSION(VERSION)
42 # -----------------------------
43 # aclocal traces this macro to find the Autoconf version.
44 # This is a private macro too. Using m4_define simplifies
45 # the logic in aclocal, which can simply ignore this definition.
46 m4_define([_AM_AUTOCONF_VERSION], [])
2447
2548 # AM_SET_CURRENT_AUTOMAKE_VERSION
2649 # -------------------------------
27 # Call AM_AUTOMAKE_VERSION so it can be traced.
28 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
50 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
51 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
2952 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
30 [AM_AUTOMAKE_VERSION([1.9.6])])
53 [AM_AUTOMAKE_VERSION([1.15.1])dnl
54 m4_ifndef([AC_AUTOCONF_VERSION],
55 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
56 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
3157
3258 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
3359
34 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
60 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
3561 #
3662 # This file is free software; the Free Software Foundation
3763 # gives unlimited permission to copy and/or distribute it,
3864 # with or without modifications, as long as this notice is preserved.
3965
4066 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
41 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
42 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
67 # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
68 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
4369 #
4470 # Of course, Automake must honor this variable whenever it calls a
4571 # tool from the auxiliary directory. The problem is that $srcdir (and
5884 #
5985 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
6086 # are both prefixed by $srcdir. In an in-source build this is usually
61 # harmless because $srcdir is `.', but things will broke when you
87 # harmless because $srcdir is '.', but things will broke when you
6288 # start a VPATH build or use an absolute $srcdir.
6389 #
6490 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
76102 # configured tree to be moved without reconfiguration.
77103
78104 AC_DEFUN([AM_AUX_DIR_EXPAND],
79 [dnl Rely on autoconf to set up CDPATH properly.
80 AC_PREREQ([2.50])dnl
81 # expand $ac_aux_dir to an absolute path
82 am_aux_dir=`cd $ac_aux_dir && pwd`
105 [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
106 # Expand $ac_aux_dir to an absolute path.
107 am_aux_dir=`cd "$ac_aux_dir" && pwd`
83108 ])
84109
85110 # AM_CONDITIONAL -*- Autoconf -*-
86111
87 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
88 # Free Software Foundation, Inc.
89 #
90 # This file is free software; the Free Software Foundation
91 # gives unlimited permission to copy and/or distribute it,
92 # with or without modifications, as long as this notice is preserved.
93
94 # serial 7
112 # Copyright (C) 1997-2017 Free Software Foundation, Inc.
113 #
114 # This file is free software; the Free Software Foundation
115 # gives unlimited permission to copy and/or distribute it,
116 # with or without modifications, as long as this notice is preserved.
95117
96118 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
97119 # -------------------------------------
98120 # Define a conditional.
99121 AC_DEFUN([AM_CONDITIONAL],
100 [AC_PREREQ(2.52)dnl
101 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
102 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
103 AC_SUBST([$1_TRUE])
104 AC_SUBST([$1_FALSE])
122 [AC_PREREQ([2.52])dnl
123 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
124 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
125 AC_SUBST([$1_TRUE])dnl
126 AC_SUBST([$1_FALSE])dnl
127 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
128 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
129 m4_define([_AM_COND_VALUE_$1], [$2])dnl
105130 if $2; then
106131 $1_TRUE=
107132 $1_FALSE='#'
115140 Usually this means the macro was only invoked conditionally.]])
116141 fi])])
117142
118
119 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
120 # Free Software Foundation, Inc.
121 #
122 # This file is free software; the Free Software Foundation
123 # gives unlimited permission to copy and/or distribute it,
124 # with or without modifications, as long as this notice is preserved.
125
126 # serial 8
127
128 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
143 # Copyright (C) 1999-2017 Free Software Foundation, Inc.
144 #
145 # This file is free software; the Free Software Foundation
146 # gives unlimited permission to copy and/or distribute it,
147 # with or without modifications, as long as this notice is preserved.
148
149
150 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
129151 # written in clear, in which case automake, when reading aclocal.m4,
130152 # will think it sees a *use*, and therefore will trigger all it's
131153 # C support machinery. Also note that it means that autoscan, seeing
135157 # _AM_DEPENDENCIES(NAME)
136158 # ----------------------
137159 # See how the compiler implements dependency checking.
138 # NAME is "CC", "CXX", "GCJ", or "OBJC".
160 # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
139161 # We try a few techniques and use that to set a single cache variable.
140162 #
141163 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
148170 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
149171 AC_REQUIRE([AM_DEP_TRACK])dnl
150172
151 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
152 [$1], CXX, [depcc="$CXX" am_compiler_list=],
153 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
154 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
155 [depcc="$$1" am_compiler_list=])
173 m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
174 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
175 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
176 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
177 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
178 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
179 [depcc="$$1" am_compiler_list=])
156180
157181 AC_CACHE_CHECK([dependency style of $depcc],
158182 [am_cv_$1_dependencies_compiler_type],
160184 # We make a subdir and do the tests there. Otherwise we can end up
161185 # making bogus files that we don't know about and never remove. For
162186 # instance it was reported that on HP-UX the gcc test will end up
163 # making a dummy file named `D' -- because `-MD' means `put the output
164 # in D'.
187 # making a dummy file named 'D' -- because '-MD' means "put the output
188 # in D".
189 rm -rf conftest.dir
165190 mkdir conftest.dir
166191 # Copy depcomp to subdir because otherwise we won't find it if we're
167192 # using a relative directory.
179204 if test "$am_compiler_list" = ""; then
180205 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
181206 fi
207 am__universal=false
208 m4_case([$1], [CC],
209 [case " $depcc " in #(
210 *\ -arch\ *\ -arch\ *) am__universal=true ;;
211 esac],
212 [CXX],
213 [case " $depcc " in #(
214 *\ -arch\ *\ -arch\ *) am__universal=true ;;
215 esac])
216
182217 for depmode in $am_compiler_list; do
183218 # Setup a source with many dependencies, because some compilers
184219 # like to wrap large dependency lists on column 80 (with \), and
190225 : > sub/conftest.c
191226 for i in 1 2 3 4 5 6; do
192227 echo '#include "conftst'$i'.h"' >> sub/conftest.c
193 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
194 # Solaris 8's {/usr,}/bin/sh.
195 touch sub/conftst$i.h
228 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
229 # Solaris 10 /bin/sh.
230 echo '/* dummy */' > sub/conftst$i.h
196231 done
197232 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
198233
234 # We check with '-c' and '-o' for the sake of the "dashmstdout"
235 # mode. It turns out that the SunPro C++ compiler does not properly
236 # handle '-M -o', and we need to detect this. Also, some Intel
237 # versions had trouble with output in subdirs.
238 am__obj=sub/conftest.${OBJEXT-o}
239 am__minus_obj="-o $am__obj"
199240 case $depmode in
241 gcc)
242 # This depmode causes a compiler race in universal mode.
243 test "$am__universal" = false || continue
244 ;;
200245 nosideeffect)
201 # after this tag, mechanisms are not by side-effect, so they'll
202 # only be used when explicitly requested
246 # After this tag, mechanisms are not by side-effect, so they'll
247 # only be used when explicitly requested.
203248 if test "x$enable_dependency_tracking" = xyes; then
204249 continue
205250 else
206251 break
207252 fi
208253 ;;
254 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
255 # This compiler won't grok '-c -o', but also, the minuso test has
256 # not run yet. These depmodes are late enough in the game, and
257 # so weak that their functioning should not be impacted.
258 am__obj=conftest.${OBJEXT-o}
259 am__minus_obj=
260 ;;
209261 none) break ;;
210262 esac
211 # We check with `-c' and `-o' for the sake of the "dashmstdout"
212 # mode. It turns out that the SunPro C++ compiler does not properly
213 # handle `-M -o', and we need to detect this.
214263 if depmode=$depmode \
215 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
264 source=sub/conftest.c object=$am__obj \
216265 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
217 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
266 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
218267 >/dev/null 2>conftest.err &&
268 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
219269 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
220 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
270 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
221271 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
222272 # icc doesn't choke on unknown options, it will just issue warnings
223273 # or remarks (even with -Werror). So we grep stderr for any message
250300 # AM_SET_DEPDIR
251301 # -------------
252302 # Choose a directory name for dependency files.
253 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
303 # This macro is AC_REQUIREd in _AM_DEPENDENCIES.
254304 AC_DEFUN([AM_SET_DEPDIR],
255305 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
256306 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
260310 # AM_DEP_TRACK
261311 # ------------
262312 AC_DEFUN([AM_DEP_TRACK],
263 [AC_ARG_ENABLE(dependency-tracking,
264 [ --disable-dependency-tracking speeds up one-time build
265 --enable-dependency-tracking do not reject slow dependency extractors])
313 [AC_ARG_ENABLE([dependency-tracking], [dnl
314 AS_HELP_STRING(
315 [--enable-dependency-tracking],
316 [do not reject slow dependency extractors])
317 AS_HELP_STRING(
318 [--disable-dependency-tracking],
319 [speeds up one-time build])])
266320 if test "x$enable_dependency_tracking" != xno; then
267321 am_depcomp="$ac_aux_dir/depcomp"
268322 AMDEPBACKSLASH='\'
323 am__nodep='_no'
269324 fi
270325 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
271 AC_SUBST([AMDEPBACKSLASH])
326 AC_SUBST([AMDEPBACKSLASH])dnl
327 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
328 AC_SUBST([am__nodep])dnl
329 _AM_SUBST_NOTMAKE([am__nodep])dnl
272330 ])
273331
274332 # Generate code to set up dependency tracking. -*- Autoconf -*-
275333
276 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
277 # Free Software Foundation, Inc.
278 #
279 # This file is free software; the Free Software Foundation
280 # gives unlimited permission to copy and/or distribute it,
281 # with or without modifications, as long as this notice is preserved.
282
283 #serial 3
334 # Copyright (C) 1999-2017 Free Software Foundation, Inc.
335 #
336 # This file is free software; the Free Software Foundation
337 # gives unlimited permission to copy and/or distribute it,
338 # with or without modifications, as long as this notice is preserved.
339
284340
285341 # _AM_OUTPUT_DEPENDENCY_COMMANDS
286342 # ------------------------------
287343 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
288 [for mf in $CONFIG_FILES; do
289 # Strip MF so we end up with the name of the file.
290 mf=`echo "$mf" | sed -e 's/:.*$//'`
291 # Check whether this is an Automake generated Makefile or not.
292 # We used to match only the files named `Makefile.in', but
293 # some people rename them; so instead we look at the file content.
294 # Grep'ing the first line is not enough: some people post-process
295 # each Makefile.in and add a new line on top of each file to say so.
296 # So let's grep whole file.
297 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
298 dirpart=`AS_DIRNAME("$mf")`
299 else
300 continue
301 fi
302 # Extract the definition of DEPDIR, am__include, and am__quote
303 # from the Makefile without running `make'.
304 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
305 test -z "$DEPDIR" && continue
306 am__include=`sed -n 's/^am__include = //p' < "$mf"`
307 test -z "am__include" && continue
308 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
309 # When using ansi2knr, U may be empty or an underscore; expand it
310 U=`sed -n 's/^U = //p' < "$mf"`
311 # Find all dependency output files, they are included files with
312 # $(DEPDIR) in their names. We invoke sed twice because it is the
313 # simplest approach to changing $(DEPDIR) to its actual value in the
314 # expansion.
315 for file in `sed -n "
316 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
317 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
318 # Make sure the directory exists.
319 test -f "$dirpart/$file" && continue
320 fdir=`AS_DIRNAME(["$file"])`
321 AS_MKDIR_P([$dirpart/$fdir])
322 # echo "creating $dirpart/$file"
323 echo '# dummy' > "$dirpart/$file"
344 [{
345 # Older Autoconf quotes --file arguments for eval, but not when files
346 # are listed without --file. Let's play safe and only enable the eval
347 # if we detect the quoting.
348 case $CONFIG_FILES in
349 *\'*) eval set x "$CONFIG_FILES" ;;
350 *) set x $CONFIG_FILES ;;
351 esac
352 shift
353 for mf
354 do
355 # Strip MF so we end up with the name of the file.
356 mf=`echo "$mf" | sed -e 's/:.*$//'`
357 # Check whether this is an Automake generated Makefile or not.
358 # We used to match only the files named 'Makefile.in', but
359 # some people rename them; so instead we look at the file content.
360 # Grep'ing the first line is not enough: some people post-process
361 # each Makefile.in and add a new line on top of each file to say so.
362 # Grep'ing the whole file is not good either: AIX grep has a line
363 # limit of 2048, but all sed's we know have understand at least 4000.
364 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
365 dirpart=`AS_DIRNAME("$mf")`
366 else
367 continue
368 fi
369 # Extract the definition of DEPDIR, am__include, and am__quote
370 # from the Makefile without running 'make'.
371 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
372 test -z "$DEPDIR" && continue
373 am__include=`sed -n 's/^am__include = //p' < "$mf"`
374 test -z "$am__include" && continue
375 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
376 # Find all dependency output files, they are included files with
377 # $(DEPDIR) in their names. We invoke sed twice because it is the
378 # simplest approach to changing $(DEPDIR) to its actual value in the
379 # expansion.
380 for file in `sed -n "
381 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
382 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
383 # Make sure the directory exists.
384 test -f "$dirpart/$file" && continue
385 fdir=`AS_DIRNAME(["$file"])`
386 AS_MKDIR_P([$dirpart/$fdir])
387 # echo "creating $dirpart/$file"
388 echo '# dummy' > "$dirpart/$file"
389 done
324390 done
325 done
391 }
326392 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
327393
328394
331397 # This macro should only be invoked once -- use via AC_REQUIRE.
332398 #
333399 # This code is only required when automatic dependency tracking
334 # is enabled. FIXME. This creates each `.P' file that we will
400 # is enabled. FIXME. This creates each '.P' file that we will
335401 # need in order to bootstrap the dependency handling code.
336402 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
337403 [AC_CONFIG_COMMANDS([depfiles],
339405 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
340406 ])
341407
342 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
343 # Free Software Foundation, Inc.
344 #
345 # This file is free software; the Free Software Foundation
346 # gives unlimited permission to copy and/or distribute it,
347 # with or without modifications, as long as this notice is preserved.
348
349 # serial 8
350
351 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
352 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
353
354408 # Do all the work for Automake. -*- Autoconf -*-
355409
356 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
357 # Free Software Foundation, Inc.
358 #
359 # This file is free software; the Free Software Foundation
360 # gives unlimited permission to copy and/or distribute it,
361 # with or without modifications, as long as this notice is preserved.
362
363 # serial 12
410 # Copyright (C) 1996-2017 Free Software Foundation, Inc.
411 #
412 # This file is free software; the Free Software Foundation
413 # gives unlimited permission to copy and/or distribute it,
414 # with or without modifications, as long as this notice is preserved.
364415
365416 # This macro actually does too much. Some checks are only needed if
366417 # your package does certain things. But this isn't really a big deal.
418
419 dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
420 m4_define([AC_PROG_CC],
421 m4_defn([AC_PROG_CC])
422 [_AM_PROG_CC_C_O
423 ])
367424
368425 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
369426 # AM_INIT_AUTOMAKE([OPTIONS])
377434 # arguments mandatory, and then we can depend on a new Autoconf
378435 # release and drop the old call support.
379436 AC_DEFUN([AM_INIT_AUTOMAKE],
380 [AC_PREREQ([2.58])dnl
437 [AC_PREREQ([2.65])dnl
381438 dnl Autoconf wants to disallow AM_ names. We explicitly allow
382439 dnl the ones we care about.
383440 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
384441 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
385442 AC_REQUIRE([AC_PROG_INSTALL])dnl
386 # test to see if srcdir already configured
387 if test "`cd $srcdir && pwd`" != "`pwd`" &&
388 test -f $srcdir/config.status; then
389 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
443 if test "`cd $srcdir && pwd`" != "`pwd`"; then
444 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
445 # is not polluted with repeated "-I."
446 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
447 # test to see if srcdir already configured
448 if test -f $srcdir/config.status; then
449 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
450 fi
390451 fi
391452
392453 # test whether we have cygpath
402463 # Define the identity of the package.
403464 dnl Distinguish between old-style and new-style calls.
404465 m4_ifval([$2],
405 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
466 [AC_DIAGNOSE([obsolete],
467 [$0: two- and three-arguments forms are deprecated.])
468 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
406469 AC_SUBST([PACKAGE], [$1])dnl
407470 AC_SUBST([VERSION], [$2])],
408471 [_AM_SET_OPTIONS([$1])dnl
472 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
473 m4_if(
474 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
475 [ok:ok],,
476 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
409477 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
410478 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
411479
412480 _AM_IF_OPTION([no-define],,
413 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
414 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
481 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
482 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
415483
416484 # Some tools Automake needs.
417485 AC_REQUIRE([AM_SANITY_CHECK])dnl
418486 AC_REQUIRE([AC_ARG_PROGRAM])dnl
419 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
420 AM_MISSING_PROG(AUTOCONF, autoconf)
421 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
422 AM_MISSING_PROG(AUTOHEADER, autoheader)
423 AM_MISSING_PROG(MAKEINFO, makeinfo)
424 AM_PROG_INSTALL_SH
425 AM_PROG_INSTALL_STRIP
426 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
427 # We need awk for the "check" target. The system "awk" is bad on
428 # some platforms.
487 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
488 AM_MISSING_PROG([AUTOCONF], [autoconf])
489 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
490 AM_MISSING_PROG([AUTOHEADER], [autoheader])
491 AM_MISSING_PROG([MAKEINFO], [makeinfo])
492 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
493 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
494 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
495 # For better backward compatibility. To be removed once Automake 1.9.x
496 # dies out for good. For more background, see:
497 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
498 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
499 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
500 # We need awk for the "check" target (and possibly the TAP driver). The
501 # system "awk" is bad on some platforms.
429502 AC_REQUIRE([AC_PROG_AWK])dnl
430503 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
431504 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
432505 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
433 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
434 [_AM_PROG_TAR([v7])])])
506 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
507 [_AM_PROG_TAR([v7])])])
435508 _AM_IF_OPTION([no-dependencies],,
436509 [AC_PROVIDE_IFELSE([AC_PROG_CC],
437 [_AM_DEPENDENCIES(CC)],
438 [define([AC_PROG_CC],
439 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
510 [_AM_DEPENDENCIES([CC])],
511 [m4_define([AC_PROG_CC],
512 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
440513 AC_PROVIDE_IFELSE([AC_PROG_CXX],
441 [_AM_DEPENDENCIES(CXX)],
442 [define([AC_PROG_CXX],
443 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
444 ])
445 ])
446
514 [_AM_DEPENDENCIES([CXX])],
515 [m4_define([AC_PROG_CXX],
516 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
517 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
518 [_AM_DEPENDENCIES([OBJC])],
519 [m4_define([AC_PROG_OBJC],
520 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
521 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
522 [_AM_DEPENDENCIES([OBJCXX])],
523 [m4_define([AC_PROG_OBJCXX],
524 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
525 ])
526 AC_REQUIRE([AM_SILENT_RULES])dnl
527 dnl The testsuite driver may need to know about EXEEXT, so add the
528 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
529 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
530 AC_CONFIG_COMMANDS_PRE(dnl
531 [m4_provide_if([_AM_COMPILER_EXEEXT],
532 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
533
534 # POSIX will say in a future version that running "rm -f" with no argument
535 # is OK; and we want to be able to make that assumption in our Makefile
536 # recipes. So use an aggressive probe to check that the usage we want is
537 # actually supported "in the wild" to an acceptable degree.
538 # See automake bug#10828.
539 # To make any issue more visible, cause the running configure to be aborted
540 # by default if the 'rm' program in use doesn't match our expectations; the
541 # user can still override this though.
542 if rm -f && rm -fr && rm -rf; then : OK; else
543 cat >&2 <<'END'
544 Oops!
545
546 Your 'rm' program seems unable to run without file operands specified
547 on the command line, even when the '-f' option is present. This is contrary
548 to the behaviour of most rm programs out there, and not conforming with
549 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
550
551 Please tell bug-automake@gnu.org about your system, including the value
552 of your $PATH and any error possibly output before this message. This
553 can help us improve future automake versions.
554
555 END
556 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
557 echo 'Configuration will proceed anyway, since you have set the' >&2
558 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
559 echo >&2
560 else
561 cat >&2 <<'END'
562 Aborting the configuration process, to ensure you take notice of the issue.
563
564 You can download and install GNU coreutils to get an 'rm' implementation
565 that behaves properly: <http://www.gnu.org/software/coreutils/>.
566
567 If you want to complete the configuration process using your problematic
568 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
569 to "yes", and re-run configure.
570
571 END
572 AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
573 fi
574 fi
575 dnl The trailing newline in this macro's definition is deliberate, for
576 dnl backward compatibility and to allow trailing 'dnl'-style comments
577 dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
578 ])
579
580 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
581 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
582 dnl mangled by Autoconf and run in a shell conditional statement.
583 m4_define([_AC_COMPILER_EXEEXT],
584 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
447585
448586 # When config.status generates a header, we must update the stamp-h file.
449587 # This file resides in the same directory as the config header
454592 # our stamp files there.
455593 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
456594 [# Compute $1's index in $config_headers.
595 _am_arg=$1
457596 _am_stamp_count=1
458597 for _am_header in $config_headers :; do
459598 case $_am_header in
460 $1 | $1:* )
599 $_am_arg | $_am_arg:* )
461600 break ;;
462601 * )
463602 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
464603 esac
465604 done
466 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
467
468 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
605 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
606
607 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
469608 #
470609 # This file is free software; the Free Software Foundation
471610 # gives unlimited permission to copy and/or distribute it,
476615 # Define $install_sh.
477616 AC_DEFUN([AM_PROG_INSTALL_SH],
478617 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
479 install_sh=${install_sh-"$am_aux_dir/install-sh"}
480 AC_SUBST(install_sh)])
481
482 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
483 #
484 # This file is free software; the Free Software Foundation
485 # gives unlimited permission to copy and/or distribute it,
486 # with or without modifications, as long as this notice is preserved.
487
488 # serial 2
618 if test x"${install_sh+set}" != xset; then
619 case $am_aux_dir in
620 *\ * | *\ *)
621 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
622 *)
623 install_sh="\${SHELL} $am_aux_dir/install-sh"
624 esac
625 fi
626 AC_SUBST([install_sh])])
627
628 # Copyright (C) 2003-2017 Free Software Foundation, Inc.
629 #
630 # This file is free software; the Free Software Foundation
631 # gives unlimited permission to copy and/or distribute it,
632 # with or without modifications, as long as this notice is preserved.
489633
490634 # Check whether the underlying file-system supports filenames
491635 # with a leading dot. For instance MS-DOS doesn't.
502646
503647 # Check to see how 'make' treats includes. -*- Autoconf -*-
504648
505 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
506 #
507 # This file is free software; the Free Software Foundation
508 # gives unlimited permission to copy and/or distribute it,
509 # with or without modifications, as long as this notice is preserved.
510
511 # serial 3
649 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
650 #
651 # This file is free software; the Free Software Foundation
652 # gives unlimited permission to copy and/or distribute it,
653 # with or without modifications, as long as this notice is preserved.
512654
513655 # AM_MAKE_INCLUDE()
514656 # -----------------
517659 [am_make=${MAKE-make}
518660 cat > confinc << 'END'
519661 am__doit:
520 @echo done
662 @echo this is the am__doit target
521663 .PHONY: am__doit
522664 END
523665 # If we don't find an include directive, just comment out the code.
527669 _am_result=none
528670 # First try GNU make style include.
529671 echo "include confinc" > confmf
530 # We grep out `Entering directory' and `Leaving directory'
531 # messages which can occur if `w' ends up in MAKEFLAGS.
532 # In particular we don't look at `^make:' because GNU make might
533 # be invoked under some other name (usually "gmake"), in which
534 # case it prints its new name instead of `make'.
535 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
536 am__include=include
537 am__quote=
538 _am_result=GNU
539 fi
672 # Ignore all kinds of additional output from 'make'.
673 case `$am_make -s -f confmf 2> /dev/null` in #(
674 *the\ am__doit\ target*)
675 am__include=include
676 am__quote=
677 _am_result=GNU
678 ;;
679 esac
540680 # Now try BSD make style include.
541681 if test "$am__include" = "#"; then
542682 echo '.include "confinc"' > confmf
543 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
544 am__include=.include
545 am__quote="\""
546 _am_result=BSD
547 fi
683 case `$am_make -s -f confmf 2> /dev/null` in #(
684 *the\ am__doit\ target*)
685 am__include=.include
686 am__quote="\""
687 _am_result=BSD
688 ;;
689 esac
548690 fi
549691 AC_SUBST([am__include])
550692 AC_SUBST([am__quote])
554696
555697 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
556698
557 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
558 # Free Software Foundation, Inc.
559 #
560 # This file is free software; the Free Software Foundation
561 # gives unlimited permission to copy and/or distribute it,
562 # with or without modifications, as long as this notice is preserved.
563
564 # serial 4
699 # Copyright (C) 1997-2017 Free Software Foundation, Inc.
700 #
701 # This file is free software; the Free Software Foundation
702 # gives unlimited permission to copy and/or distribute it,
703 # with or without modifications, as long as this notice is preserved.
565704
566705 # AM_MISSING_PROG(NAME, PROGRAM)
567706 # ------------------------------
570709 $1=${$1-"${am_missing_run}$2"}
571710 AC_SUBST($1)])
572711
573
574712 # AM_MISSING_HAS_RUN
575713 # ------------------
576 # Define MISSING if not defined so far and test if it supports --run.
577 # If it does, set am_missing_run to use it, otherwise, to nothing.
714 # Define MISSING if not defined so far and test if it is modern enough.
715 # If it is, set am_missing_run to use it, otherwise, to nothing.
578716 AC_DEFUN([AM_MISSING_HAS_RUN],
579717 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
580 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
718 AC_REQUIRE_AUX_FILE([missing])dnl
719 if test x"${MISSING+set}" != xset; then
720 case $am_aux_dir in
721 *\ * | *\ *)
722 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
723 *)
724 MISSING="\${SHELL} $am_aux_dir/missing" ;;
725 esac
726 fi
581727 # Use eval to expand $SHELL
582 if eval "$MISSING --run true"; then
583 am_missing_run="$MISSING --run "
728 if eval "$MISSING --is-lightweight"; then
729 am_missing_run="$MISSING "
584730 else
585731 am_missing_run=
586 AC_MSG_WARN([`missing' script is too old or missing])
587 fi
588 ])
589
590 # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
591 #
592 # This file is free software; the Free Software Foundation
593 # gives unlimited permission to copy and/or distribute it,
594 # with or without modifications, as long as this notice is preserved.
595
596 # AM_PROG_MKDIR_P
597 # ---------------
598 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
599 #
600 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
601 # created by `make install' are always world readable, even if the
602 # installer happens to have an overly restrictive umask (e.g. 077).
603 # This was a mistake. There are at least two reasons why we must not
604 # use `-m 0755':
605 # - it causes special bits like SGID to be ignored,
606 # - it may be too restrictive (some setups expect 775 directories).
607 #
608 # Do not use -m 0755 and let people choose whatever they expect by
609 # setting umask.
610 #
611 # We cannot accept any implementation of `mkdir' that recognizes `-p'.
612 # Some implementations (such as Solaris 8's) are not thread-safe: if a
613 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
614 # concurrently, both version can detect that a/ is missing, but only
615 # one can create it and the other will error out. Consequently we
616 # restrict ourselves to GNU make (using the --version option ensures
617 # this.)
618 AC_DEFUN([AM_PROG_MKDIR_P],
619 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
620 # We used to keeping the `.' as first argument, in order to
621 # allow $(mkdir_p) to be used without argument. As in
622 # $(mkdir_p) $(somedir)
623 # where $(somedir) is conditionally defined. However this is wrong
624 # for two reasons:
625 # 1. if the package is installed by a user who cannot write `.'
626 # make install will fail,
627 # 2. the above comment should most certainly read
628 # $(mkdir_p) $(DESTDIR)$(somedir)
629 # so it does not work when $(somedir) is undefined and
630 # $(DESTDIR) is not.
631 # To support the latter case, we have to write
632 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
633 # so the `.' trick is pointless.
634 mkdir_p='mkdir -p --'
635 else
636 # On NextStep and OpenStep, the `mkdir' command does not
637 # recognize any option. It will interpret all options as
638 # directories to create, and then abort because `.' already
639 # exists.
640 for d in ./-p ./--version;
641 do
642 test -d $d && rmdir $d
643 done
644 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
645 if test -f "$ac_aux_dir/mkinstalldirs"; then
646 mkdir_p='$(mkinstalldirs)'
647 else
648 mkdir_p='$(install_sh) -d'
649 fi
650 fi
651 AC_SUBST([mkdir_p])])
732 AC_MSG_WARN(['missing' script is too old or missing])
733 fi
734 ])
652735
653736 # Helper functions for option handling. -*- Autoconf -*-
654737
655 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
656 #
657 # This file is free software; the Free Software Foundation
658 # gives unlimited permission to copy and/or distribute it,
659 # with or without modifications, as long as this notice is preserved.
660
661 # serial 3
738 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
739 #
740 # This file is free software; the Free Software Foundation
741 # gives unlimited permission to copy and/or distribute it,
742 # with or without modifications, as long as this notice is preserved.
662743
663744 # _AM_MANGLE_OPTION(NAME)
664745 # -----------------------
666747 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
667748
668749 # _AM_SET_OPTION(NAME)
669 # ------------------------------
750 # --------------------
670751 # Set option NAME. Presently that only means defining a flag for this option.
671752 AC_DEFUN([_AM_SET_OPTION],
672 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
753 [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
673754
674755 # _AM_SET_OPTIONS(OPTIONS)
675 # ----------------------------------
756 # ------------------------
676757 # OPTIONS is a space-separated list of Automake options.
677758 AC_DEFUN([_AM_SET_OPTIONS],
678 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
759 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
679760
680761 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
681762 # -------------------------------------------
683764 AC_DEFUN([_AM_IF_OPTION],
684765 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
685766
767 # Copyright (C) 1999-2017 Free Software Foundation, Inc.
768 #
769 # This file is free software; the Free Software Foundation
770 # gives unlimited permission to copy and/or distribute it,
771 # with or without modifications, as long as this notice is preserved.
772
773 # _AM_PROG_CC_C_O
774 # ---------------
775 # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
776 # to automatically call this.
777 AC_DEFUN([_AM_PROG_CC_C_O],
778 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
779 AC_REQUIRE_AUX_FILE([compile])dnl
780 AC_LANG_PUSH([C])dnl
781 AC_CACHE_CHECK(
782 [whether $CC understands -c and -o together],
783 [am_cv_prog_cc_c_o],
784 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
785 # Make sure it works both with $CC and with simple cc.
786 # Following AC_PROG_CC_C_O, we do the test twice because some
787 # compilers refuse to overwrite an existing .o file with -o,
788 # though they will create one.
789 am_cv_prog_cc_c_o=yes
790 for am_i in 1 2; do
791 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
792 && test -f conftest2.$ac_objext; then
793 : OK
794 else
795 am_cv_prog_cc_c_o=no
796 break
797 fi
798 done
799 rm -f core conftest*
800 unset am_i])
801 if test "$am_cv_prog_cc_c_o" != yes; then
802 # Losing compiler, so override with the script.
803 # FIXME: It is wrong to rewrite CC.
804 # But if we don't then we get into trouble of one sort or another.
805 # A longer-term fix would be to have automake use am__CC in this case,
806 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
807 CC="$am_aux_dir/compile $CC"
808 fi
809 AC_LANG_POP([C])])
810
811 # For backward compatibility.
812 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
813
814 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
815 #
816 # This file is free software; the Free Software Foundation
817 # gives unlimited permission to copy and/or distribute it,
818 # with or without modifications, as long as this notice is preserved.
819
820 # AM_RUN_LOG(COMMAND)
821 # -------------------
822 # Run COMMAND, save the exit status in ac_status, and log it.
823 # (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
824 AC_DEFUN([AM_RUN_LOG],
825 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
826 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
827 ac_status=$?
828 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
829 (exit $ac_status); }])
830
686831 # Check to make sure that the build environment is sane. -*- Autoconf -*-
687832
688 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
689 # Free Software Foundation, Inc.
690 #
691 # This file is free software; the Free Software Foundation
692 # gives unlimited permission to copy and/or distribute it,
693 # with or without modifications, as long as this notice is preserved.
694
695 # serial 4
833 # Copyright (C) 1996-2017 Free Software Foundation, Inc.
834 #
835 # This file is free software; the Free Software Foundation
836 # gives unlimited permission to copy and/or distribute it,
837 # with or without modifications, as long as this notice is preserved.
696838
697839 # AM_SANITY_CHECK
698840 # ---------------
699841 AC_DEFUN([AM_SANITY_CHECK],
700842 [AC_MSG_CHECKING([whether build environment is sane])
701 # Just in case
702 sleep 1
703 echo timestamp > conftest.file
704 # Do `set' in a subshell so we don't clobber the current shell's
843 # Reject unsafe characters in $srcdir or the absolute working directory
844 # name. Accept space and tab only in the latter.
845 am_lf='
846 '
847 case `pwd` in
848 *[[\\\"\#\$\&\'\`$am_lf]]*)
849 AC_MSG_ERROR([unsafe absolute working directory name]);;
850 esac
851 case $srcdir in
852 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
853 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
854 esac
855
856 # Do 'set' in a subshell so we don't clobber the current shell's
705857 # arguments. Must try -L first in case configure is actually a
706858 # symlink; some systems play weird games with the mod time of symlinks
707859 # (eg FreeBSD returns the mod time of the symlink's containing
708860 # directory).
709861 if (
710 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
711 if test "$[*]" = "X"; then
712 # -L didn't work.
713 set X `ls -t $srcdir/configure conftest.file`
714 fi
715 rm -f conftest.file
716 if test "$[*]" != "X $srcdir/configure conftest.file" \
717 && test "$[*]" != "X conftest.file $srcdir/configure"; then
718
719 # If neither matched, then we have a broken ls. This can happen
720 # if, for instance, CONFIG_SHELL is bash and it inherits a
721 # broken ls alias from the environment. This has actually
722 # happened. Such a system could not be considered "sane".
723 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
724 alias in your environment])
725 fi
726
862 am_has_slept=no
863 for am_try in 1 2; do
864 echo "timestamp, slept: $am_has_slept" > conftest.file
865 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
866 if test "$[*]" = "X"; then
867 # -L didn't work.
868 set X `ls -t "$srcdir/configure" conftest.file`
869 fi
870 if test "$[*]" != "X $srcdir/configure conftest.file" \
871 && test "$[*]" != "X conftest.file $srcdir/configure"; then
872
873 # If neither matched, then we have a broken ls. This can happen
874 # if, for instance, CONFIG_SHELL is bash and it inherits a
875 # broken ls alias from the environment. This has actually
876 # happened. Such a system could not be considered "sane".
877 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
878 alias in your environment])
879 fi
880 if test "$[2]" = conftest.file || test $am_try -eq 2; then
881 break
882 fi
883 # Just in case.
884 sleep 1
885 am_has_slept=yes
886 done
727887 test "$[2]" = conftest.file
728888 )
729889 then
733893 AC_MSG_ERROR([newly created file is older than distributed files!
734894 Check your system clock])
735895 fi
736 AC_MSG_RESULT(yes)])
737
738 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
896 AC_MSG_RESULT([yes])
897 # If we didn't sleep, we still need to ensure time stamps of config.status and
898 # generated files are strictly newer.
899 am_sleep_pid=
900 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
901 ( sleep 1 ) &
902 am_sleep_pid=$!
903 fi
904 AC_CONFIG_COMMANDS_PRE(
905 [AC_MSG_CHECKING([that generated files are newer than configure])
906 if test -n "$am_sleep_pid"; then
907 # Hide warnings about reused PIDs.
908 wait $am_sleep_pid 2>/dev/null
909 fi
910 AC_MSG_RESULT([done])])
911 rm -f conftest.file
912 ])
913
914 # Copyright (C) 2009-2017 Free Software Foundation, Inc.
915 #
916 # This file is free software; the Free Software Foundation
917 # gives unlimited permission to copy and/or distribute it,
918 # with or without modifications, as long as this notice is preserved.
919
920 # AM_SILENT_RULES([DEFAULT])
921 # --------------------------
922 # Enable less verbose build rules; with the default set to DEFAULT
923 # ("yes" being less verbose, "no" or empty being verbose).
924 AC_DEFUN([AM_SILENT_RULES],
925 [AC_ARG_ENABLE([silent-rules], [dnl
926 AS_HELP_STRING(
927 [--enable-silent-rules],
928 [less verbose build output (undo: "make V=1")])
929 AS_HELP_STRING(
930 [--disable-silent-rules],
931 [verbose build output (undo: "make V=0")])dnl
932 ])
933 case $enable_silent_rules in @%:@ (((
934 yes) AM_DEFAULT_VERBOSITY=0;;
935 no) AM_DEFAULT_VERBOSITY=1;;
936 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
937 esac
938 dnl
939 dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
940 dnl do not support nested variable expansions.
941 dnl See automake bug#9928 and bug#10237.
942 am_make=${MAKE-make}
943 AC_CACHE_CHECK([whether $am_make supports nested variables],
944 [am_cv_make_support_nested_variables],
945 [if AS_ECHO([['TRUE=$(BAR$(V))
946 BAR0=false
947 BAR1=true
948 V=1
949 am__doit:
950 @$(TRUE)
951 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
952 am_cv_make_support_nested_variables=yes
953 else
954 am_cv_make_support_nested_variables=no
955 fi])
956 if test $am_cv_make_support_nested_variables = yes; then
957 dnl Using '$V' instead of '$(V)' breaks IRIX make.
958 AM_V='$(V)'
959 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
960 else
961 AM_V=$AM_DEFAULT_VERBOSITY
962 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
963 fi
964 AC_SUBST([AM_V])dnl
965 AM_SUBST_NOTMAKE([AM_V])dnl
966 AC_SUBST([AM_DEFAULT_V])dnl
967 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
968 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
969 AM_BACKSLASH='\'
970 AC_SUBST([AM_BACKSLASH])dnl
971 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
972 ])
973
974 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
739975 #
740976 # This file is free software; the Free Software Foundation
741977 # gives unlimited permission to copy and/or distribute it,
743979
744980 # AM_PROG_INSTALL_STRIP
745981 # ---------------------
746 # One issue with vendor `install' (even GNU) is that you can't
982 # One issue with vendor 'install' (even GNU) is that you can't
747983 # specify the program used to strip binaries. This is especially
748984 # annoying in cross-compiling environments, where the build's strip
749985 # is unlikely to handle the host's binaries.
750986 # Fortunately install-sh will honor a STRIPPROG variable, so we
751 # always use install-sh in `make install-strip', and initialize
987 # always use install-sh in "make install-strip", and initialize
752988 # STRIPPROG with the value of the STRIP variable (set by the user).
753989 AC_DEFUN([AM_PROG_INSTALL_STRIP],
754990 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
755 # Installed binaries are usually stripped using `strip' when the user
756 # run `make install-strip'. However `strip' might not be the right
991 # Installed binaries are usually stripped using 'strip' when the user
992 # run "make install-strip". However 'strip' might not be the right
757993 # tool to use in cross-compilation environments, therefore Automake
758 # will honor the `STRIP' environment variable to overrule this program.
759 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
994 # will honor the 'STRIP' environment variable to overrule this program.
995 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
760996 if test "$cross_compiling" != no; then
761997 AC_CHECK_TOOL([STRIP], [strip], :)
762998 fi
763 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
999 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
7641000 AC_SUBST([INSTALL_STRIP_PROGRAM])])
7651001
1002 # Copyright (C) 2006-2017 Free Software Foundation, Inc.
1003 #
1004 # This file is free software; the Free Software Foundation
1005 # gives unlimited permission to copy and/or distribute it,
1006 # with or without modifications, as long as this notice is preserved.
1007
1008 # _AM_SUBST_NOTMAKE(VARIABLE)
1009 # ---------------------------
1010 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1011 # This macro is traced by Automake.
1012 AC_DEFUN([_AM_SUBST_NOTMAKE])
1013
1014 # AM_SUBST_NOTMAKE(VARIABLE)
1015 # --------------------------
1016 # Public sister of _AM_SUBST_NOTMAKE.
1017 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1018
7661019 # Check how to create a tarball. -*- Autoconf -*-
7671020
768 # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
769 #
770 # This file is free software; the Free Software Foundation
771 # gives unlimited permission to copy and/or distribute it,
772 # with or without modifications, as long as this notice is preserved.
773
774 # serial 2
1021 # Copyright (C) 2004-2017 Free Software Foundation, Inc.
1022 #
1023 # This file is free software; the Free Software Foundation
1024 # gives unlimited permission to copy and/or distribute it,
1025 # with or without modifications, as long as this notice is preserved.
7751026
7761027 # _AM_PROG_TAR(FORMAT)
7771028 # --------------------
7781029 # Check how to create a tarball in format FORMAT.
779 # FORMAT should be one of `v7', `ustar', or `pax'.
1030 # FORMAT should be one of 'v7', 'ustar', or 'pax'.
7801031 #
7811032 # Substitute a variable $(am__tar) that is a command
7821033 # writing to stdout a FORMAT-tarball containing the directory
7861037 # Substitute a variable $(am__untar) that extract such
7871038 # a tarball read from stdin.
7881039 # $(am__untar) < result.tar
1040 #
7891041 AC_DEFUN([_AM_PROG_TAR],
790 [# Always define AMTAR for backward compatibility.
791 AM_MISSING_PROG([AMTAR], [tar])
1042 [# Always define AMTAR for backward compatibility. Yes, it's still used
1043 # in the wild :-( We should find a proper way to deprecate it ...
1044 AC_SUBST([AMTAR], ['$${TAR-tar}'])
1045
1046 # We'll loop over all known methods to create a tar archive until one works.
1047 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1048
7921049 m4_if([$1], [v7],
793 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
794 [m4_case([$1], [ustar],, [pax],,
795 [m4_fatal([Unknown tar format])])
796 AC_MSG_CHECKING([how to create a $1 tar archive])
797 # Loop over all known methods to create a tar archive until one works.
798 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
799 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
800 # Do not fold the above two line into one, because Tru64 sh and
801 # Solaris sh will not grok spaces in the rhs of `-'.
802 for _am_tool in $_am_tools
803 do
804 case $_am_tool in
805 gnutar)
806 for _am_tar in tar gnutar gtar;
807 do
808 AM_RUN_LOG([$_am_tar --version]) && break
809 done
810 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
811 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
812 am__untar="$_am_tar -xf -"
813 ;;
814 plaintar)
815 # Must skip GNU tar: if it does not support --format= it doesn't create
816 # ustar tarball either.
817 (tar --version) >/dev/null 2>&1 && continue
818 am__tar='tar chf - "$$tardir"'
819 am__tar_='tar chf - "$tardir"'
820 am__untar='tar xf -'
821 ;;
822 pax)
823 am__tar='pax -L -x $1 -w "$$tardir"'
824 am__tar_='pax -L -x $1 -w "$tardir"'
825 am__untar='pax -r'
826 ;;
827 cpio)
828 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
829 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
830 am__untar='cpio -i -H $1 -d'
831 ;;
832 none)
833 am__tar=false
834 am__tar_=false
835 am__untar=false
836 ;;
837 esac
838
839 # If the value was cached, stop now. We just wanted to have am__tar
840 # and am__untar set.
841 test -n "${am_cv_prog_tar_$1}" && break
842
843 # tar/untar a dummy directory, and stop if the command works
1050 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1051
1052 [m4_case([$1],
1053 [ustar],
1054 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1055 # There is notably a 21 bits limit for the UID and the GID. In fact,
1056 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
1057 # and bug#13588).
1058 am_max_uid=2097151 # 2^21 - 1
1059 am_max_gid=$am_max_uid
1060 # The $UID and $GID variables are not portable, so we need to resort
1061 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
1062 # below are definitely unexpected, so allow the users to see them
1063 # (that is, avoid stderr redirection).
1064 am_uid=`id -u || echo unknown`
1065 am_gid=`id -g || echo unknown`
1066 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
1067 if test $am_uid -le $am_max_uid; then
1068 AC_MSG_RESULT([yes])
1069 else
1070 AC_MSG_RESULT([no])
1071 _am_tools=none
1072 fi
1073 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
1074 if test $am_gid -le $am_max_gid; then
1075 AC_MSG_RESULT([yes])
1076 else
1077 AC_MSG_RESULT([no])
1078 _am_tools=none
1079 fi],
1080
1081 [pax],
1082 [],
1083
1084 [m4_fatal([Unknown tar format])])
1085
1086 AC_MSG_CHECKING([how to create a $1 tar archive])
1087
1088 # Go ahead even if we have the value already cached. We do so because we
1089 # need to set the values for the 'am__tar' and 'am__untar' variables.
1090 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1091
1092 for _am_tool in $_am_tools; do
1093 case $_am_tool in
1094 gnutar)
1095 for _am_tar in tar gnutar gtar; do
1096 AM_RUN_LOG([$_am_tar --version]) && break
1097 done
1098 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1099 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1100 am__untar="$_am_tar -xf -"
1101 ;;
1102 plaintar)
1103 # Must skip GNU tar: if it does not support --format= it doesn't create
1104 # ustar tarball either.
1105 (tar --version) >/dev/null 2>&1 && continue
1106 am__tar='tar chf - "$$tardir"'
1107 am__tar_='tar chf - "$tardir"'
1108 am__untar='tar xf -'
1109 ;;
1110 pax)
1111 am__tar='pax -L -x $1 -w "$$tardir"'
1112 am__tar_='pax -L -x $1 -w "$tardir"'
1113 am__untar='pax -r'
1114 ;;
1115 cpio)
1116 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1117 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1118 am__untar='cpio -i -H $1 -d'
1119 ;;
1120 none)
1121 am__tar=false
1122 am__tar_=false
1123 am__untar=false
1124 ;;
1125 esac
1126
1127 # If the value was cached, stop now. We just wanted to have am__tar
1128 # and am__untar set.
1129 test -n "${am_cv_prog_tar_$1}" && break
1130
1131 # tar/untar a dummy directory, and stop if the command works.
1132 rm -rf conftest.dir
1133 mkdir conftest.dir
1134 echo GrepMe > conftest.dir/file
1135 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1136 rm -rf conftest.dir
1137 if test -s conftest.tar; then
1138 AM_RUN_LOG([$am__untar <conftest.tar])
1139 AM_RUN_LOG([cat conftest.dir/file])
1140 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1141 fi
1142 done
8441143 rm -rf conftest.dir
845 mkdir conftest.dir
846 echo GrepMe > conftest.dir/file
847 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
848 rm -rf conftest.dir
849 if test -s conftest.tar; then
850 AM_RUN_LOG([$am__untar <conftest.tar])
851 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
852 fi
853 done
854 rm -rf conftest.dir
855
856 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
857 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1144
1145 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1146 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1147
8581148 AC_SUBST([am__tar])
8591149 AC_SUBST([am__untar])
8601150 ]) # _AM_PROG_TAR
+0
-7
barrage.desktop less more
0 [Desktop Entry]
1 Name=Barrage
2 Comment=A rather destructive action game.
3 Exec=barrage
4 Icon=barrage.png
5 Type=Application
6 Categories=Game;
0 [Desktop Entry]
1 Name=Barrage
2 Comment=A rather destructive action game.
3 Comment[de]=Ein eher destruktives Action-Spiel
4 Exec=barrage
5 Icon=
6 Type=Application
7 Categories=Game;ActionGame;
8 Keywords=shmup;shootemup;action;
11
22 Summary: Kill and destroy as many targets as possible within 3 minutes
33 Name: barrage
4 Version: 1.0.4
4 Version: 1.0.5
55 Release: 1
66 Copyright: GPL
77 Group: Amusements/Games
barrage16.png less more
Binary diff not shown
barrage32.png less more
Binary diff not shown
Binary diff not shown
0 #! /bin/sh
1 # Wrapper for compilers which do not understand '-c -o'.
2
3 scriptversion=2012-10-14.11; # UTC
4
5 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
6 # Written by Tom Tromey <tromey@cygnus.com>.
7 #
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2, or (at your option)
11 # any later version.
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20
21 # As a special exception to the GNU General Public License, if you
22 # distribute this file as part of a program that contains a
23 # configuration script generated by Autoconf, you may include it under
24 # the same distribution terms that you use for the rest of that program.
25
26 # This file is maintained in Automake, please report
27 # bugs to <bug-automake@gnu.org> or send patches to
28 # <automake-patches@gnu.org>.
29
30 nl='
31 '
32
33 # We need space, tab and new line, in precisely that order. Quoting is
34 # there to prevent tools from complaining about whitespace usage.
35 IFS=" "" $nl"
36
37 file_conv=
38
39 # func_file_conv build_file lazy
40 # Convert a $build file to $host form and store it in $file
41 # Currently only supports Windows hosts. If the determined conversion
42 # type is listed in (the comma separated) LAZY, no conversion will
43 # take place.
44 func_file_conv ()
45 {
46 file=$1
47 case $file in
48 / | /[!/]*) # absolute file, and not a UNC file
49 if test -z "$file_conv"; then
50 # lazily determine how to convert abs files
51 case `uname -s` in
52 MINGW*)
53 file_conv=mingw
54 ;;
55 CYGWIN*)
56 file_conv=cygwin
57 ;;
58 *)
59 file_conv=wine
60 ;;
61 esac
62 fi
63 case $file_conv/,$2, in
64 *,$file_conv,*)
65 ;;
66 mingw/*)
67 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
68 ;;
69 cygwin/*)
70 file=`cygpath -m "$file" || echo "$file"`
71 ;;
72 wine/*)
73 file=`winepath -w "$file" || echo "$file"`
74 ;;
75 esac
76 ;;
77 esac
78 }
79
80 # func_cl_dashL linkdir
81 # Make cl look for libraries in LINKDIR
82 func_cl_dashL ()
83 {
84 func_file_conv "$1"
85 if test -z "$lib_path"; then
86 lib_path=$file
87 else
88 lib_path="$lib_path;$file"
89 fi
90 linker_opts="$linker_opts -LIBPATH:$file"
91 }
92
93 # func_cl_dashl library
94 # Do a library search-path lookup for cl
95 func_cl_dashl ()
96 {
97 lib=$1
98 found=no
99 save_IFS=$IFS
100 IFS=';'
101 for dir in $lib_path $LIB
102 do
103 IFS=$save_IFS
104 if $shared && test -f "$dir/$lib.dll.lib"; then
105 found=yes
106 lib=$dir/$lib.dll.lib
107 break
108 fi
109 if test -f "$dir/$lib.lib"; then
110 found=yes
111 lib=$dir/$lib.lib
112 break
113 fi
114 if test -f "$dir/lib$lib.a"; then
115 found=yes
116 lib=$dir/lib$lib.a
117 break
118 fi
119 done
120 IFS=$save_IFS
121
122 if test "$found" != yes; then
123 lib=$lib.lib
124 fi
125 }
126
127 # func_cl_wrapper cl arg...
128 # Adjust compile command to suit cl
129 func_cl_wrapper ()
130 {
131 # Assume a capable shell
132 lib_path=
133 shared=:
134 linker_opts=
135 for arg
136 do
137 if test -n "$eat"; then
138 eat=
139 else
140 case $1 in
141 -o)
142 # configure might choose to run compile as 'compile cc -o foo foo.c'.
143 eat=1
144 case $2 in
145 *.o | *.[oO][bB][jJ])
146 func_file_conv "$2"
147 set x "$@" -Fo"$file"
148 shift
149 ;;
150 *)
151 func_file_conv "$2"
152 set x "$@" -Fe"$file"
153 shift
154 ;;
155 esac
156 ;;
157 -I)
158 eat=1
159 func_file_conv "$2" mingw
160 set x "$@" -I"$file"
161 shift
162 ;;
163 -I*)
164 func_file_conv "${1#-I}" mingw
165 set x "$@" -I"$file"
166 shift
167 ;;
168 -l)
169 eat=1
170 func_cl_dashl "$2"
171 set x "$@" "$lib"
172 shift
173 ;;
174 -l*)
175 func_cl_dashl "${1#-l}"
176 set x "$@" "$lib"
177 shift
178 ;;
179 -L)
180 eat=1
181 func_cl_dashL "$2"
182 ;;
183 -L*)
184 func_cl_dashL "${1#-L}"
185 ;;
186 -static)
187 shared=false
188 ;;
189 -Wl,*)
190 arg=${1#-Wl,}
191 save_ifs="$IFS"; IFS=','
192 for flag in $arg; do
193 IFS="$save_ifs"
194 linker_opts="$linker_opts $flag"
195 done
196 IFS="$save_ifs"
197 ;;
198 -Xlinker)
199 eat=1
200 linker_opts="$linker_opts $2"
201 ;;
202 -*)
203 set x "$@" "$1"
204 shift
205 ;;
206 *.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
207 func_file_conv "$1"
208 set x "$@" -Tp"$file"
209 shift
210 ;;
211 *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
212 func_file_conv "$1" mingw
213 set x "$@" "$file"
214 shift
215 ;;
216 *)
217 set x "$@" "$1"
218 shift
219 ;;
220 esac
221 fi
222 shift
223 done
224 if test -n "$linker_opts"; then
225 linker_opts="-link$linker_opts"
226 fi
227 exec "$@" $linker_opts
228 exit 1
229 }
230
231 eat=
232
233 case $1 in
234 '')
235 echo "$0: No command. Try '$0 --help' for more information." 1>&2
236 exit 1;
237 ;;
238 -h | --h*)
239 cat <<\EOF
240 Usage: compile [--help] [--version] PROGRAM [ARGS]
241
242 Wrapper for compilers which do not understand '-c -o'.
243 Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
244 arguments, and rename the output as expected.
245
246 If you are trying to build a whole package this is not the
247 right script to run: please start by reading the file 'INSTALL'.
248
249 Report bugs to <bug-automake@gnu.org>.
250 EOF
251 exit $?
252 ;;
253 -v | --v*)
254 echo "compile $scriptversion"
255 exit $?
256 ;;
257 cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
258 func_cl_wrapper "$@" # Doesn't return...
259 ;;
260 esac
261
262 ofile=
263 cfile=
264
265 for arg
266 do
267 if test -n "$eat"; then
268 eat=
269 else
270 case $1 in
271 -o)
272 # configure might choose to run compile as 'compile cc -o foo foo.c'.
273 # So we strip '-o arg' only if arg is an object.
274 eat=1
275 case $2 in
276 *.o | *.obj)
277 ofile=$2
278 ;;
279 *)
280 set x "$@" -o "$2"
281 shift
282 ;;
283 esac
284 ;;
285 *.c)
286 cfile=$1
287 set x "$@" "$1"
288 shift
289 ;;
290 *)
291 set x "$@" "$1"
292 shift
293 ;;
294 esac
295 fi
296 shift
297 done
298
299 if test -z "$ofile" || test -z "$cfile"; then
300 # If no '-o' option was seen then we might have been invoked from a
301 # pattern rule where we don't need one. That is ok -- this is a
302 # normal compilation that the losing compiler can handle. If no
303 # '.c' file was seen then we are probably linking. That is also
304 # ok.
305 exec "$@"
306 fi
307
308 # Name of file we expect compiler to create.
309 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
310
311 # Create the lock directory.
312 # Note: use '[/\\:.-]' here to ensure that we don't use the same name
313 # that we are using for the .o file. Also, base the name on the expected
314 # object file name, since that is what matters with a parallel build.
315 lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
316 while true; do
317 if mkdir "$lockdir" >/dev/null 2>&1; then
318 break
319 fi
320 sleep 1
321 done
322 # FIXME: race condition here if user kills between mkdir and trap.
323 trap "rmdir '$lockdir'; exit 1" 1 2 15
324
325 # Run the compile.
326 "$@"
327 ret=$?
328
329 if test -f "$cofile"; then
330 test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
331 elif test -f "${cofile}bj"; then
332 test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
333 fi
334
335 rmdir "$lockdir"
336 exit $ret
337
338 # Local Variables:
339 # mode: shell-script
340 # sh-indentation: 2
341 # eval: (add-hook 'write-file-hooks 'time-stamp)
342 # time-stamp-start: "scriptversion="
343 # time-stamp-format: "%:y-%02m-%02d.%02H"
344 # time-stamp-time-zone: "UTC"
345 # time-stamp-end: "; # UTC"
346 # End:
0 /* config.h.in. Generated from configure.in by autoheader. */
1 #undef ENABLE_NLS
2 #undef HAVE_CATGETS
3 #undef HAVE_GETTEXT
4 #undef HAVE_LC_MESSAGES
5 #undef HAVE_STPCPY
6 #undef HAVE_LIBSM
7 #undef PACKAGE_LOCALE_DIR
8 #undef PACKAGE_DOC_DIR
9 #undef PACKAGE_DATA_DIR
10 #undef PACKAGE_PIXMAPS_DIR
11 #undef PACKAGE_HELP_DIR
12 #undef PACKAGE_MENU_DIR
13 #undef PACKAGE_SOURCE_DIR
0 /* config.h.in. Generated from configure.ac by autoheader. */
1
2 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
3 systems. This function is required for `alloca.c' support on those systems.
4 */
5 #undef CRAY_STACKSEG_END
6
7 /* Define to 1 if using `alloca.c'. */
8 #undef C_ALLOCA
9
10 /* Define to 1 if you have `alloca', as a function or macro. */
11 #undef HAVE_ALLOCA
12
13 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
14 */
15 #undef HAVE_ALLOCA_H
1416
1517 /* Define to 1 if you have the <inttypes.h> header file. */
1618 #undef HAVE_INTTYPES_H
1719
20 /* Define to 1 if you have the `m' library (-lm). */
21 #undef HAVE_LIBM
22
23 /* Define to 1 if you have the `SDL_mixer' library (-lSDL_mixer). */
24 #undef HAVE_LIBSDL_MIXER
25
26 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
27 to 0 otherwise. */
28 #undef HAVE_MALLOC
29
1830 /* Define to 1 if you have the <memory.h> header file. */
1931 #undef HAVE_MEMORY_H
32
33 /* Define to 1 if you have the `memset' function. */
34 #undef HAVE_MEMSET
35
36 /* Define to 1 if your system has a GNU libc compatible `realloc' function,
37 and to 0 otherwise. */
38 #undef HAVE_REALLOC
2039
2140 /* Define to 1 if you have the <stdint.h> header file. */
2241 #undef HAVE_STDINT_H
2443 /* Define to 1 if you have the <stdlib.h> header file. */
2544 #undef HAVE_STDLIB_H
2645
46 /* Define to 1 if you have the `strchr' function. */
47 #undef HAVE_STRCHR
48
49 /* Define to 1 if you have the `strdup' function. */
50 #undef HAVE_STRDUP
51
2752 /* Define to 1 if you have the <strings.h> header file. */
2853 #undef HAVE_STRINGS_H
2954
3055 /* Define to 1 if you have the <string.h> header file. */
3156 #undef HAVE_STRING_H
57
58 /* Define to 1 if you have the `strrchr' function. */
59 #undef HAVE_STRRCHR
3260
3361 /* Define to 1 if you have the <sys/stat.h> header file. */
3462 #undef HAVE_SYS_STAT_H
3866
3967 /* Define to 1 if you have the <unistd.h> header file. */
4068 #undef HAVE_UNISTD_H
69
70 /* Define to 1 if the system has the type `_Bool'. */
71 #undef HAVE__BOOL
4172
4273 /* Name of package */
4374 #undef PACKAGE
5485 /* Define to the one symbol short name of this package. */
5586 #undef PACKAGE_TARNAME
5687
88 /* Define to the home page for this package. */
89 #undef PACKAGE_URL
90
5791 /* Define to the version of this package. */
5892 #undef PACKAGE_VERSION
93
94 /* If using the C implementation of alloca, define if you know the
95 direction of stack growth for your system; otherwise it will be
96 automatically deduced at runtime.
97 STACK_DIRECTION > 0 => grows toward higher addresses
98 STACK_DIRECTION < 0 => grows toward lower addresses
99 STACK_DIRECTION = 0 => direction of growth unknown */
100 #undef STACK_DIRECTION
59101
60102 /* Define to 1 if you have the ANSI C header files. */
61103 #undef STDC_HEADERS
62104
63 /* Version number of package */
64 #undef VERSION
65
66 /* Define to 1 if on AIX 3.
67 System headers sometimes define this.
68 We just want to avoid a redefinition error message. */
105 /* Enable extensions on AIX 3, Interix. */
69106 #ifndef _ALL_SOURCE
70107 # undef _ALL_SOURCE
71108 #endif
72
73109 /* Enable GNU extensions on systems that have them. */
74110 #ifndef _GNU_SOURCE
75111 # undef _GNU_SOURCE
76112 #endif
113 /* Enable threading extensions on Solaris. */
114 #ifndef _POSIX_PTHREAD_SEMANTICS
115 # undef _POSIX_PTHREAD_SEMANTICS
116 #endif
117 /* Enable extensions on HP NonStop. */
118 #ifndef _TANDEM_SOURCE
119 # undef _TANDEM_SOURCE
120 #endif
121 /* Enable general extensions on Solaris. */
122 #ifndef __EXTENSIONS__
123 # undef __EXTENSIONS__
124 #endif
125
126
127 /* Version number of package */
128 #undef VERSION
77129
78130 /* Define to 1 if on MINIX. */
79131 #undef _MINIX
85137 /* Define to 1 if you need to in order for `stat' and other things to work. */
86138 #undef _POSIX_SOURCE
87139
88 /* Enable extensions on Solaris. */
89 #ifndef __EXTENSIONS__
90 # undef __EXTENSIONS__
140 /* Define to `__inline__' or `__inline' if that's what the C compiler
141 calls it, or to nothing if 'inline' is not supported under any name. */
142 #ifndef __cplusplus
143 #undef inline
91144 #endif
92 #ifndef _POSIX_PTHREAD_SEMANTICS
93 # undef _POSIX_PTHREAD_SEMANTICS
94 #endif
95 #ifndef _TANDEM_SOURCE
96 # undef _TANDEM_SOURCE
97 #endif
145
146 /* Define to rpl_malloc if the replacement function should be used. */
147 #undef malloc
148
149 /* Define to rpl_realloc if the replacement function should be used. */
150 #undef realloc
151
152 /* Define to `unsigned int' if <sys/types.h> does not define. */
153 #undef size_t
+4889
-4049
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.61.
2 # Generated by GNU Autoconf 2.69 for barrage 1.0.5.
33 #
4 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 #
5 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
6 #
7 #
68 # This configure script is free software; the Free Software Foundation
79 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
10 ## -------------------- ##
11 ## M4sh Initialization. ##
12 ## -------------------- ##
1113
1214 # Be more Bourne compatible
1315 DUALCASE=1; export DUALCASE # for MKS sh
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 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+"$@"}'='"$@"'
2022 setopt NO_GLOB_SUBST
2123 else
22 case `(set -o) 2>/dev/null` in
23 *posix*) set -o posix ;;
24 case `(set -o) 2>/dev/null` in #(
25 *posix*) :
26 set -o posix ;; #(
27 *) :
28 ;;
2429 esac
25
26 fi
27
28
29
30
31 # PATH needs CR
32 # Avoid depending upon Character Ranges.
33 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits='0123456789'
37 as_cr_alnum=$as_cr_Letters$as_cr_digits
30 fi
31
32
33 as_nl='
34 '
35 export as_nl
36 # Printing a long string crashes Solaris 7 /usr/bin/printf.
37 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
38 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40 # Prefer a ksh shell builtin over an external printf program on Solaris,
41 # but without wasting forks for bash or zsh.
42 if test -z "$BASH_VERSION$ZSH_VERSION" \
43 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
44 as_echo='print -r --'
45 as_echo_n='print -rn --'
46 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='printf %s\n'
48 as_echo_n='printf %s'
49 else
50 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
51 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
52 as_echo_n='/usr/ucb/echo -n'
53 else
54 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55 as_echo_n_body='eval
56 arg=$1;
57 case $arg in #(
58 *"$as_nl"*)
59 expr "X$arg" : "X\\(.*\\)$as_nl";
60 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
61 esac;
62 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
63 '
64 export as_echo_n_body
65 as_echo_n='sh -c $as_echo_n_body as_echo'
66 fi
67 export as_echo_body
68 as_echo='sh -c $as_echo_body as_echo'
69 fi
3870
3971 # The user is always right.
4072 if test "${PATH_SEPARATOR+set}" != set; then
41 echo "#! /bin/sh" >conf$$.sh
42 echo "exit 0" >>conf$$.sh
43 chmod +x conf$$.sh
44 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
45 PATH_SEPARATOR=';'
46 else
47 PATH_SEPARATOR=:
48 fi
49 rm -f conf$$.sh
50 fi
51
52 # Support unset when possible.
53 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
54 as_unset=unset
55 else
56 as_unset=false
73 PATH_SEPARATOR=:
74 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
76 PATH_SEPARATOR=';'
77 }
5778 fi
5879
5980
6283 # there to prevent editors from complaining about space-tab.
6384 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6485 # splitting by setting IFS to empty value.)
65 as_nl='
66 '
6786 IFS=" "" $as_nl"
6887
6988 # Find who we are. Look in the path if we contain no directory separator.
70 case $0 in
89 as_myself=
90 case $0 in #((
7191 *[\\/]* ) as_myself=$0 ;;
7292 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393 for as_dir in $PATH
7494 do
7595 IFS=$as_save_IFS
7696 test -z "$as_dir" && as_dir=.
77 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78 done
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
7999 IFS=$as_save_IFS
80100
81101 ;;
86106 as_myself=$0
87107 fi
88108 if test ! -f "$as_myself"; then
89 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 { (exit 1); exit 1; }
91 fi
92
93 # Work around bugs in pre-3.0 UWIN ksh.
94 for as_var in ENV MAIL MAILPATH
95 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
96120 done
97121 PS1='$ '
98122 PS2='> '
99123 PS4='+ '
100124
101125 # NLS nuisances.
102 for as_var in \
103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
105 LC_TELEPHONE LC_TIME
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 # Use a proper internal environment variable to ensure we don't fall
135 # into an infinite loop, continuously re-executing ourselves.
136 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
137 _as_can_reexec=no; export _as_can_reexec;
138 # We cannot yet assume a decent shell, so we have to provide a
139 # neutralization value for shells without unset; and this also
140 # works around shells that cannot unset nonexistent variables.
141 # Preserve -v and -x to the replacement shell.
142 BASH_ENV=/dev/null
143 ENV=/dev/null
144 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
145 case $- in # ((((
146 *v*x* | *x*v* ) as_opts=-vx ;;
147 *v* ) as_opts=-v ;;
148 *x* ) as_opts=-x ;;
149 * ) as_opts= ;;
150 esac
151 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
152 # Admittedly, this is quite paranoid, since all the known shells bail
153 # out after a failed `exec'.
154 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
155 as_fn_exit 255
156 fi
157 # We don't want this to propagate to other subprocesses.
158 { _as_can_reexec=; unset _as_can_reexec;}
159 if test "x$CONFIG_SHELL" = x; then
160 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
161 emulate sh
162 NULLCMD=:
163 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
164 # is contrary to our usage. Disable this feature.
165 alias -g '\${1+\"\$@\"}'='\"\$@\"'
166 setopt NO_GLOB_SUBST
167 else
168 case \`(set -o) 2>/dev/null\` in #(
169 *posix*) :
170 set -o posix ;; #(
171 *) :
172 ;;
173 esac
174 fi
175 "
176 as_required="as_fn_return () { (exit \$1); }
177 as_fn_success () { as_fn_return 0; }
178 as_fn_failure () { as_fn_return 1; }
179 as_fn_ret_success () { return 0; }
180 as_fn_ret_failure () { return 1; }
181
182 exitcode=0
183 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
184 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
185 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
186 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
187 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
188
189 else
190 exitcode=1; echo positional parameters were not saved.
191 fi
192 test x\$exitcode = x0 || exit 1
193 test -x / || exit 1"
194 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
195 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
196 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
197 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
198 test \$(( 1 + 1 )) = 2 || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
203 fi
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
106210 do
107 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108 eval $as_var=C; export $as_var
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
215 /*)
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
224 fi
225 fi
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
235
236
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
257 fi
258
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
109265 else
110 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
111270 fi
112 done
113
114 # Required to use basename.
271 exit 1
272 fi
273 fi
274 fi
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
280
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
288 {
289 { eval $1=; unset $1;}
290 }
291 as_unset=as_fn_unset
292
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
297 {
298 return $1
299 } # as_fn_set_status
300
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
305 {
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
310
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
315 {
316
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
336 q
337 }
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\).*/{
347 s//\1/
348 q
349 }
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357 } # as_fn_mkdir_p
358
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
363 {
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
374 {
375 eval $1+=\$2
376 }'
377 else
378 as_fn_append ()
379 {
380 eval $1=\$$1\$2
381 }
382 fi # as_fn_append
383
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
391 {
392 as_val=$(( $* ))
393 }'
394 else
395 as_fn_arith ()
396 {
397 as_val=`expr "$@" || test $? -eq 1`
398 }
399 fi # as_fn_arith
400
401
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
408 {
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413 fi
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
417
115418 if expr a : '\(a\)' >/dev/null 2>&1 &&
116419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
117420 as_expr=expr
125428 as_basename=false
126429 fi
127430
128
129 # Name of the executable.
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
435 fi
436
130437 as_me=`$as_basename -- "$0" ||
131438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
132439 X"$0" : 'X\(//\)$' \| \
133440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 echo X/"$0" |
441 $as_echo X/"$0" |
135442 sed '/^.*\/\([^/][^/]*\)\/*$/{
136443 s//\1/
137444 q
146453 }
147454 s/.*/./; q'`
148455
149 # CDPATH.
150 $as_unset CDPATH
151
152
153 if test "x$CONFIG_SHELL" = x; then
154 if (eval ":") 2>/dev/null; then
155 as_have_required=yes
156 else
157 as_have_required=no
158 fi
159
160 if test $as_have_required = yes && (eval ":
161 (as_func_return () {
162 (exit \$1)
163 }
164 as_func_success () {
165 as_func_return 0
166 }
167 as_func_failure () {
168 as_func_return 1
169 }
170 as_func_ret_success () {
171 return 0
172 }
173 as_func_ret_failure () {
174 return 1
175 }
176
177 exitcode=0
178 if as_func_success; then
179 :
180 else
181 exitcode=1
182 echo as_func_success failed.
183 fi
184
185 if as_func_failure; then
186 exitcode=1
187 echo as_func_failure succeeded.
188 fi
189
190 if as_func_ret_success; then
191 :
192 else
193 exitcode=1
194 echo as_func_ret_success failed.
195 fi
196
197 if as_func_ret_failure; then
198 exitcode=1
199 echo as_func_ret_failure succeeded.
200 fi
201
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 :
204 else
205 exitcode=1
206 echo positional parameters were not saved.
207 fi
208
209 test \$exitcode = 0) || { (exit 1); exit 1; }
210
211 (
212 as_lineno_1=\$LINENO
213 as_lineno_2=\$LINENO
214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev/null; then
217 :
218 else
219 as_candidate_shells=
220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 do
223 IFS=$as_save_IFS
224 test -z "$as_dir" && as_dir=.
225 case $as_dir in
226 /*)
227 for as_base in sh bash ksh sh5; do
228 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
229 done;;
230 esac
231 done
232 IFS=$as_save_IFS
233
234
235 for as_shell in $as_candidate_shells $SHELL; do
236 # Try only shells that exist, to save several forks.
237 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
238 { ("$as_shell") 2> /dev/null <<\_ASEOF
239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 emulate sh
241 NULLCMD=:
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
245 setopt NO_GLOB_SUBST
246 else
247 case `(set -o) 2>/dev/null` in
248 *posix*) set -o posix ;;
249 esac
250
251 fi
252
253
254 :
255 _ASEOF
256 }; then
257 CONFIG_SHELL=$as_shell
258 as_have_required=yes
259 if { "$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 # Zsh 3.x and 4.x performs 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 (as_func_return () {
277 (exit $1)
278 }
279 as_func_success () {
280 as_func_return 0
281 }
282 as_func_failure () {
283 as_func_return 1
284 }
285 as_func_ret_success () {
286 return 0
287 }
288 as_func_ret_failure () {
289 return 1
290 }
291
292 exitcode=0
293 if as_func_success; then
294 :
295 else
296 exitcode=1
297 echo as_func_success failed.
298 fi
299
300 if as_func_failure; then
301 exitcode=1
302 echo as_func_failure succeeded.
303 fi
304
305 if as_func_ret_success; then
306 :
307 else
308 exitcode=1
309 echo as_func_ret_success failed.
310 fi
311
312 if as_func_ret_failure; then
313 exitcode=1
314 echo as_func_ret_failure succeeded.
315 fi
316
317 if ( set x; as_func_ret_success y && test x = "$1" ); then
318 :
319 else
320 exitcode=1
321 echo positional parameters were not saved.
322 fi
323
324 test $exitcode = 0) || { (exit 1); exit 1; }
325
326 (
327 as_lineno_1=$LINENO
328 as_lineno_2=$LINENO
329 test "x$as_lineno_1" != "x$as_lineno_2" &&
330 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
331
332 _ASEOF
333 }; then
334 break
335 fi
336
337 fi
338
339 done
340
341 if test "x$CONFIG_SHELL" != x; then
342 for as_var in BASH_ENV ENV
343 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
344 done
345 export CONFIG_SHELL
346 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 fi
348
349
350 if test $as_have_required = no; then
351 echo This script requires a shell more modern than all the
352 echo shells that I found on your system. Please install a
353 echo modern shell, or manually run the script under such a
354 echo shell if you do have one.
355 { (exit 1); exit 1; }
356 fi
357
358
359 fi
360
361 fi
362
363
364
365 (eval "as_func_return () {
366 (exit \$1)
367 }
368 as_func_success () {
369 as_func_return 0
370 }
371 as_func_failure () {
372 as_func_return 1
373 }
374 as_func_ret_success () {
375 return 0
376 }
377 as_func_ret_failure () {
378 return 1
379 }
380
381 exitcode=0
382 if as_func_success; then
383 :
384 else
385 exitcode=1
386 echo as_func_success failed.
387 fi
388
389 if as_func_failure; then
390 exitcode=1
391 echo as_func_failure succeeded.
392 fi
393
394 if as_func_ret_success; then
395 :
396 else
397 exitcode=1
398 echo as_func_ret_success failed.
399 fi
400
401 if as_func_ret_failure; then
402 exitcode=1
403 echo as_func_ret_failure succeeded.
404 fi
405
406 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 :
408 else
409 exitcode=1
410 echo positional parameters were not saved.
411 fi
412
413 test \$exitcode = 0") || {
414 echo No shell found that supports shell functions.
415 echo Please tell autoconf@gnu.org about your system,
416 echo including any error possibly output before this
417 echo message
418 }
419
420
421
422 as_lineno_1=$LINENO
423 as_lineno_2=$LINENO
424 test "x$as_lineno_1" != "x$as_lineno_2" &&
425 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
426
427 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
428 # uniformly replaced by the line number. The first 'sed' inserts a
429 # line-number line after each line using $LINENO; the second 'sed'
430 # does the real work. The second script uses 'N' to pair each
431 # line-number line with the line containing $LINENO, and appends
432 # trailing '-' during substitution so that $LINENO is not a special
433 # case at line end.
434 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
435 # scripts with optimization help from Paolo Bonzini. Blame Lee
436 # E. McMahon (1931-1989) for sed's syntax. :-)
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437469 sed -n '
438470 p
439471 /[$]LINENO/=
450482 s/-\n.*//
451483 ' >$as_me.lineno &&
452484 chmod +x "$as_me.lineno" ||
453 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
454 { (exit 1); exit 1; }; }
455
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
456491 # Don't try to exec as it changes $[0], causing all sort of problems
457492 # (the dirname of $[0] is not the place where we might find the
458493 # original and so on. Autoconf is especially sensitive to this).
461496 exit
462497 }
463498
464
465 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
466 as_dirname=dirname
467 else
468 as_dirname=false
469 fi
470
471499 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in
500 case `echo -n x` in #(((((
473501 -n*)
474 case `echo 'x\c'` in
502 case `echo 'xy\c'` in
475503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
476 *) ECHO_C='\c';;
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
477507 esac;;
478508 *)
479509 ECHO_N='-n';;
480510 esac
481511
482 if expr a : '\(a\)' >/dev/null 2>&1 &&
483 test "X`expr 00001 : '.*\(...\)'`" = X001; then
484 as_expr=expr
485 else
486 as_expr=false
487 fi
488
489512 rm -f conf$$ conf$$.exe conf$$.file
490513 if test -d conf$$.dir; then
491514 rm -f conf$$.dir/conf$$.file
492515 else
493516 rm -f conf$$.dir
494 mkdir conf$$.dir
495 fi
496 echo >conf$$.file
497 if ln -s conf$$.file conf$$ 2>/dev/null; then
498 as_ln_s='ln -s'
499 # ... but there are two gotchas:
500 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
501 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
502 # In both cases, we have to default to `cp -p'.
503 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
504 as_ln_s='cp -p'
505 elif ln conf$$.file conf$$ 2>/dev/null; then
506 as_ln_s=ln
507 else
508 as_ln_s='cp -p'
517 mkdir conf$$.dir 2>/dev/null
518 fi
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
532 fi
533 else
534 as_ln_s='cp -pR'
509535 fi
510536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
511537 rmdir conf$$.dir 2>/dev/null
512538
513539 if mkdir -p . 2>/dev/null; then
514 as_mkdir_p=:
540 as_mkdir_p='mkdir -p "$as_dir"'
515541 else
516542 test -d ./-p && rmdir ./-p
517543 as_mkdir_p=false
518544 fi
519545
520 if test -x / >/dev/null 2>&1; then
521 as_test_x='test -x'
522 else
523 if ls -dL / >/dev/null 2>&1; then
524 as_ls_L_option=L
525 else
526 as_ls_L_option=
527 fi
528 as_test_x='
529 eval sh -c '\''
530 if test -d "$1"; then
531 test -d "$1/.";
532 else
533 case $1 in
534 -*)set "./$1";;
535 esac;
536 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
537 ???[sx]*):;;*)false;;esac;fi
538 '\'' sh
539 '
540 fi
541 as_executable_p=$as_test_x
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
542548
543549 # Sed expression to map a string onto a valid CPP name.
544550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548554
549555
550
551 exec 7<&0 </dev/null 6>&1
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
552558
553559 # Name of the host.
554 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555561 # so uname gets run too.
556562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557563
566572 subdirs=
567573 MFLAGS=
568574 MAKEFLAGS=
569 SHELL=${CONFIG_SHELL-/bin/sh}
570575
571576 # Identity of this package.
572 PACKAGE_NAME=
573 PACKAGE_TARNAME=
574 PACKAGE_VERSION=
575 PACKAGE_STRING=
576 PACKAGE_BUGREPORT=
577
578 ac_unique_file="Makefile.am"
577 PACKAGE_NAME='barrage'
578 PACKAGE_TARNAME='barrage'
579 PACKAGE_VERSION='1.0.5'
580 PACKAGE_STRING='barrage 1.0.5'
581 PACKAGE_BUGREPORT=''
582 PACKAGE_URL=''
583
584 ac_unique_file="src/main.c"
579585 # Factoring default headers for most tests.
580586 ac_includes_default="\
581587 #include <stdio.h>
612618 # include <unistd.h>
613619 #endif"
614620
615 ac_subst_vars='SHELL
621 ac_subst_vars='am__EXEEXT_FALSE
622 am__EXEEXT_TRUE
623 LTLIBOBJS
624 hiscoredir
625 datdir
626 POW_LIB
627 LIBOBJS
628 ALLOCA
629 SDL_LIBS
630 SDL_CFLAGS
631 SDL_CONFIG
632 RANLIB
633 EGREP
634 GREP
635 CPP
636 am__fastdepCC_FALSE
637 am__fastdepCC_TRUE
638 CCDEPMODE
639 am__nodep
640 AMDEPBACKSLASH
641 AMDEP_FALSE
642 AMDEP_TRUE
643 am__quote
644 am__include
645 DEPDIR
646 OBJEXT
647 EXEEXT
648 ac_ct_CC
649 CPPFLAGS
650 LDFLAGS
651 CFLAGS
652 CC
653 AM_BACKSLASH
654 AM_DEFAULT_VERBOSITY
655 AM_DEFAULT_V
656 AM_V
657 am__untar
658 am__tar
659 AMTAR
660 am__leading_dot
661 SET_MAKE
662 AWK
663 mkdir_p
664 MKDIR_P
665 INSTALL_STRIP_PROGRAM
666 STRIP
667 install_sh
668 MAKEINFO
669 AUTOHEADER
670 AUTOMAKE
671 AUTOCONF
672 ACLOCAL
673 VERSION
674 PACKAGE
675 CYGPATH_W
676 am__isrc
677 INSTALL_DATA
678 INSTALL_SCRIPT
679 INSTALL_PROGRAM
680 target_os
681 target_vendor
682 target_cpu
683 target
684 host_os
685 host_vendor
686 host_cpu
687 host
688 build_os
689 build_vendor
690 build_cpu
691 build
692 target_alias
693 host_alias
694 build_alias
695 LIBS
696 ECHO_T
697 ECHO_N
698 ECHO_C
699 DEFS
700 mandir
701 localedir
702 libdir
703 psdir
704 pdfdir
705 dvidir
706 htmldir
707 infodir
708 docdir
709 oldincludedir
710 includedir
711 runstatedir
712 localstatedir
713 sharedstatedir
714 sysconfdir
715 datadir
716 datarootdir
717 libexecdir
718 sbindir
719 bindir
720 program_transform_name
721 prefix
722 exec_prefix
723 PACKAGE_URL
724 PACKAGE_BUGREPORT
725 PACKAGE_STRING
726 PACKAGE_VERSION
727 PACKAGE_TARNAME
728 PACKAGE_NAME
616729 PATH_SEPARATOR
617 PACKAGE_NAME
618 PACKAGE_TARNAME
619 PACKAGE_VERSION
620 PACKAGE_STRING
621 PACKAGE_BUGREPORT
622 exec_prefix
623 prefix
624 program_transform_name
625 bindir
626 sbindir
627 libexecdir
628 datarootdir
629 datadir
630 sysconfdir
631 sharedstatedir
632 localstatedir
633 includedir
634 oldincludedir
635 docdir
636 infodir
637 htmldir
638 dvidir
639 pdfdir
640 psdir
641 libdir
642 localedir
643 mandir
644 DEFS
645 ECHO_C
646 ECHO_N
647 ECHO_T
648 LIBS
649 build_alias
650 host_alias
651 target_alias
652 build
653 build_cpu
654 build_vendor
655 build_os
656 host
657 host_cpu
658 host_vendor
659 host_os
660 target
661 target_cpu
662 target_vendor
663 target_os
664 CC
665 CFLAGS
666 LDFLAGS
667 CPPFLAGS
668 ac_ct_CC
669 EXEEXT
670 OBJEXT
671 CPP
672 GREP
673 EGREP
674 INSTALL_PROGRAM
675 INSTALL_SCRIPT
676 INSTALL_DATA
677 CYGPATH_W
678 PACKAGE
679 VERSION
680 ACLOCAL
681 AUTOCONF
682 AUTOMAKE
683 AUTOHEADER
684 MAKEINFO
685 install_sh
686 STRIP
687 INSTALL_STRIP_PROGRAM
688 mkdir_p
689 AWK
690 SET_MAKE
691 am__leading_dot
692 AMTAR
693 am__tar
694 am__untar
695 DEPDIR
696 am__include
697 am__quote
698 AMDEP_TRUE
699 AMDEP_FALSE
700 AMDEPBACKSLASH
701 CCDEPMODE
702 am__fastdepCC_TRUE
703 am__fastdepCC_FALSE
704 RANLIB
705 SDL_CONFIG
706 SDL_CFLAGS
707 SDL_LIBS
708 audio_flag
709 audio_lib
710 src_dir
711 src_dir_flag
712 LIBOBJS
713 LTLIBOBJS'
730 SHELL'
714731 ac_subst_files=''
732 ac_user_opts='
733 enable_option_checking
734 enable_silent_rules
735 enable_dependency_tracking
736 with_sdl_prefix
737 with_sdl_exec_prefix
738 enable_sdltest
739 enable_install
740 enable_debug
741 enable_audio
742 '
715743 ac_precious_vars='build_alias
716744 host_alias
717745 target_alias
726754 # Initialize some variables set by options.
727755 ac_init_help=
728756 ac_init_version=false
757 ac_unrecognized_opts=
758 ac_unrecognized_sep=
729759 # The variables have the same names as the options, with
730760 # dashes changed to underlines.
731761 cache_file=/dev/null
757787 sysconfdir='${prefix}/etc'
758788 sharedstatedir='${prefix}/com'
759789 localstatedir='${prefix}/var'
790 runstatedir='${localstatedir}/run'
760791 includedir='${prefix}/include'
761792 oldincludedir='/usr/include'
762 docdir='${datarootdir}/doc/${PACKAGE}'
793 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
763794 infodir='${datarootdir}/info'
764795 htmldir='${docdir}'
765796 dvidir='${docdir}'
781812 fi
782813
783814 case $ac_option in
784 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
785 *) ac_optarg=yes ;;
815 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
816 *=) ac_optarg= ;;
817 *) ac_optarg=yes ;;
786818 esac
787819
788820 # Accept the important Cygnus configure options, so we can diagnose typos.
824856 datarootdir=$ac_optarg ;;
825857
826858 -disable-* | --disable-*)
827 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
859 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
828860 # Reject names that are not valid shell variable names.
829 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
830 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
831 { (exit 1); exit 1; }; }
832 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
833 eval enable_$ac_feature=no ;;
861 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
862 as_fn_error $? "invalid feature name: $ac_useropt"
863 ac_useropt_orig=$ac_useropt
864 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
865 case $ac_user_opts in
866 *"
867 "enable_$ac_useropt"
868 "*) ;;
869 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
870 ac_unrecognized_sep=', ';;
871 esac
872 eval enable_$ac_useropt=no ;;
834873
835874 -docdir | --docdir | --docdi | --doc | --do)
836875 ac_prev=docdir ;;
843882 dvidir=$ac_optarg ;;
844883
845884 -enable-* | --enable-*)
846 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
885 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
847886 # Reject names that are not valid shell variable names.
848 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
849 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
850 { (exit 1); exit 1; }; }
851 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
852 eval enable_$ac_feature=\$ac_optarg ;;
887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
888 as_fn_error $? "invalid feature name: $ac_useropt"
889 ac_useropt_orig=$ac_useropt
890 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
891 case $ac_user_opts in
892 *"
893 "enable_$ac_useropt"
894 "*) ;;
895 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
896 ac_unrecognized_sep=', ';;
897 esac
898 eval enable_$ac_useropt=\$ac_optarg ;;
853899
854900 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
855901 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
9941040 | -silent | --silent | --silen | --sile | --sil)
9951041 silent=yes ;;
9961042
1043 -runstatedir | --runstatedir | --runstatedi | --runstated \
1044 | --runstate | --runstat | --runsta | --runst | --runs \
1045 | --run | --ru | --r)
1046 ac_prev=runstatedir ;;
1047 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1048 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1049 | --run=* | --ru=* | --r=*)
1050 runstatedir=$ac_optarg ;;
1051
9971052 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
9981053 ac_prev=sbindir ;;
9991054 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
10401095 ac_init_version=: ;;
10411096
10421097 -with-* | --with-*)
1043 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1098 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10441099 # Reject names that are not valid shell variable names.
1045 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1046 { echo "$as_me: error: invalid package name: $ac_package" >&2
1047 { (exit 1); exit 1; }; }
1048 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1049 eval with_$ac_package=\$ac_optarg ;;
1100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1101 as_fn_error $? "invalid package name: $ac_useropt"
1102 ac_useropt_orig=$ac_useropt
1103 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1104 case $ac_user_opts in
1105 *"
1106 "with_$ac_useropt"
1107 "*) ;;
1108 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1109 ac_unrecognized_sep=', ';;
1110 esac
1111 eval with_$ac_useropt=\$ac_optarg ;;
10501112
10511113 -without-* | --without-*)
1052 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1114 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10531115 # Reject names that are not valid shell variable names.
1054 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1055 { echo "$as_me: error: invalid package name: $ac_package" >&2
1056 { (exit 1); exit 1; }; }
1057 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1058 eval with_$ac_package=no ;;
1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1117 as_fn_error $? "invalid package name: $ac_useropt"
1118 ac_useropt_orig=$ac_useropt
1119 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120 case $ac_user_opts in
1121 *"
1122 "with_$ac_useropt"
1123 "*) ;;
1124 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1125 ac_unrecognized_sep=', ';;
1126 esac
1127 eval with_$ac_useropt=no ;;
10591128
10601129 --x)
10611130 # Obsolete; use --with-x.
10751144 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10761145 x_libraries=$ac_optarg ;;
10771146
1078 -*) { echo "$as_me: error: unrecognized option: $ac_option
1079 Try \`$0 --help' for more information." >&2
1080 { (exit 1); exit 1; }; }
1147 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1148 Try \`$0 --help' for more information"
10811149 ;;
10821150
10831151 *=*)
10841152 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
10851153 # Reject names that are not valid shell variable names.
1086 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1087 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1088 { (exit 1); exit 1; }; }
1154 case $ac_envvar in #(
1155 '' | [0-9]* | *[!_$as_cr_alnum]* )
1156 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1157 esac
10891158 eval $ac_envvar=\$ac_optarg
10901159 export $ac_envvar ;;
10911160
10921161 *)
10931162 # FIXME: should be removed in autoconf 3.0.
1094 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
10951164 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1096 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1097 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1165 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1166 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
10981167 ;;
10991168
11001169 esac
11021171
11031172 if test -n "$ac_prev"; then
11041173 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1105 { echo "$as_me: error: missing argument to $ac_option" >&2
1106 { (exit 1); exit 1; }; }
1107 fi
1108
1109 # Be sure to have absolute directory names.
1174 as_fn_error $? "missing argument to $ac_option"
1175 fi
1176
1177 if test -n "$ac_unrecognized_opts"; then
1178 case $enable_option_checking in
1179 no) ;;
1180 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1181 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1182 esac
1183 fi
1184
1185 # Check all directory arguments for consistency.
11101186 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
11111187 datadir sysconfdir sharedstatedir localstatedir includedir \
11121188 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1113 libdir localedir mandir
1189 libdir localedir mandir runstatedir
11141190 do
11151191 eval ac_val=\$$ac_var
1192 # Remove trailing slashes.
1193 case $ac_val in
1194 */ )
1195 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1196 eval $ac_var=\$ac_val;;
1197 esac
1198 # Be sure to have absolute directory names.
11161199 case $ac_val in
11171200 [\\/$]* | ?:[\\/]* ) continue;;
11181201 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11191202 esac
1120 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1121 { (exit 1); exit 1; }; }
1203 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
11221204 done
11231205
11241206 # There might be people who depend on the old broken behavior: `$host'
11321214 if test "x$host_alias" != x; then
11331215 if test "x$build_alias" = x; then
11341216 cross_compiling=maybe
1135 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1136 If a cross compiler is detected then cross compile mode will be used." >&2
11371217 elif test "x$build_alias" != "x$host_alias"; then
11381218 cross_compiling=yes
11391219 fi
11481228 ac_pwd=`pwd` && test -n "$ac_pwd" &&
11491229 ac_ls_di=`ls -di .` &&
11501230 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1151 { echo "$as_me: error: Working directory cannot be determined" >&2
1152 { (exit 1); exit 1; }; }
1231 as_fn_error $? "working directory cannot be determined"
11531232 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1154 { echo "$as_me: error: pwd does not report name of working directory" >&2
1155 { (exit 1); exit 1; }; }
1233 as_fn_error $? "pwd does not report name of working directory"
11561234
11571235
11581236 # Find the source files, if location was not specified.
11591237 if test -z "$srcdir"; then
11601238 ac_srcdir_defaulted=yes
11611239 # Try the directory containing this script, then the parent directory.
1162 ac_confdir=`$as_dirname -- "$0" ||
1163 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1164 X"$0" : 'X\(//\)[^/]' \| \
1165 X"$0" : 'X\(//\)$' \| \
1166 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1167 echo X"$0" |
1240 ac_confdir=`$as_dirname -- "$as_myself" ||
1241 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1242 X"$as_myself" : 'X\(//\)[^/]' \| \
1243 X"$as_myself" : 'X\(//\)$' \| \
1244 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1245 $as_echo X"$as_myself" |
11681246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11691247 s//\1/
11701248 q
11911269 fi
11921270 if test ! -r "$srcdir/$ac_unique_file"; then
11931271 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1194 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1195 { (exit 1); exit 1; }; }
1272 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
11961273 fi
11971274 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
11981275 ac_abs_confdir=`(
1199 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1200 { (exit 1); exit 1; }; }
1276 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
12011277 pwd)`
12021278 # When building in place, set srcdir=.
12031279 if test "$ac_abs_confdir" = "$ac_pwd"; then
12231299 # Omit some internal or obsolete options to make the list less imposing.
12241300 # This message is too long to be a string in the A/UX 3.1 sh.
12251301 cat <<_ACEOF
1226 \`configure' configures this package to adapt to many kinds of systems.
1302 \`configure' configures barrage 1.0.5 to adapt to many kinds of systems.
12271303
12281304 Usage: $0 [OPTION]... [VAR=VALUE]...
12291305
12371313 --help=short display options specific to this package
12381314 --help=recursive display the short help of all the included packages
12391315 -V, --version display version information and exit
1240 -q, --quiet, --silent do not print \`checking...' messages
1316 -q, --quiet, --silent do not print \`checking ...' messages
12411317 --cache-file=FILE cache test results in FILE [disabled]
12421318 -C, --config-cache alias for \`--cache-file=config.cache'
12431319 -n, --no-create do not create output files
12451321
12461322 Installation directories:
12471323 --prefix=PREFIX install architecture-independent files in PREFIX
1248 [$ac_default_prefix]
1324 [$ac_default_prefix]
12491325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1250 [PREFIX]
1326 [PREFIX]
12511327
12521328 By default, \`make install' will install all the files in
12531329 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
12571333 For better control, use the options below.
12581334
12591335 Fine tuning of the installation directories:
1260 --bindir=DIR user executables [EPREFIX/bin]
1261 --sbindir=DIR system admin executables [EPREFIX/sbin]
1262 --libexecdir=DIR program executables [EPREFIX/libexec]
1263 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1264 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1265 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1266 --libdir=DIR object code libraries [EPREFIX/lib]
1267 --includedir=DIR C header files [PREFIX/include]
1268 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1269 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1270 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1271 --infodir=DIR info documentation [DATAROOTDIR/info]
1272 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1273 --mandir=DIR man documentation [DATAROOTDIR/man]
1274 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1275 --htmldir=DIR html documentation [DOCDIR]
1276 --dvidir=DIR dvi documentation [DOCDIR]
1277 --pdfdir=DIR pdf documentation [DOCDIR]
1278 --psdir=DIR ps documentation [DOCDIR]
1336 --bindir=DIR user executables [EPREFIX/bin]
1337 --sbindir=DIR system admin executables [EPREFIX/sbin]
1338 --libexecdir=DIR program executables [EPREFIX/libexec]
1339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1341 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1342 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1343 --libdir=DIR object code libraries [EPREFIX/lib]
1344 --includedir=DIR C header files [PREFIX/include]
1345 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1346 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1347 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1348 --infodir=DIR info documentation [DATAROOTDIR/info]
1349 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1350 --mandir=DIR man documentation [DATAROOTDIR/man]
1351 --docdir=DIR documentation root [DATAROOTDIR/doc/barrage]
1352 --htmldir=DIR html documentation [DOCDIR]
1353 --dvidir=DIR dvi documentation [DOCDIR]
1354 --pdfdir=DIR pdf documentation [DOCDIR]
1355 --psdir=DIR ps documentation [DOCDIR]
12791356 _ACEOF
12801357
12811358 cat <<\_ACEOF
12931370 fi
12941371
12951372 if test -n "$ac_init_help"; then
1296
1373 case $ac_init_help in
1374 short | recursive ) echo "Configuration of barrage 1.0.5:";;
1375 esac
12971376 cat <<\_ACEOF
12981377
12991378 Optional Features:
1379 --disable-option-checking ignore unrecognized --enable/--with options
13001380 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
13011381 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1302 --disable-dependency-tracking speeds up one-time build
1303 --enable-dependency-tracking do not reject slow dependency extractors
1382 --enable-silent-rules less verbose build output (undo: "make V=1")
1383 --disable-silent-rules verbose build output (undo: "make V=0")
1384 --enable-dependency-tracking
1385 do not reject slow dependency extractors
1386 --disable-dependency-tracking
1387 speeds up one-time build
13041388 --disable-sdltest Do not try to compile and run a test SDL program
1305 --disable-audio Disables Audio
1306 --disable-install No installation. Played from the source directory.
1389 --disable-install No installation. Start from source directory.
1390 --enable-debug Add debug symbols, no optimization.
1391 --disable-audio Disable Audio
13071392
13081393 Optional Packages:
13091394 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
13171402 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
13181403 nonstandard directory <lib dir>
13191404 LIBS libraries to pass to the linker, e.g. -l<library>
1320 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1405 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
13211406 you have headers in a nonstandard directory <include dir>
13221407 CPP C preprocessor
13231408
13241409 Use these variables to override the choices made by `configure' or to help
13251410 it to find libraries and programs with nonstandard names/locations.
13261411
1412 Report bugs to the package provider.
13271413 _ACEOF
13281414 ac_status=$?
13291415 fi
13311417 if test "$ac_init_help" = "recursive"; then
13321418 # If there are subdirs, report their specific --help.
13331419 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1334 test -d "$ac_dir" || continue
1420 test -d "$ac_dir" ||
1421 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1422 continue
13351423 ac_builddir=.
13361424
13371425 case "$ac_dir" in
13381426 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13391427 *)
1340 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1428 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13411429 # A ".." for each directory in $ac_dir_suffix.
1342 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1430 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13431431 case $ac_top_builddir_sub in
13441432 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13451433 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13751463 echo &&
13761464 $SHELL "$ac_srcdir/configure" --help=recursive
13771465 else
1378 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1466 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
13791467 fi || ac_status=$?
13801468 cd "$ac_pwd" || { ac_status=$?; break; }
13811469 done
13841472 test -n "$ac_init_help" && exit $ac_status
13851473 if $ac_init_version; then
13861474 cat <<\_ACEOF
1387 configure
1388 generated by GNU Autoconf 2.61
1389
1390 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1391 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1475 barrage configure 1.0.5
1476 generated by GNU Autoconf 2.69
1477
1478 Copyright (C) 2012 Free Software Foundation, Inc.
13921479 This configure script is free software; the Free Software Foundation
13931480 gives unlimited permission to copy, distribute and modify it.
13941481 _ACEOF
13951482 exit
13961483 fi
1484
1485 ## ------------------------ ##
1486 ## Autoconf initialization. ##
1487 ## ------------------------ ##
1488
1489 # ac_fn_c_try_compile LINENO
1490 # --------------------------
1491 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1492 ac_fn_c_try_compile ()
1493 {
1494 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1495 rm -f conftest.$ac_objext
1496 if { { ac_try="$ac_compile"
1497 case "(($ac_try" in
1498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1499 *) ac_try_echo=$ac_try;;
1500 esac
1501 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1502 $as_echo "$ac_try_echo"; } >&5
1503 (eval "$ac_compile") 2>conftest.err
1504 ac_status=$?
1505 if test -s conftest.err; then
1506 grep -v '^ *+' conftest.err >conftest.er1
1507 cat conftest.er1 >&5
1508 mv -f conftest.er1 conftest.err
1509 fi
1510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1511 test $ac_status = 0; } && {
1512 test -z "$ac_c_werror_flag" ||
1513 test ! -s conftest.err
1514 } && test -s conftest.$ac_objext; then :
1515 ac_retval=0
1516 else
1517 $as_echo "$as_me: failed program was:" >&5
1518 sed 's/^/| /' conftest.$ac_ext >&5
1519
1520 ac_retval=1
1521 fi
1522 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1523 as_fn_set_status $ac_retval
1524
1525 } # ac_fn_c_try_compile
1526
1527 # ac_fn_c_try_cpp LINENO
1528 # ----------------------
1529 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1530 ac_fn_c_try_cpp ()
1531 {
1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533 if { { ac_try="$ac_cpp conftest.$ac_ext"
1534 case "(($ac_try" in
1535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1536 *) ac_try_echo=$ac_try;;
1537 esac
1538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1539 $as_echo "$ac_try_echo"; } >&5
1540 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1541 ac_status=$?
1542 if test -s conftest.err; then
1543 grep -v '^ *+' conftest.err >conftest.er1
1544 cat conftest.er1 >&5
1545 mv -f conftest.er1 conftest.err
1546 fi
1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1548 test $ac_status = 0; } > conftest.i && {
1549 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1550 test ! -s conftest.err
1551 }; then :
1552 ac_retval=0
1553 else
1554 $as_echo "$as_me: failed program was:" >&5
1555 sed 's/^/| /' conftest.$ac_ext >&5
1556
1557 ac_retval=1
1558 fi
1559 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1560 as_fn_set_status $ac_retval
1561
1562 } # ac_fn_c_try_cpp
1563
1564 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1565 # -------------------------------------------------------
1566 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1567 # the include files in INCLUDES and setting the cache variable VAR
1568 # accordingly.
1569 ac_fn_c_check_header_mongrel ()
1570 {
1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572 if eval \${$3+:} false; then :
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1574 $as_echo_n "checking for $2... " >&6; }
1575 if eval \${$3+:} false; then :
1576 $as_echo_n "(cached) " >&6
1577 fi
1578 eval ac_res=\$$3
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1580 $as_echo "$ac_res" >&6; }
1581 else
1582 # Is the header compilable?
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1584 $as_echo_n "checking $2 usability... " >&6; }
1585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1586 /* end confdefs.h. */
1587 $4
1588 #include <$2>
1589 _ACEOF
1590 if ac_fn_c_try_compile "$LINENO"; then :
1591 ac_header_compiler=yes
1592 else
1593 ac_header_compiler=no
1594 fi
1595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1597 $as_echo "$ac_header_compiler" >&6; }
1598
1599 # Is the header present?
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1601 $as_echo_n "checking $2 presence... " >&6; }
1602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1603 /* end confdefs.h. */
1604 #include <$2>
1605 _ACEOF
1606 if ac_fn_c_try_cpp "$LINENO"; then :
1607 ac_header_preproc=yes
1608 else
1609 ac_header_preproc=no
1610 fi
1611 rm -f conftest.err conftest.i conftest.$ac_ext
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1613 $as_echo "$ac_header_preproc" >&6; }
1614
1615 # So? What about this header?
1616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1617 yes:no: )
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1619 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1621 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1622 ;;
1623 no:yes:* )
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1625 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1627 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1629 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1631 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1633 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1634 ;;
1635 esac
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1637 $as_echo_n "checking for $2... " >&6; }
1638 if eval \${$3+:} false; then :
1639 $as_echo_n "(cached) " >&6
1640 else
1641 eval "$3=\$ac_header_compiler"
1642 fi
1643 eval ac_res=\$$3
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1645 $as_echo "$ac_res" >&6; }
1646 fi
1647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1648
1649 } # ac_fn_c_check_header_mongrel
1650
1651 # ac_fn_c_try_run LINENO
1652 # ----------------------
1653 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1654 # that executables *can* be run.
1655 ac_fn_c_try_run ()
1656 {
1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658 if { { ac_try="$ac_link"
1659 case "(($ac_try" in
1660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1661 *) ac_try_echo=$ac_try;;
1662 esac
1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664 $as_echo "$ac_try_echo"; } >&5
1665 (eval "$ac_link") 2>&5
1666 ac_status=$?
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1669 { { case "(($ac_try" in
1670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671 *) ac_try_echo=$ac_try;;
1672 esac
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_try") 2>&5
1676 ac_status=$?
1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678 test $ac_status = 0; }; }; then :
1679 ac_retval=0
1680 else
1681 $as_echo "$as_me: program exited with status $ac_status" >&5
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.$ac_ext >&5
1684
1685 ac_retval=$ac_status
1686 fi
1687 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689 as_fn_set_status $ac_retval
1690
1691 } # ac_fn_c_try_run
1692
1693 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1694 # -------------------------------------------------------
1695 # Tests whether HEADER exists and can be compiled using the include files in
1696 # INCLUDES, setting the cache variable VAR accordingly.
1697 ac_fn_c_check_header_compile ()
1698 {
1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1701 $as_echo_n "checking for $2... " >&6; }
1702 if eval \${$3+:} false; then :
1703 $as_echo_n "(cached) " >&6
1704 else
1705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1706 /* end confdefs.h. */
1707 $4
1708 #include <$2>
1709 _ACEOF
1710 if ac_fn_c_try_compile "$LINENO"; then :
1711 eval "$3=yes"
1712 else
1713 eval "$3=no"
1714 fi
1715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1716 fi
1717 eval ac_res=\$$3
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1719 $as_echo "$ac_res" >&6; }
1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721
1722 } # ac_fn_c_check_header_compile
1723
1724 # ac_fn_c_try_link LINENO
1725 # -----------------------
1726 # Try to link conftest.$ac_ext, and return whether this succeeded.
1727 ac_fn_c_try_link ()
1728 {
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 rm -f conftest.$ac_objext conftest$ac_exeext
1731 if { { ac_try="$ac_link"
1732 case "(($ac_try" in
1733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734 *) ac_try_echo=$ac_try;;
1735 esac
1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_link") 2>conftest.err
1739 ac_status=$?
1740 if test -s conftest.err; then
1741 grep -v '^ *+' conftest.err >conftest.er1
1742 cat conftest.er1 >&5
1743 mv -f conftest.er1 conftest.err
1744 fi
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; } && {
1747 test -z "$ac_c_werror_flag" ||
1748 test ! -s conftest.err
1749 } && test -s conftest$ac_exeext && {
1750 test "$cross_compiling" = yes ||
1751 test -x conftest$ac_exeext
1752 }; then :
1753 ac_retval=0
1754 else
1755 $as_echo "$as_me: failed program was:" >&5
1756 sed 's/^/| /' conftest.$ac_ext >&5
1757
1758 ac_retval=1
1759 fi
1760 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1761 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1762 # interfere with the next link command; also delete a directory that is
1763 # left behind by Apple's compiler. We do this before executing the actions.
1764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766 as_fn_set_status $ac_retval
1767
1768 } # ac_fn_c_try_link
1769
1770 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1771 # -------------------------------------------
1772 # Tests whether TYPE exists after having included INCLUDES, setting cache
1773 # variable VAR accordingly.
1774 ac_fn_c_check_type ()
1775 {
1776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1778 $as_echo_n "checking for $2... " >&6; }
1779 if eval \${$3+:} false; then :
1780 $as_echo_n "(cached) " >&6
1781 else
1782 eval "$3=no"
1783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1784 /* end confdefs.h. */
1785 $4
1786 int
1787 main ()
1788 {
1789 if (sizeof ($2))
1790 return 0;
1791 ;
1792 return 0;
1793 }
1794 _ACEOF
1795 if ac_fn_c_try_compile "$LINENO"; then :
1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h. */
1798 $4
1799 int
1800 main ()
1801 {
1802 if (sizeof (($2)))
1803 return 0;
1804 ;
1805 return 0;
1806 }
1807 _ACEOF
1808 if ac_fn_c_try_compile "$LINENO"; then :
1809
1810 else
1811 eval "$3=yes"
1812 fi
1813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1814 fi
1815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1816 fi
1817 eval ac_res=\$$3
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1819 $as_echo "$ac_res" >&6; }
1820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821
1822 } # ac_fn_c_check_type
1823
1824 # ac_fn_c_check_func LINENO FUNC VAR
1825 # ----------------------------------
1826 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1827 ac_fn_c_check_func ()
1828 {
1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1831 $as_echo_n "checking for $2... " >&6; }
1832 if eval \${$3+:} false; then :
1833 $as_echo_n "(cached) " >&6
1834 else
1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1836 /* end confdefs.h. */
1837 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1839 #define $2 innocuous_$2
1840
1841 /* System header to define __stub macros and hopefully few prototypes,
1842 which can conflict with char $2 (); below.
1843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1844 <limits.h> exists even on freestanding compilers. */
1845
1846 #ifdef __STDC__
1847 # include <limits.h>
1848 #else
1849 # include <assert.h>
1850 #endif
1851
1852 #undef $2
1853
1854 /* Override any GCC internal prototype to avoid an error.
1855 Use char because int might match the return type of a GCC
1856 builtin and then its argument prototype would still apply. */
1857 #ifdef __cplusplus
1858 extern "C"
1859 #endif
1860 char $2 ();
1861 /* The GNU C library defines this for functions which it implements
1862 to always fail with ENOSYS. Some functions are actually named
1863 something starting with __ and the normal name is an alias. */
1864 #if defined __stub_$2 || defined __stub___$2
1865 choke me
1866 #endif
1867
1868 int
1869 main ()
1870 {
1871 return $2 ();
1872 ;
1873 return 0;
1874 }
1875 _ACEOF
1876 if ac_fn_c_try_link "$LINENO"; then :
1877 eval "$3=yes"
1878 else
1879 eval "$3=no"
1880 fi
1881 rm -f core conftest.err conftest.$ac_objext \
1882 conftest$ac_exeext conftest.$ac_ext
1883 fi
1884 eval ac_res=\$$3
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886 $as_echo "$ac_res" >&6; }
1887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1888
1889 } # ac_fn_c_check_func
13971890 cat >config.log <<_ACEOF
13981891 This file contains any messages produced by compilers while
13991892 running configure, to aid debugging if configure makes a mistake.
14001893
1401 It was created by $as_me, which was
1402 generated by GNU Autoconf 2.61. Invocation command line was
1894 It was created by barrage $as_me 1.0.5, which was
1895 generated by GNU Autoconf 2.69. Invocation command line was
14031896
14041897 $ $0 $@
14051898
14351928 do
14361929 IFS=$as_save_IFS
14371930 test -z "$as_dir" && as_dir=.
1438 echo "PATH: $as_dir"
1439 done
1931 $as_echo "PATH: $as_dir"
1932 done
14401933 IFS=$as_save_IFS
14411934
14421935 } >&5
14701963 | -silent | --silent | --silen | --sile | --sil)
14711964 continue ;;
14721965 *\'*)
1473 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1966 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14741967 esac
14751968 case $ac_pass in
1476 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1969 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
14771970 2)
1478 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1971 as_fn_append ac_configure_args1 " '$ac_arg'"
14791972 if test $ac_must_keep_next = true; then
14801973 ac_must_keep_next=false # Got value, back to normal.
14811974 else
14911984 -* ) ac_must_keep_next=true ;;
14921985 esac
14931986 fi
1494 ac_configure_args="$ac_configure_args '$ac_arg'"
1987 as_fn_append ac_configure_args " '$ac_arg'"
14951988 ;;
14961989 esac
14971990 done
14981991 done
1499 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1500 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1992 { ac_configure_args0=; unset ac_configure_args0;}
1993 { ac_configure_args1=; unset ac_configure_args1;}
15011994
15021995 # When interrupted or exit'd, cleanup temporary files, and complete
15031996 # config.log. We remove comments because anyway the quotes in there
15092002 {
15102003 echo
15112004
1512 cat <<\_ASBOX
1513 ## ---------------- ##
2005 $as_echo "## ---------------- ##
15142006 ## Cache variables. ##
1515 ## ---------------- ##
1516 _ASBOX
2007 ## ---------------- ##"
15172008 echo
15182009 # The following way of writing the cache mishandles newlines in values,
15192010 (
15222013 case $ac_val in #(
15232014 *${as_nl}*)
15242015 case $ac_var in #(
1525 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1526 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2016 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2017 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15272018 esac
15282019 case $ac_var in #(
15292020 _ | IFS | as_nl) ;; #(
1530 *) $as_unset $ac_var ;;
2021 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2022 *) { eval $ac_var=; unset $ac_var;} ;;
15312023 esac ;;
15322024 esac
15332025 done
15462038 )
15472039 echo
15482040
1549 cat <<\_ASBOX
1550 ## ----------------- ##
2041 $as_echo "## ----------------- ##
15512042 ## Output variables. ##
1552 ## ----------------- ##
1553 _ASBOX
2043 ## ----------------- ##"
15542044 echo
15552045 for ac_var in $ac_subst_vars
15562046 do
15572047 eval ac_val=\$$ac_var
15582048 case $ac_val in
1559 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2049 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15602050 esac
1561 echo "$ac_var='\''$ac_val'\''"
2051 $as_echo "$ac_var='\''$ac_val'\''"
15622052 done | sort
15632053 echo
15642054
15652055 if test -n "$ac_subst_files"; then
1566 cat <<\_ASBOX
1567 ## ------------------- ##
2056 $as_echo "## ------------------- ##
15682057 ## File substitutions. ##
1569 ## ------------------- ##
1570 _ASBOX
2058 ## ------------------- ##"
15712059 echo
15722060 for ac_var in $ac_subst_files
15732061 do
15742062 eval ac_val=\$$ac_var
15752063 case $ac_val in
1576 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2064 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15772065 esac
1578 echo "$ac_var='\''$ac_val'\''"
2066 $as_echo "$ac_var='\''$ac_val'\''"
15792067 done | sort
15802068 echo
15812069 fi
15822070
15832071 if test -s confdefs.h; then
1584 cat <<\_ASBOX
1585 ## ----------- ##
2072 $as_echo "## ----------- ##
15862073 ## confdefs.h. ##
1587 ## ----------- ##
1588 _ASBOX
2074 ## ----------- ##"
15892075 echo
15902076 cat confdefs.h
15912077 echo
15922078 fi
15932079 test "$ac_signal" != 0 &&
1594 echo "$as_me: caught signal $ac_signal"
1595 echo "$as_me: exit $exit_status"
2080 $as_echo "$as_me: caught signal $ac_signal"
2081 $as_echo "$as_me: exit $exit_status"
15962082 } >&5
15972083 rm -f core *.core core.conftest.* &&
15982084 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
15992085 exit $exit_status
16002086 ' 0
16012087 for ac_signal in 1 2 13 15; do
1602 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2088 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
16032089 done
16042090 ac_signal=0
16052091
16062092 # confdefs.h avoids OS command line length limits that DEFS can exceed.
16072093 rm -f -r conftest* confdefs.h
16082094
2095 $as_echo "/* confdefs.h */" > confdefs.h
2096
16092097 # Predefined preprocessor variables.
16102098
16112099 cat >>confdefs.h <<_ACEOF
16122100 #define PACKAGE_NAME "$PACKAGE_NAME"
16132101 _ACEOF
16142102
1615
16162103 cat >>confdefs.h <<_ACEOF
16172104 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
16182105 _ACEOF
16192106
1620
16212107 cat >>confdefs.h <<_ACEOF
16222108 #define PACKAGE_VERSION "$PACKAGE_VERSION"
16232109 _ACEOF
16242110
1625
16262111 cat >>confdefs.h <<_ACEOF
16272112 #define PACKAGE_STRING "$PACKAGE_STRING"
16282113 _ACEOF
16292114
1630
16312115 cat >>confdefs.h <<_ACEOF
16322116 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
16332117 _ACEOF
16342118
2119 cat >>confdefs.h <<_ACEOF
2120 #define PACKAGE_URL "$PACKAGE_URL"
2121 _ACEOF
2122
16352123
16362124 # Let the site file select an alternate cache file if it wants to.
1637 # Prefer explicitly selected file to automatically selected ones.
2125 # Prefer an explicitly selected file to automatically selected ones.
2126 ac_site_file1=NONE
2127 ac_site_file2=NONE
16382128 if test -n "$CONFIG_SITE"; then
1639 set x "$CONFIG_SITE"
2129 # We do not want a PATH search for config.site.
2130 case $CONFIG_SITE in #((
2131 -*) ac_site_file1=./$CONFIG_SITE;;
2132 */*) ac_site_file1=$CONFIG_SITE;;
2133 *) ac_site_file1=./$CONFIG_SITE;;
2134 esac
16402135 elif test "x$prefix" != xNONE; then
1641 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1642 else
1643 set x "$ac_default_prefix/share/config.site" \
1644 "$ac_default_prefix/etc/config.site"
1645 fi
1646 shift
1647 for ac_site_file
2136 ac_site_file1=$prefix/share/config.site
2137 ac_site_file2=$prefix/etc/config.site
2138 else
2139 ac_site_file1=$ac_default_prefix/share/config.site
2140 ac_site_file2=$ac_default_prefix/etc/config.site
2141 fi
2142 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
16482143 do
1649 if test -r "$ac_site_file"; then
1650 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1651 echo "$as_me: loading site script $ac_site_file" >&6;}
2144 test "x$ac_site_file" = xNONE && continue
2145 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2147 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
16522148 sed 's/^/| /' "$ac_site_file" >&5
1653 . "$ac_site_file"
2149 . "$ac_site_file" \
2150 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2152 as_fn_error $? "failed to load site script $ac_site_file
2153 See \`config.log' for more details" "$LINENO" 5; }
16542154 fi
16552155 done
16562156
16572157 if test -r "$cache_file"; then
1658 # Some versions of bash will fail to source /dev/null (special
1659 # files actually), so we avoid doing that.
1660 if test -f "$cache_file"; then
1661 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1662 echo "$as_me: loading cache $cache_file" >&6;}
2158 # Some versions of bash will fail to source /dev/null (special files
2159 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2160 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2162 $as_echo "$as_me: loading cache $cache_file" >&6;}
16632163 case $cache_file in
16642164 [\\/]* | ?:[\\/]* ) . "$cache_file";;
16652165 *) . "./$cache_file";;
16662166 esac
16672167 fi
16682168 else
1669 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1670 echo "$as_me: creating cache $cache_file" >&6;}
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2170 $as_echo "$as_me: creating cache $cache_file" >&6;}
16712171 >$cache_file
16722172 fi
16732173
16812181 eval ac_new_val=\$ac_env_${ac_var}_value
16822182 case $ac_old_set,$ac_new_set in
16832183 set,)
1684 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1685 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2185 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
16862186 ac_cache_corrupted=: ;;
16872187 ,set)
1688 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1689 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2189 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
16902190 ac_cache_corrupted=: ;;
16912191 ,);;
16922192 *)
16932193 if test "x$ac_old_val" != "x$ac_new_val"; then
1694 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1695 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1696 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1697 echo "$as_me: former value: $ac_old_val" >&2;}
1698 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1699 echo "$as_me: current value: $ac_new_val" >&2;}
1700 ac_cache_corrupted=:
2194 # differences in whitespace do not lead to failure.
2195 ac_old_val_w=`echo x $ac_old_val`
2196 ac_new_val_w=`echo x $ac_new_val`
2197 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2199 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2200 ac_cache_corrupted=:
2201 else
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2203 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2204 eval $ac_var=\$ac_old_val
2205 fi
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2207 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2209 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
17012210 fi;;
17022211 esac
17032212 # Pass precious variables to config.status.
17042213 if test "$ac_new_set" = set; then
17052214 case $ac_new_val in
1706 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2215 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
17072216 *) ac_arg=$ac_var=$ac_new_val ;;
17082217 esac
17092218 case " $ac_configure_args " in
17102219 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1711 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2220 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
17122221 esac
17132222 fi
17142223 done
17152224 if $ac_cache_corrupted; then
1716 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1717 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1718 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1719 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1720 { (exit 1); exit 1; }; }
1721 fi
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2228 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2229 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2230 fi
2231 ## -------------------- ##
2232 ## Main body of script. ##
2233 ## -------------------- ##
17382234
17392235 ac_ext=c
17402236 ac_cpp='$CPP $CPPFLAGS'
17422238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17432239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17442240
2241
2242
2243 ac_config_headers="$ac_config_headers config.h"
17452244
17462245 ac_aux_dir=
17472246 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
17602259 fi
17612260 done
17622261 if test -z "$ac_aux_dir"; then
1763 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1764 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1765 { (exit 1); exit 1; }; }
2262 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
17662263 fi
17672264
17682265 # These three variables are undocumented and unsupported,
17762273
17772274 # Make sure we can run config.sub.
17782275 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1779 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1780 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1781 { (exit 1); exit 1; }; }
1782
1783 { echo "$as_me:$LINENO: checking build system type" >&5
1784 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1785 if test "${ac_cv_build+set}" = set; then
1786 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2277
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2279 $as_echo_n "checking build system type... " >&6; }
2280 if ${ac_cv_build+:} false; then :
2281 $as_echo_n "(cached) " >&6
17872282 else
17882283 ac_build_alias=$build_alias
17892284 test "x$ac_build_alias" = x &&
17902285 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
17912286 test "x$ac_build_alias" = x &&
1792 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1793 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1794 { (exit 1); exit 1; }; }
2287 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
17952288 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1796 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1797 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1798 { (exit 1); exit 1; }; }
1799
1800 fi
1801 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1802 echo "${ECHO_T}$ac_cv_build" >&6; }
2289 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2290
2291 fi
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2293 $as_echo "$ac_cv_build" >&6; }
18032294 case $ac_cv_build in
18042295 *-*-*) ;;
1805 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1806 echo "$as_me: error: invalid value of canonical build" >&2;}
1807 { (exit 1); exit 1; }; };;
2296 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
18082297 esac
18092298 build=$ac_cv_build
18102299 ac_save_IFS=$IFS; IFS='-'
18202309 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
18212310
18222311
1823 { echo "$as_me:$LINENO: checking host system type" >&5
1824 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1825 if test "${ac_cv_host+set}" = set; then
1826 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2313 $as_echo_n "checking host system type... " >&6; }
2314 if ${ac_cv_host+:} false; then :
2315 $as_echo_n "(cached) " >&6
18272316 else
18282317 if test "x$host_alias" = x; then
18292318 ac_cv_host=$ac_cv_build
18302319 else
18312320 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1832 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1833 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1834 { (exit 1); exit 1; }; }
1835 fi
1836
1837 fi
1838 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1839 echo "${ECHO_T}$ac_cv_host" >&6; }
2321 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2322 fi
2323
2324 fi
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2326 $as_echo "$ac_cv_host" >&6; }
18402327 case $ac_cv_host in
18412328 *-*-*) ;;
1842 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1843 echo "$as_me: error: invalid value of canonical host" >&2;}
1844 { (exit 1); exit 1; }; };;
2329 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
18452330 esac
18462331 host=$ac_cv_host
18472332 ac_save_IFS=$IFS; IFS='-'
18572342 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
18582343
18592344
1860 { echo "$as_me:$LINENO: checking target system type" >&5
1861 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1862 if test "${ac_cv_target+set}" = set; then
1863 echo $ECHO_N "(cached) $ECHO_C" >&6
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2346 $as_echo_n "checking target system type... " >&6; }
2347 if ${ac_cv_target+:} false; then :
2348 $as_echo_n "(cached) " >&6
18642349 else
18652350 if test "x$target_alias" = x; then
18662351 ac_cv_target=$ac_cv_host
18672352 else
18682353 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1869 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1870 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1871 { (exit 1); exit 1; }; }
1872 fi
1873
1874 fi
1875 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1876 echo "${ECHO_T}$ac_cv_target" >&6; }
2354 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2355 fi
2356
2357 fi
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2359 $as_echo "$ac_cv_target" >&6; }
18772360 case $ac_cv_target in
18782361 *-*-*) ;;
1879 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1880 echo "$as_me: error: invalid value of canonical target" >&2;}
1881 { (exit 1); exit 1; }; };;
2362 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
18822363 esac
18832364 target=$ac_cv_target
18842365 ac_save_IFS=$IFS; IFS='-'
19002381 test "$program_prefix$program_suffix$program_transform_name" = \
19012382 NONENONEs,x,x, &&
19022383 program_prefix=${target_alias}-
1903
1904 cat >>confdefs.h <<\_ACEOF
1905 #define _GNU_SOURCE 1
1906 _ACEOF
2384 am__api_version='1.15'
2385
2386 # Find a good install program. We prefer a C program (faster),
2387 # so one script is as good as another. But avoid the broken or
2388 # incompatible versions:
2389 # SysV /etc/install, /usr/sbin/install
2390 # SunOS /usr/etc/install
2391 # IRIX /sbin/install
2392 # AIX /bin/install
2393 # AmigaOS /C/install, which installs bootblocks on floppy discs
2394 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2395 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2396 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2397 # OS/2's system install, which has a completely different semantic
2398 # ./install, which can be erroneously created by make from ./install.sh.
2399 # Reject install programs that cannot install multiple files.
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2401 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2402 if test -z "$INSTALL"; then
2403 if ${ac_cv_path_install+:} false; then :
2404 $as_echo_n "(cached) " >&6
2405 else
2406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2407 for as_dir in $PATH
2408 do
2409 IFS=$as_save_IFS
2410 test -z "$as_dir" && as_dir=.
2411 # Account for people who put trailing slashes in PATH elements.
2412 case $as_dir/ in #((
2413 ./ | .// | /[cC]/* | \
2414 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2415 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2416 /usr/ucb/* ) ;;
2417 *)
2418 # OSF1 and SCO ODT 3.0 have their own names for install.
2419 # Don't use installbsd from OSF since it installs stuff as root
2420 # by default.
2421 for ac_prog in ginstall scoinst install; do
2422 for ac_exec_ext in '' $ac_executable_extensions; do
2423 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2424 if test $ac_prog = install &&
2425 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2426 # AIX install. It has an incompatible calling convention.
2427 :
2428 elif test $ac_prog = install &&
2429 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2430 # program-specific install script used by HP pwplus--don't use.
2431 :
2432 else
2433 rm -rf conftest.one conftest.two conftest.dir
2434 echo one > conftest.one
2435 echo two > conftest.two
2436 mkdir conftest.dir
2437 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2438 test -s conftest.one && test -s conftest.two &&
2439 test -s conftest.dir/conftest.one &&
2440 test -s conftest.dir/conftest.two
2441 then
2442 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2443 break 3
2444 fi
2445 fi
2446 fi
2447 done
2448 done
2449 ;;
2450 esac
2451
2452 done
2453 IFS=$as_save_IFS
2454
2455 rm -rf conftest.one conftest.two conftest.dir
2456
2457 fi
2458 if test "${ac_cv_path_install+set}" = set; then
2459 INSTALL=$ac_cv_path_install
2460 else
2461 # As a last resort, use the slow shell script. Don't cache a
2462 # value for INSTALL within a source directory, because that will
2463 # break other packages using the cache if that directory is
2464 # removed, or if the value is a relative name.
2465 INSTALL=$ac_install_sh
2466 fi
2467 fi
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2469 $as_echo "$INSTALL" >&6; }
2470
2471 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2472 # It thinks the first close brace ends the variable substitution.
2473 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2474
2475 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2476
2477 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2478
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2480 $as_echo_n "checking whether build environment is sane... " >&6; }
2481 # Reject unsafe characters in $srcdir or the absolute working directory
2482 # name. Accept space and tab only in the latter.
2483 am_lf='
2484 '
2485 case `pwd` in
2486 *[\\\"\#\$\&\'\`$am_lf]*)
2487 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2488 esac
2489 case $srcdir in
2490 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2491 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2492 esac
2493
2494 # Do 'set' in a subshell so we don't clobber the current shell's
2495 # arguments. Must try -L first in case configure is actually a
2496 # symlink; some systems play weird games with the mod time of symlinks
2497 # (eg FreeBSD returns the mod time of the symlink's containing
2498 # directory).
2499 if (
2500 am_has_slept=no
2501 for am_try in 1 2; do
2502 echo "timestamp, slept: $am_has_slept" > conftest.file
2503 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2504 if test "$*" = "X"; then
2505 # -L didn't work.
2506 set X `ls -t "$srcdir/configure" conftest.file`
2507 fi
2508 if test "$*" != "X $srcdir/configure conftest.file" \
2509 && test "$*" != "X conftest.file $srcdir/configure"; then
2510
2511 # If neither matched, then we have a broken ls. This can happen
2512 # if, for instance, CONFIG_SHELL is bash and it inherits a
2513 # broken ls alias from the environment. This has actually
2514 # happened. Such a system could not be considered "sane".
2515 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2516 alias in your environment" "$LINENO" 5
2517 fi
2518 if test "$2" = conftest.file || test $am_try -eq 2; then
2519 break
2520 fi
2521 # Just in case.
2522 sleep 1
2523 am_has_slept=yes
2524 done
2525 test "$2" = conftest.file
2526 )
2527 then
2528 # Ok.
2529 :
2530 else
2531 as_fn_error $? "newly created file is older than distributed files!
2532 Check your system clock" "$LINENO" 5
2533 fi
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2535 $as_echo "yes" >&6; }
2536 # If we didn't sleep, we still need to ensure time stamps of config.status and
2537 # generated files are strictly newer.
2538 am_sleep_pid=
2539 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2540 ( sleep 1 ) &
2541 am_sleep_pid=$!
2542 fi
2543
2544 rm -f conftest.file
2545
2546 test "$program_prefix" != NONE &&
2547 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2548 # Use a double $ so make ignores it.
2549 test "$program_suffix" != NONE &&
2550 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2551 # Double any \ or $.
2552 # By default was `s,x,x', remove it if useless.
2553 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2554 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2555
2556 # Expand $ac_aux_dir to an absolute path.
2557 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2558
2559 if test x"${MISSING+set}" != xset; then
2560 case $am_aux_dir in
2561 *\ * | *\ *)
2562 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2563 *)
2564 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2565 esac
2566 fi
2567 # Use eval to expand $SHELL
2568 if eval "$MISSING --is-lightweight"; then
2569 am_missing_run="$MISSING "
2570 else
2571 am_missing_run=
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2573 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2574 fi
2575
2576 if test x"${install_sh+set}" != xset; then
2577 case $am_aux_dir in
2578 *\ * | *\ *)
2579 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2580 *)
2581 install_sh="\${SHELL} $am_aux_dir/install-sh"
2582 esac
2583 fi
2584
2585 # Installed binaries are usually stripped using 'strip' when the user
2586 # run "make install-strip". However 'strip' might not be the right
2587 # tool to use in cross-compilation environments, therefore Automake
2588 # will honor the 'STRIP' environment variable to overrule this program.
2589 if test "$cross_compiling" != no; then
2590 if test -n "$ac_tool_prefix"; then
2591 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2592 set dummy ${ac_tool_prefix}strip; ac_word=$2
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2594 $as_echo_n "checking for $ac_word... " >&6; }
2595 if ${ac_cv_prog_STRIP+:} false; then :
2596 $as_echo_n "(cached) " >&6
2597 else
2598 if test -n "$STRIP"; then
2599 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2600 else
2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602 for as_dir in $PATH
2603 do
2604 IFS=$as_save_IFS
2605 test -z "$as_dir" && as_dir=.
2606 for ac_exec_ext in '' $ac_executable_extensions; do
2607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2608 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2610 break 2
2611 fi
2612 done
2613 done
2614 IFS=$as_save_IFS
2615
2616 fi
2617 fi
2618 STRIP=$ac_cv_prog_STRIP
2619 if test -n "$STRIP"; then
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2621 $as_echo "$STRIP" >&6; }
2622 else
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2624 $as_echo "no" >&6; }
2625 fi
2626
2627
2628 fi
2629 if test -z "$ac_cv_prog_STRIP"; then
2630 ac_ct_STRIP=$STRIP
2631 # Extract the first word of "strip", so it can be a program name with args.
2632 set dummy strip; ac_word=$2
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2634 $as_echo_n "checking for $ac_word... " >&6; }
2635 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2636 $as_echo_n "(cached) " >&6
2637 else
2638 if test -n "$ac_ct_STRIP"; then
2639 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2640 else
2641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2642 for as_dir in $PATH
2643 do
2644 IFS=$as_save_IFS
2645 test -z "$as_dir" && as_dir=.
2646 for ac_exec_ext in '' $ac_executable_extensions; do
2647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2648 ac_cv_prog_ac_ct_STRIP="strip"
2649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2650 break 2
2651 fi
2652 done
2653 done
2654 IFS=$as_save_IFS
2655
2656 fi
2657 fi
2658 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2659 if test -n "$ac_ct_STRIP"; then
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2661 $as_echo "$ac_ct_STRIP" >&6; }
2662 else
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2664 $as_echo "no" >&6; }
2665 fi
2666
2667 if test "x$ac_ct_STRIP" = x; then
2668 STRIP=":"
2669 else
2670 case $cross_compiling:$ac_tool_warned in
2671 yes:)
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2674 ac_tool_warned=yes ;;
2675 esac
2676 STRIP=$ac_ct_STRIP
2677 fi
2678 else
2679 STRIP="$ac_cv_prog_STRIP"
2680 fi
2681
2682 fi
2683 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2684
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2686 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2687 if test -z "$MKDIR_P"; then
2688 if ${ac_cv_path_mkdir+:} false; then :
2689 $as_echo_n "(cached) " >&6
2690 else
2691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2693 do
2694 IFS=$as_save_IFS
2695 test -z "$as_dir" && as_dir=.
2696 for ac_prog in mkdir gmkdir; do
2697 for ac_exec_ext in '' $ac_executable_extensions; do
2698 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2699 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2700 'mkdir (GNU coreutils) '* | \
2701 'mkdir (coreutils) '* | \
2702 'mkdir (fileutils) '4.1*)
2703 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2704 break 3;;
2705 esac
2706 done
2707 done
2708 done
2709 IFS=$as_save_IFS
2710
2711 fi
2712
2713 test -d ./--version && rmdir ./--version
2714 if test "${ac_cv_path_mkdir+set}" = set; then
2715 MKDIR_P="$ac_cv_path_mkdir -p"
2716 else
2717 # As a last resort, use the slow shell script. Don't cache a
2718 # value for MKDIR_P within a source directory, because that will
2719 # break other packages using the cache if that directory is
2720 # removed, or if the value is a relative name.
2721 MKDIR_P="$ac_install_sh -d"
2722 fi
2723 fi
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2725 $as_echo "$MKDIR_P" >&6; }
2726
2727 for ac_prog in gawk mawk nawk awk
2728 do
2729 # Extract the first word of "$ac_prog", so it can be a program name with args.
2730 set dummy $ac_prog; ac_word=$2
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2732 $as_echo_n "checking for $ac_word... " >&6; }
2733 if ${ac_cv_prog_AWK+:} false; then :
2734 $as_echo_n "(cached) " >&6
2735 else
2736 if test -n "$AWK"; then
2737 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2738 else
2739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740 for as_dir in $PATH
2741 do
2742 IFS=$as_save_IFS
2743 test -z "$as_dir" && as_dir=.
2744 for ac_exec_ext in '' $ac_executable_extensions; do
2745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2746 ac_cv_prog_AWK="$ac_prog"
2747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2748 break 2
2749 fi
2750 done
2751 done
2752 IFS=$as_save_IFS
2753
2754 fi
2755 fi
2756 AWK=$ac_cv_prog_AWK
2757 if test -n "$AWK"; then
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2759 $as_echo "$AWK" >&6; }
2760 else
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2762 $as_echo "no" >&6; }
2763 fi
2764
2765
2766 test -n "$AWK" && break
2767 done
2768
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2770 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2771 set x ${MAKE-make}
2772 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2773 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2774 $as_echo_n "(cached) " >&6
2775 else
2776 cat >conftest.make <<\_ACEOF
2777 SHELL = /bin/sh
2778 all:
2779 @echo '@@@%%%=$(MAKE)=@@@%%%'
2780 _ACEOF
2781 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2782 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2783 *@@@%%%=?*=@@@%%%*)
2784 eval ac_cv_prog_make_${ac_make}_set=yes;;
2785 *)
2786 eval ac_cv_prog_make_${ac_make}_set=no;;
2787 esac
2788 rm -f conftest.make
2789 fi
2790 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2792 $as_echo "yes" >&6; }
2793 SET_MAKE=
2794 else
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2797 SET_MAKE="MAKE=${MAKE-make}"
2798 fi
2799
2800 rm -rf .tst 2>/dev/null
2801 mkdir .tst 2>/dev/null
2802 if test -d .tst; then
2803 am__leading_dot=.
2804 else
2805 am__leading_dot=_
2806 fi
2807 rmdir .tst 2>/dev/null
2808
2809 # Check whether --enable-silent-rules was given.
2810 if test "${enable_silent_rules+set}" = set; then :
2811 enableval=$enable_silent_rules;
2812 fi
2813
2814 case $enable_silent_rules in # (((
2815 yes) AM_DEFAULT_VERBOSITY=0;;
2816 no) AM_DEFAULT_VERBOSITY=1;;
2817 *) AM_DEFAULT_VERBOSITY=1;;
2818 esac
2819 am_make=${MAKE-make}
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2821 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2822 if ${am_cv_make_support_nested_variables+:} false; then :
2823 $as_echo_n "(cached) " >&6
2824 else
2825 if $as_echo 'TRUE=$(BAR$(V))
2826 BAR0=false
2827 BAR1=true
2828 V=1
2829 am__doit:
2830 @$(TRUE)
2831 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2832 am_cv_make_support_nested_variables=yes
2833 else
2834 am_cv_make_support_nested_variables=no
2835 fi
2836 fi
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2838 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2839 if test $am_cv_make_support_nested_variables = yes; then
2840 AM_V='$(V)'
2841 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2842 else
2843 AM_V=$AM_DEFAULT_VERBOSITY
2844 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2845 fi
2846 AM_BACKSLASH='\'
2847
2848 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2849 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2850 # is not polluted with repeated "-I."
2851 am__isrc=' -I$(srcdir)'
2852 # test to see if srcdir already configured
2853 if test -f $srcdir/config.status; then
2854 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2855 fi
2856 fi
2857
2858 # test whether we have cygpath
2859 if test -z "$CYGPATH_W"; then
2860 if (cygpath --version) >/dev/null 2>/dev/null; then
2861 CYGPATH_W='cygpath -w'
2862 else
2863 CYGPATH_W=echo
2864 fi
2865 fi
2866
2867
2868 # Define the identity of the package.
2869 PACKAGE='barrage'
2870 VERSION='1.0.5'
2871
2872
2873 cat >>confdefs.h <<_ACEOF
2874 #define PACKAGE "$PACKAGE"
2875 _ACEOF
2876
2877
2878 cat >>confdefs.h <<_ACEOF
2879 #define VERSION "$VERSION"
2880 _ACEOF
2881
2882 # Some tools Automake needs.
2883
2884 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2885
2886
2887 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2888
2889
2890 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2891
2892
2893 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2894
2895
2896 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2897
2898 # For better backward compatibility. To be removed once Automake 1.9.x
2899 # dies out for good. For more background, see:
2900 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2901 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2902 mkdir_p='$(MKDIR_P)'
2903
2904 # We need awk for the "check" target (and possibly the TAP driver). The
2905 # system "awk" is bad on some platforms.
2906 # Always define AMTAR for backward compatibility. Yes, it's still used
2907 # in the wild :-( We should find a proper way to deprecate it ...
2908 AMTAR='$${TAR-tar}'
2909
2910
2911 # We'll loop over all known methods to create a tar archive until one works.
2912 _am_tools='gnutar pax cpio none'
2913
2914 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2915
2916
2917
2918
2919
2920
2921 # POSIX will say in a future version that running "rm -f" with no argument
2922 # is OK; and we want to be able to make that assumption in our Makefile
2923 # recipes. So use an aggressive probe to check that the usage we want is
2924 # actually supported "in the wild" to an acceptable degree.
2925 # See automake bug#10828.
2926 # To make any issue more visible, cause the running configure to be aborted
2927 # by default if the 'rm' program in use doesn't match our expectations; the
2928 # user can still override this though.
2929 if rm -f && rm -fr && rm -rf; then : OK; else
2930 cat >&2 <<'END'
2931 Oops!
2932
2933 Your 'rm' program seems unable to run without file operands specified
2934 on the command line, even when the '-f' option is present. This is contrary
2935 to the behaviour of most rm programs out there, and not conforming with
2936 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2937
2938 Please tell bug-automake@gnu.org about your system, including the value
2939 of your $PATH and any error possibly output before this message. This
2940 can help us improve future automake versions.
2941
2942 END
2943 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2944 echo 'Configuration will proceed anyway, since you have set the' >&2
2945 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2946 echo >&2
2947 else
2948 cat >&2 <<'END'
2949 Aborting the configuration process, to ensure you take notice of the issue.
2950
2951 You can download and install GNU coreutils to get an 'rm' implementation
2952 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2953
2954 If you want to complete the configuration process using your problematic
2955 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2956 to "yes", and re-run configure.
2957
2958 END
2959 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2960 fi
2961 fi
2962
2963
2964 DEPDIR="${am__leading_dot}deps"
2965
2966 ac_config_commands="$ac_config_commands depfiles"
2967
2968
2969 am_make=${MAKE-make}
2970 cat > confinc << 'END'
2971 am__doit:
2972 @echo this is the am__doit target
2973 .PHONY: am__doit
2974 END
2975 # If we don't find an include directive, just comment out the code.
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2977 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2978 am__include="#"
2979 am__quote=
2980 _am_result=none
2981 # First try GNU make style include.
2982 echo "include confinc" > confmf
2983 # Ignore all kinds of additional output from 'make'.
2984 case `$am_make -s -f confmf 2> /dev/null` in #(
2985 *the\ am__doit\ target*)
2986 am__include=include
2987 am__quote=
2988 _am_result=GNU
2989 ;;
2990 esac
2991 # Now try BSD make style include.
2992 if test "$am__include" = "#"; then
2993 echo '.include "confinc"' > confmf
2994 case `$am_make -s -f confmf 2> /dev/null` in #(
2995 *the\ am__doit\ target*)
2996 am__include=.include
2997 am__quote="\""
2998 _am_result=BSD
2999 ;;
3000 esac
3001 fi
3002
3003
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3005 $as_echo "$_am_result" >&6; }
3006 rm -f confinc confmf
3007
3008 # Check whether --enable-dependency-tracking was given.
3009 if test "${enable_dependency_tracking+set}" = set; then :
3010 enableval=$enable_dependency_tracking;
3011 fi
3012
3013 if test "x$enable_dependency_tracking" != xno; then
3014 am_depcomp="$ac_aux_dir/depcomp"
3015 AMDEPBACKSLASH='\'
3016 am__nodep='_no'
3017 fi
3018 if test "x$enable_dependency_tracking" != xno; then
3019 AMDEP_TRUE=
3020 AMDEP_FALSE='#'
3021 else
3022 AMDEP_TRUE='#'
3023 AMDEP_FALSE=
3024 fi
19073025
19083026
19093027 ac_ext=c
19143032 if test -n "$ac_tool_prefix"; then
19153033 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
19163034 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1919 if test "${ac_cv_prog_CC+set}" = set; then
1920 echo $ECHO_N "(cached) $ECHO_C" >&6
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3036 $as_echo_n "checking for $ac_word... " >&6; }
3037 if ${ac_cv_prog_CC+:} false; then :
3038 $as_echo_n "(cached) " >&6
19213039 else
19223040 if test -n "$CC"; then
19233041 ac_cv_prog_CC="$CC" # Let the user override the test.
19273045 do
19283046 IFS=$as_save_IFS
19293047 test -z "$as_dir" && as_dir=.
1930 for ac_exec_ext in '' $ac_executable_extensions; do
1931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3048 for ac_exec_ext in '' $ac_executable_extensions; do
3049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19323050 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19343052 break 2
19353053 fi
19363054 done
1937 done
3055 done
19383056 IFS=$as_save_IFS
19393057
19403058 fi
19413059 fi
19423060 CC=$ac_cv_prog_CC
19433061 if test -n "$CC"; then
1944 { echo "$as_me:$LINENO: result: $CC" >&5
1945 echo "${ECHO_T}$CC" >&6; }
1946 else
1947 { echo "$as_me:$LINENO: result: no" >&5
1948 echo "${ECHO_T}no" >&6; }
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3063 $as_echo "$CC" >&6; }
3064 else
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3066 $as_echo "no" >&6; }
19493067 fi
19503068
19513069
19543072 ac_ct_CC=$CC
19553073 # Extract the first word of "gcc", so it can be a program name with args.
19563074 set dummy gcc; ac_word=$2
1957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1959 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1960 echo $ECHO_N "(cached) $ECHO_C" >&6
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3076 $as_echo_n "checking for $ac_word... " >&6; }
3077 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3078 $as_echo_n "(cached) " >&6
19613079 else
19623080 if test -n "$ac_ct_CC"; then
19633081 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
19673085 do
19683086 IFS=$as_save_IFS
19693087 test -z "$as_dir" && as_dir=.
1970 for ac_exec_ext in '' $ac_executable_extensions; do
1971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3088 for ac_exec_ext in '' $ac_executable_extensions; do
3089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19723090 ac_cv_prog_ac_ct_CC="gcc"
1973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19743092 break 2
19753093 fi
19763094 done
1977 done
3095 done
19783096 IFS=$as_save_IFS
19793097
19803098 fi
19813099 fi
19823100 ac_ct_CC=$ac_cv_prog_ac_ct_CC
19833101 if test -n "$ac_ct_CC"; then
1984 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1985 echo "${ECHO_T}$ac_ct_CC" >&6; }
1986 else
1987 { echo "$as_me:$LINENO: result: no" >&5
1988 echo "${ECHO_T}no" >&6; }
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3103 $as_echo "$ac_ct_CC" >&6; }
3104 else
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3106 $as_echo "no" >&6; }
19893107 fi
19903108
19913109 if test "x$ac_ct_CC" = x; then
19933111 else
19943112 case $cross_compiling:$ac_tool_warned in
19953113 yes:)
1996 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1997 whose name does not start with the host triplet. If you think this
1998 configuration is useful to you, please write to autoconf@gnu.org." >&5
1999 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2000 whose name does not start with the host triplet. If you think this
2001 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20023116 ac_tool_warned=yes ;;
20033117 esac
20043118 CC=$ac_ct_CC
20113125 if test -n "$ac_tool_prefix"; then
20123126 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
20133127 set dummy ${ac_tool_prefix}cc; ac_word=$2
2014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2016 if test "${ac_cv_prog_CC+set}" = set; then
2017 echo $ECHO_N "(cached) $ECHO_C" >&6
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3129 $as_echo_n "checking for $ac_word... " >&6; }
3130 if ${ac_cv_prog_CC+:} false; then :
3131 $as_echo_n "(cached) " >&6
20183132 else
20193133 if test -n "$CC"; then
20203134 ac_cv_prog_CC="$CC" # Let the user override the test.
20243138 do
20253139 IFS=$as_save_IFS
20263140 test -z "$as_dir" && as_dir=.
2027 for ac_exec_ext in '' $ac_executable_extensions; do
2028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3141 for ac_exec_ext in '' $ac_executable_extensions; do
3142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20293143 ac_cv_prog_CC="${ac_tool_prefix}cc"
2030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20313145 break 2
20323146 fi
20333147 done
2034 done
3148 done
20353149 IFS=$as_save_IFS
20363150
20373151 fi
20383152 fi
20393153 CC=$ac_cv_prog_CC
20403154 if test -n "$CC"; then
2041 { echo "$as_me:$LINENO: result: $CC" >&5
2042 echo "${ECHO_T}$CC" >&6; }
2043 else
2044 { echo "$as_me:$LINENO: result: no" >&5
2045 echo "${ECHO_T}no" >&6; }
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3156 $as_echo "$CC" >&6; }
3157 else
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3159 $as_echo "no" >&6; }
20463160 fi
20473161
20483162
20513165 if test -z "$CC"; then
20523166 # Extract the first word of "cc", so it can be a program name with args.
20533167 set dummy cc; ac_word=$2
2054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2056 if test "${ac_cv_prog_CC+set}" = set; then
2057 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3169 $as_echo_n "checking for $ac_word... " >&6; }
3170 if ${ac_cv_prog_CC+:} false; then :
3171 $as_echo_n "(cached) " >&6
20583172 else
20593173 if test -n "$CC"; then
20603174 ac_cv_prog_CC="$CC" # Let the user override the test.
20653179 do
20663180 IFS=$as_save_IFS
20673181 test -z "$as_dir" && as_dir=.
2068 for ac_exec_ext in '' $ac_executable_extensions; do
2069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3182 for ac_exec_ext in '' $ac_executable_extensions; do
3183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20703184 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
20713185 ac_prog_rejected=yes
20723186 continue
20733187 fi
20743188 ac_cv_prog_CC="cc"
2075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20763190 break 2
20773191 fi
20783192 done
2079 done
3193 done
20803194 IFS=$as_save_IFS
20813195
20823196 if test $ac_prog_rejected = yes; then
20953209 fi
20963210 CC=$ac_cv_prog_CC
20973211 if test -n "$CC"; then
2098 { echo "$as_me:$LINENO: result: $CC" >&5
2099 echo "${ECHO_T}$CC" >&6; }
2100 else
2101 { echo "$as_me:$LINENO: result: no" >&5
2102 echo "${ECHO_T}no" >&6; }
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3213 $as_echo "$CC" >&6; }
3214 else
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3216 $as_echo "no" >&6; }
21033217 fi
21043218
21053219
21103224 do
21113225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21123226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2113 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2115 if test "${ac_cv_prog_CC+set}" = set; then
2116 echo $ECHO_N "(cached) $ECHO_C" >&6
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3228 $as_echo_n "checking for $ac_word... " >&6; }
3229 if ${ac_cv_prog_CC+:} false; then :
3230 $as_echo_n "(cached) " >&6
21173231 else
21183232 if test -n "$CC"; then
21193233 ac_cv_prog_CC="$CC" # Let the user override the test.
21233237 do
21243238 IFS=$as_save_IFS
21253239 test -z "$as_dir" && as_dir=.
2126 for ac_exec_ext in '' $ac_executable_extensions; do
2127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3240 for ac_exec_ext in '' $ac_executable_extensions; do
3241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21283242 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21303244 break 2
21313245 fi
21323246 done
2133 done
3247 done
21343248 IFS=$as_save_IFS
21353249
21363250 fi
21373251 fi
21383252 CC=$ac_cv_prog_CC
21393253 if test -n "$CC"; then
2140 { echo "$as_me:$LINENO: result: $CC" >&5
2141 echo "${ECHO_T}$CC" >&6; }
2142 else
2143 { echo "$as_me:$LINENO: result: no" >&5
2144 echo "${ECHO_T}no" >&6; }
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3255 $as_echo "$CC" >&6; }
3256 else
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3258 $as_echo "no" >&6; }
21453259 fi
21463260
21473261
21543268 do
21553269 # Extract the first word of "$ac_prog", so it can be a program name with args.
21563270 set dummy $ac_prog; ac_word=$2
2157 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2159 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2160 echo $ECHO_N "(cached) $ECHO_C" >&6
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3272 $as_echo_n "checking for $ac_word... " >&6; }
3273 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3274 $as_echo_n "(cached) " >&6
21613275 else
21623276 if test -n "$ac_ct_CC"; then
21633277 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
21673281 do
21683282 IFS=$as_save_IFS
21693283 test -z "$as_dir" && as_dir=.
2170 for ac_exec_ext in '' $ac_executable_extensions; do
2171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3284 for ac_exec_ext in '' $ac_executable_extensions; do
3285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21723286 ac_cv_prog_ac_ct_CC="$ac_prog"
2173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21743288 break 2
21753289 fi
21763290 done
2177 done
3291 done
21783292 IFS=$as_save_IFS
21793293
21803294 fi
21813295 fi
21823296 ac_ct_CC=$ac_cv_prog_ac_ct_CC
21833297 if test -n "$ac_ct_CC"; then
2184 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2185 echo "${ECHO_T}$ac_ct_CC" >&6; }
2186 else
2187 { echo "$as_me:$LINENO: result: no" >&5
2188 echo "${ECHO_T}no" >&6; }
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3299 $as_echo "$ac_ct_CC" >&6; }
3300 else
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3302 $as_echo "no" >&6; }
21893303 fi
21903304
21913305
21973311 else
21983312 case $cross_compiling:$ac_tool_warned in
21993313 yes:)
2200 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2201 whose name does not start with the host triplet. If you think this
2202 configuration is useful to you, please write to autoconf@gnu.org." >&5
2203 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2204 whose name does not start with the host triplet. If you think this
2205 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22063316 ac_tool_warned=yes ;;
22073317 esac
22083318 CC=$ac_ct_CC
22123322 fi
22133323
22143324
2215 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2216 See \`config.log' for more details." >&5
2217 echo "$as_me: error: no acceptable C compiler found in \$PATH
2218 See \`config.log' for more details." >&2;}
2219 { (exit 1); exit 1; }; }
3325 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3327 as_fn_error $? "no acceptable C compiler found in \$PATH
3328 See \`config.log' for more details" "$LINENO" 5; }
22203329
22213330 # Provide some information about the compiler.
2222 echo "$as_me:$LINENO: checking for C compiler version" >&5
2223 ac_compiler=`set X $ac_compile; echo $2`
2224 { (ac_try="$ac_compiler --version >&5"
3331 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3332 set X $ac_compile
3333 ac_compiler=$2
3334 for ac_option in --version -v -V -qversion; do
3335 { { ac_try="$ac_compiler $ac_option >&5"
22253336 case "(($ac_try" in
22263337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22273338 *) ac_try_echo=$ac_try;;
22283339 esac
2229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2230 (eval "$ac_compiler --version >&5") 2>&5
3340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3341 $as_echo "$ac_try_echo"; } >&5
3342 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
22313343 ac_status=$?
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); }
2234 { (ac_try="$ac_compiler -v >&5"
3344 if test -s conftest.err; then
3345 sed '10a\
3346 ... rest of stderr output deleted ...
3347 10q' conftest.err >conftest.er1
3348 cat conftest.er1 >&5
3349 fi
3350 rm -f conftest.er1 conftest.err
3351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3352 test $ac_status = 0; }
3353 done
3354
3355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3356 /* end confdefs.h. */
3357
3358 int
3359 main ()
3360 {
3361
3362 ;
3363 return 0;
3364 }
3365 _ACEOF
3366 ac_clean_files_save=$ac_clean_files
3367 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3368 # Try to create an executable without -o first, disregard a.out.
3369 # It will help us diagnose broken compilers, and finding out an intuition
3370 # of exeext.
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3372 $as_echo_n "checking whether the C compiler works... " >&6; }
3373 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3374
3375 # The possible output files:
3376 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3377
3378 ac_rmfiles=
3379 for ac_file in $ac_files
3380 do
3381 case $ac_file in
3382 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3383 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3384 esac
3385 done
3386 rm -f $ac_rmfiles
3387
3388 if { { ac_try="$ac_link_default"
22353389 case "(($ac_try" in
22363390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22373391 *) ac_try_echo=$ac_try;;
22383392 esac
2239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2240 (eval "$ac_compiler -v >&5") 2>&5
2241 ac_status=$?
2242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243 (exit $ac_status); }
2244 { (ac_try="$ac_compiler -V >&5"
2245 case "(($ac_try" in
2246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2247 *) ac_try_echo=$ac_try;;
2248 esac
2249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2250 (eval "$ac_compiler -V >&5") 2>&5
2251 ac_status=$?
2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253 (exit $ac_status); }
2254
2255 cat >conftest.$ac_ext <<_ACEOF
2256 /* confdefs.h. */
2257 _ACEOF
2258 cat confdefs.h >>conftest.$ac_ext
2259 cat >>conftest.$ac_ext <<_ACEOF
2260 /* end confdefs.h. */
2261
2262 int
2263 main ()
2264 {
2265
2266 ;
2267 return 0;
2268 }
2269 _ACEOF
2270 ac_clean_files_save=$ac_clean_files
2271 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2272 # Try to create an executable without -o first, disregard a.out.
2273 # It will help us diagnose broken compilers, and finding out an intuition
2274 # of exeext.
2275 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2276 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2277 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2278 #
2279 # List of possible output files, starting from the most likely.
2280 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2281 # only as a last resort. b.out is created by i960 compilers.
2282 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2283 #
2284 # The IRIX 6 linker writes into existing files which may not be
2285 # executable, retaining their permissions. Remove them first so a
2286 # subsequent execution test works.
2287 ac_rmfiles=
2288 for ac_file in $ac_files
2289 do
2290 case $ac_file in
2291 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2292 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2293 esac
2294 done
2295 rm -f $ac_rmfiles
2296
2297 if { (ac_try="$ac_link_default"
2298 case "(($ac_try" in
2299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2300 *) ac_try_echo=$ac_try;;
2301 esac
2302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3394 $as_echo "$ac_try_echo"; } >&5
23033395 (eval "$ac_link_default") 2>&5
23043396 ac_status=$?
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); }; then
3397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3398 test $ac_status = 0; }; then :
23073399 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
23083400 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
23093401 # in a Makefile. We should not override ac_cv_exeext if it was cached,
23133405 do
23143406 test -f "$ac_file" || continue
23153407 case $ac_file in
2316 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3408 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
23173409 ;;
23183410 [ab].out )
23193411 # We found the default executable, but exeext='' is most
23203412 # certainly right.
23213413 break;;
23223414 *.* )
2323 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3415 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
23243416 then :; else
23253417 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
23263418 fi
23393431 else
23403432 ac_file=''
23413433 fi
2342
2343 { echo "$as_me:$LINENO: result: $ac_file" >&5
2344 echo "${ECHO_T}$ac_file" >&6; }
2345 if test -z "$ac_file"; then
2346 echo "$as_me: failed program was:" >&5
3434 if test -z "$ac_file"; then :
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3436 $as_echo "no" >&6; }
3437 $as_echo "$as_me: failed program was:" >&5
23473438 sed 's/^/| /' conftest.$ac_ext >&5
23483439
2349 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2350 See \`config.log' for more details." >&5
2351 echo "$as_me: error: C compiler cannot create executables
2352 See \`config.log' for more details." >&2;}
2353 { (exit 77); exit 77; }; }
2354 fi
2355
3440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3442 as_fn_error 77 "C compiler cannot create executables
3443 See \`config.log' for more details" "$LINENO" 5; }
3444 else
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3446 $as_echo "yes" >&6; }
3447 fi
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3449 $as_echo_n "checking for C compiler default output file name... " >&6; }
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3451 $as_echo "$ac_file" >&6; }
23563452 ac_exeext=$ac_cv_exeext
23573453
2358 # Check that the compiler produces executables we can run. If not, either
2359 # the compiler is broken, or we cross compile.
2360 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2361 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2362 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2363 # If not cross compiling, check that we can run a simple program.
2364 if test "$cross_compiling" != yes; then
2365 if { ac_try='./$ac_file'
2366 { (case "(($ac_try" in
2367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2368 *) ac_try_echo=$ac_try;;
2369 esac
2370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2371 (eval "$ac_try") 2>&5
2372 ac_status=$?
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }; }; then
2375 cross_compiling=no
2376 else
2377 if test "$cross_compiling" = maybe; then
2378 cross_compiling=yes
2379 else
2380 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2381 If you meant to cross compile, use \`--host'.
2382 See \`config.log' for more details." >&5
2383 echo "$as_me: error: cannot run C compiled programs.
2384 If you meant to cross compile, use \`--host'.
2385 See \`config.log' for more details." >&2;}
2386 { (exit 1); exit 1; }; }
2387 fi
2388 fi
2389 fi
2390 { echo "$as_me:$LINENO: result: yes" >&5
2391 echo "${ECHO_T}yes" >&6; }
2392
2393 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3454 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
23943455 ac_clean_files=$ac_clean_files_save
2395 # Check that the compiler produces executables we can run. If not, either
2396 # the compiler is broken, or we cross compile.
2397 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2398 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2399 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2400 echo "${ECHO_T}$cross_compiling" >&6; }
2401
2402 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2403 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2404 if { (ac_try="$ac_link"
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3457 $as_echo_n "checking for suffix of executables... " >&6; }
3458 if { { ac_try="$ac_link"
24053459 case "(($ac_try" in
24063460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24073461 *) ac_try_echo=$ac_try;;
24083462 esac
2409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3464 $as_echo "$ac_try_echo"; } >&5
24103465 (eval "$ac_link") 2>&5
24113466 ac_status=$?
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }; then
3467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3468 test $ac_status = 0; }; then :
24143469 # If both `conftest.exe' and `conftest' are `present' (well, observable)
24153470 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
24163471 # work properly (i.e., refer to `conftest.exe'), while it won't with
24183473 for ac_file in conftest.exe conftest conftest.*; do
24193474 test -f "$ac_file" || continue
24203475 case $ac_file in
2421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3476 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
24223477 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
24233478 break;;
24243479 * ) break;;
24253480 esac
24263481 done
24273482 else
2428 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2429 See \`config.log' for more details." >&5
2430 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2431 See \`config.log' for more details." >&2;}
2432 { (exit 1); exit 1; }; }
2433 fi
2434
2435 rm -f conftest$ac_cv_exeext
2436 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2437 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3485 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3486 See \`config.log' for more details" "$LINENO" 5; }
3487 fi
3488 rm -f conftest conftest$ac_cv_exeext
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3490 $as_echo "$ac_cv_exeext" >&6; }
24383491
24393492 rm -f conftest.$ac_ext
24403493 EXEEXT=$ac_cv_exeext
24413494 ac_exeext=$EXEEXT
2442 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2443 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2444 if test "${ac_cv_objext+set}" = set; then
2445 echo $ECHO_N "(cached) $ECHO_C" >&6
2446 else
2447 cat >conftest.$ac_ext <<_ACEOF
2448 /* confdefs.h. */
2449 _ACEOF
2450 cat confdefs.h >>conftest.$ac_ext
2451 cat >>conftest.$ac_ext <<_ACEOF
3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24523496 /* end confdefs.h. */
2453
3497 #include <stdio.h>
24543498 int
24553499 main ()
24563500 {
3501 FILE *f = fopen ("conftest.out", "w");
3502 return ferror (f) || fclose (f) != 0;
24573503
24583504 ;
24593505 return 0;
24603506 }
24613507 _ACEOF
2462 rm -f conftest.o conftest.obj
2463 if { (ac_try="$ac_compile"
3508 ac_clean_files="$ac_clean_files conftest.out"
3509 # Check that the compiler produces executables we can run. If not, either
3510 # the compiler is broken, or we cross compile.
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3512 $as_echo_n "checking whether we are cross compiling... " >&6; }
3513 if test "$cross_compiling" != yes; then
3514 { { ac_try="$ac_link"
24643515 case "(($ac_try" in
24653516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24663517 *) ac_try_echo=$ac_try;;
24673518 esac
2468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3520 $as_echo "$ac_try_echo"; } >&5
3521 (eval "$ac_link") 2>&5
3522 ac_status=$?
3523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3524 test $ac_status = 0; }
3525 if { ac_try='./conftest$ac_cv_exeext'
3526 { { case "(($ac_try" in
3527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3528 *) ac_try_echo=$ac_try;;
3529 esac
3530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3531 $as_echo "$ac_try_echo"; } >&5
3532 (eval "$ac_try") 2>&5
3533 ac_status=$?
3534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3535 test $ac_status = 0; }; }; then
3536 cross_compiling=no
3537 else
3538 if test "$cross_compiling" = maybe; then
3539 cross_compiling=yes
3540 else
3541 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3543 as_fn_error $? "cannot run C compiled programs.
3544 If you meant to cross compile, use \`--host'.
3545 See \`config.log' for more details" "$LINENO" 5; }
3546 fi
3547 fi
3548 fi
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3550 $as_echo "$cross_compiling" >&6; }
3551
3552 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3553 ac_clean_files=$ac_clean_files_save
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3555 $as_echo_n "checking for suffix of object files... " >&6; }
3556 if ${ac_cv_objext+:} false; then :
3557 $as_echo_n "(cached) " >&6
3558 else
3559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560 /* end confdefs.h. */
3561
3562 int
3563 main ()
3564 {
3565
3566 ;
3567 return 0;
3568 }
3569 _ACEOF
3570 rm -f conftest.o conftest.obj
3571 if { { ac_try="$ac_compile"
3572 case "(($ac_try" in
3573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3574 *) ac_try_echo=$ac_try;;
3575 esac
3576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3577 $as_echo "$ac_try_echo"; } >&5
24693578 (eval "$ac_compile") 2>&5
24703579 ac_status=$?
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); }; then
3580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3581 test $ac_status = 0; }; then :
24733582 for ac_file in conftest.o conftest.obj conftest.*; do
24743583 test -f "$ac_file" || continue;
24753584 case $ac_file in
2476 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3585 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
24773586 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
24783587 break;;
24793588 esac
24803589 done
24813590 else
2482 echo "$as_me: failed program was:" >&5
3591 $as_echo "$as_me: failed program was:" >&5
24833592 sed 's/^/| /' conftest.$ac_ext >&5
24843593
2485 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2486 See \`config.log' for more details." >&5
2487 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2488 See \`config.log' for more details." >&2;}
2489 { (exit 1); exit 1; }; }
2490 fi
2491
3594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3596 as_fn_error $? "cannot compute suffix of object files: cannot compile
3597 See \`config.log' for more details" "$LINENO" 5; }
3598 fi
24923599 rm -f conftest.$ac_cv_objext conftest.$ac_ext
24933600 fi
2494 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2495 echo "${ECHO_T}$ac_cv_objext" >&6; }
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3602 $as_echo "$ac_cv_objext" >&6; }
24963603 OBJEXT=$ac_cv_objext
24973604 ac_objext=$OBJEXT
2498 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2499 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2500 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2501 echo $ECHO_N "(cached) $ECHO_C" >&6
2502 else
2503 cat >conftest.$ac_ext <<_ACEOF
2504 /* confdefs.h. */
2505 _ACEOF
2506 cat confdefs.h >>conftest.$ac_ext
2507 cat >>conftest.$ac_ext <<_ACEOF
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3606 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3607 if ${ac_cv_c_compiler_gnu+:} false; then :
3608 $as_echo_n "(cached) " >&6
3609 else
3610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25083611 /* end confdefs.h. */
25093612
25103613 int
25183621 return 0;
25193622 }
25203623 _ACEOF
2521 rm -f conftest.$ac_objext
2522 if { (ac_try="$ac_compile"
2523 case "(($ac_try" in
2524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2525 *) ac_try_echo=$ac_try;;
2526 esac
2527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2528 (eval "$ac_compile") 2>conftest.er1
2529 ac_status=$?
2530 grep -v '^ *+' conftest.er1 >conftest.err
2531 rm -f conftest.er1
2532 cat conftest.err >&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); } && {
2535 test -z "$ac_c_werror_flag" ||
2536 test ! -s conftest.err
2537 } && test -s conftest.$ac_objext; then
3624 if ac_fn_c_try_compile "$LINENO"; then :
25383625 ac_compiler_gnu=yes
25393626 else
2540 echo "$as_me: failed program was:" >&5
2541 sed 's/^/| /' conftest.$ac_ext >&5
2542
2543 ac_compiler_gnu=no
2544 fi
2545
3627 ac_compiler_gnu=no
3628 fi
25463629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25473630 ac_cv_c_compiler_gnu=$ac_compiler_gnu
25483631
25493632 fi
2550 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2551 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2552 GCC=`test $ac_compiler_gnu = yes && echo yes`
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3634 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3635 if test $ac_compiler_gnu = yes; then
3636 GCC=yes
3637 else
3638 GCC=
3639 fi
25533640 ac_test_CFLAGS=${CFLAGS+set}
25543641 ac_save_CFLAGS=$CFLAGS
2555 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2556 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2557 if test "${ac_cv_prog_cc_g+set}" = set; then
2558 echo $ECHO_N "(cached) $ECHO_C" >&6
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3643 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3644 if ${ac_cv_prog_cc_g+:} false; then :
3645 $as_echo_n "(cached) " >&6
25593646 else
25603647 ac_save_c_werror_flag=$ac_c_werror_flag
25613648 ac_c_werror_flag=yes
25623649 ac_cv_prog_cc_g=no
25633650 CFLAGS="-g"
2564 cat >conftest.$ac_ext <<_ACEOF
2565 /* confdefs.h. */
2566 _ACEOF
2567 cat confdefs.h >>conftest.$ac_ext
2568 cat >>conftest.$ac_ext <<_ACEOF
3651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25693652 /* end confdefs.h. */
25703653
25713654 int
25763659 return 0;
25773660 }
25783661 _ACEOF
2579 rm -f conftest.$ac_objext
2580 if { (ac_try="$ac_compile"
2581 case "(($ac_try" in
2582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583 *) ac_try_echo=$ac_try;;
2584 esac
2585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2586 (eval "$ac_compile") 2>conftest.er1
2587 ac_status=$?
2588 grep -v '^ *+' conftest.er1 >conftest.err
2589 rm -f conftest.er1
2590 cat conftest.err >&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); } && {
2593 test -z "$ac_c_werror_flag" ||
2594 test ! -s conftest.err
2595 } && test -s conftest.$ac_objext; then
3662 if ac_fn_c_try_compile "$LINENO"; then :
25963663 ac_cv_prog_cc_g=yes
25973664 else
2598 echo "$as_me: failed program was:" >&5
2599 sed 's/^/| /' conftest.$ac_ext >&5
2600
2601 CFLAGS=""
2602 cat >conftest.$ac_ext <<_ACEOF
2603 /* confdefs.h. */
2604 _ACEOF
2605 cat confdefs.h >>conftest.$ac_ext
2606 cat >>conftest.$ac_ext <<_ACEOF
3665 CFLAGS=""
3666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26073667 /* end confdefs.h. */
26083668
26093669 int
26143674 return 0;
26153675 }
26163676 _ACEOF
2617 rm -f conftest.$ac_objext
2618 if { (ac_try="$ac_compile"
2619 case "(($ac_try" in
2620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2621 *) ac_try_echo=$ac_try;;
2622 esac
2623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2624 (eval "$ac_compile") 2>conftest.er1
2625 ac_status=$?
2626 grep -v '^ *+' conftest.er1 >conftest.err
2627 rm -f conftest.er1
2628 cat conftest.err >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); } && {
2631 test -z "$ac_c_werror_flag" ||
2632 test ! -s conftest.err
2633 } && test -s conftest.$ac_objext; then
2634 :
2635 else
2636 echo "$as_me: failed program was:" >&5
2637 sed 's/^/| /' conftest.$ac_ext >&5
2638
2639 ac_c_werror_flag=$ac_save_c_werror_flag
3677 if ac_fn_c_try_compile "$LINENO"; then :
3678
3679 else
3680 ac_c_werror_flag=$ac_save_c_werror_flag
26403681 CFLAGS="-g"
2641 cat >conftest.$ac_ext <<_ACEOF
2642 /* confdefs.h. */
2643 _ACEOF
2644 cat confdefs.h >>conftest.$ac_ext
2645 cat >>conftest.$ac_ext <<_ACEOF
3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26463683 /* end confdefs.h. */
26473684
26483685 int
26533690 return 0;
26543691 }
26553692 _ACEOF
2656 rm -f conftest.$ac_objext
2657 if { (ac_try="$ac_compile"
2658 case "(($ac_try" in
2659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2660 *) ac_try_echo=$ac_try;;
2661 esac
2662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2663 (eval "$ac_compile") 2>conftest.er1
2664 ac_status=$?
2665 grep -v '^ *+' conftest.er1 >conftest.err
2666 rm -f conftest.er1
2667 cat conftest.err >&5
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); } && {
2670 test -z "$ac_c_werror_flag" ||
2671 test ! -s conftest.err
2672 } && test -s conftest.$ac_objext; then
3693 if ac_fn_c_try_compile "$LINENO"; then :
26733694 ac_cv_prog_cc_g=yes
2674 else
2675 echo "$as_me: failed program was:" >&5
2676 sed 's/^/| /' conftest.$ac_ext >&5
2677
2678
2679 fi
2680
3695 fi
26813696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26823697 fi
2683
26843698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26853699 fi
2686
26873700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26883701 ac_c_werror_flag=$ac_save_c_werror_flag
26893702 fi
2690 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2691 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3704 $as_echo "$ac_cv_prog_cc_g" >&6; }
26923705 if test "$ac_test_CFLAGS" = set; then
26933706 CFLAGS=$ac_save_CFLAGS
26943707 elif test $ac_cv_prog_cc_g = yes; then
27043717 CFLAGS=
27053718 fi
27063719 fi
2707 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2708 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2709 if test "${ac_cv_prog_cc_c89+set}" = set; then
2710 echo $ECHO_N "(cached) $ECHO_C" >&6
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3721 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3722 if ${ac_cv_prog_cc_c89+:} false; then :
3723 $as_echo_n "(cached) " >&6
27113724 else
27123725 ac_cv_prog_cc_c89=no
27133726 ac_save_CC=$CC
2714 cat >conftest.$ac_ext <<_ACEOF
2715 /* confdefs.h. */
2716 _ACEOF
2717 cat confdefs.h >>conftest.$ac_ext
2718 cat >>conftest.$ac_ext <<_ACEOF
3727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27193728 /* end confdefs.h. */
27203729 #include <stdarg.h>
27213730 #include <stdio.h>
2722 #include <sys/types.h>
2723 #include <sys/stat.h>
3731 struct stat;
27243732 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
27253733 struct buf { int x; };
27263734 FILE * (*rcsopen) (struct buf *, struct stat *, int);
27723780 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
27733781 do
27743782 CC="$ac_save_CC $ac_arg"
2775 rm -f conftest.$ac_objext
2776 if { (ac_try="$ac_compile"
2777 case "(($ac_try" in
2778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2779 *) ac_try_echo=$ac_try;;
2780 esac
2781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2782 (eval "$ac_compile") 2>conftest.er1
2783 ac_status=$?
2784 grep -v '^ *+' conftest.er1 >conftest.err
2785 rm -f conftest.er1
2786 cat conftest.err >&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); } && {
2789 test -z "$ac_c_werror_flag" ||
2790 test ! -s conftest.err
2791 } && test -s conftest.$ac_objext; then
3783 if ac_fn_c_try_compile "$LINENO"; then :
27923784 ac_cv_prog_cc_c89=$ac_arg
2793 else
2794 echo "$as_me: failed program was:" >&5
2795 sed 's/^/| /' conftest.$ac_ext >&5
2796
2797
2798 fi
2799
3785 fi
28003786 rm -f core conftest.err conftest.$ac_objext
28013787 test "x$ac_cv_prog_cc_c89" != "xno" && break
28023788 done
28073793 # AC_CACHE_VAL
28083794 case "x$ac_cv_prog_cc_c89" in
28093795 x)
2810 { echo "$as_me:$LINENO: result: none needed" >&5
2811 echo "${ECHO_T}none needed" >&6; } ;;
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3797 $as_echo "none needed" >&6; } ;;
28123798 xno)
2813 { echo "$as_me:$LINENO: result: unsupported" >&5
2814 echo "${ECHO_T}unsupported" >&6; } ;;
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3800 $as_echo "unsupported" >&6; } ;;
28153801 *)
28163802 CC="$CC $ac_cv_prog_cc_c89"
2817 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2818 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3804 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
28193805 esac
2820
3806 if test "x$ac_cv_prog_cc_c89" != xno; then :
3807
3808 fi
28213809
28223810 ac_ext=c
28233811 ac_cpp='$CPP $CPPFLAGS'
28253813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28263814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28273815
2828
28293816 ac_ext=c
28303817 ac_cpp='$CPP $CPPFLAGS'
28313818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28323819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28333820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2834 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2835 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2836 # On Suns, sometimes $CPP names a directory.
2837 if test -n "$CPP" && test -d "$CPP"; then
2838 CPP=
2839 fi
2840 if test -z "$CPP"; then
2841 if test "${ac_cv_prog_CPP+set}" = set; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
2843 else
2844 # Double quotes because CPP needs to be expanded
2845 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2846 do
2847 ac_preproc_ok=false
2848 for ac_c_preproc_warn_flag in '' yes
2849 do
2850 # Use a header file that comes with gcc, so configuring glibc
2851 # with a fresh cross-compiler works.
2852 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2853 # <limits.h> exists even on freestanding compilers.
2854 # On the NeXT, cc -E runs the code through the compiler's parser,
2855 # not just through cpp. "Syntax error" is here to catch this case.
2856 cat >conftest.$ac_ext <<_ACEOF
2857 /* confdefs.h. */
2858 _ACEOF
2859 cat confdefs.h >>conftest.$ac_ext
2860 cat >>conftest.$ac_ext <<_ACEOF
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3822 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3823 if ${am_cv_prog_cc_c_o+:} false; then :
3824 $as_echo_n "(cached) " >&6
3825 else
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28613827 /* end confdefs.h. */
2862 #ifdef __STDC__
2863 # include <limits.h>
2864 #else
2865 # include <assert.h>
2866 #endif
2867 Syntax error
2868 _ACEOF
2869 if { (ac_try="$ac_cpp conftest.$ac_ext"
2870 case "(($ac_try" in
2871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2872 *) ac_try_echo=$ac_try;;
2873 esac
2874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2875 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2876 ac_status=$?
2877 grep -v '^ *+' conftest.er1 >conftest.err
2878 rm -f conftest.er1
2879 cat conftest.err >&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); } >/dev/null && {
2882 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2883 test ! -s conftest.err
2884 }; then
2885 :
2886 else
2887 echo "$as_me: failed program was:" >&5
2888 sed 's/^/| /' conftest.$ac_ext >&5
2889
2890 # Broken: fails on valid input.
2891 continue
2892 fi
2893
2894 rm -f conftest.err conftest.$ac_ext
2895
2896 # OK, works on sane cases. Now check whether nonexistent headers
2897 # can be detected and how.
2898 cat >conftest.$ac_ext <<_ACEOF
2899 /* confdefs.h. */
2900 _ACEOF
2901 cat confdefs.h >>conftest.$ac_ext
2902 cat >>conftest.$ac_ext <<_ACEOF
2903 /* end confdefs.h. */
2904 #include <ac_nonexistent.h>
2905 _ACEOF
2906 if { (ac_try="$ac_cpp conftest.$ac_ext"
2907 case "(($ac_try" in
2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2910 esac
2911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2912 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2913 ac_status=$?
2914 grep -v '^ *+' conftest.er1 >conftest.err
2915 rm -f conftest.er1
2916 cat conftest.err >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); } >/dev/null && {
2919 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2920 test ! -s conftest.err
2921 }; then
2922 # Broken: success on invalid input.
2923 continue
2924 else
2925 echo "$as_me: failed program was:" >&5
2926 sed 's/^/| /' conftest.$ac_ext >&5
2927
2928 # Passes both tests.
2929 ac_preproc_ok=:
2930 break
2931 fi
2932
2933 rm -f conftest.err conftest.$ac_ext
2934
2935 done
2936 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2937 rm -f conftest.err conftest.$ac_ext
2938 if $ac_preproc_ok; then
2939 break
2940 fi
2941
2942 done
2943 ac_cv_prog_CPP=$CPP
2944
2945 fi
2946 CPP=$ac_cv_prog_CPP
2947 else
2948 ac_cv_prog_CPP=$CPP
2949 fi
2950 { echo "$as_me:$LINENO: result: $CPP" >&5
2951 echo "${ECHO_T}$CPP" >&6; }
2952 ac_preproc_ok=false
2953 for ac_c_preproc_warn_flag in '' yes
2954 do
2955 # Use a header file that comes with gcc, so configuring glibc
2956 # with a fresh cross-compiler works.
2957 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2958 # <limits.h> exists even on freestanding compilers.
2959 # On the NeXT, cc -E runs the code through the compiler's parser,
2960 # not just through cpp. "Syntax error" is here to catch this case.
2961 cat >conftest.$ac_ext <<_ACEOF
2962 /* confdefs.h. */
2963 _ACEOF
2964 cat confdefs.h >>conftest.$ac_ext
2965 cat >>conftest.$ac_ext <<_ACEOF
2966 /* end confdefs.h. */
2967 #ifdef __STDC__
2968 # include <limits.h>
2969 #else
2970 # include <assert.h>
2971 #endif
2972 Syntax error
2973 _ACEOF
2974 if { (ac_try="$ac_cpp conftest.$ac_ext"
2975 case "(($ac_try" in
2976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
2978 esac
2979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2980 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2981 ac_status=$?
2982 grep -v '^ *+' conftest.er1 >conftest.err
2983 rm -f conftest.er1
2984 cat conftest.err >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); } >/dev/null && {
2987 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2988 test ! -s conftest.err
2989 }; then
2990 :
2991 else
2992 echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2994
2995 # Broken: fails on valid input.
2996 continue
2997 fi
2998
2999 rm -f conftest.err conftest.$ac_ext
3000
3001 # OK, works on sane cases. Now check whether nonexistent headers
3002 # can be detected and how.
3003 cat >conftest.$ac_ext <<_ACEOF
3004 /* confdefs.h. */
3005 _ACEOF
3006 cat confdefs.h >>conftest.$ac_ext
3007 cat >>conftest.$ac_ext <<_ACEOF
3008 /* end confdefs.h. */
3009 #include <ac_nonexistent.h>
3010 _ACEOF
3011 if { (ac_try="$ac_cpp conftest.$ac_ext"
3012 case "(($ac_try" in
3013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014 *) ac_try_echo=$ac_try;;
3015 esac
3016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3017 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3018 ac_status=$?
3019 grep -v '^ *+' conftest.er1 >conftest.err
3020 rm -f conftest.er1
3021 cat conftest.err >&5
3022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023 (exit $ac_status); } >/dev/null && {
3024 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3025 test ! -s conftest.err
3026 }; then
3027 # Broken: success on invalid input.
3028 continue
3029 else
3030 echo "$as_me: failed program was:" >&5
3031 sed 's/^/| /' conftest.$ac_ext >&5
3032
3033 # Passes both tests.
3034 ac_preproc_ok=:
3035 break
3036 fi
3037
3038 rm -f conftest.err conftest.$ac_ext
3039
3040 done
3041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3042 rm -f conftest.err conftest.$ac_ext
3043 if $ac_preproc_ok; then
3044 :
3045 else
3046 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3047 See \`config.log' for more details." >&5
3048 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3049 See \`config.log' for more details." >&2;}
3050 { (exit 1); exit 1; }; }
3051 fi
3052
3828
3829 int
3830 main ()
3831 {
3832
3833 ;
3834 return 0;
3835 }
3836 _ACEOF
3837 # Make sure it works both with $CC and with simple cc.
3838 # Following AC_PROG_CC_C_O, we do the test twice because some
3839 # compilers refuse to overwrite an existing .o file with -o,
3840 # though they will create one.
3841 am_cv_prog_cc_c_o=yes
3842 for am_i in 1 2; do
3843 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3844 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3845 ac_status=$?
3846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3847 (exit $ac_status); } \
3848 && test -f conftest2.$ac_objext; then
3849 : OK
3850 else
3851 am_cv_prog_cc_c_o=no
3852 break
3853 fi
3854 done
3855 rm -f core conftest*
3856 unset am_i
3857 fi
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3859 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3860 if test "$am_cv_prog_cc_c_o" != yes; then
3861 # Losing compiler, so override with the script.
3862 # FIXME: It is wrong to rewrite CC.
3863 # But if we don't then we get into trouble of one sort or another.
3864 # A longer-term fix would be to have automake use am__CC in this case,
3865 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3866 CC="$am_aux_dir/compile $CC"
3867 fi
30533868 ac_ext=c
30543869 ac_cpp='$CPP $CPPFLAGS'
30553870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30573872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30583873
30593874
3060 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3061 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3062 if test "${ac_cv_path_GREP+set}" = set; then
3063 echo $ECHO_N "(cached) $ECHO_C" >&6
3064 else
3065 # Extract the first word of "grep ggrep" to use in msg output
3066 if test -z "$GREP"; then
3067 set dummy grep ggrep; ac_prog_name=$2
3068 if test "${ac_cv_path_GREP+set}" = set; then
3069 echo $ECHO_N "(cached) $ECHO_C" >&6
3070 else
3071 ac_path_GREP_found=false
3072 # Loop through the user's path and test for each of PROGNAME-LIST
3073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3075 do
3076 IFS=$as_save_IFS
3077 test -z "$as_dir" && as_dir=.
3078 for ac_prog in grep ggrep; do
3079 for ac_exec_ext in '' $ac_executable_extensions; do
3080 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3081 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3082 # Check for GNU ac_path_GREP and select it if it is found.
3083 # Check for GNU $ac_path_GREP
3084 case `"$ac_path_GREP" --version 2>&1` in
3085 *GNU*)
3086 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3087 *)
3088 ac_count=0
3089 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3090 while :
3091 do
3092 cat "conftest.in" "conftest.in" >"conftest.tmp"
3093 mv "conftest.tmp" "conftest.in"
3094 cp "conftest.in" "conftest.nl"
3095 echo 'GREP' >> "conftest.nl"
3096 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3097 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3098 ac_count=`expr $ac_count + 1`
3099 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3100 # Best one so far, save it but keep looking for a better one
3101 ac_cv_path_GREP="$ac_path_GREP"
3102 ac_path_GREP_max=$ac_count
3103 fi
3104 # 10*(2^10) chars as input seems more than enough
3105 test $ac_count -gt 10 && break
3106 done
3107 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3108 esac
3109
3110
3111 $ac_path_GREP_found && break 3
3112 done
3113 done
3114
3115 done
3116 IFS=$as_save_IFS
3117
3118
3119 fi
3120
3121 GREP="$ac_cv_path_GREP"
3122 if test -z "$GREP"; then
3123 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3124 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3125 { (exit 1); exit 1; }; }
3126 fi
3127
3128 else
3129 ac_cv_path_GREP=$GREP
3130 fi
3131
3132
3133 fi
3134 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3135 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3136 GREP="$ac_cv_path_GREP"
3137
3138
3139 { echo "$as_me:$LINENO: checking for egrep" >&5
3140 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3141 if test "${ac_cv_path_EGREP+set}" = set; then
3142 echo $ECHO_N "(cached) $ECHO_C" >&6
3143 else
3144 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3145 then ac_cv_path_EGREP="$GREP -E"
3146 else
3147 # Extract the first word of "egrep" to use in msg output
3148 if test -z "$EGREP"; then
3149 set dummy egrep; ac_prog_name=$2
3150 if test "${ac_cv_path_EGREP+set}" = set; then
3151 echo $ECHO_N "(cached) $ECHO_C" >&6
3152 else
3153 ac_path_EGREP_found=false
3154 # Loop through the user's path and test for each of PROGNAME-LIST
3155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3156 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3157 do
3158 IFS=$as_save_IFS
3159 test -z "$as_dir" && as_dir=.
3160 for ac_prog in egrep; do
3161 for ac_exec_ext in '' $ac_executable_extensions; do
3162 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3163 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3164 # Check for GNU ac_path_EGREP and select it if it is found.
3165 # Check for GNU $ac_path_EGREP
3166 case `"$ac_path_EGREP" --version 2>&1` in
3167 *GNU*)
3168 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3169 *)
3170 ac_count=0
3171 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3172 while :
3173 do
3174 cat "conftest.in" "conftest.in" >"conftest.tmp"
3175 mv "conftest.tmp" "conftest.in"
3176 cp "conftest.in" "conftest.nl"
3177 echo 'EGREP' >> "conftest.nl"
3178 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3179 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3180 ac_count=`expr $ac_count + 1`
3181 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3182 # Best one so far, save it but keep looking for a better one
3183 ac_cv_path_EGREP="$ac_path_EGREP"
3184 ac_path_EGREP_max=$ac_count
3185 fi
3186 # 10*(2^10) chars as input seems more than enough
3187 test $ac_count -gt 10 && break
3188 done
3189 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3190 esac
3191
3192
3193 $ac_path_EGREP_found && break 3
3194 done
3195 done
3196
3197 done
3198 IFS=$as_save_IFS
3199
3200
3201 fi
3202
3203 EGREP="$ac_cv_path_EGREP"
3204 if test -z "$EGREP"; then
3205 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3206 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3207 { (exit 1); exit 1; }; }
3208 fi
3209
3210 else
3211 ac_cv_path_EGREP=$EGREP
3212 fi
3213
3214
3215 fi
3216 fi
3217 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3218 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3219 EGREP="$ac_cv_path_EGREP"
3220
3221
3222
3223 { echo "$as_me:$LINENO: checking for AIX" >&5
3224 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3225 cat >conftest.$ac_ext <<_ACEOF
3226 /* confdefs.h. */
3227 _ACEOF
3228 cat confdefs.h >>conftest.$ac_ext
3229 cat >>conftest.$ac_ext <<_ACEOF
3230 /* end confdefs.h. */
3231 #ifdef _AIX
3232 yes
3233 #endif
3234
3235 _ACEOF
3236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3237 $EGREP "yes" >/dev/null 2>&1; then
3238 { echo "$as_me:$LINENO: result: yes" >&5
3239 echo "${ECHO_T}yes" >&6; }
3240 cat >>confdefs.h <<\_ACEOF
3241 #define _ALL_SOURCE 1
3242 _ACEOF
3243
3244 else
3245 { echo "$as_me:$LINENO: result: no" >&5
3246 echo "${ECHO_T}no" >&6; }
3247 fi
3248 rm -f conftest*
3249
3250
3251 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3252 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3253 if test "${ac_cv_header_stdc+set}" = set; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3255 else
3256 cat >conftest.$ac_ext <<_ACEOF
3257 /* confdefs.h. */
3258 _ACEOF
3259 cat confdefs.h >>conftest.$ac_ext
3260 cat >>conftest.$ac_ext <<_ACEOF
3261 /* end confdefs.h. */
3262 #include <stdlib.h>
3263 #include <stdarg.h>
3264 #include <string.h>
3265 #include <float.h>
3266
3267 int
3268 main ()
3269 {
3270
3271 ;
3272 return 0;
3273 }
3274 _ACEOF
3275 rm -f conftest.$ac_objext
3276 if { (ac_try="$ac_compile"
3277 case "(($ac_try" in
3278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279 *) ac_try_echo=$ac_try;;
3280 esac
3281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3282 (eval "$ac_compile") 2>conftest.er1
3283 ac_status=$?
3284 grep -v '^ *+' conftest.er1 >conftest.err
3285 rm -f conftest.er1
3286 cat conftest.err >&5
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); } && {
3289 test -z "$ac_c_werror_flag" ||
3290 test ! -s conftest.err
3291 } && test -s conftest.$ac_objext; then
3292 ac_cv_header_stdc=yes
3293 else
3294 echo "$as_me: failed program was:" >&5
3295 sed 's/^/| /' conftest.$ac_ext >&5
3296
3297 ac_cv_header_stdc=no
3298 fi
3299
3300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3301
3302 if test $ac_cv_header_stdc = yes; then
3303 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3304 cat >conftest.$ac_ext <<_ACEOF
3305 /* confdefs.h. */
3306 _ACEOF
3307 cat confdefs.h >>conftest.$ac_ext
3308 cat >>conftest.$ac_ext <<_ACEOF
3309 /* end confdefs.h. */
3310 #include <string.h>
3311
3312 _ACEOF
3313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3314 $EGREP "memchr" >/dev/null 2>&1; then
3315 :
3316 else
3317 ac_cv_header_stdc=no
3318 fi
3319 rm -f conftest*
3320
3321 fi
3322
3323 if test $ac_cv_header_stdc = yes; then
3324 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3325 cat >conftest.$ac_ext <<_ACEOF
3326 /* confdefs.h. */
3327 _ACEOF
3328 cat confdefs.h >>conftest.$ac_ext
3329 cat >>conftest.$ac_ext <<_ACEOF
3330 /* end confdefs.h. */
3331 #include <stdlib.h>
3332
3333 _ACEOF
3334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3335 $EGREP "free" >/dev/null 2>&1; then
3336 :
3337 else
3338 ac_cv_header_stdc=no
3339 fi
3340 rm -f conftest*
3341
3342 fi
3343
3344 if test $ac_cv_header_stdc = yes; then
3345 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3346 if test "$cross_compiling" = yes; then
3347 :
3348 else
3349 cat >conftest.$ac_ext <<_ACEOF
3350 /* confdefs.h. */
3351 _ACEOF
3352 cat confdefs.h >>conftest.$ac_ext
3353 cat >>conftest.$ac_ext <<_ACEOF
3354 /* end confdefs.h. */
3355 #include <ctype.h>
3356 #include <stdlib.h>
3357 #if ((' ' & 0x0FF) == 0x020)
3358 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3359 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3360 #else
3361 # define ISLOWER(c) \
3362 (('a' <= (c) && (c) <= 'i') \
3363 || ('j' <= (c) && (c) <= 'r') \
3364 || ('s' <= (c) && (c) <= 'z'))
3365 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3366 #endif
3367
3368 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3369 int
3370 main ()
3371 {
3372 int i;
3373 for (i = 0; i < 256; i++)
3374 if (XOR (islower (i), ISLOWER (i))
3375 || toupper (i) != TOUPPER (i))
3376 return 2;
3377 return 0;
3378 }
3379 _ACEOF
3380 rm -f conftest$ac_exeext
3381 if { (ac_try="$ac_link"
3382 case "(($ac_try" in
3383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3384 *) ac_try_echo=$ac_try;;
3385 esac
3386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3387 (eval "$ac_link") 2>&5
3388 ac_status=$?
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3391 { (case "(($ac_try" in
3392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3393 *) ac_try_echo=$ac_try;;
3394 esac
3395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3396 (eval "$ac_try") 2>&5
3397 ac_status=$?
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); }; }; then
3400 :
3401 else
3402 echo "$as_me: program exited with status $ac_status" >&5
3403 echo "$as_me: failed program was:" >&5
3404 sed 's/^/| /' conftest.$ac_ext >&5
3405
3406 ( exit $ac_status )
3407 ac_cv_header_stdc=no
3408 fi
3409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3410 fi
3411
3412
3413 fi
3414 fi
3415 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3416 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3417 if test $ac_cv_header_stdc = yes; then
3418
3419 cat >>confdefs.h <<\_ACEOF
3420 #define STDC_HEADERS 1
3421 _ACEOF
3422
3423 fi
3424
3425 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3436 inttypes.h stdint.h unistd.h
3437 do
3438 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3439 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3441 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3442 echo $ECHO_N "(cached) $ECHO_C" >&6
3443 else
3444 cat >conftest.$ac_ext <<_ACEOF
3445 /* confdefs.h. */
3446 _ACEOF
3447 cat confdefs.h >>conftest.$ac_ext
3448 cat >>conftest.$ac_ext <<_ACEOF
3449 /* end confdefs.h. */
3450 $ac_includes_default
3451
3452 #include <$ac_header>
3453 _ACEOF
3454 rm -f conftest.$ac_objext
3455 if { (ac_try="$ac_compile"
3456 case "(($ac_try" in
3457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458 *) ac_try_echo=$ac_try;;
3459 esac
3460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3461 (eval "$ac_compile") 2>conftest.er1
3462 ac_status=$?
3463 grep -v '^ *+' conftest.er1 >conftest.err
3464 rm -f conftest.er1
3465 cat conftest.err >&5
3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467 (exit $ac_status); } && {
3468 test -z "$ac_c_werror_flag" ||
3469 test ! -s conftest.err
3470 } && test -s conftest.$ac_objext; then
3471 eval "$as_ac_Header=yes"
3472 else
3473 echo "$as_me: failed program was:" >&5
3474 sed 's/^/| /' conftest.$ac_ext >&5
3475
3476 eval "$as_ac_Header=no"
3477 fi
3478
3479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3480 fi
3481 ac_res=`eval echo '${'$as_ac_Header'}'`
3482 { echo "$as_me:$LINENO: result: $ac_res" >&5
3483 echo "${ECHO_T}$ac_res" >&6; }
3484 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3485 cat >>confdefs.h <<_ACEOF
3486 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3487 _ACEOF
3488
3489 fi
3490
3491 done
3492
3493
3494 if test "${ac_cv_header_minix_config_h+set}" = set; then
3495 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3496 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3497 if test "${ac_cv_header_minix_config_h+set}" = set; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3499 fi
3500 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3501 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3502 else
3503 # Is the header compilable?
3504 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3505 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3506 cat >conftest.$ac_ext <<_ACEOF
3507 /* confdefs.h. */
3508 _ACEOF
3509 cat confdefs.h >>conftest.$ac_ext
3510 cat >>conftest.$ac_ext <<_ACEOF
3511 /* end confdefs.h. */
3512 $ac_includes_default
3513 #include <minix/config.h>
3514 _ACEOF
3515 rm -f conftest.$ac_objext
3516 if { (ac_try="$ac_compile"
3517 case "(($ac_try" in
3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519 *) ac_try_echo=$ac_try;;
3520 esac
3521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3522 (eval "$ac_compile") 2>conftest.er1
3523 ac_status=$?
3524 grep -v '^ *+' conftest.er1 >conftest.err
3525 rm -f conftest.er1
3526 cat conftest.err >&5
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); } && {
3529 test -z "$ac_c_werror_flag" ||
3530 test ! -s conftest.err
3531 } && test -s conftest.$ac_objext; then
3532 ac_header_compiler=yes
3533 else
3534 echo "$as_me: failed program was:" >&5
3535 sed 's/^/| /' conftest.$ac_ext >&5
3536
3537 ac_header_compiler=no
3538 fi
3539
3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3541 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3542 echo "${ECHO_T}$ac_header_compiler" >&6; }
3543
3544 # Is the header present?
3545 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3546 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
3547 cat >conftest.$ac_ext <<_ACEOF
3548 /* confdefs.h. */
3549 _ACEOF
3550 cat confdefs.h >>conftest.$ac_ext
3551 cat >>conftest.$ac_ext <<_ACEOF
3552 /* end confdefs.h. */
3553 #include <minix/config.h>
3554 _ACEOF
3555 if { (ac_try="$ac_cpp conftest.$ac_ext"
3556 case "(($ac_try" in
3557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3558 *) ac_try_echo=$ac_try;;
3559 esac
3560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3562 ac_status=$?
3563 grep -v '^ *+' conftest.er1 >conftest.err
3564 rm -f conftest.er1
3565 cat conftest.err >&5
3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567 (exit $ac_status); } >/dev/null && {
3568 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3569 test ! -s conftest.err
3570 }; then
3571 ac_header_preproc=yes
3572 else
3573 echo "$as_me: failed program was:" >&5
3574 sed 's/^/| /' conftest.$ac_ext >&5
3575
3576 ac_header_preproc=no
3577 fi
3578
3579 rm -f conftest.err conftest.$ac_ext
3580 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3581 echo "${ECHO_T}$ac_header_preproc" >&6; }
3582
3583 # So? What about this header?
3584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3585 yes:no: )
3586 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3587 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3588 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3589 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3590 ac_header_preproc=yes
3591 ;;
3592 no:yes:* )
3593 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3594 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3595 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3596 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3597 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3598 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3599 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3600 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3601 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3602 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3603 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3604 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3605
3606 ;;
3607 esac
3608 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3609 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3610 if test "${ac_cv_header_minix_config_h+set}" = set; then
3611 echo $ECHO_N "(cached) $ECHO_C" >&6
3612 else
3613 ac_cv_header_minix_config_h=$ac_header_preproc
3614 fi
3615 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3616 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3617
3618 fi
3619 if test $ac_cv_header_minix_config_h = yes; then
3620 MINIX=yes
3621 else
3622 MINIX=
3623 fi
3624
3625
3626 if test "$MINIX" = yes; then
3627
3628 cat >>confdefs.h <<\_ACEOF
3629 #define _POSIX_SOURCE 1
3630 _ACEOF
3631
3632
3633 cat >>confdefs.h <<\_ACEOF
3634 #define _POSIX_1_SOURCE 2
3635 _ACEOF
3636
3637
3638 cat >>confdefs.h <<\_ACEOF
3639 #define _MINIX 1
3640 _ACEOF
3641
3642 fi
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3655 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
3656 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3657 echo $ECHO_N "(cached) $ECHO_C" >&6
3658 else
3659 cat >conftest.$ac_ext <<_ACEOF
3660 /* confdefs.h. */
3661 _ACEOF
3662 cat confdefs.h >>conftest.$ac_ext
3663 cat >>conftest.$ac_ext <<_ACEOF
3664 /* end confdefs.h. */
3665
3666 # define __EXTENSIONS__ 1
3667 $ac_includes_default
3668 int
3669 main ()
3670 {
3671
3672 ;
3673 return 0;
3674 }
3675 _ACEOF
3676 rm -f conftest.$ac_objext
3677 if { (ac_try="$ac_compile"
3678 case "(($ac_try" in
3679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3680 *) ac_try_echo=$ac_try;;
3681 esac
3682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3683 (eval "$ac_compile") 2>conftest.er1
3684 ac_status=$?
3685 grep -v '^ *+' conftest.er1 >conftest.err
3686 rm -f conftest.er1
3687 cat conftest.err >&5
3688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3689 (exit $ac_status); } && {
3690 test -z "$ac_c_werror_flag" ||
3691 test ! -s conftest.err
3692 } && test -s conftest.$ac_objext; then
3693 ac_cv_safe_to_define___extensions__=yes
3694 else
3695 echo "$as_me: failed program was:" >&5
3696 sed 's/^/| /' conftest.$ac_ext >&5
3697
3698 ac_cv_safe_to_define___extensions__=no
3699 fi
3700
3701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3702 fi
3703 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3704 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
3705 test $ac_cv_safe_to_define___extensions__ = yes &&
3706 cat >>confdefs.h <<\_ACEOF
3707 #define __EXTENSIONS__ 1
3708 _ACEOF
3709
3710 cat >>confdefs.h <<\_ACEOF
3711 #define _POSIX_PTHREAD_SEMANTICS 1
3712 _ACEOF
3713
3714 cat >>confdefs.h <<\_ACEOF
3715 #define _TANDEM_SOURCE 1
3716 _ACEOF
3717
3718
3719
3720 ac_config_headers="$ac_config_headers config.h"
3721
3722
3723 am__api_version="1.9"
3724 # Find a good install program. We prefer a C program (faster),
3725 # so one script is as good as another. But avoid the broken or
3726 # incompatible versions:
3727 # SysV /etc/install, /usr/sbin/install
3728 # SunOS /usr/etc/install
3729 # IRIX /sbin/install
3730 # AIX /bin/install
3731 # AmigaOS /C/install, which installs bootblocks on floppy discs
3732 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3733 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3734 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3735 # OS/2's system install, which has a completely different semantic
3736 # ./install, which can be erroneously created by make from ./install.sh.
3737 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3738 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3739 if test -z "$INSTALL"; then
3740 if test "${ac_cv_path_install+set}" = set; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3742 else
3743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3744 for as_dir in $PATH
3745 do
3746 IFS=$as_save_IFS
3747 test -z "$as_dir" && as_dir=.
3748 # Account for people who put trailing slashes in PATH elements.
3749 case $as_dir/ in
3750 ./ | .// | /cC/* | \
3751 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3752 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3753 /usr/ucb/* ) ;;
3754 *)
3755 # OSF1 and SCO ODT 3.0 have their own names for install.
3756 # Don't use installbsd from OSF since it installs stuff as root
3757 # by default.
3758 for ac_prog in ginstall scoinst install; do
3759 for ac_exec_ext in '' $ac_executable_extensions; do
3760 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3761 if test $ac_prog = install &&
3762 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3763 # AIX install. It has an incompatible calling convention.
3764 :
3765 elif test $ac_prog = install &&
3766 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3767 # program-specific install script used by HP pwplus--don't use.
3768 :
3769 else
3770 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3771 break 3
3772 fi
3773 fi
3774 done
3775 done
3776 ;;
3777 esac
3778 done
3779 IFS=$as_save_IFS
3780
3781
3782 fi
3783 if test "${ac_cv_path_install+set}" = set; then
3784 INSTALL=$ac_cv_path_install
3785 else
3786 # As a last resort, use the slow shell script. Don't cache a
3787 # value for INSTALL within a source directory, because that will
3788 # break other packages using the cache if that directory is
3789 # removed, or if the value is a relative name.
3790 INSTALL=$ac_install_sh
3791 fi
3792 fi
3793 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3794 echo "${ECHO_T}$INSTALL" >&6; }
3795
3796 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3797 # It thinks the first close brace ends the variable substitution.
3798 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3799
3800 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3801
3802 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3803
3804 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3805 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
3806 # Just in case
3807 sleep 1
3808 echo timestamp > conftest.file
3809 # Do `set' in a subshell so we don't clobber the current shell's
3810 # arguments. Must try -L first in case configure is actually a
3811 # symlink; some systems play weird games with the mod time of symlinks
3812 # (eg FreeBSD returns the mod time of the symlink's containing
3813 # directory).
3814 if (
3815 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3816 if test "$*" = "X"; then
3817 # -L didn't work.
3818 set X `ls -t $srcdir/configure conftest.file`
3819 fi
3820 rm -f conftest.file
3821 if test "$*" != "X $srcdir/configure conftest.file" \
3822 && test "$*" != "X conftest.file $srcdir/configure"; then
3823
3824 # If neither matched, then we have a broken ls. This can happen
3825 # if, for instance, CONFIG_SHELL is bash and it inherits a
3826 # broken ls alias from the environment. This has actually
3827 # happened. Such a system could not be considered "sane".
3828 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3829 alias in your environment" >&5
3830 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3831 alias in your environment" >&2;}
3832 { (exit 1); exit 1; }; }
3833 fi
3834
3835 test "$2" = conftest.file
3836 )
3837 then
3838 # Ok.
3839 :
3840 else
3841 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3842 Check your system clock" >&5
3843 echo "$as_me: error: newly created file is older than distributed files!
3844 Check your system clock" >&2;}
3845 { (exit 1); exit 1; }; }
3846 fi
3847 { echo "$as_me:$LINENO: result: yes" >&5
3848 echo "${ECHO_T}yes" >&6; }
3849 test "$program_prefix" != NONE &&
3850 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3851 # Use a double $ so make ignores it.
3852 test "$program_suffix" != NONE &&
3853 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3854 # Double any \ or $. echo might interpret backslashes.
3855 # By default was `s,x,x', remove it if useless.
3856 cat <<\_ACEOF >conftest.sed
3857 s/[\\$]/&&/g;s/;s,x,x,$//
3858 _ACEOF
3859 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
3860 rm -f conftest.sed
3861
3862 # expand $ac_aux_dir to an absolute path
3863 am_aux_dir=`cd $ac_aux_dir && pwd`
3864
3865 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
3866 # Use eval to expand $SHELL
3867 if eval "$MISSING --run true"; then
3868 am_missing_run="$MISSING --run "
3869 else
3870 am_missing_run=
3871 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3872 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3873 fi
3874
3875 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
3876 # We used to keeping the `.' as first argument, in order to
3877 # allow $(mkdir_p) to be used without argument. As in
3878 # $(mkdir_p) $(somedir)
3879 # where $(somedir) is conditionally defined. However this is wrong
3880 # for two reasons:
3881 # 1. if the package is installed by a user who cannot write `.'
3882 # make install will fail,
3883 # 2. the above comment should most certainly read
3884 # $(mkdir_p) $(DESTDIR)$(somedir)
3885 # so it does not work when $(somedir) is undefined and
3886 # $(DESTDIR) is not.
3887 # To support the latter case, we have to write
3888 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3889 # so the `.' trick is pointless.
3890 mkdir_p='mkdir -p --'
3891 else
3892 # On NextStep and OpenStep, the `mkdir' command does not
3893 # recognize any option. It will interpret all options as
3894 # directories to create, and then abort because `.' already
3895 # exists.
3896 for d in ./-p ./--version;
3897 do
3898 test -d $d && rmdir $d
3899 done
3900 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3901 if test -f "$ac_aux_dir/mkinstalldirs"; then
3902 mkdir_p='$(mkinstalldirs)'
3903 else
3904 mkdir_p='$(install_sh) -d'
3905 fi
3906 fi
3907
3908 for ac_prog in gawk mawk nawk awk
3909 do
3910 # Extract the first word of "$ac_prog", so it can be a program name with args.
3911 set dummy $ac_prog; ac_word=$2
3912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3914 if test "${ac_cv_prog_AWK+set}" = set; then
3915 echo $ECHO_N "(cached) $ECHO_C" >&6
3916 else
3917 if test -n "$AWK"; then
3918 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3919 else
3920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3921 for as_dir in $PATH
3922 do
3923 IFS=$as_save_IFS
3924 test -z "$as_dir" && as_dir=.
3925 for ac_exec_ext in '' $ac_executable_extensions; do
3926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3927 ac_cv_prog_AWK="$ac_prog"
3928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3929 break 2
3930 fi
3931 done
3932 done
3933 IFS=$as_save_IFS
3934
3935 fi
3936 fi
3937 AWK=$ac_cv_prog_AWK
3938 if test -n "$AWK"; then
3939 { echo "$as_me:$LINENO: result: $AWK" >&5
3940 echo "${ECHO_T}$AWK" >&6; }
3941 else
3942 { echo "$as_me:$LINENO: result: no" >&5
3943 echo "${ECHO_T}no" >&6; }
3944 fi
3945
3946
3947 test -n "$AWK" && break
3948 done
3949
3950 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3951 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3952 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3953 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3954 echo $ECHO_N "(cached) $ECHO_C" >&6
3955 else
3956 cat >conftest.make <<\_ACEOF
3957 SHELL = /bin/sh
3958 all:
3959 @echo '@@@%%%=$(MAKE)=@@@%%%'
3960 _ACEOF
3961 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3962 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3963 *@@@%%%=?*=@@@%%%*)
3964 eval ac_cv_prog_make_${ac_make}_set=yes;;
3965 *)
3966 eval ac_cv_prog_make_${ac_make}_set=no;;
3967 esac
3968 rm -f conftest.make
3969 fi
3970 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3971 { echo "$as_me:$LINENO: result: yes" >&5
3972 echo "${ECHO_T}yes" >&6; }
3973 SET_MAKE=
3974 else
3975 { echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6; }
3977 SET_MAKE="MAKE=${MAKE-make}"
3978 fi
3979
3980 rm -rf .tst 2>/dev/null
3981 mkdir .tst 2>/dev/null
3982 if test -d .tst; then
3983 am__leading_dot=.
3984 else
3985 am__leading_dot=_
3986 fi
3987 rmdir .tst 2>/dev/null
3988
3989 DEPDIR="${am__leading_dot}deps"
3990
3991 ac_config_commands="$ac_config_commands depfiles"
3992
3993
3994 am_make=${MAKE-make}
3995 cat > confinc << 'END'
3996 am__doit:
3997 @echo done
3998 .PHONY: am__doit
3999 END
4000 # If we don't find an include directive, just comment out the code.
4001 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
4002 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
4003 am__include="#"
4004 am__quote=
4005 _am_result=none
4006 # First try GNU make style include.
4007 echo "include confinc" > confmf
4008 # We grep out `Entering directory' and `Leaving directory'
4009 # messages which can occur if `w' ends up in MAKEFLAGS.
4010 # In particular we don't look at `^make:' because GNU make might
4011 # be invoked under some other name (usually "gmake"), in which
4012 # case it prints its new name instead of `make'.
4013 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
4014 am__include=include
4015 am__quote=
4016 _am_result=GNU
4017 fi
4018 # Now try BSD make style include.
4019 if test "$am__include" = "#"; then
4020 echo '.include "confinc"' > confmf
4021 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
4022 am__include=.include
4023 am__quote="\""
4024 _am_result=BSD
4025 fi
4026 fi
4027
4028
4029 { echo "$as_me:$LINENO: result: $_am_result" >&5
4030 echo "${ECHO_T}$_am_result" >&6; }
4031 rm -f confinc confmf
4032
4033 # Check whether --enable-dependency-tracking was given.
4034 if test "${enable_dependency_tracking+set}" = set; then
4035 enableval=$enable_dependency_tracking;
4036 fi
4037
4038 if test "x$enable_dependency_tracking" != xno; then
4039 am_depcomp="$ac_aux_dir/depcomp"
4040 AMDEPBACKSLASH='\'
4041 fi
4042
4043
4044 if test "x$enable_dependency_tracking" != xno; then
4045 AMDEP_TRUE=
4046 AMDEP_FALSE='#'
4047 else
4048 AMDEP_TRUE='#'
4049 AMDEP_FALSE=
4050 fi
4051
4052
4053
4054 # test to see if srcdir already configured
4055 if test "`cd $srcdir && pwd`" != "`pwd`" &&
4056 test -f $srcdir/config.status; then
4057 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
4058 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
4059 { (exit 1); exit 1; }; }
4060 fi
4061
4062 # test whether we have cygpath
4063 if test -z "$CYGPATH_W"; then
4064 if (cygpath --version) >/dev/null 2>/dev/null; then
4065 CYGPATH_W='cygpath -w'
4066 else
4067 CYGPATH_W=echo
4068 fi
4069 fi
4070
4071
4072 # Define the identity of the package.
4073 PACKAGE=barrage
4074 VERSION=1.0.4
4075
4076
4077 cat >>confdefs.h <<_ACEOF
4078 #define PACKAGE "$PACKAGE"
4079 _ACEOF
4080
4081
4082 cat >>confdefs.h <<_ACEOF
4083 #define VERSION "$VERSION"
4084 _ACEOF
4085
4086 # Some tools Automake needs.
4087
4088 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4089
4090
4091 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4092
4093
4094 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4095
4096
4097 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4098
4099
4100 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4101
4102 install_sh=${install_sh-"$am_aux_dir/install-sh"}
4103
4104 # Installed binaries are usually stripped using `strip' when the user
4105 # run `make install-strip'. However `strip' might not be the right
4106 # tool to use in cross-compilation environments, therefore Automake
4107 # will honor the `STRIP' environment variable to overrule this program.
4108 if test "$cross_compiling" != no; then
4109 if test -n "$ac_tool_prefix"; then
4110 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4111 set dummy ${ac_tool_prefix}strip; ac_word=$2
4112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4114 if test "${ac_cv_prog_STRIP+set}" = set; then
4115 echo $ECHO_N "(cached) $ECHO_C" >&6
4116 else
4117 if test -n "$STRIP"; then
4118 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4119 else
4120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4121 for as_dir in $PATH
4122 do
4123 IFS=$as_save_IFS
4124 test -z "$as_dir" && as_dir=.
4125 for ac_exec_ext in '' $ac_executable_extensions; do
4126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4127 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4129 break 2
4130 fi
4131 done
4132 done
4133 IFS=$as_save_IFS
4134
4135 fi
4136 fi
4137 STRIP=$ac_cv_prog_STRIP
4138 if test -n "$STRIP"; then
4139 { echo "$as_me:$LINENO: result: $STRIP" >&5
4140 echo "${ECHO_T}$STRIP" >&6; }
4141 else
4142 { echo "$as_me:$LINENO: result: no" >&5
4143 echo "${ECHO_T}no" >&6; }
4144 fi
4145
4146
4147 fi
4148 if test -z "$ac_cv_prog_STRIP"; then
4149 ac_ct_STRIP=$STRIP
4150 # Extract the first word of "strip", so it can be a program name with args.
4151 set dummy strip; ac_word=$2
4152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4154 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4155 echo $ECHO_N "(cached) $ECHO_C" >&6
4156 else
4157 if test -n "$ac_ct_STRIP"; then
4158 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4159 else
4160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4161 for as_dir in $PATH
4162 do
4163 IFS=$as_save_IFS
4164 test -z "$as_dir" && as_dir=.
4165 for ac_exec_ext in '' $ac_executable_extensions; do
4166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4167 ac_cv_prog_ac_ct_STRIP="strip"
4168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4169 break 2
4170 fi
4171 done
4172 done
4173 IFS=$as_save_IFS
4174
4175 fi
4176 fi
4177 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4178 if test -n "$ac_ct_STRIP"; then
4179 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4180 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
4181 else
4182 { echo "$as_me:$LINENO: result: no" >&5
4183 echo "${ECHO_T}no" >&6; }
4184 fi
4185
4186 if test "x$ac_ct_STRIP" = x; then
4187 STRIP=":"
4188 else
4189 case $cross_compiling:$ac_tool_warned in
4190 yes:)
4191 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4192 whose name does not start with the host triplet. If you think this
4193 configuration is useful to you, please write to autoconf@gnu.org." >&5
4194 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4195 whose name does not start with the host triplet. If you think this
4196 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4197 ac_tool_warned=yes ;;
4198 esac
4199 STRIP=$ac_ct_STRIP
4200 fi
4201 else
4202 STRIP="$ac_cv_prog_STRIP"
4203 fi
4204
4205 fi
4206 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
4207
4208 # We need awk for the "check" target. The system "awk" is bad on
4209 # some platforms.
4210 # Always define AMTAR for backward compatibility.
4211
4212 AMTAR=${AMTAR-"${am_missing_run}tar"}
4213
4214 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
4215
4216
4217
4218
42193875 depcc="$CC" am_compiler_list=
42203876
4221 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4222 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4223 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4224 echo $ECHO_N "(cached) $ECHO_C" >&6
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3878 $as_echo_n "checking dependency style of $depcc... " >&6; }
3879 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3880 $as_echo_n "(cached) " >&6
42253881 else
42263882 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
42273883 # We make a subdir and do the tests there. Otherwise we can end up
42283884 # making bogus files that we don't know about and never remove. For
42293885 # instance it was reported that on HP-UX the gcc test will end up
4230 # making a dummy file named `D' -- because `-MD' means `put the output
4231 # in D'.
3886 # making a dummy file named 'D' -- because '-MD' means "put the output
3887 # in D".
3888 rm -rf conftest.dir
42323889 mkdir conftest.dir
42333890 # Copy depcomp to subdir because otherwise we won't find it if we're
42343891 # using a relative directory.
42463903 if test "$am_compiler_list" = ""; then
42473904 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
42483905 fi
3906 am__universal=false
3907 case " $depcc " in #(
3908 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3909 esac
3910
42493911 for depmode in $am_compiler_list; do
42503912 # Setup a source with many dependencies, because some compilers
42513913 # like to wrap large dependency lists on column 80 (with \), and
42573919 : > sub/conftest.c
42583920 for i in 1 2 3 4 5 6; do
42593921 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4260 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4261 # Solaris 8's {/usr,}/bin/sh.
4262 touch sub/conftst$i.h
3922 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3923 # Solaris 10 /bin/sh.
3924 echo '/* dummy */' > sub/conftst$i.h
42633925 done
42643926 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
42653927
3928 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3929 # mode. It turns out that the SunPro C++ compiler does not properly
3930 # handle '-M -o', and we need to detect this. Also, some Intel
3931 # versions had trouble with output in subdirs.
3932 am__obj=sub/conftest.${OBJEXT-o}
3933 am__minus_obj="-o $am__obj"
42663934 case $depmode in
3935 gcc)
3936 # This depmode causes a compiler race in universal mode.
3937 test "$am__universal" = false || continue
3938 ;;
42673939 nosideeffect)
4268 # after this tag, mechanisms are not by side-effect, so they'll
4269 # only be used when explicitly requested
3940 # After this tag, mechanisms are not by side-effect, so they'll
3941 # only be used when explicitly requested.
42703942 if test "x$enable_dependency_tracking" = xyes; then
42713943 continue
42723944 else
42733945 break
42743946 fi
42753947 ;;
3948 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3949 # This compiler won't grok '-c -o', but also, the minuso test has
3950 # not run yet. These depmodes are late enough in the game, and
3951 # so weak that their functioning should not be impacted.
3952 am__obj=conftest.${OBJEXT-o}
3953 am__minus_obj=
3954 ;;
42763955 none) break ;;
42773956 esac
4278 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4279 # mode. It turns out that the SunPro C++ compiler does not properly
4280 # handle `-M -o', and we need to detect this.
42813957 if depmode=$depmode \
4282 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3958 source=sub/conftest.c object=$am__obj \
42833959 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4284 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3960 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
42853961 >/dev/null 2>conftest.err &&
3962 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
42863963 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4287 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3964 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
42883965 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
42893966 # icc doesn't choke on unknown options, it will just issue warnings
42903967 # or remarks (even with -Werror). So we grep stderr for any message
43083985 fi
43093986
43103987 fi
4311 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4312 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3989 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
43133990 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
43143991
4315
4316
4317 if
3992 if
43183993 test "x$enable_dependency_tracking" != xno \
43193994 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
43203995 am__fastdepCC_TRUE=
43264001
43274002
43284003
4329
4004 ac_ext=c
4005 ac_cpp='$CPP $CPPFLAGS'
4006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4010 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4011 # On Suns, sometimes $CPP names a directory.
4012 if test -n "$CPP" && test -d "$CPP"; then
4013 CPP=
4014 fi
4015 if test -z "$CPP"; then
4016 if ${ac_cv_prog_CPP+:} false; then :
4017 $as_echo_n "(cached) " >&6
4018 else
4019 # Double quotes because CPP needs to be expanded
4020 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4021 do
4022 ac_preproc_ok=false
4023 for ac_c_preproc_warn_flag in '' yes
4024 do
4025 # Use a header file that comes with gcc, so configuring glibc
4026 # with a fresh cross-compiler works.
4027 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4028 # <limits.h> exists even on freestanding compilers.
4029 # On the NeXT, cc -E runs the code through the compiler's parser,
4030 # not just through cpp. "Syntax error" is here to catch this case.
4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h. */
4033 #ifdef __STDC__
4034 # include <limits.h>
4035 #else
4036 # include <assert.h>
4037 #endif
4038 Syntax error
4039 _ACEOF
4040 if ac_fn_c_try_cpp "$LINENO"; then :
4041
4042 else
4043 # Broken: fails on valid input.
4044 continue
4045 fi
4046 rm -f conftest.err conftest.i conftest.$ac_ext
4047
4048 # OK, works on sane cases. Now check whether nonexistent headers
4049 # can be detected and how.
4050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051 /* end confdefs.h. */
4052 #include <ac_nonexistent.h>
4053 _ACEOF
4054 if ac_fn_c_try_cpp "$LINENO"; then :
4055 # Broken: success on invalid input.
4056 continue
4057 else
4058 # Passes both tests.
4059 ac_preproc_ok=:
4060 break
4061 fi
4062 rm -f conftest.err conftest.i conftest.$ac_ext
4063
4064 done
4065 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4066 rm -f conftest.i conftest.err conftest.$ac_ext
4067 if $ac_preproc_ok; then :
4068 break
4069 fi
4070
4071 done
4072 ac_cv_prog_CPP=$CPP
4073
4074 fi
4075 CPP=$ac_cv_prog_CPP
4076 else
4077 ac_cv_prog_CPP=$CPP
4078 fi
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4080 $as_echo "$CPP" >&6; }
4081 ac_preproc_ok=false
4082 for ac_c_preproc_warn_flag in '' yes
4083 do
4084 # Use a header file that comes with gcc, so configuring glibc
4085 # with a fresh cross-compiler works.
4086 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4087 # <limits.h> exists even on freestanding compilers.
4088 # On the NeXT, cc -E runs the code through the compiler's parser,
4089 # not just through cpp. "Syntax error" is here to catch this case.
4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4092 #ifdef __STDC__
4093 # include <limits.h>
4094 #else
4095 # include <assert.h>
4096 #endif
4097 Syntax error
4098 _ACEOF
4099 if ac_fn_c_try_cpp "$LINENO"; then :
4100
4101 else
4102 # Broken: fails on valid input.
4103 continue
4104 fi
4105 rm -f conftest.err conftest.i conftest.$ac_ext
4106
4107 # OK, works on sane cases. Now check whether nonexistent headers
4108 # can be detected and how.
4109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h. */
4111 #include <ac_nonexistent.h>
4112 _ACEOF
4113 if ac_fn_c_try_cpp "$LINENO"; then :
4114 # Broken: success on invalid input.
4115 continue
4116 else
4117 # Passes both tests.
4118 ac_preproc_ok=:
4119 break
4120 fi
4121 rm -f conftest.err conftest.i conftest.$ac_ext
4122
4123 done
4124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4125 rm -f conftest.i conftest.err conftest.$ac_ext
4126 if $ac_preproc_ok; then :
4127
4128 else
4129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4131 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4132 See \`config.log' for more details" "$LINENO" 5; }
4133 fi
4134
4135 ac_ext=c
4136 ac_cpp='$CPP $CPPFLAGS'
4137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4140
4141
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4143 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4144 if ${ac_cv_path_GREP+:} false; then :
4145 $as_echo_n "(cached) " >&6
4146 else
4147 if test -z "$GREP"; then
4148 ac_path_GREP_found=false
4149 # Loop through the user's path and test for each of PROGNAME-LIST
4150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4151 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4152 do
4153 IFS=$as_save_IFS
4154 test -z "$as_dir" && as_dir=.
4155 for ac_prog in grep ggrep; do
4156 for ac_exec_ext in '' $ac_executable_extensions; do
4157 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4158 as_fn_executable_p "$ac_path_GREP" || continue
4159 # Check for GNU ac_path_GREP and select it if it is found.
4160 # Check for GNU $ac_path_GREP
4161 case `"$ac_path_GREP" --version 2>&1` in
4162 *GNU*)
4163 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4164 *)
4165 ac_count=0
4166 $as_echo_n 0123456789 >"conftest.in"
4167 while :
4168 do
4169 cat "conftest.in" "conftest.in" >"conftest.tmp"
4170 mv "conftest.tmp" "conftest.in"
4171 cp "conftest.in" "conftest.nl"
4172 $as_echo 'GREP' >> "conftest.nl"
4173 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4174 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4175 as_fn_arith $ac_count + 1 && ac_count=$as_val
4176 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4177 # Best one so far, save it but keep looking for a better one
4178 ac_cv_path_GREP="$ac_path_GREP"
4179 ac_path_GREP_max=$ac_count
4180 fi
4181 # 10*(2^10) chars as input seems more than enough
4182 test $ac_count -gt 10 && break
4183 done
4184 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4185 esac
4186
4187 $ac_path_GREP_found && break 3
4188 done
4189 done
4190 done
4191 IFS=$as_save_IFS
4192 if test -z "$ac_cv_path_GREP"; then
4193 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4194 fi
4195 else
4196 ac_cv_path_GREP=$GREP
4197 fi
4198
4199 fi
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4201 $as_echo "$ac_cv_path_GREP" >&6; }
4202 GREP="$ac_cv_path_GREP"
4203
4204
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4206 $as_echo_n "checking for egrep... " >&6; }
4207 if ${ac_cv_path_EGREP+:} false; then :
4208 $as_echo_n "(cached) " >&6
4209 else
4210 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4211 then ac_cv_path_EGREP="$GREP -E"
4212 else
4213 if test -z "$EGREP"; then
4214 ac_path_EGREP_found=false
4215 # Loop through the user's path and test for each of PROGNAME-LIST
4216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4217 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4218 do
4219 IFS=$as_save_IFS
4220 test -z "$as_dir" && as_dir=.
4221 for ac_prog in egrep; do
4222 for ac_exec_ext in '' $ac_executable_extensions; do
4223 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4224 as_fn_executable_p "$ac_path_EGREP" || continue
4225 # Check for GNU ac_path_EGREP and select it if it is found.
4226 # Check for GNU $ac_path_EGREP
4227 case `"$ac_path_EGREP" --version 2>&1` in
4228 *GNU*)
4229 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4230 *)
4231 ac_count=0
4232 $as_echo_n 0123456789 >"conftest.in"
4233 while :
4234 do
4235 cat "conftest.in" "conftest.in" >"conftest.tmp"
4236 mv "conftest.tmp" "conftest.in"
4237 cp "conftest.in" "conftest.nl"
4238 $as_echo 'EGREP' >> "conftest.nl"
4239 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4240 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4241 as_fn_arith $ac_count + 1 && ac_count=$as_val
4242 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4243 # Best one so far, save it but keep looking for a better one
4244 ac_cv_path_EGREP="$ac_path_EGREP"
4245 ac_path_EGREP_max=$ac_count
4246 fi
4247 # 10*(2^10) chars as input seems more than enough
4248 test $ac_count -gt 10 && break
4249 done
4250 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4251 esac
4252
4253 $ac_path_EGREP_found && break 3
4254 done
4255 done
4256 done
4257 IFS=$as_save_IFS
4258 if test -z "$ac_cv_path_EGREP"; then
4259 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4260 fi
4261 else
4262 ac_cv_path_EGREP=$EGREP
4263 fi
4264
4265 fi
4266 fi
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4268 $as_echo "$ac_cv_path_EGREP" >&6; }
4269 EGREP="$ac_cv_path_EGREP"
4270
4271
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4273 $as_echo_n "checking for ANSI C header files... " >&6; }
4274 if ${ac_cv_header_stdc+:} false; then :
4275 $as_echo_n "(cached) " >&6
4276 else
4277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4278 /* end confdefs.h. */
4279 #include <stdlib.h>
4280 #include <stdarg.h>
4281 #include <string.h>
4282 #include <float.h>
4283
4284 int
4285 main ()
4286 {
4287
4288 ;
4289 return 0;
4290 }
4291 _ACEOF
4292 if ac_fn_c_try_compile "$LINENO"; then :
4293 ac_cv_header_stdc=yes
4294 else
4295 ac_cv_header_stdc=no
4296 fi
4297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4298
4299 if test $ac_cv_header_stdc = yes; then
4300 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4302 /* end confdefs.h. */
4303 #include <string.h>
4304
4305 _ACEOF
4306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4307 $EGREP "memchr" >/dev/null 2>&1; then :
4308
4309 else
4310 ac_cv_header_stdc=no
4311 fi
4312 rm -f conftest*
4313
4314 fi
4315
4316 if test $ac_cv_header_stdc = yes; then
4317 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4319 /* end confdefs.h. */
4320 #include <stdlib.h>
4321
4322 _ACEOF
4323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4324 $EGREP "free" >/dev/null 2>&1; then :
4325
4326 else
4327 ac_cv_header_stdc=no
4328 fi
4329 rm -f conftest*
4330
4331 fi
4332
4333 if test $ac_cv_header_stdc = yes; then
4334 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4335 if test "$cross_compiling" = yes; then :
4336 :
4337 else
4338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4339 /* end confdefs.h. */
4340 #include <ctype.h>
4341 #include <stdlib.h>
4342 #if ((' ' & 0x0FF) == 0x020)
4343 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4344 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4345 #else
4346 # define ISLOWER(c) \
4347 (('a' <= (c) && (c) <= 'i') \
4348 || ('j' <= (c) && (c) <= 'r') \
4349 || ('s' <= (c) && (c) <= 'z'))
4350 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4351 #endif
4352
4353 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4354 int
4355 main ()
4356 {
4357 int i;
4358 for (i = 0; i < 256; i++)
4359 if (XOR (islower (i), ISLOWER (i))
4360 || toupper (i) != TOUPPER (i))
4361 return 2;
4362 return 0;
4363 }
4364 _ACEOF
4365 if ac_fn_c_try_run "$LINENO"; then :
4366
4367 else
4368 ac_cv_header_stdc=no
4369 fi
4370 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4371 conftest.$ac_objext conftest.beam conftest.$ac_ext
4372 fi
4373
4374 fi
4375 fi
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4377 $as_echo "$ac_cv_header_stdc" >&6; }
4378 if test $ac_cv_header_stdc = yes; then
4379
4380 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4381
4382 fi
4383
4384 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4385 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4386 inttypes.h stdint.h unistd.h
4387 do :
4388 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4389 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4390 "
4391 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4392 cat >>confdefs.h <<_ACEOF
4393 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4394 _ACEOF
4395
4396 fi
4397
4398 done
4399
4400
4401
4402 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4403 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4404 MINIX=yes
4405 else
4406 MINIX=
4407 fi
4408
4409
4410 if test "$MINIX" = yes; then
4411
4412 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4413
4414
4415 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4416
4417
4418 $as_echo "#define _MINIX 1" >>confdefs.h
4419
4420 fi
4421
4422
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4424 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4425 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4426 $as_echo_n "(cached) " >&6
4427 else
4428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4430
4431 # define __EXTENSIONS__ 1
4432 $ac_includes_default
4433 int
4434 main ()
4435 {
4436
4437 ;
4438 return 0;
4439 }
4440 _ACEOF
4441 if ac_fn_c_try_compile "$LINENO"; then :
4442 ac_cv_safe_to_define___extensions__=yes
4443 else
4444 ac_cv_safe_to_define___extensions__=no
4445 fi
4446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4447 fi
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4449 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4450 test $ac_cv_safe_to_define___extensions__ = yes &&
4451 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4452
4453 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4454
4455 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4456
4457 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4458
4459 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4460
4461
4462
4463 # Checks for programs.
43304464 ac_ext=c
43314465 ac_cpp='$CPP $CPPFLAGS'
43324466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43354469 if test -n "$ac_tool_prefix"; then
43364470 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
43374471 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4340 if test "${ac_cv_prog_CC+set}" = set; then
4341 echo $ECHO_N "(cached) $ECHO_C" >&6
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4473 $as_echo_n "checking for $ac_word... " >&6; }
4474 if ${ac_cv_prog_CC+:} false; then :
4475 $as_echo_n "(cached) " >&6
43424476 else
43434477 if test -n "$CC"; then
43444478 ac_cv_prog_CC="$CC" # Let the user override the test.
43484482 do
43494483 IFS=$as_save_IFS
43504484 test -z "$as_dir" && as_dir=.
4351 for ac_exec_ext in '' $ac_executable_extensions; do
4352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43534487 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
43554489 break 2
43564490 fi
43574491 done
4358 done
4492 done
43594493 IFS=$as_save_IFS
43604494
43614495 fi
43624496 fi
43634497 CC=$ac_cv_prog_CC
43644498 if test -n "$CC"; then
4365 { echo "$as_me:$LINENO: result: $CC" >&5
4366 echo "${ECHO_T}$CC" >&6; }
4367 else
4368 { echo "$as_me:$LINENO: result: no" >&5
4369 echo "${ECHO_T}no" >&6; }
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4500 $as_echo "$CC" >&6; }
4501 else
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4503 $as_echo "no" >&6; }
43704504 fi
43714505
43724506
43754509 ac_ct_CC=$CC
43764510 # Extract the first word of "gcc", so it can be a program name with args.
43774511 set dummy gcc; ac_word=$2
4378 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4380 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4381 echo $ECHO_N "(cached) $ECHO_C" >&6
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4513 $as_echo_n "checking for $ac_word... " >&6; }
4514 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4515 $as_echo_n "(cached) " >&6
43824516 else
43834517 if test -n "$ac_ct_CC"; then
43844518 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
43884522 do
43894523 IFS=$as_save_IFS
43904524 test -z "$as_dir" && as_dir=.
4391 for ac_exec_ext in '' $ac_executable_extensions; do
4392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4525 for ac_exec_ext in '' $ac_executable_extensions; do
4526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43934527 ac_cv_prog_ac_ct_CC="gcc"
4394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
43954529 break 2
43964530 fi
43974531 done
4398 done
4532 done
43994533 IFS=$as_save_IFS
44004534
44014535 fi
44024536 fi
44034537 ac_ct_CC=$ac_cv_prog_ac_ct_CC
44044538 if test -n "$ac_ct_CC"; then
4405 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4406 echo "${ECHO_T}$ac_ct_CC" >&6; }
4407 else
4408 { echo "$as_me:$LINENO: result: no" >&5
4409 echo "${ECHO_T}no" >&6; }
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4540 $as_echo "$ac_ct_CC" >&6; }
4541 else
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4543 $as_echo "no" >&6; }
44104544 fi
44114545
44124546 if test "x$ac_ct_CC" = x; then
44144548 else
44154549 case $cross_compiling:$ac_tool_warned in
44164550 yes:)
4417 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4418 whose name does not start with the host triplet. If you think this
4419 configuration is useful to you, please write to autoconf@gnu.org." >&5
4420 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4421 whose name does not start with the host triplet. If you think this
4422 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
44234553 ac_tool_warned=yes ;;
44244554 esac
44254555 CC=$ac_ct_CC
44324562 if test -n "$ac_tool_prefix"; then
44334563 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
44344564 set dummy ${ac_tool_prefix}cc; ac_word=$2
4435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4437 if test "${ac_cv_prog_CC+set}" = set; then
4438 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4566 $as_echo_n "checking for $ac_word... " >&6; }
4567 if ${ac_cv_prog_CC+:} false; then :
4568 $as_echo_n "(cached) " >&6
44394569 else
44404570 if test -n "$CC"; then
44414571 ac_cv_prog_CC="$CC" # Let the user override the test.
44454575 do
44464576 IFS=$as_save_IFS
44474577 test -z "$as_dir" && as_dir=.
4448 for ac_exec_ext in '' $ac_executable_extensions; do
4449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4578 for ac_exec_ext in '' $ac_executable_extensions; do
4579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44504580 ac_cv_prog_CC="${ac_tool_prefix}cc"
4451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
44524582 break 2
44534583 fi
44544584 done
4455 done
4585 done
44564586 IFS=$as_save_IFS
44574587
44584588 fi
44594589 fi
44604590 CC=$ac_cv_prog_CC
44614591 if test -n "$CC"; then
4462 { echo "$as_me:$LINENO: result: $CC" >&5
4463 echo "${ECHO_T}$CC" >&6; }
4464 else
4465 { echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6; }
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4593 $as_echo "$CC" >&6; }
4594 else
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4596 $as_echo "no" >&6; }
44674597 fi
44684598
44694599
44724602 if test -z "$CC"; then
44734603 # Extract the first word of "cc", so it can be a program name with args.
44744604 set dummy cc; ac_word=$2
4475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4477 if test "${ac_cv_prog_CC+set}" = set; then
4478 echo $ECHO_N "(cached) $ECHO_C" >&6
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4606 $as_echo_n "checking for $ac_word... " >&6; }
4607 if ${ac_cv_prog_CC+:} false; then :
4608 $as_echo_n "(cached) " >&6
44794609 else
44804610 if test -n "$CC"; then
44814611 ac_cv_prog_CC="$CC" # Let the user override the test.
44864616 do
44874617 IFS=$as_save_IFS
44884618 test -z "$as_dir" && as_dir=.
4489 for ac_exec_ext in '' $ac_executable_extensions; do
4490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4619 for ac_exec_ext in '' $ac_executable_extensions; do
4620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44914621 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
44924622 ac_prog_rejected=yes
44934623 continue
44944624 fi
44954625 ac_cv_prog_CC="cc"
4496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
44974627 break 2
44984628 fi
44994629 done
4500 done
4630 done
45014631 IFS=$as_save_IFS
45024632
45034633 if test $ac_prog_rejected = yes; then
45164646 fi
45174647 CC=$ac_cv_prog_CC
45184648 if test -n "$CC"; then
4519 { echo "$as_me:$LINENO: result: $CC" >&5
4520 echo "${ECHO_T}$CC" >&6; }
4521 else
4522 { echo "$as_me:$LINENO: result: no" >&5
4523 echo "${ECHO_T}no" >&6; }
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4650 $as_echo "$CC" >&6; }
4651 else
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4653 $as_echo "no" >&6; }
45244654 fi
45254655
45264656
45314661 do
45324662 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
45334663 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4536 if test "${ac_cv_prog_CC+set}" = set; then
4537 echo $ECHO_N "(cached) $ECHO_C" >&6
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4665 $as_echo_n "checking for $ac_word... " >&6; }
4666 if ${ac_cv_prog_CC+:} false; then :
4667 $as_echo_n "(cached) " >&6
45384668 else
45394669 if test -n "$CC"; then
45404670 ac_cv_prog_CC="$CC" # Let the user override the test.
45444674 do
45454675 IFS=$as_save_IFS
45464676 test -z "$as_dir" && as_dir=.
4547 for ac_exec_ext in '' $ac_executable_extensions; do
4548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4677 for ac_exec_ext in '' $ac_executable_extensions; do
4678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45494679 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
45514681 break 2
45524682 fi
45534683 done
4554 done
4684 done
45554685 IFS=$as_save_IFS
45564686
45574687 fi
45584688 fi
45594689 CC=$ac_cv_prog_CC
45604690 if test -n "$CC"; then
4561 { echo "$as_me:$LINENO: result: $CC" >&5
4562 echo "${ECHO_T}$CC" >&6; }
4563 else
4564 { echo "$as_me:$LINENO: result: no" >&5
4565 echo "${ECHO_T}no" >&6; }
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4692 $as_echo "$CC" >&6; }
4693 else
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4695 $as_echo "no" >&6; }
45664696 fi
45674697
45684698
45754705 do
45764706 # Extract the first word of "$ac_prog", so it can be a program name with args.
45774707 set dummy $ac_prog; ac_word=$2
4578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4580 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4581 echo $ECHO_N "(cached) $ECHO_C" >&6
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4709 $as_echo_n "checking for $ac_word... " >&6; }
4710 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4711 $as_echo_n "(cached) " >&6
45824712 else
45834713 if test -n "$ac_ct_CC"; then
45844714 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
45884718 do
45894719 IFS=$as_save_IFS
45904720 test -z "$as_dir" && as_dir=.
4591 for ac_exec_ext in '' $ac_executable_extensions; do
4592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4721 for ac_exec_ext in '' $ac_executable_extensions; do
4722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45934723 ac_cv_prog_ac_ct_CC="$ac_prog"
4594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
45954725 break 2
45964726 fi
45974727 done
4598 done
4728 done
45994729 IFS=$as_save_IFS
46004730
46014731 fi
46024732 fi
46034733 ac_ct_CC=$ac_cv_prog_ac_ct_CC
46044734 if test -n "$ac_ct_CC"; then
4605 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4606 echo "${ECHO_T}$ac_ct_CC" >&6; }
4607 else
4608 { echo "$as_me:$LINENO: result: no" >&5
4609 echo "${ECHO_T}no" >&6; }
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4736 $as_echo "$ac_ct_CC" >&6; }
4737 else
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 $as_echo "no" >&6; }
46104740 fi
46114741
46124742
46184748 else
46194749 case $cross_compiling:$ac_tool_warned in
46204750 yes:)
4621 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4622 whose name does not start with the host triplet. If you think this
4623 configuration is useful to you, please write to autoconf@gnu.org." >&5
4624 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4625 whose name does not start with the host triplet. If you think this
4626 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
46274753 ac_tool_warned=yes ;;
46284754 esac
46294755 CC=$ac_ct_CC
46334759 fi
46344760
46354761
4636 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4637 See \`config.log' for more details." >&5
4638 echo "$as_me: error: no acceptable C compiler found in \$PATH
4639 See \`config.log' for more details." >&2;}
4640 { (exit 1); exit 1; }; }
4762 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4764 as_fn_error $? "no acceptable C compiler found in \$PATH
4765 See \`config.log' for more details" "$LINENO" 5; }
46414766
46424767 # Provide some information about the compiler.
4643 echo "$as_me:$LINENO: checking for C compiler version" >&5
4644 ac_compiler=`set X $ac_compile; echo $2`
4645 { (ac_try="$ac_compiler --version >&5"
4768 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4769 set X $ac_compile
4770 ac_compiler=$2
4771 for ac_option in --version -v -V -qversion; do
4772 { { ac_try="$ac_compiler $ac_option >&5"
46464773 case "(($ac_try" in
46474774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46484775 *) ac_try_echo=$ac_try;;
46494776 esac
4650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4651 (eval "$ac_compiler --version >&5") 2>&5
4777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4778 $as_echo "$ac_try_echo"; } >&5
4779 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
46524780 ac_status=$?
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); }
4655 { (ac_try="$ac_compiler -v >&5"
4656 case "(($ac_try" in
4657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4658 *) ac_try_echo=$ac_try;;
4659 esac
4660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4661 (eval "$ac_compiler -v >&5") 2>&5
4662 ac_status=$?
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); }
4665 { (ac_try="$ac_compiler -V >&5"
4666 case "(($ac_try" in
4667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4669 esac
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671 (eval "$ac_compiler -V >&5") 2>&5
4672 ac_status=$?
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); }
4675
4676 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4677 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4678 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4679 echo $ECHO_N "(cached) $ECHO_C" >&6
4680 else
4681 cat >conftest.$ac_ext <<_ACEOF
4682 /* confdefs.h. */
4683 _ACEOF
4684 cat confdefs.h >>conftest.$ac_ext
4685 cat >>conftest.$ac_ext <<_ACEOF
4781 if test -s conftest.err; then
4782 sed '10a\
4783 ... rest of stderr output deleted ...
4784 10q' conftest.err >conftest.er1
4785 cat conftest.er1 >&5
4786 fi
4787 rm -f conftest.er1 conftest.err
4788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4789 test $ac_status = 0; }
4790 done
4791
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4793 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4794 if ${ac_cv_c_compiler_gnu+:} false; then :
4795 $as_echo_n "(cached) " >&6
4796 else
4797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46864798 /* end confdefs.h. */
46874799
46884800 int
46964808 return 0;
46974809 }
46984810 _ACEOF
4699 rm -f conftest.$ac_objext
4700 if { (ac_try="$ac_compile"
4701 case "(($ac_try" in
4702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4703 *) ac_try_echo=$ac_try;;
4704 esac
4705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4706 (eval "$ac_compile") 2>conftest.er1
4707 ac_status=$?
4708 grep -v '^ *+' conftest.er1 >conftest.err
4709 rm -f conftest.er1
4710 cat conftest.err >&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); } && {
4713 test -z "$ac_c_werror_flag" ||
4714 test ! -s conftest.err
4715 } && test -s conftest.$ac_objext; then
4811 if ac_fn_c_try_compile "$LINENO"; then :
47164812 ac_compiler_gnu=yes
47174813 else
4718 echo "$as_me: failed program was:" >&5
4719 sed 's/^/| /' conftest.$ac_ext >&5
4720
4721 ac_compiler_gnu=no
4722 fi
4723
4814 ac_compiler_gnu=no
4815 fi
47244816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47254817 ac_cv_c_compiler_gnu=$ac_compiler_gnu
47264818
47274819 fi
4728 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4729 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4730 GCC=`test $ac_compiler_gnu = yes && echo yes`
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4821 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4822 if test $ac_compiler_gnu = yes; then
4823 GCC=yes
4824 else
4825 GCC=
4826 fi
47314827 ac_test_CFLAGS=${CFLAGS+set}
47324828 ac_save_CFLAGS=$CFLAGS
4733 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4734 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4735 if test "${ac_cv_prog_cc_g+set}" = set; then
4736 echo $ECHO_N "(cached) $ECHO_C" >&6
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4830 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4831 if ${ac_cv_prog_cc_g+:} false; then :
4832 $as_echo_n "(cached) " >&6
47374833 else
47384834 ac_save_c_werror_flag=$ac_c_werror_flag
47394835 ac_c_werror_flag=yes
47404836 ac_cv_prog_cc_g=no
47414837 CFLAGS="-g"
4742 cat >conftest.$ac_ext <<_ACEOF
4743 /* confdefs.h. */
4744 _ACEOF
4745 cat confdefs.h >>conftest.$ac_ext
4746 cat >>conftest.$ac_ext <<_ACEOF
4838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47474839 /* end confdefs.h. */
47484840
47494841 int
47544846 return 0;
47554847 }
47564848 _ACEOF
4757 rm -f conftest.$ac_objext
4758 if { (ac_try="$ac_compile"
4759 case "(($ac_try" in
4760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4761 *) ac_try_echo=$ac_try;;
4762 esac
4763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4764 (eval "$ac_compile") 2>conftest.er1
4765 ac_status=$?
4766 grep -v '^ *+' conftest.er1 >conftest.err
4767 rm -f conftest.er1
4768 cat conftest.err >&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); } && {
4771 test -z "$ac_c_werror_flag" ||
4772 test ! -s conftest.err
4773 } && test -s conftest.$ac_objext; then
4849 if ac_fn_c_try_compile "$LINENO"; then :
47744850 ac_cv_prog_cc_g=yes
47754851 else
4776 echo "$as_me: failed program was:" >&5
4777 sed 's/^/| /' conftest.$ac_ext >&5
4778
4779 CFLAGS=""
4780 cat >conftest.$ac_ext <<_ACEOF
4781 /* confdefs.h. */
4782 _ACEOF
4783 cat confdefs.h >>conftest.$ac_ext
4784 cat >>conftest.$ac_ext <<_ACEOF
4852 CFLAGS=""
4853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47854854 /* end confdefs.h. */
47864855
47874856 int
47924861 return 0;
47934862 }
47944863 _ACEOF
4795 rm -f conftest.$ac_objext
4796 if { (ac_try="$ac_compile"
4797 case "(($ac_try" in
4798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4799 *) ac_try_echo=$ac_try;;
4800 esac
4801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4802 (eval "$ac_compile") 2>conftest.er1
4803 ac_status=$?
4804 grep -v '^ *+' conftest.er1 >conftest.err
4805 rm -f conftest.er1
4806 cat conftest.err >&5
4807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808 (exit $ac_status); } && {
4809 test -z "$ac_c_werror_flag" ||
4810 test ! -s conftest.err
4811 } && test -s conftest.$ac_objext; then
4812 :
4813 else
4814 echo "$as_me: failed program was:" >&5
4815 sed 's/^/| /' conftest.$ac_ext >&5
4816
4817 ac_c_werror_flag=$ac_save_c_werror_flag
4864 if ac_fn_c_try_compile "$LINENO"; then :
4865
4866 else
4867 ac_c_werror_flag=$ac_save_c_werror_flag
48184868 CFLAGS="-g"
4819 cat >conftest.$ac_ext <<_ACEOF
4820 /* confdefs.h. */
4821 _ACEOF
4822 cat confdefs.h >>conftest.$ac_ext
4823 cat >>conftest.$ac_ext <<_ACEOF
4869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48244870 /* end confdefs.h. */
48254871
48264872 int
48314877 return 0;
48324878 }
48334879 _ACEOF
4834 rm -f conftest.$ac_objext
4835 if { (ac_try="$ac_compile"
4836 case "(($ac_try" in
4837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4838 *) ac_try_echo=$ac_try;;
4839 esac
4840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4841 (eval "$ac_compile") 2>conftest.er1
4842 ac_status=$?
4843 grep -v '^ *+' conftest.er1 >conftest.err
4844 rm -f conftest.er1
4845 cat conftest.err >&5
4846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 (exit $ac_status); } && {
4848 test -z "$ac_c_werror_flag" ||
4849 test ! -s conftest.err
4850 } && test -s conftest.$ac_objext; then
4880 if ac_fn_c_try_compile "$LINENO"; then :
48514881 ac_cv_prog_cc_g=yes
4852 else
4853 echo "$as_me: failed program was:" >&5
4854 sed 's/^/| /' conftest.$ac_ext >&5
4855
4856
4857 fi
4858
4882 fi
48594883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48604884 fi
4861
48624885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48634886 fi
4864
48654887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48664888 ac_c_werror_flag=$ac_save_c_werror_flag
48674889 fi
4868 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4869 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4891 $as_echo "$ac_cv_prog_cc_g" >&6; }
48704892 if test "$ac_test_CFLAGS" = set; then
48714893 CFLAGS=$ac_save_CFLAGS
48724894 elif test $ac_cv_prog_cc_g = yes; then
48824904 CFLAGS=
48834905 fi
48844906 fi
4885 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4886 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4887 if test "${ac_cv_prog_cc_c89+set}" = set; then
4888 echo $ECHO_N "(cached) $ECHO_C" >&6
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4908 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4909 if ${ac_cv_prog_cc_c89+:} false; then :
4910 $as_echo_n "(cached) " >&6
48894911 else
48904912 ac_cv_prog_cc_c89=no
48914913 ac_save_CC=$CC
4892 cat >conftest.$ac_ext <<_ACEOF
4893 /* confdefs.h. */
4894 _ACEOF
4895 cat confdefs.h >>conftest.$ac_ext
4896 cat >>conftest.$ac_ext <<_ACEOF
4914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48974915 /* end confdefs.h. */
48984916 #include <stdarg.h>
48994917 #include <stdio.h>
4900 #include <sys/types.h>
4901 #include <sys/stat.h>
4918 struct stat;
49024919 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
49034920 struct buf { int x; };
49044921 FILE * (*rcsopen) (struct buf *, struct stat *, int);
49504967 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
49514968 do
49524969 CC="$ac_save_CC $ac_arg"
4953 rm -f conftest.$ac_objext
4954 if { (ac_try="$ac_compile"
4955 case "(($ac_try" in
4956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4957 *) ac_try_echo=$ac_try;;
4958 esac
4959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4960 (eval "$ac_compile") 2>conftest.er1
4961 ac_status=$?
4962 grep -v '^ *+' conftest.er1 >conftest.err
4963 rm -f conftest.er1
4964 cat conftest.err >&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } && {
4967 test -z "$ac_c_werror_flag" ||
4968 test ! -s conftest.err
4969 } && test -s conftest.$ac_objext; then
4970 if ac_fn_c_try_compile "$LINENO"; then :
49704971 ac_cv_prog_cc_c89=$ac_arg
4971 else
4972 echo "$as_me: failed program was:" >&5
4973 sed 's/^/| /' conftest.$ac_ext >&5
4974
4975
4976 fi
4977
4972 fi
49784973 rm -f core conftest.err conftest.$ac_objext
49794974 test "x$ac_cv_prog_cc_c89" != "xno" && break
49804975 done
49854980 # AC_CACHE_VAL
49864981 case "x$ac_cv_prog_cc_c89" in
49874982 x)
4988 { echo "$as_me:$LINENO: result: none needed" >&5
4989 echo "${ECHO_T}none needed" >&6; } ;;
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4984 $as_echo "none needed" >&6; } ;;
49904985 xno)
4991 { echo "$as_me:$LINENO: result: unsupported" >&5
4992 echo "${ECHO_T}unsupported" >&6; } ;;
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4987 $as_echo "unsupported" >&6; } ;;
49934988 *)
49944989 CC="$CC $ac_cv_prog_cc_c89"
4995 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4996 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4991 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
49974992 esac
4998
4993 if test "x$ac_cv_prog_cc_c89" != xno; then :
4994
4995 fi
49994996
50004997 ac_ext=c
50014998 ac_cpp='$CPP $CPPFLAGS'
50035000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50045001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50055002
5003 ac_ext=c
5004 ac_cpp='$CPP $CPPFLAGS'
5005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5009 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5010 if ${am_cv_prog_cc_c_o+:} false; then :
5011 $as_echo_n "(cached) " >&6
5012 else
5013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5014 /* end confdefs.h. */
5015
5016 int
5017 main ()
5018 {
5019
5020 ;
5021 return 0;
5022 }
5023 _ACEOF
5024 # Make sure it works both with $CC and with simple cc.
5025 # Following AC_PROG_CC_C_O, we do the test twice because some
5026 # compilers refuse to overwrite an existing .o file with -o,
5027 # though they will create one.
5028 am_cv_prog_cc_c_o=yes
5029 for am_i in 1 2; do
5030 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5031 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5032 ac_status=$?
5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034 (exit $ac_status); } \
5035 && test -f conftest2.$ac_objext; then
5036 : OK
5037 else
5038 am_cv_prog_cc_c_o=no
5039 break
5040 fi
5041 done
5042 rm -f core conftest*
5043 unset am_i
5044 fi
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5046 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5047 if test "$am_cv_prog_cc_c_o" != yes; then
5048 # Losing compiler, so override with the script.
5049 # FIXME: It is wrong to rewrite CC.
5050 # But if we don't then we get into trouble of one sort or another.
5051 # A longer-term fix would be to have automake use am__CC in this case,
5052 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5053 CC="$am_aux_dir/compile $CC"
5054 fi
5055 ac_ext=c
5056 ac_cpp='$CPP $CPPFLAGS'
5057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5060
5061
5062 depcc="$CC" am_compiler_list=
5063
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5065 $as_echo_n "checking dependency style of $depcc... " >&6; }
5066 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5067 $as_echo_n "(cached) " >&6
5068 else
5069 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5070 # We make a subdir and do the tests there. Otherwise we can end up
5071 # making bogus files that we don't know about and never remove. For
5072 # instance it was reported that on HP-UX the gcc test will end up
5073 # making a dummy file named 'D' -- because '-MD' means "put the output
5074 # in D".
5075 rm -rf conftest.dir
5076 mkdir conftest.dir
5077 # Copy depcomp to subdir because otherwise we won't find it if we're
5078 # using a relative directory.
5079 cp "$am_depcomp" conftest.dir
5080 cd conftest.dir
5081 # We will build objects and dependencies in a subdirectory because
5082 # it helps to detect inapplicable dependency modes. For instance
5083 # both Tru64's cc and ICC support -MD to output dependencies as a
5084 # side effect of compilation, but ICC will put the dependencies in
5085 # the current directory while Tru64 will put them in the object
5086 # directory.
5087 mkdir sub
5088
5089 am_cv_CC_dependencies_compiler_type=none
5090 if test "$am_compiler_list" = ""; then
5091 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5092 fi
5093 am__universal=false
5094 case " $depcc " in #(
5095 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5096 esac
5097
5098 for depmode in $am_compiler_list; do
5099 # Setup a source with many dependencies, because some compilers
5100 # like to wrap large dependency lists on column 80 (with \), and
5101 # we should not choose a depcomp mode which is confused by this.
5102 #
5103 # We need to recreate these files for each test, as the compiler may
5104 # overwrite some of them when testing with obscure command lines.
5105 # This happens at least with the AIX C compiler.
5106 : > sub/conftest.c
5107 for i in 1 2 3 4 5 6; do
5108 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5109 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5110 # Solaris 10 /bin/sh.
5111 echo '/* dummy */' > sub/conftst$i.h
5112 done
5113 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5114
5115 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5116 # mode. It turns out that the SunPro C++ compiler does not properly
5117 # handle '-M -o', and we need to detect this. Also, some Intel
5118 # versions had trouble with output in subdirs.
5119 am__obj=sub/conftest.${OBJEXT-o}
5120 am__minus_obj="-o $am__obj"
5121 case $depmode in
5122 gcc)
5123 # This depmode causes a compiler race in universal mode.
5124 test "$am__universal" = false || continue
5125 ;;
5126 nosideeffect)
5127 # After this tag, mechanisms are not by side-effect, so they'll
5128 # only be used when explicitly requested.
5129 if test "x$enable_dependency_tracking" = xyes; then
5130 continue
5131 else
5132 break
5133 fi
5134 ;;
5135 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5136 # This compiler won't grok '-c -o', but also, the minuso test has
5137 # not run yet. These depmodes are late enough in the game, and
5138 # so weak that their functioning should not be impacted.
5139 am__obj=conftest.${OBJEXT-o}
5140 am__minus_obj=
5141 ;;
5142 none) break ;;
5143 esac
5144 if depmode=$depmode \
5145 source=sub/conftest.c object=$am__obj \
5146 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5147 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5148 >/dev/null 2>conftest.err &&
5149 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5150 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5151 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5152 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5153 # icc doesn't choke on unknown options, it will just issue warnings
5154 # or remarks (even with -Werror). So we grep stderr for any message
5155 # that says an option was ignored or not supported.
5156 # When given -MP, icc 7.0 and 7.1 complain thusly:
5157 # icc: Command line warning: ignoring option '-M'; no argument required
5158 # The diagnosis changed in icc 8.0:
5159 # icc: Command line remark: option '-MP' not supported
5160 if (grep 'ignoring option' conftest.err ||
5161 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5162 am_cv_CC_dependencies_compiler_type=$depmode
5163 break
5164 fi
5165 fi
5166 done
5167
5168 cd ..
5169 rm -rf conftest.dir
5170 else
5171 am_cv_CC_dependencies_compiler_type=none
5172 fi
5173
5174 fi
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5176 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5177 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5178
5179 if
5180 test "x$enable_dependency_tracking" != xno \
5181 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5182 am__fastdepCC_TRUE=
5183 am__fastdepCC_FALSE='#'
5184 else
5185 am__fastdepCC_TRUE='#'
5186 am__fastdepCC_FALSE=
5187 fi
5188
5189
50065190 if test -n "$ac_tool_prefix"; then
50075191 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
50085192 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5011 if test "${ac_cv_prog_RANLIB+set}" = set; then
5012 echo $ECHO_N "(cached) $ECHO_C" >&6
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5194 $as_echo_n "checking for $ac_word... " >&6; }
5195 if ${ac_cv_prog_RANLIB+:} false; then :
5196 $as_echo_n "(cached) " >&6
50135197 else
50145198 if test -n "$RANLIB"; then
50155199 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
50195203 do
50205204 IFS=$as_save_IFS
50215205 test -z "$as_dir" && as_dir=.
5022 for ac_exec_ext in '' $ac_executable_extensions; do
5023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5206 for ac_exec_ext in '' $ac_executable_extensions; do
5207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50245208 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
50265210 break 2
50275211 fi
50285212 done
5029 done
5213 done
50305214 IFS=$as_save_IFS
50315215
50325216 fi
50335217 fi
50345218 RANLIB=$ac_cv_prog_RANLIB
50355219 if test -n "$RANLIB"; then
5036 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5037 echo "${ECHO_T}$RANLIB" >&6; }
5038 else
5039 { echo "$as_me:$LINENO: result: no" >&5
5040 echo "${ECHO_T}no" >&6; }
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5221 $as_echo "$RANLIB" >&6; }
5222 else
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5224 $as_echo "no" >&6; }
50415225 fi
50425226
50435227
50465230 ac_ct_RANLIB=$RANLIB
50475231 # Extract the first word of "ranlib", so it can be a program name with args.
50485232 set dummy ranlib; ac_word=$2
5049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5051 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5052 echo $ECHO_N "(cached) $ECHO_C" >&6
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5234 $as_echo_n "checking for $ac_word... " >&6; }
5235 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5236 $as_echo_n "(cached) " >&6
50535237 else
50545238 if test -n "$ac_ct_RANLIB"; then
50555239 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
50595243 do
50605244 IFS=$as_save_IFS
50615245 test -z "$as_dir" && as_dir=.
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5246 for ac_exec_ext in '' $ac_executable_extensions; do
5247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50645248 ac_cv_prog_ac_ct_RANLIB="ranlib"
5065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
50665250 break 2
50675251 fi
50685252 done
5069 done
5253 done
50705254 IFS=$as_save_IFS
50715255
50725256 fi
50735257 fi
50745258 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
50755259 if test -n "$ac_ct_RANLIB"; then
5076 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5077 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5078 else
5079 { echo "$as_me:$LINENO: result: no" >&5
5080 echo "${ECHO_T}no" >&6; }
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5261 $as_echo "$ac_ct_RANLIB" >&6; }
5262 else
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5264 $as_echo "no" >&6; }
50815265 fi
50825266
50835267 if test "x$ac_ct_RANLIB" = x; then
50855269 else
50865270 case $cross_compiling:$ac_tool_warned in
50875271 yes:)
5088 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5089 whose name does not start with the host triplet. If you think this
5090 configuration is useful to you, please write to autoconf@gnu.org." >&5
5091 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5092 whose name does not start with the host triplet. If you think this
5093 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
50945274 ac_tool_warned=yes ;;
50955275 esac
50965276 RANLIB=$ac_ct_RANLIB
51015281
51025282
51035283
5104 CFLAGS="$CFLAGS -Wall"
5284 # Checks for libraries.
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
5286 $as_echo_n "checking for main in -lm... " >&6; }
5287 if ${ac_cv_lib_m_main+:} false; then :
5288 $as_echo_n "(cached) " >&6
5289 else
5290 ac_check_lib_save_LIBS=$LIBS
5291 LIBS="-lm $LIBS"
5292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5293 /* end confdefs.h. */
5294
5295
5296 int
5297 main ()
5298 {
5299 return main ();
5300 ;
5301 return 0;
5302 }
5303 _ACEOF
5304 if ac_fn_c_try_link "$LINENO"; then :
5305 ac_cv_lib_m_main=yes
5306 else
5307 ac_cv_lib_m_main=no
5308 fi
5309 rm -f core conftest.err conftest.$ac_objext \
5310 conftest$ac_exeext conftest.$ac_ext
5311 LIBS=$ac_check_lib_save_LIBS
5312 fi
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
5314 $as_echo "$ac_cv_lib_m_main" >&6; }
5315 if test "x$ac_cv_lib_m_main" = xyes; then :
5316 cat >>confdefs.h <<_ACEOF
5317 #define HAVE_LIBM 1
5318 _ACEOF
5319
5320 LIBS="-lm $LIBS"
5321
5322 else
5323 as_fn_error $? "lib math is needed" "$LINENO" 5
5324 fi
51055325
51065326
51075327 # Check whether --with-sdl-prefix was given.
5108 if test "${with_sdl_prefix+set}" = set; then
5328 if test "${with_sdl_prefix+set}" = set; then :
51095329 withval=$with_sdl_prefix; sdl_prefix="$withval"
51105330 else
51115331 sdl_prefix=""
51135333
51145334
51155335 # Check whether --with-sdl-exec-prefix was given.
5116 if test "${with_sdl_exec_prefix+set}" = set; then
5336 if test "${with_sdl_exec_prefix+set}" = set; then :
51175337 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
51185338 else
51195339 sdl_exec_prefix=""
51205340 fi
51215341
51225342 # Check whether --enable-sdltest was given.
5123 if test "${enable_sdltest+set}" = set; then
5343 if test "${enable_sdltest+set}" = set; then :
51245344 enableval=$enable_sdltest;
51255345 else
51265346 enable_sdltest=yes
51445364 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
51455365 # Extract the first word of "sdl-config", so it can be a program name with args.
51465366 set dummy sdl-config; ac_word=$2
5147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5149 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
5150 echo $ECHO_N "(cached) $ECHO_C" >&6
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368 $as_echo_n "checking for $ac_word... " >&6; }
5369 if ${ac_cv_path_SDL_CONFIG+:} false; then :
5370 $as_echo_n "(cached) " >&6
51515371 else
51525372 case $SDL_CONFIG in
51535373 [\\/]* | ?:[\\/]*)
51595379 do
51605380 IFS=$as_save_IFS
51615381 test -z "$as_dir" && as_dir=.
5162 for ac_exec_ext in '' $ac_executable_extensions; do
5163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5382 for ac_exec_ext in '' $ac_executable_extensions; do
5383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
51645384 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
51665386 break 2
51675387 fi
51685388 done
5169 done
5389 done
51705390 IFS=$as_save_IFS
51715391
51725392 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
51755395 fi
51765396 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
51775397 if test -n "$SDL_CONFIG"; then
5178 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
5179 echo "${ECHO_T}$SDL_CONFIG" >&6; }
5180 else
5181 { echo "$as_me:$LINENO: result: no" >&5
5182 echo "${ECHO_T}no" >&6; }
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
5399 $as_echo "$SDL_CONFIG" >&6; }
5400 else
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5402 $as_echo "no" >&6; }
51835403 fi
51845404
51855405
51865406 min_sdl_version=1.2.0
5187 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
5188 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
5408 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
51895409 no_sdl=""
51905410 if test "$SDL_CONFIG" = "no" ; then
51915411 no_sdl=yes
52055425 CFLAGS="$CFLAGS $SDL_CFLAGS"
52065426 LIBS="$LIBS $SDL_LIBS"
52075427 rm -f conf.sdltest
5208 if test "$cross_compiling" = yes; then
5428 if test "$cross_compiling" = yes; then :
52095429 echo $ac_n "cross compiling; assumed OK... $ac_c"
52105430 else
5211 cat >conftest.$ac_ext <<_ACEOF
5212 /* confdefs.h. */
5213 _ACEOF
5214 cat confdefs.h >>conftest.$ac_ext
5215 cat >>conftest.$ac_ext <<_ACEOF
5431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52165432 /* end confdefs.h. */
52175433
52185434 #include <stdio.h>
52735489
52745490
52755491 _ACEOF
5276 rm -f conftest$ac_exeext
5277 if { (ac_try="$ac_link"
5278 case "(($ac_try" in
5279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5280 *) ac_try_echo=$ac_try;;
5281 esac
5282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5283 (eval "$ac_link") 2>&5
5284 ac_status=$?
5285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5286 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5287 { (case "(($ac_try" in
5288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5289 *) ac_try_echo=$ac_try;;
5290 esac
5291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5292 (eval "$ac_try") 2>&5
5293 ac_status=$?
5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295 (exit $ac_status); }; }; then
5296 :
5297 else
5298 echo "$as_me: program exited with status $ac_status" >&5
5299 echo "$as_me: failed program was:" >&5
5300 sed 's/^/| /' conftest.$ac_ext >&5
5301
5302 ( exit $ac_status )
5303 no_sdl=yes
5304 fi
5305 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5306 fi
5307
5492 if ac_fn_c_try_run "$LINENO"; then :
5493
5494 else
5495 no_sdl=yes
5496 fi
5497 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5498 conftest.$ac_objext conftest.beam conftest.$ac_ext
5499 fi
53085500
53095501 CFLAGS="$ac_save_CFLAGS"
53105502 LIBS="$ac_save_LIBS"
53115503 fi
53125504 fi
53135505 if test "x$no_sdl" = x ; then
5314 { echo "$as_me:$LINENO: result: yes" >&5
5315 echo "${ECHO_T}yes" >&6; }
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5507 $as_echo "yes" >&6; }
53165508 :
53175509 else
5318 { echo "$as_me:$LINENO: result: no" >&5
5319 echo "${ECHO_T}no" >&6; }
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5511 $as_echo "no" >&6; }
53205512 if test "$SDL_CONFIG" = "no" ; then
53215513 echo "*** The sdl-config script installed by SDL could not be found"
53225514 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
53295521 echo "*** Could not run SDL test program, checking why..."
53305522 CFLAGS="$CFLAGS $SDL_CFLAGS"
53315523 LIBS="$LIBS $SDL_LIBS"
5332 cat >conftest.$ac_ext <<_ACEOF
5333 /* confdefs.h. */
5334 _ACEOF
5335 cat confdefs.h >>conftest.$ac_ext
5336 cat >>conftest.$ac_ext <<_ACEOF
5524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53375525 /* end confdefs.h. */
53385526
53395527 #include <stdio.h>
53525540 return 0;
53535541 }
53545542 _ACEOF
5355 rm -f conftest.$ac_objext conftest$ac_exeext
5356 if { (ac_try="$ac_link"
5357 case "(($ac_try" in
5358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5359 *) ac_try_echo=$ac_try;;
5360 esac
5361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5362 (eval "$ac_link") 2>conftest.er1
5363 ac_status=$?
5364 grep -v '^ *+' conftest.er1 >conftest.err
5365 rm -f conftest.er1
5366 cat conftest.err >&5
5367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368 (exit $ac_status); } && {
5369 test -z "$ac_c_werror_flag" ||
5370 test ! -s conftest.err
5371 } && test -s conftest$ac_exeext &&
5372 $as_test_x conftest$ac_exeext; then
5543 if ac_fn_c_try_link "$LINENO"; then :
53735544 echo "*** The test program compiled, but did not run. This usually means"
53745545 echo "*** that the run-time linker is not finding SDL or finding the wrong"
53755546 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
53805551 echo "*** If you have an old version installed, it is best to remove it, although"
53815552 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
53825553 else
5383 echo "$as_me: failed program was:" >&5
5384 sed 's/^/| /' conftest.$ac_ext >&5
5385
5386 echo "*** The test program failed to compile or link. See the file config.log for the"
5554 echo "*** The test program failed to compile or link. See the file config.log for the"
53875555 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
53885556 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
53895557 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
53905558 fi
5391
5392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5393 conftest$ac_exeext conftest.$ac_ext
5559 rm -f core conftest.err conftest.$ac_objext \
5560 conftest$ac_exeext conftest.$ac_ext
53945561 CFLAGS="$ac_save_CFLAGS"
53955562 LIBS="$ac_save_LIBS"
53965563 fi
53975564 fi
53985565 SDL_CFLAGS=""
53995566 SDL_LIBS=""
5400 { { echo "$as_me:$LINENO: error: lib SDL is needed" >&5
5401 echo "$as_me: error: lib SDL is needed" >&2;}
5402 { (exit 1); exit 1; }; }
5567 as_fn_error $? "lib SDL is needed" "$LINENO" 5
54035568 fi
54045569
54055570
54065571 rm -f conf.sdltest
54075572
5408 CFLAGS="$CFLAGS $SDL_CFLAGS"
5409 LIBS="$LIBS $SDL_LIBS"
5410
5573 #AC_CHECK_LIB(SDL, main,, AC_MSG_ERROR(lib SDL is needed))
5574
5575 # Mixer is optional
54115576 audio_flag="-DAUDIO_ENABLED"
54125577 audio_lib="-lSDL_mixer"
5413 # Check whether --enable-audio was given.
5414 if test "${enable_audio+set}" = set; then
5415 enableval=$enable_audio; audio_flag=""; audio_lib=""
5416 fi
5417
5418 { echo "$as_me:$LINENO: checking for main in -lSDL_mixer" >&5
5419 echo $ECHO_N "checking for main in -lSDL_mixer... $ECHO_C" >&6; }
5420 if test "${ac_cv_lib_SDL_mixer_main+set}" = set; then
5421 echo $ECHO_N "(cached) $ECHO_C" >&6
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lSDL_mixer" >&5
5579 $as_echo_n "checking for main in -lSDL_mixer... " >&6; }
5580 if ${ac_cv_lib_SDL_mixer_main+:} false; then :
5581 $as_echo_n "(cached) " >&6
54225582 else
54235583 ac_check_lib_save_LIBS=$LIBS
54245584 LIBS="-lSDL_mixer $LIBS"
5425 cat >conftest.$ac_ext <<_ACEOF
5426 /* confdefs.h. */
5427 _ACEOF
5428 cat confdefs.h >>conftest.$ac_ext
5429 cat >>conftest.$ac_ext <<_ACEOF
5585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54305586 /* end confdefs.h. */
54315587
54325588
54385594 return 0;
54395595 }
54405596 _ACEOF
5441 rm -f conftest.$ac_objext conftest$ac_exeext
5442 if { (ac_try="$ac_link"
5443 case "(($ac_try" in
5444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5445 *) ac_try_echo=$ac_try;;
5597 if ac_fn_c_try_link "$LINENO"; then :
5598 ac_cv_lib_SDL_mixer_main=yes
5599 else
5600 ac_cv_lib_SDL_mixer_main=no
5601 fi
5602 rm -f core conftest.err conftest.$ac_objext \
5603 conftest$ac_exeext conftest.$ac_ext
5604 LIBS=$ac_check_lib_save_LIBS
5605 fi
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_mixer_main" >&5
5607 $as_echo "$ac_cv_lib_SDL_mixer_main" >&6; }
5608 if test "x$ac_cv_lib_SDL_mixer_main" = xyes; then :
5609 cat >>confdefs.h <<_ACEOF
5610 #define HAVE_LIBSDL_MIXER 1
5611 _ACEOF
5612
5613 LIBS="-lSDL_mixer $LIBS"
5614
5615 else
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: lib SDL mixer is missing" >&5
5617 $as_echo "lib SDL mixer is missing" >&6; }; audio_flag=""; audio_lib=""
5618 fi
5619
5620
5621 # Checks for header files.
5622 for ac_header in stdlib.h string.h
5623 do :
5624 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5625 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5626 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5627 cat >>confdefs.h <<_ACEOF
5628 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5629 _ACEOF
5630
5631 fi
5632
5633 done
5634
5635
5636 # Checks for typedefs, structures, and compiler characteristics.
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5638 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5639 if ${ac_cv_header_stdbool_h+:} false; then :
5640 $as_echo_n "(cached) " >&6
5641 else
5642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5643 /* end confdefs.h. */
5644
5645 #include <stdbool.h>
5646 #ifndef bool
5647 "error: bool is not defined"
5648 #endif
5649 #ifndef false
5650 "error: false is not defined"
5651 #endif
5652 #if false
5653 "error: false is not 0"
5654 #endif
5655 #ifndef true
5656 "error: true is not defined"
5657 #endif
5658 #if true != 1
5659 "error: true is not 1"
5660 #endif
5661 #ifndef __bool_true_false_are_defined
5662 "error: __bool_true_false_are_defined is not defined"
5663 #endif
5664
5665 struct s { _Bool s: 1; _Bool t; } s;
5666
5667 char a[true == 1 ? 1 : -1];
5668 char b[false == 0 ? 1 : -1];
5669 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5670 char d[(bool) 0.5 == true ? 1 : -1];
5671 /* See body of main program for 'e'. */
5672 char f[(_Bool) 0.0 == false ? 1 : -1];
5673 char g[true];
5674 char h[sizeof (_Bool)];
5675 char i[sizeof s.t];
5676 enum { j = false, k = true, l = false * true, m = true * 256 };
5677 /* The following fails for
5678 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5679 _Bool n[m];
5680 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5681 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5682 /* Catch a bug in an HP-UX C compiler. See
5683 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5684 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5685 */
5686 _Bool q = true;
5687 _Bool *pq = &q;
5688
5689 int
5690 main ()
5691 {
5692
5693 bool e = &s;
5694 *pq |= q;
5695 *pq |= ! q;
5696 /* Refer to every declared value, to avoid compiler optimizations. */
5697 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5698 + !m + !n + !o + !p + !q + !pq);
5699
5700 ;
5701 return 0;
5702 }
5703 _ACEOF
5704 if ac_fn_c_try_compile "$LINENO"; then :
5705 ac_cv_header_stdbool_h=yes
5706 else
5707 ac_cv_header_stdbool_h=no
5708 fi
5709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5710 fi
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5712 $as_echo "$ac_cv_header_stdbool_h" >&6; }
5713 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5714 if test "x$ac_cv_type__Bool" = xyes; then :
5715
5716 cat >>confdefs.h <<_ACEOF
5717 #define HAVE__BOOL 1
5718 _ACEOF
5719
5720
5721 fi
5722
5723
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5725 $as_echo_n "checking for inline... " >&6; }
5726 if ${ac_cv_c_inline+:} false; then :
5727 $as_echo_n "(cached) " >&6
5728 else
5729 ac_cv_c_inline=no
5730 for ac_kw in inline __inline__ __inline; do
5731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5732 /* end confdefs.h. */
5733 #ifndef __cplusplus
5734 typedef int foo_t;
5735 static $ac_kw foo_t static_foo () {return 0; }
5736 $ac_kw foo_t foo () {return 0; }
5737 #endif
5738
5739 _ACEOF
5740 if ac_fn_c_try_compile "$LINENO"; then :
5741 ac_cv_c_inline=$ac_kw
5742 fi
5743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5744 test "$ac_cv_c_inline" != no && break
5745 done
5746
5747 fi
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5749 $as_echo "$ac_cv_c_inline" >&6; }
5750
5751 case $ac_cv_c_inline in
5752 inline | yes) ;;
5753 *)
5754 case $ac_cv_c_inline in
5755 no) ac_val=;;
5756 *) ac_val=$ac_cv_c_inline;;
5757 esac
5758 cat >>confdefs.h <<_ACEOF
5759 #ifndef __cplusplus
5760 #define inline $ac_val
5761 #endif
5762 _ACEOF
5763 ;;
54465764 esac
5447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5448 (eval "$ac_link") 2>conftest.er1
5449 ac_status=$?
5450 grep -v '^ *+' conftest.er1 >conftest.err
5451 rm -f conftest.er1
5452 cat conftest.err >&5
5453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454 (exit $ac_status); } && {
5455 test -z "$ac_c_werror_flag" ||
5456 test ! -s conftest.err
5457 } && test -s conftest$ac_exeext &&
5458 $as_test_x conftest$ac_exeext; then
5459 ac_cv_lib_SDL_mixer_main=yes
5460 else
5461 echo "$as_me: failed program was:" >&5
5462 sed 's/^/| /' conftest.$ac_ext >&5
5463
5464 ac_cv_lib_SDL_mixer_main=no
5465 fi
5466
5467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5468 conftest$ac_exeext conftest.$ac_ext
5765
5766
5767 # Checks for library functions.
5768 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5769 if test "x$ac_cv_type_size_t" = xyes; then :
5770
5771 else
5772
5773 cat >>confdefs.h <<_ACEOF
5774 #define size_t unsigned int
5775 _ACEOF
5776
5777 fi
5778
5779 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5780 # for constant arguments. Useless!
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5782 $as_echo_n "checking for working alloca.h... " >&6; }
5783 if ${ac_cv_working_alloca_h+:} false; then :
5784 $as_echo_n "(cached) " >&6
5785 else
5786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5787 /* end confdefs.h. */
5788 #include <alloca.h>
5789 int
5790 main ()
5791 {
5792 char *p = (char *) alloca (2 * sizeof (int));
5793 if (p) return 0;
5794 ;
5795 return 0;
5796 }
5797 _ACEOF
5798 if ac_fn_c_try_link "$LINENO"; then :
5799 ac_cv_working_alloca_h=yes
5800 else
5801 ac_cv_working_alloca_h=no
5802 fi
5803 rm -f core conftest.err conftest.$ac_objext \
5804 conftest$ac_exeext conftest.$ac_ext
5805 fi
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5807 $as_echo "$ac_cv_working_alloca_h" >&6; }
5808 if test $ac_cv_working_alloca_h = yes; then
5809
5810 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5811
5812 fi
5813
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5815 $as_echo_n "checking for alloca... " >&6; }
5816 if ${ac_cv_func_alloca_works+:} false; then :
5817 $as_echo_n "(cached) " >&6
5818 else
5819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5820 /* end confdefs.h. */
5821 #ifdef __GNUC__
5822 # define alloca __builtin_alloca
5823 #else
5824 # ifdef _MSC_VER
5825 # include <malloc.h>
5826 # define alloca _alloca
5827 # else
5828 # ifdef HAVE_ALLOCA_H
5829 # include <alloca.h>
5830 # else
5831 # ifdef _AIX
5832 #pragma alloca
5833 # else
5834 # ifndef alloca /* predefined by HP cc +Olibcalls */
5835 void *alloca (size_t);
5836 # endif
5837 # endif
5838 # endif
5839 # endif
5840 #endif
5841
5842 int
5843 main ()
5844 {
5845 char *p = (char *) alloca (1);
5846 if (p) return 0;
5847 ;
5848 return 0;
5849 }
5850 _ACEOF
5851 if ac_fn_c_try_link "$LINENO"; then :
5852 ac_cv_func_alloca_works=yes
5853 else
5854 ac_cv_func_alloca_works=no
5855 fi
5856 rm -f core conftest.err conftest.$ac_objext \
5857 conftest$ac_exeext conftest.$ac_ext
5858 fi
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5860 $as_echo "$ac_cv_func_alloca_works" >&6; }
5861
5862 if test $ac_cv_func_alloca_works = yes; then
5863
5864 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5865
5866 else
5867 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5868 # that cause trouble. Some versions do not even contain alloca or
5869 # contain a buggy version. If you still want to use their alloca,
5870 # use ar to extract alloca.o from them instead of compiling alloca.c.
5871
5872 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
5873
5874 $as_echo "#define C_ALLOCA 1" >>confdefs.h
5875
5876
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5878 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5879 if ${ac_cv_os_cray+:} false; then :
5880 $as_echo_n "(cached) " >&6
5881 else
5882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5883 /* end confdefs.h. */
5884 #if defined CRAY && ! defined CRAY2
5885 webecray
5886 #else
5887 wenotbecray
5888 #endif
5889
5890 _ACEOF
5891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5892 $EGREP "webecray" >/dev/null 2>&1; then :
5893 ac_cv_os_cray=yes
5894 else
5895 ac_cv_os_cray=no
5896 fi
5897 rm -f conftest*
5898
5899 fi
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5901 $as_echo "$ac_cv_os_cray" >&6; }
5902 if test $ac_cv_os_cray = yes; then
5903 for ac_func in _getb67 GETB67 getb67; do
5904 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5905 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5906 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5907
5908 cat >>confdefs.h <<_ACEOF
5909 #define CRAY_STACKSEG_END $ac_func
5910 _ACEOF
5911
5912 break
5913 fi
5914
5915 done
5916 fi
5917
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5919 $as_echo_n "checking stack direction for C alloca... " >&6; }
5920 if ${ac_cv_c_stack_direction+:} false; then :
5921 $as_echo_n "(cached) " >&6
5922 else
5923 if test "$cross_compiling" = yes; then :
5924 ac_cv_c_stack_direction=0
5925 else
5926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5927 /* end confdefs.h. */
5928 $ac_includes_default
5929 int
5930 find_stack_direction (int *addr, int depth)
5931 {
5932 int dir, dummy = 0;
5933 if (! addr)
5934 addr = &dummy;
5935 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
5936 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
5937 return dir + dummy;
5938 }
5939
5940 int
5941 main (int argc, char **argv)
5942 {
5943 return find_stack_direction (0, argc + !argv + 20) < 0;
5944 }
5945 _ACEOF
5946 if ac_fn_c_try_run "$LINENO"; then :
5947 ac_cv_c_stack_direction=1
5948 else
5949 ac_cv_c_stack_direction=-1
5950 fi
5951 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5952 conftest.$ac_objext conftest.beam conftest.$ac_ext
5953 fi
5954
5955 fi
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5957 $as_echo "$ac_cv_c_stack_direction" >&6; }
5958 cat >>confdefs.h <<_ACEOF
5959 #define STACK_DIRECTION $ac_cv_c_stack_direction
5960 _ACEOF
5961
5962
5963 fi
5964
5965 for ac_header in stdlib.h
5966 do :
5967 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5968 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5969 cat >>confdefs.h <<_ACEOF
5970 #define HAVE_STDLIB_H 1
5971 _ACEOF
5972
5973 fi
5974
5975 done
5976
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5978 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5979 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
5980 $as_echo_n "(cached) " >&6
5981 else
5982 if test "$cross_compiling" = yes; then :
5983 ac_cv_func_malloc_0_nonnull=no
5984 else
5985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5986 /* end confdefs.h. */
5987 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5988 # include <stdlib.h>
5989 #else
5990 char *malloc ();
5991 #endif
5992
5993 int
5994 main ()
5995 {
5996 return ! malloc (0);
5997 ;
5998 return 0;
5999 }
6000 _ACEOF
6001 if ac_fn_c_try_run "$LINENO"; then :
6002 ac_cv_func_malloc_0_nonnull=yes
6003 else
6004 ac_cv_func_malloc_0_nonnull=no
6005 fi
6006 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6007 conftest.$ac_objext conftest.beam conftest.$ac_ext
6008 fi
6009
6010 fi
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
6012 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
6013 if test $ac_cv_func_malloc_0_nonnull = yes; then :
6014
6015 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
6016
6017 else
6018 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
6019
6020 case " $LIBOBJS " in
6021 *" malloc.$ac_objext "* ) ;;
6022 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
6023 ;;
6024 esac
6025
6026
6027 $as_echo "#define malloc rpl_malloc" >>confdefs.h
6028
6029 fi
6030
6031
6032 for ac_header in stdlib.h
6033 do :
6034 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
6035 if test "x$ac_cv_header_stdlib_h" = xyes; then :
6036 cat >>confdefs.h <<_ACEOF
6037 #define HAVE_STDLIB_H 1
6038 _ACEOF
6039
6040 fi
6041
6042 done
6043
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
6045 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
6046 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
6047 $as_echo_n "(cached) " >&6
6048 else
6049 if test "$cross_compiling" = yes; then :
6050 ac_cv_func_realloc_0_nonnull=no
6051 else
6052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6053 /* end confdefs.h. */
6054 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
6055 # include <stdlib.h>
6056 #else
6057 char *realloc ();
6058 #endif
6059
6060 int
6061 main ()
6062 {
6063 return ! realloc (0, 0);
6064 ;
6065 return 0;
6066 }
6067 _ACEOF
6068 if ac_fn_c_try_run "$LINENO"; then :
6069 ac_cv_func_realloc_0_nonnull=yes
6070 else
6071 ac_cv_func_realloc_0_nonnull=no
6072 fi
6073 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6074 conftest.$ac_objext conftest.beam conftest.$ac_ext
6075 fi
6076
6077 fi
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
6079 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
6080 if test $ac_cv_func_realloc_0_nonnull = yes; then :
6081
6082 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
6083
6084 else
6085 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
6086
6087 case " $LIBOBJS " in
6088 *" realloc.$ac_objext "* ) ;;
6089 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
6090 ;;
6091 esac
6092
6093
6094 $as_echo "#define realloc rpl_realloc" >>confdefs.h
6095
6096 fi
6097
6098
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
6100 $as_echo_n "checking for working strtod... " >&6; }
6101 if ${ac_cv_func_strtod+:} false; then :
6102 $as_echo_n "(cached) " >&6
6103 else
6104 if test "$cross_compiling" = yes; then :
6105 ac_cv_func_strtod=no
6106 else
6107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6108 /* end confdefs.h. */
6109
6110 $ac_includes_default
6111 #ifndef strtod
6112 double strtod ();
6113 #endif
6114 int
6115 main()
6116 {
6117 {
6118 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
6119 char *string = " +69";
6120 char *term;
6121 double value;
6122 value = strtod (string, &term);
6123 if (value != 69 || term != (string + 4))
6124 return 1;
6125 }
6126
6127 {
6128 /* Under Solaris 2.4, strtod returns the wrong value for the
6129 terminating character under some conditions. */
6130 char *string = "NaN";
6131 char *term;
6132 strtod (string, &term);
6133 if (term != string && *(term - 1) == 0)
6134 return 1;
6135 }
6136 return 0;
6137 }
6138
6139 _ACEOF
6140 if ac_fn_c_try_run "$LINENO"; then :
6141 ac_cv_func_strtod=yes
6142 else
6143 ac_cv_func_strtod=no
6144 fi
6145 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6146 conftest.$ac_objext conftest.beam conftest.$ac_ext
6147 fi
6148
6149 fi
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
6151 $as_echo "$ac_cv_func_strtod" >&6; }
6152 if test $ac_cv_func_strtod = no; then
6153 case " $LIBOBJS " in
6154 *" strtod.$ac_objext "* ) ;;
6155 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
6156 ;;
6157 esac
6158
6159 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
6160 if test "x$ac_cv_func_pow" = xyes; then :
6161
6162 fi
6163
6164 if test $ac_cv_func_pow = no; then
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
6166 $as_echo_n "checking for pow in -lm... " >&6; }
6167 if ${ac_cv_lib_m_pow+:} false; then :
6168 $as_echo_n "(cached) " >&6
6169 else
6170 ac_check_lib_save_LIBS=$LIBS
6171 LIBS="-lm $LIBS"
6172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6173 /* end confdefs.h. */
6174
6175 /* Override any GCC internal prototype to avoid an error.
6176 Use char because int might match the return type of a GCC
6177 builtin and then its argument prototype would still apply. */
6178 #ifdef __cplusplus
6179 extern "C"
6180 #endif
6181 char pow ();
6182 int
6183 main ()
6184 {
6185 return pow ();
6186 ;
6187 return 0;
6188 }
6189 _ACEOF
6190 if ac_fn_c_try_link "$LINENO"; then :
6191 ac_cv_lib_m_pow=yes
6192 else
6193 ac_cv_lib_m_pow=no
6194 fi
6195 rm -f core conftest.err conftest.$ac_objext \
6196 conftest$ac_exeext conftest.$ac_ext
54696197 LIBS=$ac_check_lib_save_LIBS
54706198 fi
5471 { echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_main" >&5
5472 echo "${ECHO_T}$ac_cv_lib_SDL_mixer_main" >&6; }
5473 if test $ac_cv_lib_SDL_mixer_main = yes; then
5474 { echo "$as_me:$LINENO: result: \"SDL_Mixer found\"" >&5
5475 echo "${ECHO_T}\"SDL_Mixer found\"" >&6; }
5476 else
5477 { echo "$as_me:$LINENO: result: \"SDL_Mixer NOT found: Audio disabled: Please visit http://libsdl.org\"" >&5
5478 echo "${ECHO_T}\"SDL_Mixer NOT found: Audio disabled: Please visit http://libsdl.org\"" >&6; }; audio_flag=""; audio_lib=""
5479 fi
5480
5481
5482
5483
5484
5485 src_dir="$datadir/games/barrage"
5486
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
6200 $as_echo "$ac_cv_lib_m_pow" >&6; }
6201 if test "x$ac_cv_lib_m_pow" = xyes; then :
6202 POW_LIB=-lm
6203 else
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
6205 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
6206 fi
6207
6208 fi
6209
6210 fi
6211
6212 for ac_func in memset strchr strdup strrchr
6213 do :
6214 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6215 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6216 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6217 cat >>confdefs.h <<_ACEOF
6218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6219 _ACEOF
6220
6221 fi
6222 done
6223
6224
6225 # Flags
6226 datdir=$datadir/$PACKAGE
6227 hiscoredir=$localstatedir
6228 configdir="~/.config"
6229 debugflags=""
54876230 # Check whether --enable-install was given.
5488 if test "${enable_install+set}" = set; then
5489 enableval=$enable_install; src_dir="."
5490 fi
5491
5492 src_dir_flag="-DSRC_DIR=\\\"$src_dir\\\""
5493
5494
6231 if test "${enable_install+set}" = set; then :
6232 enableval=$enable_install; datdir="." hiscoredir="." configdir="."
6233 fi
6234
6235 # Check whether --enable-debug was given.
6236 if test "${enable_debug+set}" = set; then :
6237 enableval=$enable_debug; debugflags="-O0 -g"
6238 fi
6239
6240 # Check whether --enable-audio was given.
6241 if test "${enable_audio+set}" = set; then :
6242 enableval=$enable_audio; audio_flag=""; audio_lib=""
6243 fi
6244
6245
6246
6247
6248 CFLAGS="$CFLAGS -Wall -Wno-int-conversion -Wno-format -Wno-implicit-function-declaration"
6249 CFLAGS="$CFLAGS $SDL_CFLAGS $audio_flag $debugflags -DSRC_DIR=\\\"$datdir\\\" -DCONFIGDIRNAME=\\\"$configdir\\\" -DHISCOREDIR=\\\"$hiscoredir\\\""
6250 LIBS="$LIBS -lm $SDL_LIBS $audio_lib"
54956251
54966252 ac_config_files="$ac_config_files Makefile src/Makefile src/gfx/Makefile src/sounds/Makefile barrage.spec"
54976253
55226278 case $ac_val in #(
55236279 *${as_nl}*)
55246280 case $ac_var in #(
5525 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5526 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6281 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6282 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
55276283 esac
55286284 case $ac_var in #(
55296285 _ | IFS | as_nl) ;; #(
5530 *) $as_unset $ac_var ;;
6286 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6287 *) { eval $ac_var=; unset $ac_var;} ;;
55316288 esac ;;
55326289 esac
55336290 done
55356292 (set) 2>&1 |
55366293 case $as_nl`(ac_space=' '; set) 2>&1` in #(
55376294 *${as_nl}ac_space=\ *)
5538 # `set' does not quote correctly, so add quotes (double-quote
5539 # substitution turns \\\\ into \\, and sed turns \\ into \).
6295 # `set' does not quote correctly, so add quotes: double-quote
6296 # substitution turns \\\\ into \\, and sed turns \\ into \.
55406297 sed -n \
55416298 "s/'/'\\\\''/g;
55426299 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
55586315 :end' >>confcache
55596316 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
55606317 if test -w "$cache_file"; then
5561 test "x$cache_file" != "x/dev/null" &&
5562 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5563 echo "$as_me: updating cache $cache_file" >&6;}
5564 cat confcache >$cache_file
6318 if test "x$cache_file" != "x/dev/null"; then
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6320 $as_echo "$as_me: updating cache $cache_file" >&6;}
6321 if test ! -f "$cache_file" || test -h "$cache_file"; then
6322 cat confcache >"$cache_file"
6323 else
6324 case $cache_file in #(
6325 */* | ?:*)
6326 mv -f confcache "$cache_file"$$ &&
6327 mv -f "$cache_file"$$ "$cache_file" ;; #(
6328 *)
6329 mv -f confcache "$cache_file" ;;
6330 esac
6331 fi
6332 fi
55656333 else
5566 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5567 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6335 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
55686336 fi
55696337 fi
55706338 rm -f confcache
55776345
55786346 ac_libobjs=
55796347 ac_ltlibobjs=
6348 U=
55806349 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
55816350 # 1. Remove the extension, and $U if already installed.
55826351 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5583 ac_i=`echo "$ac_i" | sed "$ac_script"`
6352 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
55846353 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
55856354 # will be set to the directory where LIBOBJS objects are built.
5586 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5587 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6355 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6356 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
55886357 done
55896358 LIBOBJS=$ac_libobjs
55906359
55916360 LTLIBOBJS=$ac_ltlibobjs
55926361
55936362
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6364 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6365 if test -n "$am_sleep_pid"; then
6366 # Hide warnings about reused PIDs.
6367 wait $am_sleep_pid 2>/dev/null
6368 fi
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6370 $as_echo "done" >&6; }
6371 if test -n "$EXEEXT"; then
6372 am__EXEEXT_TRUE=
6373 am__EXEEXT_FALSE='#'
6374 else
6375 am__EXEEXT_TRUE='#'
6376 am__EXEEXT_FALSE=
6377 fi
6378
55946379 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5595 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5596 Usually this means the macro was only invoked conditionally." >&5
5597 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5598 Usually this means the macro was only invoked conditionally." >&2;}
5599 { (exit 1); exit 1; }; }
6380 as_fn_error $? "conditional \"AMDEP\" was never defined.
6381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
56006382 fi
56016383 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5602 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5603 Usually this means the macro was only invoked conditionally." >&5
5604 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5605 Usually this means the macro was only invoked conditionally." >&2;}
5606 { (exit 1); exit 1; }; }
5607 fi
5608
5609 : ${CONFIG_STATUS=./config.status}
6384 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6386 fi
6387 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6388 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6390 fi
6391
6392 : "${CONFIG_STATUS=./config.status}"
6393 ac_write_fail=0
56106394 ac_clean_files_save=$ac_clean_files
56116395 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5612 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5613 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5614 cat >$CONFIG_STATUS <<_ACEOF
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6397 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6398 as_write_fail=0
6399 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
56156400 #! $SHELL
56166401 # Generated by $as_me.
56176402 # Run this file to recreate the current configuration.
56216406 debug=false
56226407 ac_cs_recheck=false
56236408 ac_cs_silent=false
6409
56246410 SHELL=\${CONFIG_SHELL-$SHELL}
5625 _ACEOF
5626
5627 cat >>$CONFIG_STATUS <<\_ACEOF
5628 ## --------------------- ##
5629 ## M4sh Initialization. ##
5630 ## --------------------- ##
6411 export SHELL
6412 _ASEOF
6413 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6414 ## -------------------- ##
6415 ## M4sh Initialization. ##
6416 ## -------------------- ##
56316417
56326418 # Be more Bourne compatible
56336419 DUALCASE=1; export DUALCASE # for MKS sh
5634 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6420 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
56356421 emulate sh
56366422 NULLCMD=:
5637 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6423 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
56386424 # is contrary to our usage. Disable this feature.
56396425 alias -g '${1+"$@"}'='"$@"'
56406426 setopt NO_GLOB_SUBST
56416427 else
5642 case `(set -o) 2>/dev/null` in
5643 *posix*) set -o posix ;;
6428 case `(set -o) 2>/dev/null` in #(
6429 *posix*) :
6430 set -o posix ;; #(
6431 *) :
6432 ;;
56446433 esac
5645
5646 fi
5647
5648
5649
5650
5651 # PATH needs CR
5652 # Avoid depending upon Character Ranges.
5653 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5654 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5655 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5656 as_cr_digits='0123456789'
5657 as_cr_alnum=$as_cr_Letters$as_cr_digits
6434 fi
6435
6436
6437 as_nl='
6438 '
6439 export as_nl
6440 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6441 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6442 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6443 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6444 # Prefer a ksh shell builtin over an external printf program on Solaris,
6445 # but without wasting forks for bash or zsh.
6446 if test -z "$BASH_VERSION$ZSH_VERSION" \
6447 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6448 as_echo='print -r --'
6449 as_echo_n='print -rn --'
6450 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6451 as_echo='printf %s\n'
6452 as_echo_n='printf %s'
6453 else
6454 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6455 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6456 as_echo_n='/usr/ucb/echo -n'
6457 else
6458 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6459 as_echo_n_body='eval
6460 arg=$1;
6461 case $arg in #(
6462 *"$as_nl"*)
6463 expr "X$arg" : "X\\(.*\\)$as_nl";
6464 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6465 esac;
6466 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6467 '
6468 export as_echo_n_body
6469 as_echo_n='sh -c $as_echo_n_body as_echo'
6470 fi
6471 export as_echo_body
6472 as_echo='sh -c $as_echo_body as_echo'
6473 fi
56586474
56596475 # The user is always right.
56606476 if test "${PATH_SEPARATOR+set}" != set; then
5661 echo "#! /bin/sh" >conf$$.sh
5662 echo "exit 0" >>conf$$.sh
5663 chmod +x conf$$.sh
5664 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5665 PATH_SEPARATOR=';'
5666 else
5667 PATH_SEPARATOR=:
5668 fi
5669 rm -f conf$$.sh
5670 fi
5671
5672 # Support unset when possible.
5673 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5674 as_unset=unset
5675 else
5676 as_unset=false
6477 PATH_SEPARATOR=:
6478 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6479 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6480 PATH_SEPARATOR=';'
6481 }
56776482 fi
56786483
56796484
56826487 # there to prevent editors from complaining about space-tab.
56836488 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
56846489 # splitting by setting IFS to empty value.)
5685 as_nl='
5686 '
56876490 IFS=" "" $as_nl"
56886491
56896492 # Find who we are. Look in the path if we contain no directory separator.
5690 case $0 in
6493 as_myself=
6494 case $0 in #((
56916495 *[\\/]* ) as_myself=$0 ;;
56926496 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
56936497 for as_dir in $PATH
56946498 do
56956499 IFS=$as_save_IFS
56966500 test -z "$as_dir" && as_dir=.
5697 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5698 done
6501 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6502 done
56996503 IFS=$as_save_IFS
57006504
57016505 ;;
57066510 as_myself=$0
57076511 fi
57086512 if test ! -f "$as_myself"; then
5709 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5710 { (exit 1); exit 1; }
5711 fi
5712
5713 # Work around bugs in pre-3.0 UWIN ksh.
5714 for as_var in ENV MAIL MAILPATH
5715 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6513 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6514 exit 1
6515 fi
6516
6517 # Unset variables that we do not need and which cause bugs (e.g. in
6518 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6519 # suppresses any "Segmentation fault" message there. '((' could
6520 # trigger a bug in pdksh 5.2.14.
6521 for as_var in BASH_ENV ENV MAIL MAILPATH
6522 do eval test x\${$as_var+set} = xset \
6523 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
57166524 done
57176525 PS1='$ '
57186526 PS2='> '
57196527 PS4='+ '
57206528
57216529 # NLS nuisances.
5722 for as_var in \
5723 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5724 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5725 LC_TELEPHONE LC_TIME
5726 do
5727 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5728 eval $as_var=C; export $as_var
5729 else
5730 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6530 LC_ALL=C
6531 export LC_ALL
6532 LANGUAGE=C
6533 export LANGUAGE
6534
6535 # CDPATH.
6536 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6537
6538
6539 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6540 # ----------------------------------------
6541 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6542 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6543 # script with STATUS, using 1 if that was 0.
6544 as_fn_error ()
6545 {
6546 as_status=$1; test $as_status -eq 0 && as_status=1
6547 if test "$4"; then
6548 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6549 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
57316550 fi
5732 done
5733
5734 # Required to use basename.
6551 $as_echo "$as_me: error: $2" >&2
6552 as_fn_exit $as_status
6553 } # as_fn_error
6554
6555
6556 # as_fn_set_status STATUS
6557 # -----------------------
6558 # Set $? to STATUS, without forking.
6559 as_fn_set_status ()
6560 {
6561 return $1
6562 } # as_fn_set_status
6563
6564 # as_fn_exit STATUS
6565 # -----------------
6566 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6567 as_fn_exit ()
6568 {
6569 set +e
6570 as_fn_set_status $1
6571 exit $1
6572 } # as_fn_exit
6573
6574 # as_fn_unset VAR
6575 # ---------------
6576 # Portably unset VAR.
6577 as_fn_unset ()
6578 {
6579 { eval $1=; unset $1;}
6580 }
6581 as_unset=as_fn_unset
6582 # as_fn_append VAR VALUE
6583 # ----------------------
6584 # Append the text in VALUE to the end of the definition contained in VAR. Take
6585 # advantage of any shell optimizations that allow amortized linear growth over
6586 # repeated appends, instead of the typical quadratic growth present in naive
6587 # implementations.
6588 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6589 eval 'as_fn_append ()
6590 {
6591 eval $1+=\$2
6592 }'
6593 else
6594 as_fn_append ()
6595 {
6596 eval $1=\$$1\$2
6597 }
6598 fi # as_fn_append
6599
6600 # as_fn_arith ARG...
6601 # ------------------
6602 # Perform arithmetic evaluation on the ARGs, and store the result in the
6603 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6604 # must be portable across $(()) and expr.
6605 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6606 eval 'as_fn_arith ()
6607 {
6608 as_val=$(( $* ))
6609 }'
6610 else
6611 as_fn_arith ()
6612 {
6613 as_val=`expr "$@" || test $? -eq 1`
6614 }
6615 fi # as_fn_arith
6616
6617
57356618 if expr a : '\(a\)' >/dev/null 2>&1 &&
57366619 test "X`expr 00001 : '.*\(...\)'`" = X001; then
57376620 as_expr=expr
57456628 as_basename=false
57466629 fi
57476630
5748
5749 # Name of the executable.
6631 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6632 as_dirname=dirname
6633 else
6634 as_dirname=false
6635 fi
6636
57506637 as_me=`$as_basename -- "$0" ||
57516638 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
57526639 X"$0" : 'X\(//\)$' \| \
57536640 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5754 echo X/"$0" |
6641 $as_echo X/"$0" |
57556642 sed '/^.*\/\([^/][^/]*\)\/*$/{
57566643 s//\1/
57576644 q
57666653 }
57676654 s/.*/./; q'`
57686655
5769 # CDPATH.
5770 $as_unset CDPATH
5771
5772
5773
5774 as_lineno_1=$LINENO
5775 as_lineno_2=$LINENO
5776 test "x$as_lineno_1" != "x$as_lineno_2" &&
5777 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5778
5779 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5780 # uniformly replaced by the line number. The first 'sed' inserts a
5781 # line-number line after each line using $LINENO; the second 'sed'
5782 # does the real work. The second script uses 'N' to pair each
5783 # line-number line with the line containing $LINENO, and appends
5784 # trailing '-' during substitution so that $LINENO is not a special
5785 # case at line end.
5786 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5787 # scripts with optimization help from Paolo Bonzini. Blame Lee
5788 # E. McMahon (1931-1989) for sed's syntax. :-)
5789 sed -n '
5790 p
5791 /[$]LINENO/=
5792 ' <$as_myself |
5793 sed '
5794 s/[$]LINENO.*/&-/
5795 t lineno
5796 b
5797 :lineno
5798 N
5799 :loop
5800 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5801 t loop
5802 s/-\n.*//
5803 ' >$as_me.lineno &&
5804 chmod +x "$as_me.lineno" ||
5805 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5806 { (exit 1); exit 1; }; }
5807
5808 # Don't try to exec as it changes $[0], causing all sort of problems
5809 # (the dirname of $[0] is not the place where we might find the
5810 # original and so on. Autoconf is especially sensitive to this).
5811 . "./$as_me.lineno"
5812 # Exit status is that of the last command.
5813 exit
5814 }
5815
5816
5817 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5818 as_dirname=dirname
5819 else
5820 as_dirname=false
5821 fi
6656 # Avoid depending upon Character Ranges.
6657 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6658 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6659 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6660 as_cr_digits='0123456789'
6661 as_cr_alnum=$as_cr_Letters$as_cr_digits
58226662
58236663 ECHO_C= ECHO_N= ECHO_T=
5824 case `echo -n x` in
6664 case `echo -n x` in #(((((
58256665 -n*)
5826 case `echo 'x\c'` in
6666 case `echo 'xy\c'` in
58276667 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5828 *) ECHO_C='\c';;
6668 xy) ECHO_C='\c';;
6669 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6670 ECHO_T=' ';;
58296671 esac;;
58306672 *)
58316673 ECHO_N='-n';;
58326674 esac
58336675
5834 if expr a : '\(a\)' >/dev/null 2>&1 &&
5835 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5836 as_expr=expr
5837 else
5838 as_expr=false
5839 fi
5840
58416676 rm -f conf$$ conf$$.exe conf$$.file
58426677 if test -d conf$$.dir; then
58436678 rm -f conf$$.dir/conf$$.file
58446679 else
58456680 rm -f conf$$.dir
5846 mkdir conf$$.dir
5847 fi
5848 echo >conf$$.file
5849 if ln -s conf$$.file conf$$ 2>/dev/null; then
5850 as_ln_s='ln -s'
5851 # ... but there are two gotchas:
5852 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5853 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5854 # In both cases, we have to default to `cp -p'.
5855 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5856 as_ln_s='cp -p'
5857 elif ln conf$$.file conf$$ 2>/dev/null; then
5858 as_ln_s=ln
5859 else
5860 as_ln_s='cp -p'
6681 mkdir conf$$.dir 2>/dev/null
6682 fi
6683 if (echo >conf$$.file) 2>/dev/null; then
6684 if ln -s conf$$.file conf$$ 2>/dev/null; then
6685 as_ln_s='ln -s'
6686 # ... but there are two gotchas:
6687 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6688 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6689 # In both cases, we have to default to `cp -pR'.
6690 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6691 as_ln_s='cp -pR'
6692 elif ln conf$$.file conf$$ 2>/dev/null; then
6693 as_ln_s=ln
6694 else
6695 as_ln_s='cp -pR'
6696 fi
6697 else
6698 as_ln_s='cp -pR'
58616699 fi
58626700 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
58636701 rmdir conf$$.dir 2>/dev/null
58646702
5865 if mkdir -p . 2>/dev/null; then
5866 as_mkdir_p=:
5867 else
5868 test -d ./-p && rmdir ./-p
5869 as_mkdir_p=false
5870 fi
5871
5872 if test -x / >/dev/null 2>&1; then
5873 as_test_x='test -x'
5874 else
5875 if ls -dL / >/dev/null 2>&1; then
5876 as_ls_L_option=L
5877 else
5878 as_ls_L_option=
5879 fi
5880 as_test_x='
5881 eval sh -c '\''
5882 if test -d "$1"; then
5883 test -d "$1/.";
5884 else
5885 case $1 in
5886 -*)set "./$1";;
5887 esac;
5888 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5889 ???[sx]*):;;*)false;;esac;fi
5890 '\'' sh
5891 '
5892 fi
5893 as_executable_p=$as_test_x
5894
5895 # Sed expression to map a string onto a valid CPP name.
5896 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5897
5898 # Sed expression to map a string onto a valid variable name.
5899 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5900
5901
5902 exec 6>&1
5903
5904 # Save the log message, to keep $[0] and so on meaningful, and to
5905 # report actual input values of CONFIG_FILES etc. instead of their
5906 # values after options handling.
5907 ac_log="
5908 This file was extended by $as_me, which was
5909 generated by GNU Autoconf 2.61. Invocation command line was
5910
5911 CONFIG_FILES = $CONFIG_FILES
5912 CONFIG_HEADERS = $CONFIG_HEADERS
5913 CONFIG_LINKS = $CONFIG_LINKS
5914 CONFIG_COMMANDS = $CONFIG_COMMANDS
5915 $ $0 $@
5916
5917 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5918 "
5919
5920 _ACEOF
5921
5922 cat >>$CONFIG_STATUS <<_ACEOF
5923 # Files that config.status was made for.
5924 config_files="$ac_config_files"
5925 config_headers="$ac_config_headers"
5926 config_commands="$ac_config_commands"
5927
5928 _ACEOF
5929
5930 cat >>$CONFIG_STATUS <<\_ACEOF
5931 ac_cs_usage="\
5932 \`$as_me' instantiates files from templates according to the
5933 current configuration.
5934
5935 Usage: $0 [OPTIONS] [FILE]...
5936
5937 -h, --help print this help, then exit
5938 -V, --version print version number and configuration settings, then exit
5939 -q, --quiet do not print progress messages
5940 -d, --debug don't remove temporary files
5941 --recheck update $as_me by reconfiguring in the same conditions
5942 --file=FILE[:TEMPLATE]
5943 instantiate the configuration file FILE
5944 --header=FILE[:TEMPLATE]
5945 instantiate the configuration header FILE
5946
5947 Configuration files:
5948 $config_files
5949
5950 Configuration headers:
5951 $config_headers
5952
5953 Configuration commands:
5954 $config_commands
5955
5956 Report bugs to <bug-autoconf@gnu.org>."
5957
5958 _ACEOF
5959 cat >>$CONFIG_STATUS <<_ACEOF
5960 ac_cs_version="\\
5961 config.status
5962 configured by $0, generated by GNU Autoconf 2.61,
5963 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5964
5965 Copyright (C) 2006 Free Software Foundation, Inc.
5966 This config.status script is free software; the Free Software Foundation
5967 gives unlimited permission to copy, distribute and modify it."
5968
5969 ac_pwd='$ac_pwd'
5970 srcdir='$srcdir'
5971 INSTALL='$INSTALL'
5972 _ACEOF
5973
5974 cat >>$CONFIG_STATUS <<\_ACEOF
5975 # If no file are specified by the user, then we need to provide default
5976 # value. By we need to know if files were specified by the user.
5977 ac_need_defaults=:
5978 while test $# != 0
5979 do
5980 case $1 in
5981 --*=*)
5982 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5983 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5984 ac_shift=:
5985 ;;
5986 *)
5987 ac_option=$1
5988 ac_optarg=$2
5989 ac_shift=shift
5990 ;;
5991 esac
5992
5993 case $ac_option in
5994 # Handling of the options.
5995 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5996 ac_cs_recheck=: ;;
5997 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5998 echo "$ac_cs_version"; exit ;;
5999 --debug | --debu | --deb | --de | --d | -d )
6000 debug=: ;;
6001 --file | --fil | --fi | --f )
6002 $ac_shift
6003 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6004 ac_need_defaults=false;;
6005 --header | --heade | --head | --hea )
6006 $ac_shift
6007 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6008 ac_need_defaults=false;;
6009 --he | --h)
6010 # Conflict between --help and --header
6011 { echo "$as_me: error: ambiguous option: $1
6012 Try \`$0 --help' for more information." >&2
6013 { (exit 1); exit 1; }; };;
6014 --help | --hel | -h )
6015 echo "$ac_cs_usage"; exit ;;
6016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6017 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6018 ac_cs_silent=: ;;
6019
6020 # This is an error.
6021 -*) { echo "$as_me: error: unrecognized option: $1
6022 Try \`$0 --help' for more information." >&2
6023 { (exit 1); exit 1; }; } ;;
6024
6025 *) ac_config_targets="$ac_config_targets $1"
6026 ac_need_defaults=false ;;
6027
6028 esac
6029 shift
6030 done
6031
6032 ac_configure_extra_args=
6033
6034 if $ac_cs_silent; then
6035 exec 6>/dev/null
6036 ac_configure_extra_args="$ac_configure_extra_args --silent"
6037 fi
6038
6039 _ACEOF
6040 cat >>$CONFIG_STATUS <<_ACEOF
6041 if \$ac_cs_recheck; then
6042 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6043 CONFIG_SHELL=$SHELL
6044 export CONFIG_SHELL
6045 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6046 fi
6047
6048 _ACEOF
6049 cat >>$CONFIG_STATUS <<\_ACEOF
6050 exec 5>>config.log
6703
6704 # as_fn_mkdir_p
6705 # -------------
6706 # Create "$as_dir" as a directory, including parents if necessary.
6707 as_fn_mkdir_p ()
60516708 {
6052 echo
6053 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6054 ## Running $as_me. ##
6055 _ASBOX
6056 echo "$ac_log"
6057 } >&5
6058
6059 _ACEOF
6060 cat >>$CONFIG_STATUS <<_ACEOF
6061 #
6062 # INIT-COMMANDS
6063 #
6064 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6065
6066 _ACEOF
6067
6068 cat >>$CONFIG_STATUS <<\_ACEOF
6069
6070 # Handling of arguments.
6071 for ac_config_target in $ac_config_targets
6072 do
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 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6078 "src/gfx/Makefile") CONFIG_FILES="$CONFIG_FILES src/gfx/Makefile" ;;
6079 "src/sounds/Makefile") CONFIG_FILES="$CONFIG_FILES src/sounds/Makefile" ;;
6080 "barrage.spec") CONFIG_FILES="$CONFIG_FILES barrage.spec" ;;
6081
6082 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6083 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6084 { (exit 1); exit 1; }; };;
6085 esac
6086 done
6087
6088
6089 # If the user did not use the arguments to specify the items to instantiate,
6090 # then the envvar interface is used. Set only those that are not.
6091 # We use the long form for the default assignment because of an extremely
6092 # bizarre bug on SunOS 4.1.3.
6093 if $ac_need_defaults; then
6094 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6095 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6096 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6097 fi
6098
6099 # Have a temporary directory for convenience. Make it in the build tree
6100 # simply because there is no reason against having it here, and in addition,
6101 # creating and moving files from /tmp can sometimes cause problems.
6102 # Hook for its removal unless debugging.
6103 # Note that there is a small window in which the directory will not be cleaned:
6104 # after its creation but before its name has been assigned to `$tmp'.
6105 $debug ||
6106 {
6107 tmp=
6108 trap 'exit_status=$?
6109 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6110 ' 0
6111 trap '{ (exit 1); exit 1; }' 1 2 13 15
6112 }
6113 # Create a (secure) tmp directory for tmp files.
6114
6115 {
6116 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6117 test -n "$tmp" && test -d "$tmp"
6118 } ||
6119 {
6120 tmp=./conf$$-$RANDOM
6121 (umask 077 && mkdir "$tmp")
6122 } ||
6123 {
6124 echo "$me: cannot create a temporary directory in ." >&2
6125 { (exit 1); exit 1; }
6126 }
6127
6128 #
6129 # Set up the sed scripts for CONFIG_FILES section.
6130 #
6131
6132 # No need to generate the scripts if there are no CONFIG_FILES.
6133 # This happens for instance when ./config.status config.h
6134 if test -n "$CONFIG_FILES"; then
6135
6136 _ACEOF
6137
6138
6139
6140 ac_delim='%!_!# '
6141 for ac_last_try in false false false false false :; do
6142 cat >conf$$subs.sed <<_ACEOF
6143 SHELL!$SHELL$ac_delim
6144 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6145 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6146 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6147 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6148 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6149 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6150 exec_prefix!$exec_prefix$ac_delim
6151 prefix!$prefix$ac_delim
6152 program_transform_name!$program_transform_name$ac_delim
6153 bindir!$bindir$ac_delim
6154 sbindir!$sbindir$ac_delim
6155 libexecdir!$libexecdir$ac_delim
6156 datarootdir!$datarootdir$ac_delim
6157 datadir!$datadir$ac_delim
6158 sysconfdir!$sysconfdir$ac_delim
6159 sharedstatedir!$sharedstatedir$ac_delim
6160 localstatedir!$localstatedir$ac_delim
6161 includedir!$includedir$ac_delim
6162 oldincludedir!$oldincludedir$ac_delim
6163 docdir!$docdir$ac_delim
6164 infodir!$infodir$ac_delim
6165 htmldir!$htmldir$ac_delim
6166 dvidir!$dvidir$ac_delim
6167 pdfdir!$pdfdir$ac_delim
6168 psdir!$psdir$ac_delim
6169 libdir!$libdir$ac_delim
6170 localedir!$localedir$ac_delim
6171 mandir!$mandir$ac_delim
6172 DEFS!$DEFS$ac_delim
6173 ECHO_C!$ECHO_C$ac_delim
6174 ECHO_N!$ECHO_N$ac_delim
6175 ECHO_T!$ECHO_T$ac_delim
6176 LIBS!$LIBS$ac_delim
6177 build_alias!$build_alias$ac_delim
6178 host_alias!$host_alias$ac_delim
6179 target_alias!$target_alias$ac_delim
6180 build!$build$ac_delim
6181 build_cpu!$build_cpu$ac_delim
6182 build_vendor!$build_vendor$ac_delim
6183 build_os!$build_os$ac_delim
6184 host!$host$ac_delim
6185 host_cpu!$host_cpu$ac_delim
6186 host_vendor!$host_vendor$ac_delim
6187 host_os!$host_os$ac_delim
6188 target!$target$ac_delim
6189 target_cpu!$target_cpu$ac_delim
6190 target_vendor!$target_vendor$ac_delim
6191 target_os!$target_os$ac_delim
6192 CC!$CC$ac_delim
6193 CFLAGS!$CFLAGS$ac_delim
6194 LDFLAGS!$LDFLAGS$ac_delim
6195 CPPFLAGS!$CPPFLAGS$ac_delim
6196 ac_ct_CC!$ac_ct_CC$ac_delim
6197 EXEEXT!$EXEEXT$ac_delim
6198 OBJEXT!$OBJEXT$ac_delim
6199 CPP!$CPP$ac_delim
6200 GREP!$GREP$ac_delim
6201 EGREP!$EGREP$ac_delim
6202 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6203 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6204 INSTALL_DATA!$INSTALL_DATA$ac_delim
6205 CYGPATH_W!$CYGPATH_W$ac_delim
6206 PACKAGE!$PACKAGE$ac_delim
6207 VERSION!$VERSION$ac_delim
6208 ACLOCAL!$ACLOCAL$ac_delim
6209 AUTOCONF!$AUTOCONF$ac_delim
6210 AUTOMAKE!$AUTOMAKE$ac_delim
6211 AUTOHEADER!$AUTOHEADER$ac_delim
6212 MAKEINFO!$MAKEINFO$ac_delim
6213 install_sh!$install_sh$ac_delim
6214 STRIP!$STRIP$ac_delim
6215 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
6216 mkdir_p!$mkdir_p$ac_delim
6217 AWK!$AWK$ac_delim
6218 SET_MAKE!$SET_MAKE$ac_delim
6219 am__leading_dot!$am__leading_dot$ac_delim
6220 AMTAR!$AMTAR$ac_delim
6221 am__tar!$am__tar$ac_delim
6222 am__untar!$am__untar$ac_delim
6223 DEPDIR!$DEPDIR$ac_delim
6224 am__include!$am__include$ac_delim
6225 am__quote!$am__quote$ac_delim
6226 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
6227 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
6228 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
6229 CCDEPMODE!$CCDEPMODE$ac_delim
6230 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
6231 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
6232 RANLIB!$RANLIB$ac_delim
6233 SDL_CONFIG!$SDL_CONFIG$ac_delim
6234 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
6235 SDL_LIBS!$SDL_LIBS$ac_delim
6236 audio_flag!$audio_flag$ac_delim
6237 audio_lib!$audio_lib$ac_delim
6238 src_dir!$src_dir$ac_delim
6239 src_dir_flag!$src_dir_flag$ac_delim
6240 _ACEOF
6241
6242 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
6243 break
6244 elif $ac_last_try; then
6245 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6246 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6247 { (exit 1); exit 1; }; }
6248 else
6249 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6250 fi
6251 done
6252
6253 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6254 if test -n "$ac_eof"; then
6255 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6256 ac_eof=`expr $ac_eof + 1`
6257 fi
6258
6259 cat >>$CONFIG_STATUS <<_ACEOF
6260 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6261 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6262 _ACEOF
6263 sed '
6264 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6265 s/^/s,@/; s/!/@,|#_!!_#|/
6266 :n
6267 t n
6268 s/'"$ac_delim"'$/,g/; t
6269 s/$/\\/; p
6270 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6271 ' >>$CONFIG_STATUS <conf$$subs.sed
6272 rm -f conf$$subs.sed
6273 cat >>$CONFIG_STATUS <<_ACEOF
6274 CEOF$ac_eof
6275 _ACEOF
6276
6277
6278 ac_delim='%!_!# '
6279 for ac_last_try in false false false false false :; do
6280 cat >conf$$subs.sed <<_ACEOF
6281 LIBOBJS!$LIBOBJS$ac_delim
6282 LTLIBOBJS!$LTLIBOBJS$ac_delim
6283 _ACEOF
6284
6285 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 2; then
6286 break
6287 elif $ac_last_try; then
6288 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6289 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6290 { (exit 1); exit 1; }; }
6291 else
6292 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6293 fi
6294 done
6295
6296 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6297 if test -n "$ac_eof"; then
6298 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6299 ac_eof=`expr $ac_eof + 1`
6300 fi
6301
6302 cat >>$CONFIG_STATUS <<_ACEOF
6303 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
6304 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6305 _ACEOF
6306 sed '
6307 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6308 s/^/s,@/; s/!/@,|#_!!_#|/
6309 :n
6310 t n
6311 s/'"$ac_delim"'$/,g/; t
6312 s/$/\\/; p
6313 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6314 ' >>$CONFIG_STATUS <conf$$subs.sed
6315 rm -f conf$$subs.sed
6316 cat >>$CONFIG_STATUS <<_ACEOF
6317 :end
6318 s/|#_!!_#|//g
6319 CEOF$ac_eof
6320 _ACEOF
6321
6322
6323 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6324 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6325 # trailing colons and then remove the whole line if VPATH becomes empty
6326 # (actually we leave an empty line to preserve line numbers).
6327 if test "x$srcdir" = x.; then
6328 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6329 s/:*\$(srcdir):*/:/
6330 s/:*\${srcdir}:*/:/
6331 s/:*@srcdir@:*/:/
6332 s/^\([^=]*=[ ]*\):*/\1/
6333 s/:*$//
6334 s/^[^=]*=[ ]*$//
6335 }'
6336 fi
6337
6338 cat >>$CONFIG_STATUS <<\_ACEOF
6339 fi # test -n "$CONFIG_FILES"
6340
6341
6342 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
6343 do
6344 case $ac_tag in
6345 :[FHLC]) ac_mode=$ac_tag; continue;;
6346 esac
6347 case $ac_mode$ac_tag in
6348 :[FHL]*:*);;
6349 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6350 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6351 { (exit 1); exit 1; }; };;
6352 :[FH]-) ac_tag=-:-;;
6353 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6354 esac
6355 ac_save_IFS=$IFS
6356 IFS=:
6357 set x $ac_tag
6358 IFS=$ac_save_IFS
6359 shift
6360 ac_file=$1
6361 shift
6362
6363 case $ac_mode in
6364 :L) ac_source=$1;;
6365 :[FH])
6366 ac_file_inputs=
6367 for ac_f
6368 do
6369 case $ac_f in
6370 -) ac_f="$tmp/stdin";;
6371 *) # Look for the file first in the build tree, then in the source tree
6372 # (if the path is not absolute). The absolute path cannot be DOS-style,
6373 # because $ac_f cannot contain `:'.
6374 test -f "$ac_f" ||
6375 case $ac_f in
6376 [\\/$]*) false;;
6377 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6378 esac ||
6379 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6380 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6381 { (exit 1); exit 1; }; };;
6382 esac
6383 ac_file_inputs="$ac_file_inputs $ac_f"
6384 done
6385
6386 # Let's still pretend it is `configure' which instantiates (i.e., don't
6387 # use $as_me), people would be surprised to read:
6388 # /* config.h. Generated by config.status. */
6389 configure_input="Generated from "`IFS=:
6390 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6391 if test x"$ac_file" != x-; then
6392 configure_input="$ac_file. $configure_input"
6393 { echo "$as_me:$LINENO: creating $ac_file" >&5
6394 echo "$as_me: creating $ac_file" >&6;}
6395 fi
6396
6397 case $ac_tag in
6398 *:-:* | *:-) cat >"$tmp/stdin";;
6399 esac
6400 ;;
6401 esac
6402
6403 ac_dir=`$as_dirname -- "$ac_file" ||
6404 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6405 X"$ac_file" : 'X\(//\)[^/]' \| \
6406 X"$ac_file" : 'X\(//\)$' \| \
6407 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6408 echo X"$ac_file" |
6409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6410 s//\1/
6411 q
6412 }
6413 /^X\(\/\/\)[^/].*/{
6414 s//\1/
6415 q
6416 }
6417 /^X\(\/\/\)$/{
6418 s//\1/
6419 q
6420 }
6421 /^X\(\/\).*/{
6422 s//\1/
6423 q
6424 }
6425 s/.*/./; q'`
6426 { as_dir="$ac_dir"
6709
64276710 case $as_dir in #(
64286711 -*) as_dir=./$as_dir;;
64296712 esac
6430 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6713 test -d "$as_dir" || eval $as_mkdir_p || {
64316714 as_dirs=
64326715 while :; do
64336716 case $as_dir in #(
6434 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6717 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
64356718 *) as_qdir=$as_dir;;
64366719 esac
64376720 as_dirs="'$as_qdir' $as_dirs"
64406723 X"$as_dir" : 'X\(//\)[^/]' \| \
64416724 X"$as_dir" : 'X\(//\)$' \| \
64426725 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6443 echo X"$as_dir" |
6726 $as_echo X"$as_dir" |
64446727 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
64456728 s//\1/
64466729 q
64616744 test -d "$as_dir" && break
64626745 done
64636746 test -z "$as_dirs" || eval "mkdir $as_dirs"
6464 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6465 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6466 { (exit 1); exit 1; }; }; }
6747 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6748
6749
6750 } # as_fn_mkdir_p
6751 if mkdir -p . 2>/dev/null; then
6752 as_mkdir_p='mkdir -p "$as_dir"'
6753 else
6754 test -d ./-p && rmdir ./-p
6755 as_mkdir_p=false
6756 fi
6757
6758
6759 # as_fn_executable_p FILE
6760 # -----------------------
6761 # Test if FILE is an executable regular file.
6762 as_fn_executable_p ()
6763 {
6764 test -f "$1" && test -x "$1"
6765 } # as_fn_executable_p
6766 as_test_x='test -x'
6767 as_executable_p=as_fn_executable_p
6768
6769 # Sed expression to map a string onto a valid CPP name.
6770 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6771
6772 # Sed expression to map a string onto a valid variable name.
6773 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6774
6775
6776 exec 6>&1
6777 ## ----------------------------------- ##
6778 ## Main body of $CONFIG_STATUS script. ##
6779 ## ----------------------------------- ##
6780 _ASEOF
6781 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6782
6783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6784 # Save the log message, to keep $0 and so on meaningful, and to
6785 # report actual input values of CONFIG_FILES etc. instead of their
6786 # values after options handling.
6787 ac_log="
6788 This file was extended by barrage $as_me 1.0.5, which was
6789 generated by GNU Autoconf 2.69. Invocation command line was
6790
6791 CONFIG_FILES = $CONFIG_FILES
6792 CONFIG_HEADERS = $CONFIG_HEADERS
6793 CONFIG_LINKS = $CONFIG_LINKS
6794 CONFIG_COMMANDS = $CONFIG_COMMANDS
6795 $ $0 $@
6796
6797 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6798 "
6799
6800 _ACEOF
6801
6802 case $ac_config_files in *"
6803 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6804 esac
6805
6806 case $ac_config_headers in *"
6807 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6808 esac
6809
6810
6811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6812 # Files that config.status was made for.
6813 config_files="$ac_config_files"
6814 config_headers="$ac_config_headers"
6815 config_commands="$ac_config_commands"
6816
6817 _ACEOF
6818
6819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6820 ac_cs_usage="\
6821 \`$as_me' instantiates files and other configuration actions
6822 from templates according to the current configuration. Unless the files
6823 and actions are specified as TAGs, all are instantiated by default.
6824
6825 Usage: $0 [OPTION]... [TAG]...
6826
6827 -h, --help print this help, then exit
6828 -V, --version print version number and configuration settings, then exit
6829 --config print configuration, then exit
6830 -q, --quiet, --silent
6831 do not print progress messages
6832 -d, --debug don't remove temporary files
6833 --recheck update $as_me by reconfiguring in the same conditions
6834 --file=FILE[:TEMPLATE]
6835 instantiate the configuration file FILE
6836 --header=FILE[:TEMPLATE]
6837 instantiate the configuration header FILE
6838
6839 Configuration files:
6840 $config_files
6841
6842 Configuration headers:
6843 $config_headers
6844
6845 Configuration commands:
6846 $config_commands
6847
6848 Report bugs to the package provider."
6849
6850 _ACEOF
6851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6852 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6853 ac_cs_version="\\
6854 barrage config.status 1.0.5
6855 configured by $0, generated by GNU Autoconf 2.69,
6856 with options \\"\$ac_cs_config\\"
6857
6858 Copyright (C) 2012 Free Software Foundation, Inc.
6859 This config.status script is free software; the Free Software Foundation
6860 gives unlimited permission to copy, distribute and modify it."
6861
6862 ac_pwd='$ac_pwd'
6863 srcdir='$srcdir'
6864 INSTALL='$INSTALL'
6865 MKDIR_P='$MKDIR_P'
6866 AWK='$AWK'
6867 test -n "\$AWK" || AWK=awk
6868 _ACEOF
6869
6870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6871 # The default lists apply if the user does not specify any file.
6872 ac_need_defaults=:
6873 while test $# != 0
6874 do
6875 case $1 in
6876 --*=?*)
6877 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6878 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6879 ac_shift=:
6880 ;;
6881 --*=)
6882 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6883 ac_optarg=
6884 ac_shift=:
6885 ;;
6886 *)
6887 ac_option=$1
6888 ac_optarg=$2
6889 ac_shift=shift
6890 ;;
6891 esac
6892
6893 case $ac_option in
6894 # Handling of the options.
6895 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6896 ac_cs_recheck=: ;;
6897 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6898 $as_echo "$ac_cs_version"; exit ;;
6899 --config | --confi | --conf | --con | --co | --c )
6900 $as_echo "$ac_cs_config"; exit ;;
6901 --debug | --debu | --deb | --de | --d | -d )
6902 debug=: ;;
6903 --file | --fil | --fi | --f )
6904 $ac_shift
6905 case $ac_optarg in
6906 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6907 '') as_fn_error $? "missing file argument" ;;
6908 esac
6909 as_fn_append CONFIG_FILES " '$ac_optarg'"
6910 ac_need_defaults=false;;
6911 --header | --heade | --head | --hea )
6912 $ac_shift
6913 case $ac_optarg in
6914 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6915 esac
6916 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6917 ac_need_defaults=false;;
6918 --he | --h)
6919 # Conflict between --help and --header
6920 as_fn_error $? "ambiguous option: \`$1'
6921 Try \`$0 --help' for more information.";;
6922 --help | --hel | -h )
6923 $as_echo "$ac_cs_usage"; exit ;;
6924 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6925 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6926 ac_cs_silent=: ;;
6927
6928 # This is an error.
6929 -*) as_fn_error $? "unrecognized option: \`$1'
6930 Try \`$0 --help' for more information." ;;
6931
6932 *) as_fn_append ac_config_targets " $1"
6933 ac_need_defaults=false ;;
6934
6935 esac
6936 shift
6937 done
6938
6939 ac_configure_extra_args=
6940
6941 if $ac_cs_silent; then
6942 exec 6>/dev/null
6943 ac_configure_extra_args="$ac_configure_extra_args --silent"
6944 fi
6945
6946 _ACEOF
6947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6948 if \$ac_cs_recheck; then
6949 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6950 shift
6951 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6952 CONFIG_SHELL='$SHELL'
6953 export CONFIG_SHELL
6954 exec "\$@"
6955 fi
6956
6957 _ACEOF
6958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6959 exec 5>>config.log
6960 {
6961 echo
6962 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6963 ## Running $as_me. ##
6964 _ASBOX
6965 $as_echo "$ac_log"
6966 } >&5
6967
6968 _ACEOF
6969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6970 #
6971 # INIT-COMMANDS
6972 #
6973 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6974
6975 _ACEOF
6976
6977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6978
6979 # Handling of arguments.
6980 for ac_config_target in $ac_config_targets
6981 do
6982 case $ac_config_target in
6983 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6984 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6985 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6986 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6987 "src/gfx/Makefile") CONFIG_FILES="$CONFIG_FILES src/gfx/Makefile" ;;
6988 "src/sounds/Makefile") CONFIG_FILES="$CONFIG_FILES src/sounds/Makefile" ;;
6989 "barrage.spec") CONFIG_FILES="$CONFIG_FILES barrage.spec" ;;
6990
6991 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6992 esac
6993 done
6994
6995
6996 # If the user did not use the arguments to specify the items to instantiate,
6997 # then the envvar interface is used. Set only those that are not.
6998 # We use the long form for the default assignment because of an extremely
6999 # bizarre bug on SunOS 4.1.3.
7000 if $ac_need_defaults; then
7001 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7002 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7003 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7004 fi
7005
7006 # Have a temporary directory for convenience. Make it in the build tree
7007 # simply because there is no reason against having it here, and in addition,
7008 # creating and moving files from /tmp can sometimes cause problems.
7009 # Hook for its removal unless debugging.
7010 # Note that there is a small window in which the directory will not be cleaned:
7011 # after its creation but before its name has been assigned to `$tmp'.
7012 $debug ||
7013 {
7014 tmp= ac_tmp=
7015 trap 'exit_status=$?
7016 : "${ac_tmp:=$tmp}"
7017 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7018 ' 0
7019 trap 'as_fn_exit 1' 1 2 13 15
7020 }
7021 # Create a (secure) tmp directory for tmp files.
7022
7023 {
7024 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7025 test -d "$tmp"
7026 } ||
7027 {
7028 tmp=./conf$$-$RANDOM
7029 (umask 077 && mkdir "$tmp")
7030 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7031 ac_tmp=$tmp
7032
7033 # Set up the scripts for CONFIG_FILES section.
7034 # No need to generate them if there are no CONFIG_FILES.
7035 # This happens for instance with `./config.status config.h'.
7036 if test -n "$CONFIG_FILES"; then
7037
7038
7039 ac_cr=`echo X | tr X '\015'`
7040 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7041 # But we know of no other shell where ac_cr would be empty at this
7042 # point, so we can use a bashism as a fallback.
7043 if test "x$ac_cr" = x; then
7044 eval ac_cr=\$\'\\r\'
7045 fi
7046 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7047 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7048 ac_cs_awk_cr='\\r'
7049 else
7050 ac_cs_awk_cr=$ac_cr
7051 fi
7052
7053 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7054 _ACEOF
7055
7056
7057 {
7058 echo "cat >conf$$subs.awk <<_ACEOF" &&
7059 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7060 echo "_ACEOF"
7061 } >conf$$subs.sh ||
7062 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7063 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7064 ac_delim='%!_!# '
7065 for ac_last_try in false false false false false :; do
7066 . ./conf$$subs.sh ||
7067 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7068
7069 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7070 if test $ac_delim_n = $ac_delim_num; then
7071 break
7072 elif $ac_last_try; then
7073 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7074 else
7075 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7076 fi
7077 done
7078 rm -f conf$$subs.sh
7079
7080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7081 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7082 _ACEOF
7083 sed -n '
7084 h
7085 s/^/S["/; s/!.*/"]=/
7086 p
7087 g
7088 s/^[^!]*!//
7089 :repl
7090 t repl
7091 s/'"$ac_delim"'$//
7092 t delim
7093 :nl
7094 h
7095 s/\(.\{148\}\)..*/\1/
7096 t more1
7097 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7098 p
7099 n
7100 b repl
7101 :more1
7102 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7103 p
7104 g
7105 s/.\{148\}//
7106 t nl
7107 :delim
7108 h
7109 s/\(.\{148\}\)..*/\1/
7110 t more2
7111 s/["\\]/\\&/g; s/^/"/; s/$/"/
7112 p
7113 b
7114 :more2
7115 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7116 p
7117 g
7118 s/.\{148\}//
7119 t delim
7120 ' <conf$$subs.awk | sed '
7121 /^[^""]/{
7122 N
7123 s/\n//
7124 }
7125 ' >>$CONFIG_STATUS || ac_write_fail=1
7126 rm -f conf$$subs.awk
7127 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7128 _ACAWK
7129 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7130 for (key in S) S_is_set[key] = 1
7131 FS = ""
7132
7133 }
7134 {
7135 line = $ 0
7136 nfields = split(line, field, "@")
7137 substed = 0
7138 len = length(field[1])
7139 for (i = 2; i < nfields; i++) {
7140 key = field[i]
7141 keylen = length(key)
7142 if (S_is_set[key]) {
7143 value = S[key]
7144 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7145 len += length(value) + length(field[++i])
7146 substed = 1
7147 } else
7148 len += 1 + keylen
7149 }
7150
7151 print line
7152 }
7153
7154 _ACAWK
7155 _ACEOF
7156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7157 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7158 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7159 else
7160 cat
7161 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7162 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7163 _ACEOF
7164
7165 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7166 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7167 # trailing colons and then remove the whole line if VPATH becomes empty
7168 # (actually we leave an empty line to preserve line numbers).
7169 if test "x$srcdir" = x.; then
7170 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7171 h
7172 s///
7173 s/^/:/
7174 s/[ ]*$/:/
7175 s/:\$(srcdir):/:/g
7176 s/:\${srcdir}:/:/g
7177 s/:@srcdir@:/:/g
7178 s/^:*//
7179 s/:*$//
7180 x
7181 s/\(=[ ]*\).*/\1/
7182 G
7183 s/\n//
7184 s/^[^=]*=[ ]*$//
7185 }'
7186 fi
7187
7188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7189 fi # test -n "$CONFIG_FILES"
7190
7191 # Set up the scripts for CONFIG_HEADERS section.
7192 # No need to generate them if there are no CONFIG_HEADERS.
7193 # This happens for instance with `./config.status Makefile'.
7194 if test -n "$CONFIG_HEADERS"; then
7195 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7196 BEGIN {
7197 _ACEOF
7198
7199 # Transform confdefs.h into an awk script `defines.awk', embedded as
7200 # here-document in config.status, that substitutes the proper values into
7201 # config.h.in to produce config.h.
7202
7203 # Create a delimiter string that does not exist in confdefs.h, to ease
7204 # handling of long lines.
7205 ac_delim='%!_!# '
7206 for ac_last_try in false false :; do
7207 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7208 if test -z "$ac_tt"; then
7209 break
7210 elif $ac_last_try; then
7211 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7212 else
7213 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7214 fi
7215 done
7216
7217 # For the awk script, D is an array of macro values keyed by name,
7218 # likewise P contains macro parameters if any. Preserve backslash
7219 # newline sequences.
7220
7221 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7222 sed -n '
7223 s/.\{148\}/&'"$ac_delim"'/g
7224 t rset
7225 :rset
7226 s/^[ ]*#[ ]*define[ ][ ]*/ /
7227 t def
7228 d
7229 :def
7230 s/\\$//
7231 t bsnl
7232 s/["\\]/\\&/g
7233 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7234 D["\1"]=" \3"/p
7235 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7236 d
7237 :bsnl
7238 s/["\\]/\\&/g
7239 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7240 D["\1"]=" \3\\\\\\n"\\/p
7241 t cont
7242 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7243 t cont
7244 d
7245 :cont
7246 n
7247 s/.\{148\}/&'"$ac_delim"'/g
7248 t clear
7249 :clear
7250 s/\\$//
7251 t bsnlc
7252 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7253 d
7254 :bsnlc
7255 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7256 b cont
7257 ' <confdefs.h | sed '
7258 s/'"$ac_delim"'/"\\\
7259 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7260
7261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7262 for (key in D) D_is_set[key] = 1
7263 FS = ""
7264 }
7265 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7266 line = \$ 0
7267 split(line, arg, " ")
7268 if (arg[1] == "#") {
7269 defundef = arg[2]
7270 mac1 = arg[3]
7271 } else {
7272 defundef = substr(arg[1], 2)
7273 mac1 = arg[2]
7274 }
7275 split(mac1, mac2, "(") #)
7276 macro = mac2[1]
7277 prefix = substr(line, 1, index(line, defundef) - 1)
7278 if (D_is_set[macro]) {
7279 # Preserve the white space surrounding the "#".
7280 print prefix "define", macro P[macro] D[macro]
7281 next
7282 } else {
7283 # Replace #undef with comments. This is necessary, for example,
7284 # in the case of _POSIX_SOURCE, which is predefined and required
7285 # on some systems where configure will not decide to define it.
7286 if (defundef == "undef") {
7287 print "/*", prefix defundef, macro, "*/"
7288 next
7289 }
7290 }
7291 }
7292 { print }
7293 _ACAWK
7294 _ACEOF
7295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7296 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7297 fi # test -n "$CONFIG_HEADERS"
7298
7299
7300 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7301 shift
7302 for ac_tag
7303 do
7304 case $ac_tag in
7305 :[FHLC]) ac_mode=$ac_tag; continue;;
7306 esac
7307 case $ac_mode$ac_tag in
7308 :[FHL]*:*);;
7309 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7310 :[FH]-) ac_tag=-:-;;
7311 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7312 esac
7313 ac_save_IFS=$IFS
7314 IFS=:
7315 set x $ac_tag
7316 IFS=$ac_save_IFS
7317 shift
7318 ac_file=$1
7319 shift
7320
7321 case $ac_mode in
7322 :L) ac_source=$1;;
7323 :[FH])
7324 ac_file_inputs=
7325 for ac_f
7326 do
7327 case $ac_f in
7328 -) ac_f="$ac_tmp/stdin";;
7329 *) # Look for the file first in the build tree, then in the source tree
7330 # (if the path is not absolute). The absolute path cannot be DOS-style,
7331 # because $ac_f cannot contain `:'.
7332 test -f "$ac_f" ||
7333 case $ac_f in
7334 [\\/$]*) false;;
7335 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7336 esac ||
7337 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7338 esac
7339 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7340 as_fn_append ac_file_inputs " '$ac_f'"
7341 done
7342
7343 # Let's still pretend it is `configure' which instantiates (i.e., don't
7344 # use $as_me), people would be surprised to read:
7345 # /* config.h. Generated by config.status. */
7346 configure_input='Generated from '`
7347 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7348 `' by configure.'
7349 if test x"$ac_file" != x-; then
7350 configure_input="$ac_file. $configure_input"
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7352 $as_echo "$as_me: creating $ac_file" >&6;}
7353 fi
7354 # Neutralize special characters interpreted by sed in replacement strings.
7355 case $configure_input in #(
7356 *\&* | *\|* | *\\* )
7357 ac_sed_conf_input=`$as_echo "$configure_input" |
7358 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7359 *) ac_sed_conf_input=$configure_input;;
7360 esac
7361
7362 case $ac_tag in
7363 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7364 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7365 esac
7366 ;;
7367 esac
7368
7369 ac_dir=`$as_dirname -- "$ac_file" ||
7370 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7371 X"$ac_file" : 'X\(//\)[^/]' \| \
7372 X"$ac_file" : 'X\(//\)$' \| \
7373 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7374 $as_echo X"$ac_file" |
7375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7376 s//\1/
7377 q
7378 }
7379 /^X\(\/\/\)[^/].*/{
7380 s//\1/
7381 q
7382 }
7383 /^X\(\/\/\)$/{
7384 s//\1/
7385 q
7386 }
7387 /^X\(\/\).*/{
7388 s//\1/
7389 q
7390 }
7391 s/.*/./; q'`
7392 as_dir="$ac_dir"; as_fn_mkdir_p
64677393 ac_builddir=.
64687394
64697395 case "$ac_dir" in
64707396 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
64717397 *)
6472 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7398 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
64737399 # A ".." for each directory in $ac_dir_suffix.
6474 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7400 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
64757401 case $ac_top_builddir_sub in
64767402 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
64777403 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
65097435 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
65107436 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
65117437 esac
6512 _ACEOF
6513
6514 cat >>$CONFIG_STATUS <<\_ACEOF
7438 ac_MKDIR_P=$MKDIR_P
7439 case $MKDIR_P in
7440 [\\/$]* | ?:[\\/]* ) ;;
7441 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7442 esac
7443 _ACEOF
7444
7445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
65157446 # If the template does not know about datarootdir, expand it.
65167447 # FIXME: This hack should be removed a few years after 2.60.
65177448 ac_datarootdir_hack=; ac_datarootdir_seen=
6518
6519 case `sed -n '/datarootdir/ {
7449 ac_sed_dataroot='
7450 /datarootdir/ {
65207451 p
65217452 q
65227453 }
65247455 /@docdir@/p
65257456 /@infodir@/p
65267457 /@localedir@/p
6527 /@mandir@/p
6528 ' $ac_file_inputs` in
7458 /@mandir@/p'
7459 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
65297460 *datarootdir*) ac_datarootdir_seen=yes;;
65307461 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6531 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6532 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6533 _ACEOF
6534 cat >>$CONFIG_STATUS <<_ACEOF
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7463 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7464 _ACEOF
7465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
65357466 ac_datarootdir_hack='
65367467 s&@datadir@&$datadir&g
65377468 s&@docdir@&$docdir&g
65387469 s&@infodir@&$infodir&g
65397470 s&@localedir@&$localedir&g
65407471 s&@mandir@&$mandir&g
6541 s&\\\${datarootdir}&$datarootdir&g' ;;
7472 s&\\\${datarootdir}&$datarootdir&g' ;;
65427473 esac
65437474 _ACEOF
65447475
65457476 # Neutralize VPATH when `$srcdir' = `.'.
65467477 # Shell code in configure.ac might set extrasub.
65477478 # FIXME: do we really want to maintain this feature?
6548 cat >>$CONFIG_STATUS <<_ACEOF
6549 sed "$ac_vpsub
7479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7480 ac_sed_extra="$ac_vpsub
65507481 $extrasub
65517482 _ACEOF
6552 cat >>$CONFIG_STATUS <<\_ACEOF
7483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
65537484 :t
65547485 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6555 s&@configure_input@&$configure_input&;t t
7486 s|@configure_input@|$ac_sed_conf_input|;t t
65567487 s&@top_builddir@&$ac_top_builddir_sub&;t t
7488 s&@top_build_prefix@&$ac_top_build_prefix&;t t
65577489 s&@srcdir@&$ac_srcdir&;t t
65587490 s&@abs_srcdir@&$ac_abs_srcdir&;t t
65597491 s&@top_srcdir@&$ac_top_srcdir&;t t
65627494 s&@abs_builddir@&$ac_abs_builddir&;t t
65637495 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
65647496 s&@INSTALL@&$ac_INSTALL&;t t
7497 s&@MKDIR_P@&$ac_MKDIR_P&;t t
65657498 $ac_datarootdir_hack
6566 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
7499 "
7500 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7501 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
65677502
65687503 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6569 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6570 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6571 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6572 which seems to be undefined. Please make sure it is defined." >&5
6573 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6574 which seems to be undefined. Please make sure it is defined." >&2;}
6575
6576 rm -f "$tmp/stdin"
7504 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7505 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7506 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7508 which seems to be undefined. Please make sure it is defined" >&5
7509 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7510 which seems to be undefined. Please make sure it is defined" >&2;}
7511
7512 rm -f "$ac_tmp/stdin"
65777513 case $ac_file in
6578 -) cat "$tmp/out"; rm -f "$tmp/out";;
6579 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6580 esac
7514 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7515 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7516 esac \
7517 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
65817518 ;;
65827519 :H)
65837520 #
65847521 # CONFIG_HEADER
65857522 #
6586 _ACEOF
6587
6588 # Transform confdefs.h into a sed script `conftest.defines', that
6589 # substitutes the proper values into config.h.in to produce config.h.
6590 rm -f conftest.defines conftest.tail
6591 # First, append a space to every undef/define line, to ease matching.
6592 echo 's/$/ /' >conftest.defines
6593 # Then, protect against being on the right side of a sed subst, or in
6594 # an unquoted here document, in config.status. If some macros were
6595 # called several times there might be several #defines for the same
6596 # symbol, which is useless. But do not sort them, since the last
6597 # AC_DEFINE must be honored.
6598 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6599 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6600 # NAME is the cpp macro being defined, VALUE is the value it is being given.
6601 # PARAMS is the parameter list in the macro definition--in most cases, it's
6602 # just an empty string.
6603 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
6604 ac_dB='\\)[ (].*,\\1define\\2'
6605 ac_dC=' '
6606 ac_dD=' ,'
6607
6608 uniq confdefs.h |
6609 sed -n '
6610 t rset
6611 :rset
6612 s/^[ ]*#[ ]*define[ ][ ]*//
6613 t ok
6614 d
6615 :ok
6616 s/[\\&,]/\\&/g
6617 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6618 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6619 ' >>conftest.defines
6620
6621 # Remove the space that was appended to ease matching.
6622 # Then replace #undef with comments. This is necessary, for
6623 # example, in the case of _POSIX_SOURCE, which is predefined and required
6624 # on some systems where configure will not decide to define it.
6625 # (The regexp can be short, since the line contains either #define or #undef.)
6626 echo 's/ $//
6627 s,^[ #]*u.*,/* & */,' >>conftest.defines
6628
6629 # Break up conftest.defines:
6630 ac_max_sed_lines=50
6631
6632 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6633 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6634 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6635 # et cetera.
6636 ac_in='$ac_file_inputs'
6637 ac_out='"$tmp/out1"'
6638 ac_nxt='"$tmp/out2"'
6639
6640 while :
6641 do
6642 # Write a here document:
6643 cat >>$CONFIG_STATUS <<_ACEOF
6644 # First, check the format of the line:
6645 cat >"\$tmp/defines.sed" <<\\CEOF
6646 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
6647 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
6648 b
6649 :def
6650 _ACEOF
6651 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
6652 echo 'CEOF
6653 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6654 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6655 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6656 grep . conftest.tail >/dev/null || break
6657 rm -f conftest.defines
6658 mv conftest.tail conftest.defines
6659 done
6660 rm -f conftest.defines conftest.tail
6661
6662 echo "ac_result=$ac_in" >>$CONFIG_STATUS
6663 cat >>$CONFIG_STATUS <<\_ACEOF
66647523 if test x"$ac_file" != x-; then
6665 echo "/* $configure_input */" >"$tmp/config.h"
6666 cat "$ac_result" >>"$tmp/config.h"
6667 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6668 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6669 echo "$as_me: $ac_file is unchanged" >&6;}
7524 {
7525 $as_echo "/* $configure_input */" \
7526 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7527 } >"$ac_tmp/config.h" \
7528 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7529 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7531 $as_echo "$as_me: $ac_file is unchanged" >&6;}
66707532 else
6671 rm -f $ac_file
6672 mv "$tmp/config.h" $ac_file
7533 rm -f "$ac_file"
7534 mv "$ac_tmp/config.h" "$ac_file" \
7535 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
66737536 fi
66747537 else
6675 echo "/* $configure_input */"
6676 cat "$ac_result"
7538 $as_echo "/* $configure_input */" \
7539 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7540 || as_fn_error $? "could not create -" "$LINENO" 5
66777541 fi
6678 rm -f "$tmp/out12"
6679 # Compute $ac_file's index in $config_headers.
7542 # Compute "$ac_file"'s index in $config_headers.
7543 _am_arg="$ac_file"
66807544 _am_stamp_count=1
66817545 for _am_header in $config_headers :; do
66827546 case $_am_header in
6683 $ac_file | $ac_file:* )
7547 $_am_arg | $_am_arg:* )
66847548 break ;;
66857549 * )
66867550 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
66877551 esac
66887552 done
6689 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
6690 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6691 X$ac_file : 'X\(//\)[^/]' \| \
6692 X$ac_file : 'X\(//\)$' \| \
6693 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
6694 echo X$ac_file |
7553 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7554 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7555 X"$_am_arg" : 'X\(//\)[^/]' \| \
7556 X"$_am_arg" : 'X\(//\)$' \| \
7557 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7558 $as_echo X"$_am_arg" |
66957559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66967560 s//\1/
66977561 q
67117575 s/.*/./; q'`/stamp-h$_am_stamp_count
67127576 ;;
67137577
6714 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6715 echo "$as_me: executing $ac_file commands" >&6;}
7578 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7579 $as_echo "$as_me: executing $ac_file commands" >&6;}
67167580 ;;
67177581 esac
67187582
67197583
67207584 case $ac_file$ac_mode in
6721 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6722 # Strip MF so we end up with the name of the file.
6723 mf=`echo "$mf" | sed -e 's/:.*$//'`
6724 # Check whether this is an Automake generated Makefile or not.
6725 # We used to match only the files named `Makefile.in', but
6726 # some people rename them; so instead we look at the file content.
6727 # Grep'ing the first line is not enough: some people post-process
6728 # each Makefile.in and add a new line on top of each file to say so.
6729 # So let's grep whole file.
6730 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6731 dirpart=`$as_dirname -- "$mf" ||
7585 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7586 # Older Autoconf quotes --file arguments for eval, but not when files
7587 # are listed without --file. Let's play safe and only enable the eval
7588 # if we detect the quoting.
7589 case $CONFIG_FILES in
7590 *\'*) eval set x "$CONFIG_FILES" ;;
7591 *) set x $CONFIG_FILES ;;
7592 esac
7593 shift
7594 for mf
7595 do
7596 # Strip MF so we end up with the name of the file.
7597 mf=`echo "$mf" | sed -e 's/:.*$//'`
7598 # Check whether this is an Automake generated Makefile or not.
7599 # We used to match only the files named 'Makefile.in', but
7600 # some people rename them; so instead we look at the file content.
7601 # Grep'ing the first line is not enough: some people post-process
7602 # each Makefile.in and add a new line on top of each file to say so.
7603 # Grep'ing the whole file is not good either: AIX grep has a line
7604 # limit of 2048, but all sed's we know have understand at least 4000.
7605 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7606 dirpart=`$as_dirname -- "$mf" ||
67327607 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67337608 X"$mf" : 'X\(//\)[^/]' \| \
67347609 X"$mf" : 'X\(//\)$' \| \
67357610 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6736 echo X"$mf" |
7611 $as_echo X"$mf" |
67377612 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67387613 s//\1/
67397614 q
67517626 q
67527627 }
67537628 s/.*/./; q'`
6754 else
6755 continue
6756 fi
6757 # Extract the definition of DEPDIR, am__include, and am__quote
6758 # from the Makefile without running `make'.
6759 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6760 test -z "$DEPDIR" && continue
6761 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6762 test -z "am__include" && continue
6763 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6764 # When using ansi2knr, U may be empty or an underscore; expand it
6765 U=`sed -n 's/^U = //p' < "$mf"`
6766 # Find all dependency output files, they are included files with
6767 # $(DEPDIR) in their names. We invoke sed twice because it is the
6768 # simplest approach to changing $(DEPDIR) to its actual value in the
6769 # expansion.
6770 for file in `sed -n "
6771 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6772 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6773 # Make sure the directory exists.
6774 test -f "$dirpart/$file" && continue
6775 fdir=`$as_dirname -- "$file" ||
7629 else
7630 continue
7631 fi
7632 # Extract the definition of DEPDIR, am__include, and am__quote
7633 # from the Makefile without running 'make'.
7634 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7635 test -z "$DEPDIR" && continue
7636 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7637 test -z "$am__include" && continue
7638 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7639 # Find all dependency output files, they are included files with
7640 # $(DEPDIR) in their names. We invoke sed twice because it is the
7641 # simplest approach to changing $(DEPDIR) to its actual value in the
7642 # expansion.
7643 for file in `sed -n "
7644 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7645 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7646 # Make sure the directory exists.
7647 test -f "$dirpart/$file" && continue
7648 fdir=`$as_dirname -- "$file" ||
67767649 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67777650 X"$file" : 'X\(//\)[^/]' \| \
67787651 X"$file" : 'X\(//\)$' \| \
67797652 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6780 echo X"$file" |
7653 $as_echo X"$file" |
67817654 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67827655 s//\1/
67837656 q
67957668 q
67967669 }
67977670 s/.*/./; q'`
6798 { as_dir=$dirpart/$fdir
6799 case $as_dir in #(
6800 -*) as_dir=./$as_dir;;
6801 esac
6802 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6803 as_dirs=
6804 while :; do
6805 case $as_dir in #(
6806 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6807 *) as_qdir=$as_dir;;
6808 esac
6809 as_dirs="'$as_qdir' $as_dirs"
6810 as_dir=`$as_dirname -- "$as_dir" ||
6811 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6812 X"$as_dir" : 'X\(//\)[^/]' \| \
6813 X"$as_dir" : 'X\(//\)$' \| \
6814 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6815 echo X"$as_dir" |
6816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6817 s//\1/
6818 q
6819 }
6820 /^X\(\/\/\)[^/].*/{
6821 s//\1/
6822 q
6823 }
6824 /^X\(\/\/\)$/{
6825 s//\1/
6826 q
6827 }
6828 /^X\(\/\).*/{
6829 s//\1/
6830 q
6831 }
6832 s/.*/./; q'`
6833 test -d "$as_dir" && break
7671 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7672 # echo "creating $dirpart/$file"
7673 echo '# dummy' > "$dirpart/$file"
68347674 done
6835 test -z "$as_dirs" || eval "mkdir $as_dirs"
6836 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6837 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6838 { (exit 1); exit 1; }; }; }
6839 # echo "creating $dirpart/$file"
6840 echo '# dummy' > "$dirpart/$file"
68417675 done
6842 done
7676 }
68437677 ;;
68447678
68457679 esac
68467680 done # for ac_tag
68477681
68487682
6849 { (exit 0); exit 0; }
6850 _ACEOF
6851 chmod +x $CONFIG_STATUS
7683 as_fn_exit 0
7684 _ACEOF
68527685 ac_clean_files=$ac_clean_files_save
7686
7687 test $ac_write_fail = 0 ||
7688 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
68537689
68547690
68557691 # configure is writing to config.log, and then calls config.status.
68707706 exec 5>>config.log
68717707 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
68727708 # would make configure fail if this is the last instruction.
6873 $ac_cs_success || { (exit 1); exit 1; }
6874 fi
6875
6876
7709 $ac_cs_success || as_fn_exit 1
7710 fi
7711 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7713 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7714 fi
7715
7716
0 dnl Process this file with autoconf to produce a configure script.
1
2 AC_PREREQ([2.69])
3 AC_INIT(barrage, 1.0.5)
4 AC_CONFIG_SRCDIR([src/main.c])
5 AC_CONFIG_HEADERS([config.h])
6 AC_CANONICAL_TARGET
7 AM_INIT_AUTOMAKE
8
9 AC_USE_SYSTEM_EXTENSIONS
10
11 # Checks for programs.
12 AC_PROG_CC
13 AC_PROG_RANLIB
14 AC_EXEEXT
15
16 # Checks for libraries.
17 AC_CHECK_LIB(m, main,, AC_MSG_ERROR(lib math is needed))
18 AM_PATH_SDL(1.2.0,, AC_MSG_ERROR(lib SDL is needed))
19 #AC_CHECK_LIB(SDL, main,, AC_MSG_ERROR(lib SDL is needed))
20
21 # Mixer is optional
22 audio_flag="-DAUDIO_ENABLED"
23 audio_lib="-lSDL_mixer"
24 AC_CHECK_LIB(SDL_mixer, main,, AC_MSG_RESULT(lib SDL mixer is missing); audio_flag=""; audio_lib="")
25
26 # Checks for header files.
27 AC_CHECK_HEADERS([stdlib.h string.h])
28
29 # Checks for typedefs, structures, and compiler characteristics.
30 AC_CHECK_HEADER_STDBOOL
31 AC_C_INLINE
32
33 # Checks for library functions.
34 AC_FUNC_ALLOCA
35 AC_FUNC_MALLOC
36 AC_FUNC_REALLOC
37 AC_FUNC_STRTOD
38 AC_CHECK_FUNCS([memset strchr strdup strrchr])
39
40 # Flags
41 datdir=$datadir/$PACKAGE
42 hiscoredir=$localstatedir
43 configdir="~/.config"
44 debugflags=""
45 AC_ARG_ENABLE( install,
46 [ --disable-install No installation. Start from source directory.],
47 datdir="." hiscoredir="." configdir=".")
48 AC_ARG_ENABLE( debug,
49 [ --enable-debug Add debug symbols, no optimization.],
50 debugflags="-O0 -g")
51 AC_ARG_ENABLE( audio,
52 [ --disable-audio Disable Audio], audio_flag=""; audio_lib="")
53 AC_SUBST(datdir)
54 AC_SUBST(hiscoredir)
55
56 CFLAGS="$CFLAGS -Wall -Wno-int-conversion -Wno-format -Wno-implicit-function-declaration"
57 CFLAGS="$CFLAGS $SDL_CFLAGS $audio_flag $debugflags -DSRC_DIR=\\\"$datdir\\\" -DCONFIGDIRNAME=\\\"$configdir\\\" -DHISCOREDIR=\\\"$hiscoredir\\\""
58 LIBS="$LIBS -lm $SDL_LIBS $audio_lib"
59
60 AC_OUTPUT([
61 Makefile
62 src/Makefile
63 src/gfx/Makefile
64 src/sounds/Makefile
65 barrage.spec
66 ])
67
+0
-53
configure.in less more
0 dnl Process this file with autoconf to produce a configure script.
1
2 AC_INIT(Makefile.am)
3 AC_CANONICAL_TARGET
4 AC_USE_SYSTEM_EXTENSIONS
5
6 AM_CONFIG_HEADER(config.h)
7
8 AM_INIT_AUTOMAKE(barrage, 1.0.4)
9
10 AC_PROG_CC
11 AC_PROG_RANLIB
12 AC_EXEEXT
13
14 CFLAGS="$CFLAGS -Wall"
15
16 dnl check SDL version
17 AM_PATH_SDL(1.2.0,, AC_MSG_ERROR(lib SDL is needed))
18 CFLAGS="$CFLAGS $SDL_CFLAGS"
19 LIBS="$LIBS $SDL_LIBS"
20
21 dnl check sound
22 audio_flag="-DAUDIO_ENABLED"
23 audio_lib="-lSDL_mixer"
24 AC_ARG_ENABLE( audio,
25 [ --disable-audio Disables Audio], audio_flag=""; audio_lib="")
26 dnl check if SDL_mixer's installed
27 dnl if not: clear sound_flag and mixer_flag
28 AC_CHECK_LIB(SDL_mixer, main,
29 AC_MSG_RESULT("SDL_Mixer found"),
30 AC_MSG_RESULT("SDL_Mixer NOT found: Audio disabled: Please visit http://libsdl.org"); audio_flag=""; audio_lib="")
31
32 AC_SUBST(audio_flag)
33 AC_SUBST(audio_lib)
34
35 src_dir="$datadir/games/barrage"
36
37 dnl check if installation was disabled
38 AC_ARG_ENABLE( install,
39 [ --disable-install No installation. Played from the source directory.],
40 src_dir="." )
41 src_dir_flag="-DSRC_DIR=\\\"$src_dir\\\""
42 AC_SUBST(src_dir)
43 AC_SUBST(src_dir_flag)
44
45 AC_OUTPUT([
46 Makefile
47 src/Makefile
48 src/gfx/Makefile
49 src/sounds/Makefile
50 barrage.spec
51 ])
52
0 DEFS = @DEFS@ @src_dir_flag@ @audio_flag@
1
20 bin_PROGRAMS = barrage
31
4 barrage_SOURCES = \
5 main.c\
6 particle.c\
7 shots.c\
8 units.c\
9 data.c\
10 chart.c\
11 bfield.c\
12 menu.c\
13 SFont.c
2 barrage_SOURCES = main.c particle.c shots.c units.c \
3 data.c chart.c bfield.c menu.c SFont.c
144
15 barrage_LDFLAGS =
16 barrage_LDADD = @audio_lib@ -lm
17
18 EXTRA_DIST = \
19 defs.h particle.h shots.h units.h\
20 data.h bfield.h menu.h SFont.h chart.h
5 EXTRA_DIST = defs.h particle.h shots.h units.h \
6 data.h bfield.h menu.h SFont.h chart.h empty.hscr
217
228 SUBDIRS = gfx sounds
239
10 install-data-local:
11 $(mkinstalldirs) $(DESTDIR)$(datdir)
12 $(mkinstalldirs) $(DESTDIR)$(hiscoredir)
13 if ! test -f $(DESTDIR)$(hiscoredir)/barrage.hscr; then \
14 $(INSTALL_DATA) -m 666 empty.hscr $(DESTDIR)$(hiscoredir)/barrage.hscr; \
15 fi;
16
2417 uninstall-local:
25 rm -rf $(DESTDIR)$(src_dir)
18 rm -rf $(DESTDIR)$(datadir)/barrage
19 rm $(DESTDIR)$(hiscoredir)/barrage.hscr
2620
21 clean:
22 rm -f *.o barrage
0 # Makefile.in generated by automake 1.9.6 from Makefile.am.
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
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 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
1816 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
1972 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
2074 pkglibdir = $(libdir)/@PACKAGE@
21 pkgincludedir = $(includedir)/@PACKAGE@
22 top_builddir = ..
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
2376 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24 INSTALL = @INSTALL@
2577 install_sh_DATA = $(install_sh) -c -m 644
2678 install_sh_PROGRAM = $(install_sh) -c
2779 install_sh_SCRIPT = $(install_sh) -c
3890 target_triplet = @target@
3991 bin_PROGRAMS = barrage$(EXEEXT)
4092 subdir = src
41 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
4293 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
4394 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
44 $(top_srcdir)/configure.in
95 $(top_srcdir)/configure.ac
4596 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4697 $(ACLOCAL_M4)
98 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
4799 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
48100 CONFIG_HEADER = $(top_builddir)/config.h
49101 CONFIG_CLEAN_FILES =
102 CONFIG_CLEAN_VPATH_FILES =
50103 am__installdirs = "$(DESTDIR)$(bindir)"
51 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
52104 PROGRAMS = $(bin_PROGRAMS)
53105 am_barrage_OBJECTS = main.$(OBJEXT) particle.$(OBJEXT) shots.$(OBJEXT) \
54106 units.$(OBJEXT) data.$(OBJEXT) chart.$(OBJEXT) \
55107 bfield.$(OBJEXT) menu.$(OBJEXT) SFont.$(OBJEXT)
56108 barrage_OBJECTS = $(am_barrage_OBJECTS)
57 barrage_DEPENDENCIES =
58 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
109 barrage_LDADD = $(LDADD)
110 AM_V_P = $(am__v_P_@AM_V@)
111 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
112 am__v_P_0 = false
113 am__v_P_1 = :
114 AM_V_GEN = $(am__v_GEN_@AM_V@)
115 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
116 am__v_GEN_0 = @echo " GEN " $@;
117 am__v_GEN_1 =
118 AM_V_at = $(am__v_at_@AM_V@)
119 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
120 am__v_at_0 = @
121 am__v_at_1 =
122 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
59123 depcomp = $(SHELL) $(top_srcdir)/depcomp
60124 am__depfiles_maybe = depfiles
125 am__mv = mv -f
61126 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
62127 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
128 AM_V_CC = $(am__v_CC_@AM_V@)
129 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
130 am__v_CC_0 = @echo " CC " $@;
131 am__v_CC_1 =
63132 CCLD = $(CC)
64133 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
134 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
135 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
136 am__v_CCLD_0 = @echo " CCLD " $@;
137 am__v_CCLD_1 =
65138 SOURCES = $(barrage_SOURCES)
66139 DIST_SOURCES = $(barrage_SOURCES)
67 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
68 html-recursive info-recursive install-data-recursive \
69 install-exec-recursive install-info-recursive \
70 install-recursive installcheck-recursive installdirs-recursive \
71 pdf-recursive ps-recursive uninstall-info-recursive \
72 uninstall-recursive
140 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
141 ctags-recursive dvi-recursive html-recursive info-recursive \
142 install-data-recursive install-dvi-recursive \
143 install-exec-recursive install-html-recursive \
144 install-info-recursive install-pdf-recursive \
145 install-ps-recursive install-recursive installcheck-recursive \
146 installdirs-recursive pdf-recursive ps-recursive \
147 tags-recursive uninstall-recursive
148 am__can_run_installinfo = \
149 case $$AM_UPDATE_INFO_DIR in \
150 n|no|NO) false;; \
151 *) (install-info --version) >/dev/null 2>&1;; \
152 esac
153 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
154 distclean-recursive maintainer-clean-recursive
155 am__recursive_targets = \
156 $(RECURSIVE_TARGETS) \
157 $(RECURSIVE_CLEAN_TARGETS) \
158 $(am__extra_recursive_targets)
159 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
160 distdir
161 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
162 # Read a list of newline-separated strings from the standard input,
163 # and print each of them once, without duplicates. Input order is
164 # *not* preserved.
165 am__uniquify_input = $(AWK) '\
166 BEGIN { nonempty = 0; } \
167 { items[$$0] = 1; nonempty = 1; } \
168 END { if (nonempty) { for (i in items) print i; }; } \
169 '
170 # Make sure the list of sources is unique. This is necessary because,
171 # e.g., the same source file might be shared among _SOURCES variables
172 # for different programs/libraries.
173 am__define_uniq_tagged_files = \
174 list='$(am__tagged_files)'; \
175 unique=`for i in $$list; do \
176 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
177 done | $(am__uniquify_input)`
73178 ETAGS = etags
74179 CTAGS = ctags
75180 DIST_SUBDIRS = $(SUBDIRS)
181 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
182 $(top_srcdir)/mkinstalldirs
76183 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
184 am__relativize = \
185 dir0=`pwd`; \
186 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
187 sed_rest='s,^[^/]*/*,,'; \
188 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
189 sed_butlast='s,/*[^/]*$$,,'; \
190 while test -n "$$dir1"; do \
191 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
192 if test "$$first" != "."; then \
193 if test "$$first" = ".."; then \
194 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
195 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
196 else \
197 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
198 if test "$$first2" = "$$first"; then \
199 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
200 else \
201 dir2="../$$dir2"; \
202 fi; \
203 dir0="$$dir0"/"$$first"; \
204 fi; \
205 fi; \
206 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
207 done; \
208 reldir="$$dir2"
77209 ACLOCAL = @ACLOCAL@
78 AMDEP_FALSE = @AMDEP_FALSE@
79 AMDEP_TRUE = @AMDEP_TRUE@
210 ALLOCA = @ALLOCA@
80211 AMTAR = @AMTAR@
212 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
81213 AUTOCONF = @AUTOCONF@
82214 AUTOHEADER = @AUTOHEADER@
83215 AUTOMAKE = @AUTOMAKE@
88220 CPP = @CPP@
89221 CPPFLAGS = @CPPFLAGS@
90222 CYGPATH_W = @CYGPATH_W@
91 DEFS = @DEFS@ @src_dir_flag@ @audio_flag@
223 DEFS = @DEFS@
92224 DEPDIR = @DEPDIR@
93225 ECHO_C = @ECHO_C@
94226 ECHO_N = @ECHO_N@
96228 EGREP = @EGREP@
97229 EXEEXT = @EXEEXT@
98230 GREP = @GREP@
231 INSTALL = @INSTALL@
99232 INSTALL_DATA = @INSTALL_DATA@
100233 INSTALL_PROGRAM = @INSTALL_PROGRAM@
101234 INSTALL_SCRIPT = @INSTALL_SCRIPT@
105238 LIBS = @LIBS@
106239 LTLIBOBJS = @LTLIBOBJS@
107240 MAKEINFO = @MAKEINFO@
241 MKDIR_P = @MKDIR_P@
108242 OBJEXT = @OBJEXT@
109243 PACKAGE = @PACKAGE@
110244 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
111245 PACKAGE_NAME = @PACKAGE_NAME@
112246 PACKAGE_STRING = @PACKAGE_STRING@
113247 PACKAGE_TARNAME = @PACKAGE_TARNAME@
248 PACKAGE_URL = @PACKAGE_URL@
114249 PACKAGE_VERSION = @PACKAGE_VERSION@
115250 PATH_SEPARATOR = @PATH_SEPARATOR@
251 POW_LIB = @POW_LIB@
116252 RANLIB = @RANLIB@
117253 SDL_CFLAGS = @SDL_CFLAGS@
118254 SDL_CONFIG = @SDL_CONFIG@
121257 SHELL = @SHELL@
122258 STRIP = @STRIP@
123259 VERSION = @VERSION@
260 abs_builddir = @abs_builddir@
261 abs_srcdir = @abs_srcdir@
262 abs_top_builddir = @abs_top_builddir@
263 abs_top_srcdir = @abs_top_srcdir@
124264 ac_ct_CC = @ac_ct_CC@
125 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
126 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
127265 am__include = @am__include@
128266 am__leading_dot = @am__leading_dot@
129267 am__quote = @am__quote@
130268 am__tar = @am__tar@
131269 am__untar = @am__untar@
132 audio_flag = @audio_flag@
133 audio_lib = @audio_lib@
134270 bindir = @bindir@
135271 build = @build@
136272 build_alias = @build_alias@
137273 build_cpu = @build_cpu@
138274 build_os = @build_os@
139275 build_vendor = @build_vendor@
276 builddir = @builddir@
140277 datadir = @datadir@
141278 datarootdir = @datarootdir@
279 datdir = @datdir@
142280 docdir = @docdir@
143281 dvidir = @dvidir@
144282 exec_prefix = @exec_prefix@
283 hiscoredir = @hiscoredir@
145284 host = @host@
146285 host_alias = @host_alias@
147286 host_cpu = @host_cpu@
162301 prefix = @prefix@
163302 program_transform_name = @program_transform_name@
164303 psdir = @psdir@
304 runstatedir = @runstatedir@
165305 sbindir = @sbindir@
166306 sharedstatedir = @sharedstatedir@
167 src_dir = @src_dir@
168 src_dir_flag = @src_dir_flag@
307 srcdir = @srcdir@
169308 sysconfdir = @sysconfdir@
170309 target = @target@
171310 target_alias = @target_alias@
172311 target_cpu = @target_cpu@
173312 target_os = @target_os@
174313 target_vendor = @target_vendor@
175 barrage_SOURCES = \
176 main.c\
177 particle.c\
178 shots.c\
179 units.c\
180 data.c\
181 chart.c\
182 bfield.c\
183 menu.c\
184 SFont.c
185
186 barrage_LDFLAGS =
187 barrage_LDADD = @audio_lib@ -lm
188 EXTRA_DIST = \
189 defs.h particle.h shots.h units.h\
190 data.h bfield.h menu.h SFont.h chart.h
314 top_build_prefix = @top_build_prefix@
315 top_builddir = @top_builddir@
316 top_srcdir = @top_srcdir@
317 barrage_SOURCES = main.c particle.c shots.c units.c \
318 data.c chart.c bfield.c menu.c SFont.c
319
320 EXTRA_DIST = defs.h particle.h shots.h units.h \
321 data.h bfield.h menu.h SFont.h chart.h empty.hscr
191322
192323 SUBDIRS = gfx sounds
193324 all: all-recursive
198329 @for dep in $?; do \
199330 case '$(am__configure_deps)' in \
200331 *$$dep*) \
201 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
202 && exit 0; \
332 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
333 && { if test -f $@; then exit 0; else break; fi; }; \
203334 exit 1;; \
204335 esac; \
205336 done; \
206 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
207 cd $(top_srcdir) && \
208 $(AUTOMAKE) --foreign src/Makefile
209 .PRECIOUS: Makefile
337 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
338 $(am__cd) $(top_srcdir) && \
339 $(AUTOMAKE) --gnu src/Makefile
210340 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
211341 @case '$?' in \
212342 *config.status*) \
223353 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
224354 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
225355 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
356 $(am__aclocal_m4_deps):
226357 install-binPROGRAMS: $(bin_PROGRAMS)
227358 @$(NORMAL_INSTALL)
228 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
229 @list='$(bin_PROGRAMS)'; for p in $$list; do \
230 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
231 if test -f $$p \
232 ; then \
233 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
234 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
235 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
236 else :; fi; \
237 done
359 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
360 if test -n "$$list"; then \
361 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
362 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
363 fi; \
364 for p in $$list; do echo "$$p $$p"; done | \
365 sed 's/$(EXEEXT)$$//' | \
366 while read p p1; do if test -f $$p \
367 ; then echo "$$p"; echo "$$p"; else :; fi; \
368 done | \
369 sed -e 'p;s,.*/,,;n;h' \
370 -e 's|.*|.|' \
371 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
372 sed 'N;N;N;s,\n, ,g' | \
373 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
374 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
375 if ($$2 == $$4) files[d] = files[d] " " $$1; \
376 else { print "f", $$3 "/" $$4, $$1; } } \
377 END { for (d in files) print "f", d, files[d] }' | \
378 while read type dir files; do \
379 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
380 test -z "$$files" || { \
381 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
382 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
383 } \
384 ; done
238385
239386 uninstall-binPROGRAMS:
240387 @$(NORMAL_UNINSTALL)
241 @list='$(bin_PROGRAMS)'; for p in $$list; do \
242 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
243 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
244 rm -f "$(DESTDIR)$(bindir)/$$f"; \
245 done
388 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
389 files=`for p in $$list; do echo "$$p"; done | \
390 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
391 -e 's/$$/$(EXEEXT)/' \
392 `; \
393 test -n "$$list" || exit 0; \
394 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
395 cd "$(DESTDIR)$(bindir)" && rm -f $$files
246396
247397 clean-binPROGRAMS:
248398 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
249 barrage$(EXEEXT): $(barrage_OBJECTS) $(barrage_DEPENDENCIES)
399
400 barrage$(EXEEXT): $(barrage_OBJECTS) $(barrage_DEPENDENCIES) $(EXTRA_barrage_DEPENDENCIES)
250401 @rm -f barrage$(EXEEXT)
251 $(LINK) $(barrage_LDFLAGS) $(barrage_OBJECTS) $(barrage_LDADD) $(LIBS)
402 $(AM_V_CCLD)$(LINK) $(barrage_OBJECTS) $(barrage_LDADD) $(LIBS)
252403
253404 mostlyclean-compile:
254405 -rm -f *.$(OBJEXT)
267418 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/units.Po@am__quote@
268419
269420 .c.o:
270 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
271 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
272 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
421 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
422 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
423 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
273424 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
274 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
425 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
275426
276427 .c.obj:
277 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
278 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
279 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
428 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
429 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
430 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
280431 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
281 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
282 uninstall-info-am:
432 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
283433
284434 # This directory's subdirectories are mostly independent; you can cd
285 # into them and run `make' without going through this Makefile.
286 # To change the values of `make' variables: instead of editing Makefiles,
287 # (1) if the variable is set in `config.status', edit `config.status'
288 # (which will cause the Makefiles to be regenerated when you run `make');
289 # (2) otherwise, pass the desired values on the `make' command line.
290 $(RECURSIVE_TARGETS):
291 @failcom='exit 1'; \
292 for f in x $$MAKEFLAGS; do \
293 case $$f in \
294 *=* | --[!k]*);; \
295 *k*) failcom='fail=yes';; \
296 esac; \
297 done; \
435 # into them and run 'make' without going through this Makefile.
436 # To change the values of 'make' variables: instead of editing Makefiles,
437 # (1) if the variable is set in 'config.status', edit 'config.status'
438 # (which will cause the Makefiles to be regenerated when you run 'make');
439 # (2) otherwise, pass the desired values on the 'make' command line.
440 $(am__recursive_targets):
441 @fail=; \
442 if $(am__make_keepgoing); then \
443 failcom='fail=yes'; \
444 else \
445 failcom='exit 1'; \
446 fi; \
298447 dot_seen=no; \
299448 target=`echo $@ | sed s/-recursive//`; \
300 list='$(SUBDIRS)'; for subdir in $$list; do \
449 case "$@" in \
450 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
451 *) list='$(SUBDIRS)' ;; \
452 esac; \
453 for subdir in $$list; do \
301454 echo "Making $$target in $$subdir"; \
302455 if test "$$subdir" = "."; then \
303456 dot_seen=yes; \
305458 else \
306459 local_target="$$target"; \
307460 fi; \
308 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
461 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
309462 || eval $$failcom; \
310463 done; \
311464 if test "$$dot_seen" = "no"; then \
312465 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
313466 fi; test -z "$$fail"
314467
315 mostlyclean-recursive clean-recursive distclean-recursive \
316 maintainer-clean-recursive:
317 @failcom='exit 1'; \
318 for f in x $$MAKEFLAGS; do \
319 case $$f in \
320 *=* | --[!k]*);; \
321 *k*) failcom='fail=yes';; \
322 esac; \
323 done; \
324 dot_seen=no; \
325 case "$@" in \
326 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
327 *) list='$(SUBDIRS)' ;; \
328 esac; \
329 rev=''; for subdir in $$list; do \
330 if test "$$subdir" = "."; then :; else \
331 rev="$$subdir $$rev"; \
332 fi; \
333 done; \
334 rev="$$rev ."; \
335 target=`echo $@ | sed s/-recursive//`; \
336 for subdir in $$rev; do \
337 echo "Making $$target in $$subdir"; \
338 if test "$$subdir" = "."; then \
339 local_target="$$target-am"; \
340 else \
341 local_target="$$target"; \
342 fi; \
343 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
344 || eval $$failcom; \
345 done && test -z "$$fail"
346 tags-recursive:
347 list='$(SUBDIRS)'; for subdir in $$list; do \
348 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
349 done
350 ctags-recursive:
351 list='$(SUBDIRS)'; for subdir in $$list; do \
352 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
353 done
354
355 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
356 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
357 unique=`for i in $$list; do \
358 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
359 done | \
360 $(AWK) ' { files[$$0] = 1; } \
361 END { for (i in files) print i; }'`; \
362 mkid -fID $$unique
363 tags: TAGS
364
365 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
366 $(TAGS_FILES) $(LISP)
367 tags=; \
468 ID: $(am__tagged_files)
469 $(am__define_uniq_tagged_files); mkid -fID $$unique
470 tags: tags-recursive
471 TAGS: tags
472
473 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
474 set x; \
368475 here=`pwd`; \
369476 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
370477 include_option=--etags-include; \
376483 list='$(SUBDIRS)'; for subdir in $$list; do \
377484 if test "$$subdir" = .; then :; else \
378485 test ! -f $$subdir/TAGS || \
379 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
486 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
380487 fi; \
381488 done; \
382 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
383 unique=`for i in $$list; do \
384 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
385 done | \
386 $(AWK) ' { files[$$0] = 1; } \
387 END { for (i in files) print i; }'`; \
388 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
489 $(am__define_uniq_tagged_files); \
490 shift; \
491 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
389492 test -n "$$unique" || unique=$$empty_fix; \
390 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
391 $$tags $$unique; \
493 if test $$# -gt 0; then \
494 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
495 "$$@" $$unique; \
496 else \
497 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
498 $$unique; \
499 fi; \
392500 fi
393 ctags: CTAGS
394 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
395 $(TAGS_FILES) $(LISP)
396 tags=; \
397 here=`pwd`; \
398 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
399 unique=`for i in $$list; do \
400 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
401 done | \
402 $(AWK) ' { files[$$0] = 1; } \
403 END { for (i in files) print i; }'`; \
404 test -z "$(CTAGS_ARGS)$$tags$$unique" \
501 ctags: ctags-recursive
502
503 CTAGS: ctags
504 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
505 $(am__define_uniq_tagged_files); \
506 test -z "$(CTAGS_ARGS)$$unique" \
405507 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
406 $$tags $$unique
508 $$unique
407509
408510 GTAGS:
409511 here=`$(am__cd) $(top_builddir) && pwd` \
410 && cd $(top_srcdir) \
411 && gtags -i $(GTAGS_ARGS) $$here
512 && $(am__cd) $(top_srcdir) \
513 && gtags -i $(GTAGS_ARGS) "$$here"
514 cscopelist: cscopelist-recursive
515
516 cscopelist-am: $(am__tagged_files)
517 list='$(am__tagged_files)'; \
518 case "$(srcdir)" in \
519 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
520 *) sdir=$(subdir)/$(srcdir) ;; \
521 esac; \
522 for i in $$list; do \
523 if test -f "$$i"; then \
524 echo "$(subdir)/$$i"; \
525 else \
526 echo "$$sdir/$$i"; \
527 fi; \
528 done >> $(top_builddir)/cscope.files
412529
413530 distclean-tags:
414531 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
415532
416533 distdir: $(DISTFILES)
417 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
418 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
419 list='$(DISTFILES)'; for file in $$list; do \
420 case $$file in \
421 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
422 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
423 esac; \
534 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
535 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
536 list='$(DISTFILES)'; \
537 dist_files=`for file in $$list; do echo $$file; done | \
538 sed -e "s|^$$srcdirstrip/||;t" \
539 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
540 case $$dist_files in \
541 */*) $(MKDIR_P) `echo "$$dist_files" | \
542 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
543 sort -u` ;; \
544 esac; \
545 for file in $$dist_files; do \
424546 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
425 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
426 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
427 dir="/$$dir"; \
428 $(mkdir_p) "$(distdir)$$dir"; \
547 if test -d $$d/$$file; then \
548 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
549 if test -d "$(distdir)/$$file"; then \
550 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
551 fi; \
552 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
553 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
554 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
555 fi; \
556 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
429557 else \
430 dir=''; \
431 fi; \
432 if test -d $$d/$$file; then \
433 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
434 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
435 fi; \
436 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
437 else \
438 test -f $(distdir)/$$file \
439 || cp -p $$d/$$file $(distdir)/$$file \
558 test -f "$(distdir)/$$file" \
559 || cp -p $$d/$$file "$(distdir)/$$file" \
440560 || exit 1; \
441561 fi; \
442562 done
443 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
563 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
444564 if test "$$subdir" = .; then :; else \
445 test -d "$(distdir)/$$subdir" \
446 || $(mkdir_p) "$(distdir)/$$subdir" \
447 || exit 1; \
448 distdir=`$(am__cd) $(distdir) && pwd`; \
449 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
450 (cd $$subdir && \
565 $(am__make_dryrun) \
566 || test -d "$(distdir)/$$subdir" \
567 || $(MKDIR_P) "$(distdir)/$$subdir" \
568 || exit 1; \
569 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
570 $(am__relativize); \
571 new_distdir=$$reldir; \
572 dir1=$$subdir; dir2="$(top_distdir)"; \
573 $(am__relativize); \
574 new_top_distdir=$$reldir; \
575 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
576 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
577 ($(am__cd) $$subdir && \
451578 $(MAKE) $(AM_MAKEFLAGS) \
452 top_distdir="$$top_distdir" \
453 distdir="$$distdir/$$subdir" \
579 top_distdir="$$new_top_distdir" \
580 distdir="$$new_distdir" \
581 am__remove_distdir=: \
582 am__skip_length_check=: \
583 am__skip_mode_fix=: \
454584 distdir) \
455585 || exit 1; \
456586 fi; \
461591 installdirs: installdirs-recursive
462592 installdirs-am:
463593 for dir in "$(DESTDIR)$(bindir)"; do \
464 test -z "$$dir" || $(mkdir_p) "$$dir"; \
594 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
465595 done
466596 install: install-recursive
467597 install-exec: install-exec-recursive
473603
474604 installcheck: installcheck-recursive
475605 install-strip:
476 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
477 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
478 `test -z '$(STRIP)' || \
479 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
606 if test -z '$(STRIP)'; then \
607 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
608 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
609 install; \
610 else \
611 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
612 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
613 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
614 fi
480615 mostlyclean-generic:
481616
482617 clean-generic:
483618
484619 distclean-generic:
485620 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
621 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
486622
487623 maintainer-clean-generic:
488624 @echo "This command is intended for maintainers to use"
489625 @echo "it deletes files that may require special tools to rebuild."
490 clean: clean-recursive
491
492626 clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
493627
494628 distclean: distclean-recursive
503637
504638 html: html-recursive
505639
640 html-am:
641
506642 info: info-recursive
507643
508644 info-am:
509645
510 install-data-am:
646 install-data-am: install-data-local
647
648 install-dvi: install-dvi-recursive
649
650 install-dvi-am:
511651
512652 install-exec-am: install-binPROGRAMS
513653
654 install-html: install-html-recursive
655
656 install-html-am:
657
514658 install-info: install-info-recursive
515659
660 install-info-am:
661
516662 install-man:
663
664 install-pdf: install-pdf-recursive
665
666 install-pdf-am:
667
668 install-ps: install-ps-recursive
669
670 install-ps-am:
517671
518672 installcheck-am:
519673
534688
535689 ps-am:
536690
537 uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-local
538
539 uninstall-info: uninstall-info-recursive
540
541 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
542 clean clean-binPROGRAMS clean-generic clean-recursive ctags \
543 ctags-recursive distclean distclean-compile distclean-generic \
544 distclean-recursive distclean-tags distdir dvi dvi-am html \
545 html-am info info-am install install-am install-binPROGRAMS \
546 install-data install-data-am install-exec install-exec-am \
547 install-info install-info-am install-man install-strip \
691 uninstall-am: uninstall-binPROGRAMS uninstall-local
692
693 .MAKE: $(am__recursive_targets) install-am install-strip
694
695 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
696 check-am clean clean-binPROGRAMS clean-generic cscopelist-am \
697 ctags ctags-am distclean distclean-compile distclean-generic \
698 distclean-tags distdir dvi dvi-am html html-am info info-am \
699 install install-am install-binPROGRAMS install-data \
700 install-data-am install-data-local install-dvi install-dvi-am \
701 install-exec install-exec-am install-html install-html-am \
702 install-info install-info-am install-man install-pdf \
703 install-pdf-am install-ps install-ps-am install-strip \
548704 installcheck installcheck-am installdirs installdirs-am \
549 maintainer-clean maintainer-clean-generic \
550 maintainer-clean-recursive mostlyclean mostlyclean-compile \
551 mostlyclean-generic mostlyclean-recursive pdf pdf-am ps ps-am \
552 tags tags-recursive uninstall uninstall-am \
553 uninstall-binPROGRAMS uninstall-info-am uninstall-local
554
705 maintainer-clean maintainer-clean-generic mostlyclean \
706 mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
707 tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \
708 uninstall-local
709
710 .PRECIOUS: Makefile
711
712
713 install-data-local:
714 $(mkinstalldirs) $(DESTDIR)$(datdir)
715 $(mkinstalldirs) $(DESTDIR)$(hiscoredir)
716 if ! test -f $(DESTDIR)$(hiscoredir)/barrage.hscr; then \
717 $(INSTALL_DATA) -m 666 empty.hscr $(DESTDIR)$(hiscoredir)/barrage.hscr; \
718 fi;
555719
556720 uninstall-local:
557 rm -rf $(DESTDIR)$(src_dir)
721 rm -rf $(DESTDIR)$(datadir)/barrage
722 rm $(DESTDIR)$(hiscoredir)/barrage.hscr
723
724 clean:
725 rm -f *.o barrage
726
558727 # Tell versions [3.59,3.63) of GNU make to not export all variables.
559728 # Otherwise a system limit (for SysV at least) may be exceeded.
560729 .NOEXPORT:
33 #include <stdlib.h>
44
55 SFont_FontInfo InternalFont;
6
7 extern void refresh_screen();
68
79 Uint32 GetPixel(SDL_Surface *Surface, Sint32 X, Sint32 Y)
810 {
169171 rect.h=Font->Surface->h;
170172 SDL_BlitSurface(Dest, &rect, Back, NULL);
171173 XCenteredString2(Dest,Font,/*x,*/y,text);
172 SDL_UpdateRects(Dest, 1, &rect);
174 //SDL_UpdateRects(Dest, 1, &rect);
175 refresh_screen();
173176
174177 // start input
175178 previous=SDL_EnableUNICODE(1);
188191 text[PixelWidth/*strlen(text)*/]='\0';
189192 SDL_BlitSurface( Back, NULL, Dest, &rect);
190193 XCenteredString2(Dest, Font, /*x,*/ y, text);
191 SDL_UpdateRects(Dest, 1, &rect);
194 //SDL_UpdateRects(Dest, 1, &rect);
195 refresh_screen();
192196 // printf("%s ## %d\n",text,strlen(text));
193197 SDL_WaitEvent(&event);
194198 }
198202 blinktimer=SDL_GetTicks()+500;
199203 if (blink) {
200204 PutString2(Dest, Font, x+TextWidth2(Font,text)/2, y, "|");
201 SDL_UpdateRects(Dest, 1, &rect);
205 //SDL_UpdateRects(Dest, 1, &rect);
206 refresh_screen();
202207 // SDL_UpdateRect(Dest, x+TextWidth2(Font,text), y, TextWidth2(Font,"|"), Font->Surface->h);
203208 } else {
204209 SDL_BlitSurface( Back, NULL, Dest, &rect);
205210 XCenteredString2(Dest, Font, /*x,*/ y, text);
206 SDL_UpdateRects(Dest, 1, &rect);
211 //SDL_UpdateRects(Dest, 1, &rect);
212 refresh_screen();
207213 // SDL_UpdateRect(Dest, x-(Font->CharPos[ofs]-Font->CharPos[ofs-1])/2, y, PixelWidth, Font->Surface->h);
208214 }
209215 }
1818
1919 ChartEntry chart[CHART_SIZE+1]; /* extra space for new entry */
2020
21 #define CHART_FILE ".barrage.hscr"
21 #define CHART_FILE "barrage.hscr"
2222
2323 static void chart_reset()
2424 {
3737 FILE *file;
3838
3939 chart_reset();
40 snprintf( buf, 128, "%s/%s", getenv("HOME"), CHART_FILE ); buf[127] = 0;
40 snprintf( buf, 128, "%s/%s", HISCOREDIR, CHART_FILE ); buf[127] = 0;
4141 file = fopen( buf, "r" );
4242 if ( file == 0 ) {
4343 printf( "couldn't read highscore file: %s\n", buf );
4747 printf( "loading highscores: %s\n", buf );
4848 for ( i = 0; i < CHART_SIZE; i++ ) {
4949 buf[0] = 0; /* if file is corrupted the name will be empty */
50 fgets( buf, 32, file ); buf[31] = 0;
50 if (fgets( buf, 32, file ) == NULL)
51 break;
5152 ptr = strchr( buf, '\n' ); if ( ptr ) ptr[0] = 0; /* kill newline */
5253 snprintf( chart[i].name, 19, "%s", buf );
53 fgets( buf, 32, file ); buf[31] = 0;
54 if (fgets( buf, 32, file ) == NULL)
55 break;
5456 chart[i].score = atoi( buf );
5557 }
5658 fclose( file );
6264 int i;
6365 FILE *file;
6466
65 snprintf( path, 128, "%s/%s", getenv("HOME"), CHART_FILE ); path[127] = 0;
67 snprintf( path, 128, "%s/%s", HISCOREDIR, CHART_FILE ); path[127] = 0;
6668 file = fopen( path, "w" );
6769 if ( file == 0 ) {
6870 printf( "couldn't open highscore file: %s\n", path );
0 ............
1 2000
2 ............
3 1800
4 ............
5 1600
6 ............
7 1400
8 ............
9 1200
10 ............
11 1000
12 ............
13 800
14 ............
15 600
16 ............
17 400
18 ............
19 200
20
22 ft_red14.bmp ft_neon.bmp cursors.bmp icons.bmp gun.bmp
33
44 install-data-local:
5 $(mkinstalldirs) $(DESTDIR)$(src_dir)/gfx
5 $(mkinstalldirs) $(DESTDIR)$(datdir)/gfx
66 @for file in $(EXTRA_DIST); do\
7 $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(src_dir)/gfx/$$file;\
7 $(INSTALL_DATA) $$file $(DESTDIR)$(datdir)/gfx/$$file;\
88 done
99
0 # Makefile.in generated by automake 1.9.6 from Makefile.am.
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
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.
1212 # PARTICULAR PURPOSE.
1313
1414 @SET_MAKE@
15 srcdir = @srcdir@
16 top_srcdir = @top_srcdir@
1715 VPATH = @srcdir@
16 am__is_gnu_make = { \
17 if test -z '$(MAKELEVEL)'; then \
18 false; \
19 elif test -n '$(MAKE_HOST)'; then \
20 true; \
21 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
22 true; \
23 else \
24 false; \
25 fi; \
26 }
27 am__make_running_with_option = \
28 case $${target_option-} in \
29 ?) ;; \
30 *) echo "am__make_running_with_option: internal error: invalid" \
31 "target option '$${target_option-}' specified" >&2; \
32 exit 1;; \
33 esac; \
34 has_opt=no; \
35 sane_makeflags=$$MAKEFLAGS; \
36 if $(am__is_gnu_make); then \
37 sane_makeflags=$$MFLAGS; \
38 else \
39 case $$MAKEFLAGS in \
40 *\\[\ \ ]*) \
41 bs=\\; \
42 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
43 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
44 esac; \
45 fi; \
46 skip_next=no; \
47 strip_trailopt () \
48 { \
49 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
50 }; \
51 for flg in $$sane_makeflags; do \
52 test $$skip_next = yes && { skip_next=no; continue; }; \
53 case $$flg in \
54 *=*|--*) continue;; \
55 -*I) strip_trailopt 'I'; skip_next=yes;; \
56 -*I?*) strip_trailopt 'I';; \
57 -*O) strip_trailopt 'O'; skip_next=yes;; \
58 -*O?*) strip_trailopt 'O';; \
59 -*l) strip_trailopt 'l'; skip_next=yes;; \
60 -*l?*) strip_trailopt 'l';; \
61 -[dEDm]) skip_next=yes;; \
62 -[JT]) skip_next=yes;; \
63 esac; \
64 case $$flg in \
65 *$$target_option*) has_opt=yes; break;; \
66 esac; \
67 done; \
68 test $$has_opt = yes
69 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
70 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
1871 pkgdatadir = $(datadir)/@PACKAGE@
72 pkgincludedir = $(includedir)/@PACKAGE@
1973 pkglibdir = $(libdir)/@PACKAGE@
20 pkgincludedir = $(includedir)/@PACKAGE@
21 top_builddir = ../..
74 pkglibexecdir = $(libexecdir)/@PACKAGE@
2275 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23 INSTALL = @INSTALL@
2476 install_sh_DATA = $(install_sh) -c -m 644
2577 install_sh_PROGRAM = $(install_sh) -c
2678 install_sh_SCRIPT = $(install_sh) -c
3688 host_triplet = @host@
3789 target_triplet = @target@
3890 subdir = src/gfx
39 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
4091 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
4192 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
42 $(top_srcdir)/configure.in
93 $(top_srcdir)/configure.ac
4394 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4495 $(ACLOCAL_M4)
96 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
4597 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
4698 CONFIG_HEADER = $(top_builddir)/config.h
4799 CONFIG_CLEAN_FILES =
100 CONFIG_CLEAN_VPATH_FILES =
101 AM_V_P = $(am__v_P_@AM_V@)
102 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
103 am__v_P_0 = false
104 am__v_P_1 = :
105 AM_V_GEN = $(am__v_GEN_@AM_V@)
106 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
107 am__v_GEN_0 = @echo " GEN " $@;
108 am__v_GEN_1 =
109 AM_V_at = $(am__v_at_@AM_V@)
110 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
111 am__v_at_0 = @
112 am__v_at_1 =
48113 SOURCES =
49114 DIST_SOURCES =
115 am__can_run_installinfo = \
116 case $$AM_UPDATE_INFO_DIR in \
117 n|no|NO) false;; \
118 *) (install-info --version) >/dev/null 2>&1;; \
119 esac
120 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
121 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/mkinstalldirs
50122 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
51123 ACLOCAL = @ACLOCAL@
52 AMDEP_FALSE = @AMDEP_FALSE@
53 AMDEP_TRUE = @AMDEP_TRUE@
124 ALLOCA = @ALLOCA@
54125 AMTAR = @AMTAR@
126 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
55127 AUTOCONF = @AUTOCONF@
56128 AUTOHEADER = @AUTOHEADER@
57129 AUTOMAKE = @AUTOMAKE@
70142 EGREP = @EGREP@
71143 EXEEXT = @EXEEXT@
72144 GREP = @GREP@
145 INSTALL = @INSTALL@
73146 INSTALL_DATA = @INSTALL_DATA@
74147 INSTALL_PROGRAM = @INSTALL_PROGRAM@
75148 INSTALL_SCRIPT = @INSTALL_SCRIPT@
79152 LIBS = @LIBS@
80153 LTLIBOBJS = @LTLIBOBJS@
81154 MAKEINFO = @MAKEINFO@
155 MKDIR_P = @MKDIR_P@
82156 OBJEXT = @OBJEXT@
83157 PACKAGE = @PACKAGE@
84158 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
85159 PACKAGE_NAME = @PACKAGE_NAME@
86160 PACKAGE_STRING = @PACKAGE_STRING@
87161 PACKAGE_TARNAME = @PACKAGE_TARNAME@
162 PACKAGE_URL = @PACKAGE_URL@
88163 PACKAGE_VERSION = @PACKAGE_VERSION@
89164 PATH_SEPARATOR = @PATH_SEPARATOR@
165 POW_LIB = @POW_LIB@
90166 RANLIB = @RANLIB@
91167 SDL_CFLAGS = @SDL_CFLAGS@
92168 SDL_CONFIG = @SDL_CONFIG@
95171 SHELL = @SHELL@
96172 STRIP = @STRIP@
97173 VERSION = @VERSION@
174 abs_builddir = @abs_builddir@
175 abs_srcdir = @abs_srcdir@
176 abs_top_builddir = @abs_top_builddir@
177 abs_top_srcdir = @abs_top_srcdir@
98178 ac_ct_CC = @ac_ct_CC@
99 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
100 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
101179 am__include = @am__include@
102180 am__leading_dot = @am__leading_dot@
103181 am__quote = @am__quote@
104182 am__tar = @am__tar@
105183 am__untar = @am__untar@
106 audio_flag = @audio_flag@
107 audio_lib = @audio_lib@
108184 bindir = @bindir@
109185 build = @build@
110186 build_alias = @build_alias@
111187 build_cpu = @build_cpu@
112188 build_os = @build_os@
113189 build_vendor = @build_vendor@
190 builddir = @builddir@
114191 datadir = @datadir@
115192 datarootdir = @datarootdir@
193 datdir = @datdir@
116194 docdir = @docdir@
117195 dvidir = @dvidir@
118196 exec_prefix = @exec_prefix@
197 hiscoredir = @hiscoredir@
119198 host = @host@
120199 host_alias = @host_alias@
121200 host_cpu = @host_cpu@
136215 prefix = @prefix@
137216 program_transform_name = @program_transform_name@
138217 psdir = @psdir@
218 runstatedir = @runstatedir@
139219 sbindir = @sbindir@
140220 sharedstatedir = @sharedstatedir@
141 src_dir = @src_dir@
142 src_dir_flag = @src_dir_flag@
221 srcdir = @srcdir@
143222 sysconfdir = @sysconfdir@
144223 target = @target@
145224 target_alias = @target_alias@
146225 target_cpu = @target_cpu@
147226 target_os = @target_os@
148227 target_vendor = @target_vendor@
228 top_build_prefix = @top_build_prefix@
229 top_builddir = @top_builddir@
230 top_srcdir = @top_srcdir@
149231 EXTRA_DIST = ammo.bmp crater.bmp ft_red.bmp ft_yellow.bmp ground.bmp \
150232 logo.bmp particles.bmp shots.bmp small_crater.bmp trees.bmp units.bmp \
151233 ft_red14.bmp ft_neon.bmp cursors.bmp icons.bmp gun.bmp
157239 @for dep in $?; do \
158240 case '$(am__configure_deps)' in \
159241 *$$dep*) \
160 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
161 && exit 0; \
242 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
243 && { if test -f $@; then exit 0; else break; fi; }; \
162244 exit 1;; \
163245 esac; \
164246 done; \
165 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/gfx/Makefile'; \
166 cd $(top_srcdir) && \
167 $(AUTOMAKE) --foreign src/gfx/Makefile
168 .PRECIOUS: Makefile
247 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/gfx/Makefile'; \
248 $(am__cd) $(top_srcdir) && \
249 $(AUTOMAKE) --gnu src/gfx/Makefile
169250 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
170251 @case '$?' in \
171252 *config.status*) \
182263 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
183264 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
184265 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
185 uninstall-info-am:
186 tags: TAGS
187 TAGS:
188
189 ctags: CTAGS
190 CTAGS:
266 $(am__aclocal_m4_deps):
267 tags TAGS:
268
269 ctags CTAGS:
270
271 cscope cscopelist:
191272
192273
193274 distdir: $(DISTFILES)
194 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
195 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
196 list='$(DISTFILES)'; for file in $$list; do \
197 case $$file in \
198 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
199 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
200 esac; \
275 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
276 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
277 list='$(DISTFILES)'; \
278 dist_files=`for file in $$list; do echo $$file; done | \
279 sed -e "s|^$$srcdirstrip/||;t" \
280 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
281 case $$dist_files in \
282 */*) $(MKDIR_P) `echo "$$dist_files" | \
283 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
284 sort -u` ;; \
285 esac; \
286 for file in $$dist_files; do \
201287 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
202 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
203 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
204 dir="/$$dir"; \
205 $(mkdir_p) "$(distdir)$$dir"; \
288 if test -d $$d/$$file; then \
289 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
290 if test -d "$(distdir)/$$file"; then \
291 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
292 fi; \
293 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
294 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
295 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
296 fi; \
297 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
206298 else \
207 dir=''; \
208 fi; \
209 if test -d $$d/$$file; then \
210 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
211 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
212 fi; \
213 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
214 else \
215 test -f $(distdir)/$$file \
216 || cp -p $$d/$$file $(distdir)/$$file \
299 test -f "$(distdir)/$$file" \
300 || cp -p $$d/$$file "$(distdir)/$$file" \
217301 || exit 1; \
218302 fi; \
219303 done
231315
232316 installcheck: installcheck-am
233317 install-strip:
234 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
235 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
236 `test -z '$(STRIP)' || \
237 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
318 if test -z '$(STRIP)'; then \
319 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
320 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
321 install; \
322 else \
323 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
324 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
325 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
326 fi
238327 mostlyclean-generic:
239328
240329 clean-generic:
241330
242331 distclean-generic:
243332 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
333 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
244334
245335 maintainer-clean-generic:
246336 @echo "This command is intended for maintainers to use"
259349
260350 html: html-am
261351
352 html-am:
353
262354 info: info-am
263355
264356 info-am:
265357
266358 install-data-am: install-data-local
267359
360 install-dvi: install-dvi-am
361
362 install-dvi-am:
363
268364 install-exec-am:
269365
366 install-html: install-html-am
367
368 install-html-am:
369
270370 install-info: install-info-am
271371
372 install-info-am:
373
272374 install-man:
375
376 install-pdf: install-pdf-am
377
378 install-pdf-am:
379
380 install-ps: install-ps-am
381
382 install-ps-am:
273383
274384 installcheck-am:
275385
289399
290400 ps-am:
291401
292 uninstall-am: uninstall-info-am
293
294 .PHONY: all all-am check check-am clean clean-generic distclean \
295 distclean-generic distdir dvi dvi-am html html-am info info-am \
296 install install-am install-data install-data-am \
297 install-data-local install-exec install-exec-am install-info \
298 install-info-am install-man install-strip installcheck \
299 installcheck-am installdirs maintainer-clean \
402 uninstall-am:
403
404 .MAKE: install-am install-strip
405
406 .PHONY: all all-am check check-am clean clean-generic cscopelist-am \
407 ctags-am distclean distclean-generic distdir dvi dvi-am html \
408 html-am info info-am install install-am install-data \
409 install-data-am install-data-local install-dvi install-dvi-am \
410 install-exec install-exec-am install-html install-html-am \
411 install-info install-info-am install-man install-pdf \
412 install-pdf-am install-ps install-ps-am install-strip \
413 installcheck installcheck-am installdirs maintainer-clean \
300414 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
301 pdf-am ps ps-am uninstall uninstall-am uninstall-info-am
415 pdf-am ps ps-am tags-am uninstall uninstall-am
416
417 .PRECIOUS: Makefile
302418
303419
304420 install-data-local:
305 $(mkinstalldirs) $(DESTDIR)$(src_dir)/gfx
421 $(mkinstalldirs) $(DESTDIR)$(datdir)/gfx
306422 @for file in $(EXTRA_DIST); do\
307 $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(src_dir)/gfx/$$file;\
423 $(INSTALL_DATA) $$file $(DESTDIR)$(datdir)/gfx/$$file;\
308424 done
425
309426 # Tell versions [3.59,3.63) of GNU make to not export all variables.
310427 # Otherwise a system limit (for SysV at least) may be exceeded.
311428 .NOEXPORT:
2323 #include "bfield.h"
2424 #include "menu.h"
2525
26 SDL_Surface *vsurf;
2627 SDL_Surface *screen;
28 int use_shadow_surface = 0;
29 int video_scale = 0; /* factors: 0 = 1, 1 = 1.5, 2 = 2 */
30 int video_xoff = 0, video_yoff = 0; /* offset of scaled surface in display */
31 int video_sw = 0, video_sh = 0; /* size of scaled shadow surface */
32 int display_w = 0, display_h = 0; /* original size of display */
33 int video_forced_w = 0, video_forced_h = 0; /* given by command line */
2734 #define BITDEPTH 16
2835
2936 int delay = 0;
7986 strncpy(player_name, user_name, 19);
8087 }
8188 };
89
90 static void select_best_video_mode(int *best_w, int *best_h)
91 {
92 SDL_Rect **modes;
93 SDL_Rect wanted_mode;
94 int i;
95 int dratio;
96
97 dratio = 100*display_w/display_h;
98 wanted_mode.w = display_w;
99 wanted_mode.h = display_h;
100
101 /* Get available fullscreen/hardware modes */
102 modes=SDL_ListModes(NULL, SDL_FULLSCREEN|SDL_HWSURFACE);
103 /* Check if there are any modes available */
104 if(modes == (SDL_Rect **)0){
105 printf("No modes available!\n");
106 exit(-1);
107 }
108 /* Check if our resolution is restricted */
109 if(modes == (SDL_Rect **)-1){
110 printf("All resolutions available.\n");
111 } else {
112 /* Print valid modes */
113 printf("Available modes: ");
114 for(i=0;modes[i];++i)
115 printf("%d x %d, ", modes[i]->w, modes[i]->h);
116 printf("\n");
117
118 /* select lowest mode with same ratio as display */
119 for(i=0;modes[i];++i)
120 if (100*modes[i]->w/modes[i]->h == dratio) {
121 if (modes[i]->h < wanted_mode.h)
122 wanted_mode = *modes[i];
123 }
124 printf("Best mode: %d x %d\n",wanted_mode.w,wanted_mode.h);
125 }
126
127 *best_w = wanted_mode.w;
128 *best_h = wanted_mode.h;
129 }
130
131 static void set_video_mode()
132 {
133 int w, h;
134 int vflags = (fullscreen?SDL_FULLSCREEN:0) | SDL_HWSURFACE;
135
136 if (use_shadow_surface && screen) {
137 SDL_FreeSurface(screen);
138 screen = NULL;
139 use_shadow_surface = 0;
140 }
141
142 if (video_forced_w > 0 && video_forced_h > 0) {
143 w = video_forced_w;
144 h = video_forced_h;
145 } else if (!fullscreen) {
146 w = 640;
147 h = 480;
148 } else
149 select_best_video_mode(&w, &h);
150
151 /* for 640x480 no shadow surface is used */
152 video_scale = 0;
153 video_xoff = video_yoff = 0;
154 if (w == 640 && h == 480)
155 vflags |= SDL_DOUBLEBUF; /* use fast double buffering */
156 else {
157 printf("Using shadow surface\n");
158 use_shadow_surface = 1;
159 if (2*480 <= h) {
160 video_scale = 2;
161 video_sw = 2*640;
162 video_sh = 2*480;
163 } else if (3*480/2 <= h) {
164 video_scale = 1;
165 video_sw = 3*640/2;
166 video_sh = 3*480/2;
167 } else {
168 video_sw = 640;
169 video_sh = 480;
170 }
171 printf("Using scale factor %s\n",
172 (video_scale==2)?"2":((video_scale==1)?"1.5":0));
173 video_xoff = (w - video_sw) / 2;
174 video_yoff = (h - video_sh) / 2;
175 }
176
177 if (SDL_SetVideoMode(w, h, BITDEPTH, vflags) < 0 ) {
178 printf( "%s\n", SDL_GetError() );
179 exit(1);
180 }
181
182 /* with no shadow surface screen is doubled buffered video surface */
183 if (!use_shadow_surface) {
184 screen = SDL_GetVideoSurface();
185 return;
186 }
187
188 /* create shadow screen surface as 640x480 */
189 vsurf = SDL_GetVideoSurface();
190 screen = SDL_CreateRGBSurface( SDL_SWSURFACE, 640, 480,
191 vsurf->format->BitsPerPixel,
192 vsurf->format->Rmask, vsurf->format->Bmask,
193 vsurf->format->Gmask, vsurf->format->Amask );
194
195 }
196
197 static void scale_surface(SDL_Surface *src, SDL_Surface *dst)
198 {
199 int i,j;
200 int bpp = src->format->BytesPerPixel; /* should equal dst */
201 int sxoff, syoff, dxoff, dyoff;
202 Uint32 pixel = 0;
203
204 if (bpp != dst->format->BytesPerPixel) {
205 printf("Oops, pixel size does not match, no scaling\n");
206 SDL_BlitSurface(screen, 0, vsurf, 0);
207 return;
208 }
209
210 if (SDL_MUSTLOCK(src))
211 SDL_LockSurface(src);
212 if (SDL_MUSTLOCK(dst))
213 SDL_LockSurface(dst);
214
215 sxoff = syoff = 0;
216 dxoff = video_xoff * bpp;
217 dyoff = video_yoff * dst->pitch;
218 for (j = 0; j < src->h; j++) {
219 for (i = 0; i < src->w; i++) {
220 memcpy(&pixel, src->pixels + syoff + sxoff, bpp);
221 memcpy(dst->pixels + dyoff + dxoff, &pixel, bpp);
222 if (video_scale) {
223 if (video_scale==2 || (i&1))
224 memcpy(dst->pixels + dyoff + dxoff + bpp, &pixel, bpp);
225 if (video_scale==2 || (j&1)) {
226 memcpy(dst->pixels + dyoff + dst->pitch + dxoff, &pixel, bpp);
227 if (video_scale==2 || (i&1))
228 memcpy(dst->pixels + dyoff + dst->pitch + dxoff + bpp, &pixel, bpp);
229 }
230 if (video_scale==2 || (i&1))
231 dxoff += bpp;
232 }
233 sxoff += bpp;
234 dxoff += bpp;
235 }
236 sxoff = 0;
237 syoff += src->pitch;
238 dxoff = video_xoff*bpp;
239 dyoff += dst->pitch;
240 if (video_scale && (video_scale==2 || (j&1)))
241 dyoff += dst->pitch;
242 }
243
244 if (SDL_MUSTLOCK(src))
245 SDL_UnlockSurface(src);
246 if (SDL_MUSTLOCK(dst))
247 SDL_UnlockSurface(dst);
248 }
249
250 void refresh_screen()
251 {
252 if (!use_shadow_surface)
253 SDL_Flip(screen);
254 else {
255 scale_surface(screen,vsurf);
256 SDL_UpdateRect(vsurf, 0, 0, 0, 0);
257 }
258 }
82259
83260 static void fade_screen( int type, int time )
84261 {
123300 SDL_FillRect( screen, 0, 0x0 );
124301 SDL_SetAlpha( buffer, SDL_SRCALPHA | SDL_RLEACCEL, (int)alpha );
125302 SDL_BlitSurface( buffer, 0, screen, 0 );
126 SDL_Flip(screen);
303 refresh_screen(screen);
127304 if (delay>0) SDL_Delay(10);
128305 }
129306
133310 SDL_BlitSurface( buffer, 0, screen, 0 );
134311 else
135312 SDL_FillRect( screen, 0, 0x0 );
136 SDL_Flip(screen);
313 refresh_screen(screen);
137314 SDL_FreeSurface( buffer );
138315 }
139316
247424
248425 SDL_BlitSurface( img_logo, 0, dest, &drect );
249426
250 SDL_WriteText( ft_copyright, dest, 4, 454, "(C) 2003-2011 Michael Speck" );
427 SDL_WriteText( ft_copyright, dest, 4, 454, "(C) 2003-2019 Michael Speck" );
251428 SDL_WriteTextRight( ft_copyright, dest, 636, 454, "http://lgames.sf.net" );
252429 }
253430
351528 sprintf( buf, "Topgunner #%i", rank+1 );
352529 SDL_WriteTextCenter( ft_chart, screen, 320, 230, buf );
353530 SDL_WriteTextCenter( ft_chart, screen, 320, 290, "Sign here:" );
354 SDL_Flip(screen);
531 refresh_screen(screen);
355532 SDL_EnterTextCenter( ft_chart, screen, 320, 320, 18, player_name );
356533 chart_add_entry( player_name, player_score );
357534 }
360537 ft_chart, screen, 320, 290, "Not enough to be a topgunner!" );
361538 SDL_WriteTextCenter(
362539 ft_chart, screen, 320, 320, "Go, try again! Dismissed." );
363 SDL_Flip(screen);
540 refresh_screen(screen);
364541 wait_for_input();
365542 }
366543 chart_save();
382559 int input_delay = 0; /* while >0 no clicks are accepted */
383560 SDLMod modstate = 0;
384561 int shot_type;
562 SDL_Event event;
385563
386564 frame_time = SDL_GetTicks(); /* for frame rate */
387565 memset( empty_keys, 0, sizeof( empty_keys ) ); /* to block input */
399577
400578 /* gather events in queue and get mouse/keyboard states */
401579 SDL_PumpEvents();
580 if (SDL_PollEvent(&event) && event.type == SDL_QUIT)
581 quit = 1;
402582 buttonstate = SDL_GetMouseState( &x, &y );
403583 keystate = SDL_GetKeyState( 0 );
404584 modstate = SDL_GetModState();
405
406 /* update the battefield (particles,units,new cannonfodder) */
585
586 /* translate cursor position if shadow surface is used */
587 if (use_shadow_surface) {
588 //printf("%d x %d ->",x,y);
589 x -= video_xoff;
590 y -= video_yoff;
591 if (x < 0)
592 x = 0;
593 if (y < 0)
594 y = 0;
595 if (x >= video_sw)
596 x = video_sw - 1;
597 if (y >= video_sh)
598 y = video_sh - 1;
599 x = 640 * x / video_sw;
600 y = 480 * y / video_sh;
601 //printf(" %d x %d (w=%d)\n",x,y,video_sw);
602 }
603
604 /* update the battlefield (particles,units,new cannonfodder) */
407605 bfield_update( ms );
408606
409607 /* update input_delay */
436634 draw_cursor( screen, x, y );
437635
438636 /* udpate screen */
439 SDL_Flip(screen); frames++;
637 refresh_screen(screen);
638 frames++;
440639
441640 /* end game? */
442641 if ( state == STATE_GAME )
530729 /* switch fullscreen/window anywhere */
531730 if ( keystate[SDLK_f] ) {
532731 fullscreen = !fullscreen;
533 SDL_SetVideoMode( 640, 480, BITDEPTH,
534 (fullscreen?SDL_FULLSCREEN:0) | SDL_HWSURFACE | SDL_DOUBLEBUF );
732 set_video_mode();
535733 input_delay = INPUT_DELAY;
536734 }
537735 /* enabe/disable sound anywhere */
555753 int main( int argc, char **argv )
556754 {
557755 int c;
558
756 const SDL_VideoInfo* info;
757
559758 printf( "BARRAGE v%s\n", VERSION );
560 printf( "Copyright 2003-2011 Michael Speck (http://lgames.sf.net)\n" );
561 printf( "Released under Gnu GPL\n---\n" );
562
563 while ( ( c = getopt( argc, argv, "d:ws" ) ) != -1 )
759 printf( "Copyright 2003-2019 Michael Speck (http://lgames.sf.net)\n" );
760 printf( "Released under GNU GPL\n---\n" );
761
762 while ( ( c = getopt( argc, argv, "d:wsr:" ) ) != -1 )
564763 {
565764 switch (c)
566765 {
567766 case 'd': delay = atoi(optarg); break;
568767 case 'w': fullscreen=0; break;
569768 case 's': audio_on = 0; break;
769 case 'r':
770 sscanf(optarg, "%dx%d", &video_forced_w, &video_forced_h);
771 printf("Trying to force resolution %dx%d\n",
772 video_forced_w, video_forced_h);
773 break;
570774 }
571775 }
572776 printf("main loop delay: %d ms\n",delay);
584788 printf( "Disabling sound and continuing...\n" );
585789 audio_on = -1;
586790 }
587 if ( SDL_SetVideoMode( 640, 480, BITDEPTH,
588 (fullscreen?SDL_FULLSCREEN:0) | SDL_HWSURFACE | SDL_DOUBLEBUF ) < 0 ) {
589 printf( "%s\n", SDL_GetError() );
590 exit(1);
791
792 /* get real display size now because when switching
793 * it becomes wrong window size */
794 info = SDL_GetVideoInfo();
795 printf("Display resolution: %d x %d\n", info->current_w, info->current_h);
796 display_w = info->current_w;
797 display_h = info->current_h;
798 if (video_forced_h > 0) {
799 if (video_forced_w > display_w || video_forced_h > display_h) {
800 printf("Forced resolution out of bounds, ignoring it\n");
801 video_forced_h = video_forced_w = 0;
802 }
803 if (video_forced_w < 640 || video_forced_h < 480) {
804 video_forced_w = 0;
805 video_forced_h = 0;
806 }
591807 }
592 screen = SDL_GetVideoSurface();
808
809
810 set_video_mode();
811
593812 atexit(SDL_Quit);
594813 SDL_WM_SetCaption( "LBarrage", 0 );
595814
11 gunfire.wav highlight.wav
22
33 install-data-local:
4 $(mkinstalldirs) $(DESTDIR)$(src_dir)/sounds
4 $(mkinstalldirs) $(DESTDIR)$(datdir)/sounds
55 @for file in $(EXTRA_DIST); do\
6 $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(src_dir)/sounds/$$file;\
6 $(INSTALL_DATA) $$file $(DESTDIR)$(datdir)/sounds/$$file;\
77 done
88
0 # Makefile.in generated by automake 1.9.6 from Makefile.am.
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
4
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.
1212 # PARTICULAR PURPOSE.
1313
1414 @SET_MAKE@
15 srcdir = @srcdir@
16 top_srcdir = @top_srcdir@
1715 VPATH = @srcdir@
16 am__is_gnu_make = { \
17 if test -z '$(MAKELEVEL)'; then \
18 false; \
19 elif test -n '$(MAKE_HOST)'; then \
20 true; \
21 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
22 true; \
23 else \
24 false; \
25 fi; \
26 }
27 am__make_running_with_option = \
28 case $${target_option-} in \
29 ?) ;; \
30 *) echo "am__make_running_with_option: internal error: invalid" \
31 "target option '$${target_option-}' specified" >&2; \
32 exit 1;; \
33 esac; \
34 has_opt=no; \
35 sane_makeflags=$$MAKEFLAGS; \
36 if $(am__is_gnu_make); then \
37 sane_makeflags=$$MFLAGS; \
38 else \
39 case $$MAKEFLAGS in \
40 *\\[\ \ ]*) \
41 bs=\\; \
42 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
43 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
44 esac; \
45 fi; \
46 skip_next=no; \
47 strip_trailopt () \
48 { \
49 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
50 }; \
51 for flg in $$sane_makeflags; do \
52 test $$skip_next = yes && { skip_next=no; continue; }; \
53 case $$flg in \
54 *=*|--*) continue;; \
55 -*I) strip_trailopt 'I'; skip_next=yes;; \
56 -*I?*) strip_trailopt 'I';; \
57 -*O) strip_trailopt 'O'; skip_next=yes;; \
58 -*O?*) strip_trailopt 'O';; \
59 -*l) strip_trailopt 'l'; skip_next=yes;; \
60 -*l?*) strip_trailopt 'l';; \
61 -[dEDm]) skip_next=yes;; \
62 -[JT]) skip_next=yes;; \
63 esac; \
64 case $$flg in \
65 *$$target_option*) has_opt=yes; break;; \
66 esac; \
67 done; \
68 test $$has_opt = yes
69 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
70 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
1871 pkgdatadir = $(datadir)/@PACKAGE@
72 pkgincludedir = $(includedir)/@PACKAGE@
1973 pkglibdir = $(libdir)/@PACKAGE@
20 pkgincludedir = $(includedir)/@PACKAGE@
21 top_builddir = ../..
74 pkglibexecdir = $(libexecdir)/@PACKAGE@
2275 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23 INSTALL = @INSTALL@
2476 install_sh_DATA = $(install_sh) -c -m 644
2577 install_sh_PROGRAM = $(install_sh) -c
2678 install_sh_SCRIPT = $(install_sh) -c
3688 host_triplet = @host@
3789 target_triplet = @target@
3890 subdir = src/sounds
39 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
4091 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
4192 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
42 $(top_srcdir)/configure.in
93 $(top_srcdir)/configure.ac
4394 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4495 $(ACLOCAL_M4)
96 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
4597 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
4698 CONFIG_HEADER = $(top_builddir)/config.h
4799 CONFIG_CLEAN_FILES =
100 CONFIG_CLEAN_VPATH_FILES =
101 AM_V_P = $(am__v_P_@AM_V@)
102 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
103 am__v_P_0 = false
104 am__v_P_1 = :
105 AM_V_GEN = $(am__v_GEN_@AM_V@)
106 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
107 am__v_GEN_0 = @echo " GEN " $@;
108 am__v_GEN_1 =
109 AM_V_at = $(am__v_at_@AM_V@)
110 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
111 am__v_at_0 = @
112 am__v_at_1 =
48113 SOURCES =
49114 DIST_SOURCES =
115 am__can_run_installinfo = \
116 case $$AM_UPDATE_INFO_DIR in \
117 n|no|NO) false;; \
118 *) (install-info --version) >/dev/null 2>&1;; \
119 esac
120 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
121 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/mkinstalldirs
50122 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
51123 ACLOCAL = @ACLOCAL@
52 AMDEP_FALSE = @AMDEP_FALSE@
53 AMDEP_TRUE = @AMDEP_TRUE@
124 ALLOCA = @ALLOCA@
54125 AMTAR = @AMTAR@
126 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
55127 AUTOCONF = @AUTOCONF@
56128 AUTOHEADER = @AUTOHEADER@
57129 AUTOMAKE = @AUTOMAKE@
70142 EGREP = @EGREP@
71143 EXEEXT = @EXEEXT@
72144 GREP = @GREP@
145 INSTALL = @INSTALL@
73146 INSTALL_DATA = @INSTALL_DATA@
74147 INSTALL_PROGRAM = @INSTALL_PROGRAM@
75148 INSTALL_SCRIPT = @INSTALL_SCRIPT@
79152 LIBS = @LIBS@
80153 LTLIBOBJS = @LTLIBOBJS@
81154 MAKEINFO = @MAKEINFO@
155 MKDIR_P = @MKDIR_P@
82156 OBJEXT = @OBJEXT@
83157 PACKAGE = @PACKAGE@
84158 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
85159 PACKAGE_NAME = @PACKAGE_NAME@
86160 PACKAGE_STRING = @PACKAGE_STRING@
87161 PACKAGE_TARNAME = @PACKAGE_TARNAME@
162 PACKAGE_URL = @PACKAGE_URL@
88163 PACKAGE_VERSION = @PACKAGE_VERSION@
89164 PATH_SEPARATOR = @PATH_SEPARATOR@
165 POW_LIB = @POW_LIB@
90166 RANLIB = @RANLIB@
91167 SDL_CFLAGS = @SDL_CFLAGS@
92168 SDL_CONFIG = @SDL_CONFIG@
95171 SHELL = @SHELL@
96172 STRIP = @STRIP@
97173 VERSION = @VERSION@
174 abs_builddir = @abs_builddir@
175 abs_srcdir = @abs_srcdir@
176 abs_top_builddir = @abs_top_builddir@
177 abs_top_srcdir = @abs_top_srcdir@
98178 ac_ct_CC = @ac_ct_CC@
99 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
100 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
101179 am__include = @am__include@
102180 am__leading_dot = @am__leading_dot@
103181 am__quote = @am__quote@
104182 am__tar = @am__tar@
105183 am__untar = @am__untar@
106 audio_flag = @audio_flag@
107 audio_lib = @audio_lib@
108184 bindir = @bindir@
109185 build = @build@
110186 build_alias = @build_alias@
111187 build_cpu = @build_cpu@
112188 build_os = @build_os@
113189 build_vendor = @build_vendor@
190 builddir = @builddir@
114191 datadir = @datadir@
115192 datarootdir = @datarootdir@
193 datdir = @datdir@
116194 docdir = @docdir@
117195 dvidir = @dvidir@
118196 exec_prefix = @exec_prefix@
197 hiscoredir = @hiscoredir@
119198 host = @host@
120199 host_alias = @host_alias@
121200 host_cpu = @host_cpu@
136215 prefix = @prefix@
137216 program_transform_name = @program_transform_name@
138217 psdir = @psdir@
218 runstatedir = @runstatedir@
139219 sbindir = @sbindir@
140220 sharedstatedir = @sharedstatedir@
141 src_dir = @src_dir@
142 src_dir_flag = @src_dir_flag@
221 srcdir = @srcdir@
143222 sysconfdir = @sysconfdir@
144223 target = @target@
145224 target_alias = @target_alias@
146225 target_cpu = @target_cpu@
147226 target_os = @target_os@
148227 target_vendor = @target_vendor@
228 top_build_prefix = @top_build_prefix@
229 top_builddir = @top_builddir@
230 top_srcdir = @top_srcdir@
149231 EXTRA_DIST = autocannon.wav click.wav expl1.wav expl2.wav expl3.wav \
150232 gunfire.wav highlight.wav
151233
156238 @for dep in $?; do \
157239 case '$(am__configure_deps)' in \
158240 *$$dep*) \
159 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
160 && exit 0; \
241 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
242 && { if test -f $@; then exit 0; else break; fi; }; \
161243 exit 1;; \
162244 esac; \
163245 done; \
164 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/sounds/Makefile'; \
165 cd $(top_srcdir) && \
166 $(AUTOMAKE) --foreign src/sounds/Makefile
167 .PRECIOUS: Makefile
246 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/sounds/Makefile'; \
247 $(am__cd) $(top_srcdir) && \
248 $(AUTOMAKE) --gnu src/sounds/Makefile
168249 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
169250 @case '$?' in \
170251 *config.status*) \
181262 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
182263 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
183264 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
184 uninstall-info-am:
185 tags: TAGS
186 TAGS:
187
188 ctags: CTAGS
189 CTAGS:
265 $(am__aclocal_m4_deps):
266 tags TAGS:
267
268 ctags CTAGS:
269
270 cscope cscopelist:
190271
191272
192273 distdir: $(DISTFILES)
193 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
194 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
195 list='$(DISTFILES)'; for file in $$list; do \
196 case $$file in \
197 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
198 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
199 esac; \
274 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
275 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
276 list='$(DISTFILES)'; \
277 dist_files=`for file in $$list; do echo $$file; done | \
278 sed -e "s|^$$srcdirstrip/||;t" \
279 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
280 case $$dist_files in \
281 */*) $(MKDIR_P) `echo "$$dist_files" | \
282 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
283 sort -u` ;; \
284 esac; \
285 for file in $$dist_files; do \
200286 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
201 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
202 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
203 dir="/$$dir"; \
204 $(mkdir_p) "$(distdir)$$dir"; \
287 if test -d $$d/$$file; then \
288 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
289 if test -d "$(distdir)/$$file"; then \
290 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
291 fi; \
292 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
293 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
294 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
295 fi; \
296 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
205297 else \
206 dir=''; \
207 fi; \
208 if test -d $$d/$$file; then \
209 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
210 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
211 fi; \
212 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
213 else \
214 test -f $(distdir)/$$file \
215 || cp -p $$d/$$file $(distdir)/$$file \
298 test -f "$(distdir)/$$file" \
299 || cp -p $$d/$$file "$(distdir)/$$file" \
216300 || exit 1; \
217301 fi; \
218302 done
230314
231315 installcheck: installcheck-am
232316 install-strip:
233 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
234 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
235 `test -z '$(STRIP)' || \
236 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
317 if test -z '$(STRIP)'; then \
318 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
319 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
320 install; \
321 else \
322 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
323 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
324 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
325 fi
237326 mostlyclean-generic:
238327
239328 clean-generic:
240329
241330 distclean-generic:
242331 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
332 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
243333
244334 maintainer-clean-generic:
245335 @echo "This command is intended for maintainers to use"
258348
259349 html: html-am
260350
351 html-am:
352
261353 info: info-am
262354
263355 info-am:
264356
265357 install-data-am: install-data-local
266358
359 install-dvi: install-dvi-am
360
361 install-dvi-am:
362
267363 install-exec-am:
268364
365 install-html: install-html-am
366
367 install-html-am:
368
269369 install-info: install-info-am
270370
371 install-info-am:
372
271373 install-man:
374
375 install-pdf: install-pdf-am
376
377 install-pdf-am:
378
379 install-ps: install-ps-am
380
381 install-ps-am:
272382
273383 installcheck-am:
274384
288398
289399 ps-am:
290400
291 uninstall-am: uninstall-info-am
292
293 .PHONY: all all-am check check-am clean clean-generic distclean \
294 distclean-generic distdir dvi dvi-am html html-am info info-am \
295 install install-am install-data install-data-am \
296 install-data-local install-exec install-exec-am install-info \
297 install-info-am install-man install-strip installcheck \
298 installcheck-am installdirs maintainer-clean \
401 uninstall-am:
402
403 .MAKE: install-am install-strip
404
405 .PHONY: all all-am check check-am clean clean-generic cscopelist-am \
406 ctags-am distclean distclean-generic distdir dvi dvi-am html \
407 html-am info info-am install install-am install-data \
408 install-data-am install-data-local install-dvi install-dvi-am \
409 install-exec install-exec-am install-html install-html-am \
410 install-info install-info-am install-man install-pdf \
411 install-pdf-am install-ps install-ps-am install-strip \
412 installcheck installcheck-am installdirs maintainer-clean \
299413 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
300 pdf-am ps ps-am uninstall uninstall-am uninstall-info-am
414 pdf-am ps ps-am tags-am uninstall uninstall-am
415
416 .PRECIOUS: Makefile
301417
302418
303419 install-data-local:
304 $(mkinstalldirs) $(DESTDIR)$(src_dir)/sounds
420 $(mkinstalldirs) $(DESTDIR)$(datdir)/sounds
305421 @for file in $(EXTRA_DIST); do\
306 $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(src_dir)/sounds/$$file;\
422 $(INSTALL_DATA) $$file $(DESTDIR)$(datdir)/sounds/$$file;\
307423 done
424
308425 # Tell versions [3.59,3.63) of GNU make to not export all variables.
309426 # Otherwise a system limit (for SysV at least) may be exceeded.
310427 .NOEXPORT: