Import Debian changes 1.5.7-1
bumprace (1.5.7-1) unstable; urgency=medium
* new upstream version (closes: #916865)
* spelling patches are included upstream
Christian T. Steigies
5 years ago
0 | repo: d78f2082c8d975343dfcff35a709fb8d4119e28b | |
1 | node: e73baa9e74658033f747b7b8db10e304447ee9f1 | |
2 | branch: default | |
3 | tag: 1.5.8 |
0 | syntax: glob | |
1 | *.orig | |
2 | *.rej | |
3 | *~ | |
4 | *.o | |
5 | tests/*.err | |
6 | bumprace | |
7 | ||
8 | # OSX | |
9 | .DS_Store | |
10 | *.swp | |
11 | *~.nib | |
12 | build | |
13 | *.pbxuser | |
14 | *.perspective | |
15 | *.perspectivev3 | |
16 | ||
17 | # autotools | |
18 | autom4te.cache | |
19 | Makefile | |
20 | config.{log,status} | |
21 | compile | |
22 | .deps | |
23 | ||
24 | syntax: regexp | |
25 | .*\#.*\#$ |
0 | d78f2082c8d975343dfcff35a709fb8d4119e28b 1.5.3 | |
1 | 034aca498e8942d225cc78beb0d26a119169ba1d 1.5.5 | |
2 | 047c7a593bcc0849ae3b5ea2abefa745ada5a0f3 1.5.6 | |
3 | 4c7f5f8d5c2efcae5e95acc5b8b66ac91beeebcd 1.5.7 |
0 | 0 | ====== CODE ====== |
1 | 1 | |
2 | 2 | Graphics and code by KARL BARTEL: |
3 | E-mail: karlb@gmx.net | |
3 | E-mail: karl42@gmail.com | |
4 | 4 | Homepage: http://www.linux-games.com |
5 | 5 | |
6 | 6 | Particle code, ideas and other support by LION KIMBRO: |
13 | 13 | |
14 | 14 | ====== ARTWORK ====== |
15 | 15 | |
16 | The music was written by THE LIZARD KING | |
17 | E-mail: gustaf.grefberg@pp.itv.se | |
18 | Homepage: http://www.itv.se/~a1055/frames.html | |
19 | Files: lizard.mod | |
20 | License: free to use, modify and redistribute | |
16 | Background image by Sweetie187: | |
17 | Flikr: https://www.flickr.com/photos/58782395@N03/5519580228/ | |
18 | Files: back2.jpg | |
19 | License: Creative Commons Attribution 2.0 Generic | |
20 | https://creativecommons.org/licenses/by/2.0/ | |
21 | Modifications: scaled to 800x600 and darkened the picture | |
21 | 22 | |
22 | Background image by TOZZIE: | |
23 | Homepage: http://www.tozzie-designs.com/ | |
24 | Files: back2.jpg | |
25 | License: free to use, modify and redistribute | |
23 | Music: | |
24 | ||
25 | Files: data/sound/Flying_me_softly.ogg | |
26 | Copyright: Alexandr Zhelanov | |
27 | License: CC-BY 3.0 | |
28 | Homepage: https://soundcloud.com/alexandr-zhelanov | |
26 | 29 | |
27 | 30 | Sound effects: |
28 | Copied from an old version of the game Clanbomber | |
29 | Files: explode.wav whoosh.wav winlevel.wav | |
30 | License: GPL⏎ | |
31 | ||
32 | Files: data/sound/explosion1.ogg | |
33 | Copyright: Retimer | |
34 | License: CC-BY 3.0 | |
35 | Homepage: https://opengameart.org/content/wgs-sound-fx-explosion-1 | |
36 | ||
37 | Files: data/sound/Menu_Select_01.ogg | |
38 | Copyright: Little Robot Sound Factory <contact@littlerobotsoundfactory.com> | |
39 | License: CC-BY 3.0 | |
40 | Homepage: https://opengameart.org/content/sci-fi-sound-effects-library | |
41 | ||
42 | Files: data/sound/Picked_Coin_Echo_2.ogg | |
43 | Copyright: NenadSimic | |
44 | License: CC-BY 3.0 | |
45 | Homepage: https://opengameart.org/content/picked-coin-echo-2 |
0 | Version 1.5.8 | |
1 | - Remove spaces from filenames to fix problems with "make install" | |
2 | ||
3 | Version 1.5.7 | |
4 | -replace audio files with CC licensed ones (Thanks Bruno Kleinert | |
5 | <fuddl@debian.org>) | |
6 | -update credits screen | |
7 | -update autotools files | |
8 | ||
9 | Version 1.5.6 | |
10 | -new CC licensed background image (author for old image could not be | |
11 | contacted) | |
12 | -both ctrl keys can be used for special in single player mode | |
13 | -add man page | |
14 | ||
15 | Version 1.5.5 | |
16 | -updated autotools files | |
17 | -updated README | |
18 | -spelling corrections | |
19 | -less compiler warnings | |
20 | -reset levels to include time bonus when restarting game | |
21 | ||
0 | 22 | Version 1.5.3 |
1 | 23 | -fixed keyboard input after crash/timeout combination (thanks Bas Wijnen) |
2 | 24 | -added more info to AUTHORS file |
226 | 248 | |
227 | 249 | ------------------------------------< BUGS >------------------------------------ |
228 | 250 | |
229 | no known bugs -> please mail any bug reports to karlb@gmx.net | |
251 | no known bugs -> please mail any bug reports to karl42@gmail.com |
9 | 9 | 3. Start your X server at 16 bpp color depth. (startx -- -bpp 16) |
10 | 10 | -------------------------------------------------------------------------------- |
11 | 11 | Q: My question is not written here. |
12 | A: Then write a mail: karlb@gmx.net or get the newest version of BumpRace | |
12 | A: Then write a mail: karl42@gmail.com or get the newest version of BumpRace | |
13 | 13 | from http://www.linux-games.com |
0 | # Makefile.in generated by automake 1.10.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.15 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |
4 | ||
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
7 | 7 | # with or without modifications, as long as this notice is preserved. |
13 | 13 | |
14 | 14 | @SET_MAKE@ |
15 | 15 | 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)) | |
16 | 71 | pkgdatadir = $(datadir)/@PACKAGE@ |
72 | pkgincludedir = $(includedir)/@PACKAGE@ | |
17 | 73 | pkglibdir = $(libdir)/@PACKAGE@ |
18 | pkgincludedir = $(includedir)/@PACKAGE@ | |
74 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
19 | 75 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
20 | 76 | install_sh_DATA = $(install_sh) -c -m 644 |
21 | 77 | install_sh_PROGRAM = $(install_sh) -c |
32 | 88 | host_triplet = @host@ |
33 | 89 | target_triplet = @target@ |
34 | 90 | subdir = . |
35 | DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ | |
36 | $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \ | |
37 | ChangeLog INSTALL NEWS config.guess config.sub depcomp \ | |
38 | install-sh missing mkinstalldirs | |
39 | 91 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
40 | 92 | am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ |
41 | $(top_srcdir)/configure.in | |
93 | $(top_srcdir)/configure.ac | |
42 | 94 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
43 | 95 | $(ACLOCAL_M4) |
96 | DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ | |
97 | $(am__configure_deps) $(am__DIST_COMMON) | |
44 | 98 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
45 | 99 | configure.lineno config.status.lineno |
46 | 100 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
47 | 101 | CONFIG_CLEAN_FILES = |
102 | CONFIG_CLEAN_VPATH_FILES = | |
103 | AM_V_P = $(am__v_P_@AM_V@) | |
104 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
105 | am__v_P_0 = false | |
106 | am__v_P_1 = : | |
107 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
108 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
109 | am__v_GEN_0 = @echo " GEN " $@; | |
110 | am__v_GEN_1 = | |
111 | AM_V_at = $(am__v_at_@AM_V@) | |
112 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
113 | am__v_at_0 = @ | |
114 | am__v_at_1 = | |
48 | 115 | SOURCES = |
49 | 116 | DIST_SOURCES = |
50 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | |
51 | html-recursive info-recursive install-data-recursive \ | |
52 | install-dvi-recursive install-exec-recursive \ | |
53 | install-html-recursive install-info-recursive \ | |
54 | install-pdf-recursive install-ps-recursive install-recursive \ | |
55 | installcheck-recursive installdirs-recursive pdf-recursive \ | |
56 | ps-recursive uninstall-recursive | |
117 | RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ | |
118 | ctags-recursive dvi-recursive html-recursive info-recursive \ | |
119 | install-data-recursive install-dvi-recursive \ | |
120 | install-exec-recursive install-html-recursive \ | |
121 | install-info-recursive install-pdf-recursive \ | |
122 | install-ps-recursive install-recursive installcheck-recursive \ | |
123 | installdirs-recursive pdf-recursive ps-recursive \ | |
124 | tags-recursive uninstall-recursive | |
125 | am__can_run_installinfo = \ | |
126 | case $$AM_UPDATE_INFO_DIR in \ | |
127 | n|no|NO) false;; \ | |
128 | *) (install-info --version) >/dev/null 2>&1;; \ | |
129 | esac | |
57 | 130 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
58 | 131 | distclean-recursive maintainer-clean-recursive |
132 | am__recursive_targets = \ | |
133 | $(RECURSIVE_TARGETS) \ | |
134 | $(RECURSIVE_CLEAN_TARGETS) \ | |
135 | $(am__extra_recursive_targets) | |
136 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ | |
137 | cscope distdir dist dist-all distcheck | |
138 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
139 | # Read a list of newline-separated strings from the standard input, | |
140 | # and print each of them once, without duplicates. Input order is | |
141 | # *not* preserved. | |
142 | am__uniquify_input = $(AWK) '\ | |
143 | BEGIN { nonempty = 0; } \ | |
144 | { items[$$0] = 1; nonempty = 1; } \ | |
145 | END { if (nonempty) { for (i in items) print i; }; } \ | |
146 | ' | |
147 | # Make sure the list of sources is unique. This is necessary because, | |
148 | # e.g., the same source file might be shared among _SOURCES variables | |
149 | # for different programs/libraries. | |
150 | am__define_uniq_tagged_files = \ | |
151 | list='$(am__tagged_files)'; \ | |
152 | unique=`for i in $$list; do \ | |
153 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
154 | done | $(am__uniquify_input)` | |
59 | 155 | ETAGS = etags |
60 | 156 | CTAGS = ctags |
157 | CSCOPE = cscope | |
61 | 158 | DIST_SUBDIRS = $(SUBDIRS) |
159 | am__DIST_COMMON = $(srcdir)/Makefile.in AUTHORS COPYING ChangeLog \ | |
160 | INSTALL NEWS README compile config.guess config.sub depcomp \ | |
161 | install-sh missing mkinstalldirs | |
62 | 162 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
63 | 163 | top_distdir = $(distdir) |
64 | 164 | am__remove_distdir = \ |
65 | { test ! -d $(distdir) \ | |
66 | || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ | |
67 | && rm -fr $(distdir); }; } | |
165 | if test -d "$(distdir)"; then \ | |
166 | find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ | |
167 | && rm -rf "$(distdir)" \ | |
168 | || { sleep 5 && rm -rf "$(distdir)"; }; \ | |
169 | else :; fi | |
170 | am__post_remove_distdir = $(am__remove_distdir) | |
171 | am__relativize = \ | |
172 | dir0=`pwd`; \ | |
173 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ | |
174 | sed_rest='s,^[^/]*/*,,'; \ | |
175 | sed_last='s,^.*/\([^/]*\)$$,\1,'; \ | |
176 | sed_butlast='s,/*[^/]*$$,,'; \ | |
177 | while test -n "$$dir1"; do \ | |
178 | first=`echo "$$dir1" | sed -e "$$sed_first"`; \ | |
179 | if test "$$first" != "."; then \ | |
180 | if test "$$first" = ".."; then \ | |
181 | dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ | |
182 | dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ | |
183 | else \ | |
184 | first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ | |
185 | if test "$$first2" = "$$first"; then \ | |
186 | dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ | |
187 | else \ | |
188 | dir2="../$$dir2"; \ | |
189 | fi; \ | |
190 | dir0="$$dir0"/"$$first"; \ | |
191 | fi; \ | |
192 | fi; \ | |
193 | dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ | |
194 | done; \ | |
195 | reldir="$$dir2" | |
68 | 196 | DIST_ARCHIVES = $(distdir).tar.gz |
69 | 197 | GZIP_ENV = --best |
198 | DIST_TARGETS = dist-gzip | |
70 | 199 | distuninstallcheck_listfiles = find . -type f -print |
200 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | |
201 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' | |
71 | 202 | distcleancheck_listfiles = find . -type f -print |
72 | 203 | ACLOCAL = @ACLOCAL@ |
73 | 204 | AMTAR = @AMTAR@ |
205 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
74 | 206 | AUTOCONF = @AUTOCONF@ |
75 | 207 | AUTOHEADER = @AUTOHEADER@ |
76 | 208 | AUTOMAKE = @AUTOMAKE@ |
104 | 236 | PACKAGE_NAME = @PACKAGE_NAME@ |
105 | 237 | PACKAGE_STRING = @PACKAGE_STRING@ |
106 | 238 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
239 | PACKAGE_URL = @PACKAGE_URL@ | |
107 | 240 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
108 | 241 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
109 | 242 | RANLIB = @RANLIB@ |
156 | 289 | prefix = @prefix@ |
157 | 290 | program_transform_name = @program_transform_name@ |
158 | 291 | psdir = @psdir@ |
292 | runstatedir = @runstatedir@ | |
159 | 293 | sbindir = @sbindir@ |
160 | 294 | sharedstatedir = @sharedstatedir@ |
161 | 295 | srcdir = @srcdir@ |
165 | 299 | target_cpu = @target_cpu@ |
166 | 300 | target_os = @target_os@ |
167 | 301 | target_vendor = @target_vendor@ |
302 | top_build_prefix = @top_build_prefix@ | |
168 | 303 | top_builddir = @top_builddir@ |
169 | 304 | top_srcdir = @top_srcdir@ |
170 | 305 | SUBDIRS = data src |
173 | 308 | all: all-recursive |
174 | 309 | |
175 | 310 | .SUFFIXES: |
176 | am--refresh: | |
311 | am--refresh: Makefile | |
177 | 312 | @: |
178 | 313 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
179 | 314 | @for dep in $?; do \ |
180 | 315 | case '$(am__configure_deps)' in \ |
181 | 316 | *$$dep*) \ |
182 | echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ | |
183 | cd $(srcdir) && $(AUTOMAKE) --gnu \ | |
317 | echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ | |
318 | $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ | |
184 | 319 | && exit 0; \ |
185 | 320 | exit 1;; \ |
186 | 321 | esac; \ |
187 | 322 | done; \ |
188 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ | |
189 | cd $(top_srcdir) && \ | |
190 | $(AUTOMAKE) --gnu Makefile | |
191 | .PRECIOUS: Makefile | |
323 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ | |
324 | $(am__cd) $(top_srcdir) && \ | |
325 | $(AUTOMAKE) --gnu Makefile | |
192 | 326 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
193 | 327 | @case '$?' in \ |
194 | 328 | *config.status*) \ |
203 | 337 | $(SHELL) ./config.status --recheck |
204 | 338 | |
205 | 339 | $(top_srcdir)/configure: $(am__configure_deps) |
206 | cd $(srcdir) && $(AUTOCONF) | |
340 | $(am__cd) $(srcdir) && $(AUTOCONF) | |
207 | 341 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) |
208 | cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) | |
342 | $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) | |
343 | $(am__aclocal_m4_deps): | |
209 | 344 | |
210 | 345 | # This directory's subdirectories are mostly independent; you can cd |
211 | # into them and run `make' without going through this Makefile. | |
212 | # To change the values of `make' variables: instead of editing Makefiles, | |
213 | # (1) if the variable is set in `config.status', edit `config.status' | |
214 | # (which will cause the Makefiles to be regenerated when you run `make'); | |
215 | # (2) otherwise, pass the desired values on the `make' command line. | |
216 | $(RECURSIVE_TARGETS): | |
217 | @failcom='exit 1'; \ | |
218 | for f in x $$MAKEFLAGS; do \ | |
219 | case $$f in \ | |
220 | *=* | --[!k]*);; \ | |
221 | *k*) failcom='fail=yes';; \ | |
222 | esac; \ | |
223 | done; \ | |
346 | # into them and run 'make' without going through this Makefile. | |
347 | # To change the values of 'make' variables: instead of editing Makefiles, | |
348 | # (1) if the variable is set in 'config.status', edit 'config.status' | |
349 | # (which will cause the Makefiles to be regenerated when you run 'make'); | |
350 | # (2) otherwise, pass the desired values on the 'make' command line. | |
351 | $(am__recursive_targets): | |
352 | @fail=; \ | |
353 | if $(am__make_keepgoing); then \ | |
354 | failcom='fail=yes'; \ | |
355 | else \ | |
356 | failcom='exit 1'; \ | |
357 | fi; \ | |
224 | 358 | dot_seen=no; \ |
225 | 359 | target=`echo $@ | sed s/-recursive//`; \ |
226 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
360 | case "$@" in \ | |
361 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
362 | *) list='$(SUBDIRS)' ;; \ | |
363 | esac; \ | |
364 | for subdir in $$list; do \ | |
227 | 365 | echo "Making $$target in $$subdir"; \ |
228 | 366 | if test "$$subdir" = "."; then \ |
229 | 367 | dot_seen=yes; \ |
231 | 369 | else \ |
232 | 370 | local_target="$$target"; \ |
233 | 371 | fi; \ |
234 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
372 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
235 | 373 | || eval $$failcom; \ |
236 | 374 | done; \ |
237 | 375 | if test "$$dot_seen" = "no"; then \ |
238 | 376 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
239 | 377 | fi; test -z "$$fail" |
240 | 378 | |
241 | $(RECURSIVE_CLEAN_TARGETS): | |
242 | @failcom='exit 1'; \ | |
243 | for f in x $$MAKEFLAGS; do \ | |
244 | case $$f in \ | |
245 | *=* | --[!k]*);; \ | |
246 | *k*) failcom='fail=yes';; \ | |
247 | esac; \ | |
248 | done; \ | |
249 | dot_seen=no; \ | |
250 | case "$@" in \ | |
251 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
252 | *) list='$(SUBDIRS)' ;; \ | |
253 | esac; \ | |
254 | rev=''; for subdir in $$list; do \ | |
255 | if test "$$subdir" = "."; then :; else \ | |
256 | rev="$$subdir $$rev"; \ | |
257 | fi; \ | |
258 | done; \ | |
259 | rev="$$rev ."; \ | |
260 | target=`echo $@ | sed s/-recursive//`; \ | |
261 | for subdir in $$rev; do \ | |
262 | echo "Making $$target in $$subdir"; \ | |
263 | if test "$$subdir" = "."; then \ | |
264 | local_target="$$target-am"; \ | |
265 | else \ | |
266 | local_target="$$target"; \ | |
267 | fi; \ | |
268 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
269 | || eval $$failcom; \ | |
270 | done && test -z "$$fail" | |
271 | tags-recursive: | |
272 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
273 | test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | |
274 | done | |
275 | ctags-recursive: | |
276 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
277 | test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ | |
278 | done | |
279 | ||
280 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
281 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
282 | unique=`for i in $$list; do \ | |
283 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
284 | done | \ | |
285 | $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ | |
286 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
287 | mkid -fID $$unique | |
288 | tags: TAGS | |
289 | ||
290 | TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
291 | $(TAGS_FILES) $(LISP) | |
292 | tags=; \ | |
379 | ID: $(am__tagged_files) | |
380 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
381 | tags: tags-recursive | |
382 | TAGS: tags | |
383 | ||
384 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
385 | set x; \ | |
293 | 386 | here=`pwd`; \ |
294 | 387 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
295 | 388 | include_option=--etags-include; \ |
301 | 394 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
302 | 395 | if test "$$subdir" = .; then :; else \ |
303 | 396 | test ! -f $$subdir/TAGS || \ |
304 | tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ | |
397 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ | |
305 | 398 | fi; \ |
306 | 399 | done; \ |
307 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
308 | unique=`for i in $$list; do \ | |
309 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
310 | done | \ | |
311 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
312 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
313 | if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ | |
400 | $(am__define_uniq_tagged_files); \ | |
401 | shift; \ | |
402 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | |
314 | 403 | test -n "$$unique" || unique=$$empty_fix; \ |
315 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
316 | $$tags $$unique; \ | |
404 | if test $$# -gt 0; then \ | |
405 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
406 | "$$@" $$unique; \ | |
407 | else \ | |
408 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
409 | $$unique; \ | |
410 | fi; \ | |
317 | 411 | fi |
318 | ctags: CTAGS | |
319 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
320 | $(TAGS_FILES) $(LISP) | |
321 | tags=; \ | |
322 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
323 | unique=`for i in $$list; do \ | |
324 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
325 | done | \ | |
326 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
327 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
328 | test -z "$(CTAGS_ARGS)$$tags$$unique" \ | |
412 | ctags: ctags-recursive | |
413 | ||
414 | CTAGS: ctags | |
415 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
416 | $(am__define_uniq_tagged_files); \ | |
417 | test -z "$(CTAGS_ARGS)$$unique" \ | |
329 | 418 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
330 | $$tags $$unique | |
419 | $$unique | |
331 | 420 | |
332 | 421 | GTAGS: |
333 | 422 | here=`$(am__cd) $(top_builddir) && pwd` \ |
334 | && cd $(top_srcdir) \ | |
335 | && gtags -i $(GTAGS_ARGS) $$here | |
423 | && $(am__cd) $(top_srcdir) \ | |
424 | && gtags -i $(GTAGS_ARGS) "$$here" | |
425 | cscope: cscope.files | |
426 | test ! -s cscope.files \ | |
427 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) | |
428 | clean-cscope: | |
429 | -rm -f cscope.files | |
430 | cscope.files: clean-cscope cscopelist | |
431 | cscopelist: cscopelist-recursive | |
432 | ||
433 | cscopelist-am: $(am__tagged_files) | |
434 | list='$(am__tagged_files)'; \ | |
435 | case "$(srcdir)" in \ | |
436 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
437 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
438 | esac; \ | |
439 | for i in $$list; do \ | |
440 | if test -f "$$i"; then \ | |
441 | echo "$(subdir)/$$i"; \ | |
442 | else \ | |
443 | echo "$$sdir/$$i"; \ | |
444 | fi; \ | |
445 | done >> $(top_builddir)/cscope.files | |
336 | 446 | |
337 | 447 | distclean-tags: |
338 | 448 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
449 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files | |
339 | 450 | |
340 | 451 | distdir: $(DISTFILES) |
341 | 452 | $(am__remove_distdir) |
342 | test -d $(distdir) || mkdir $(distdir) | |
453 | test -d "$(distdir)" || mkdir "$(distdir)" | |
343 | 454 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
344 | 455 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
345 | 456 | list='$(DISTFILES)'; \ |
355 | 466 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
356 | 467 | if test -d $$d/$$file; then \ |
357 | 468 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
469 | if test -d "$(distdir)/$$file"; then \ | |
470 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
471 | fi; \ | |
358 | 472 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
359 | cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ | |
473 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
474 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
360 | 475 | fi; \ |
361 | cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ | |
476 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
362 | 477 | else \ |
363 | test -f $(distdir)/$$file \ | |
364 | || cp -p $$d/$$file $(distdir)/$$file \ | |
478 | test -f "$(distdir)/$$file" \ | |
479 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
365 | 480 | || exit 1; \ |
366 | 481 | fi; \ |
367 | 482 | done |
368 | list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | |
483 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | |
369 | 484 | if test "$$subdir" = .; then :; else \ |
370 | test -d "$(distdir)/$$subdir" \ | |
371 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | |
372 | || exit 1; \ | |
373 | distdir=`$(am__cd) $(distdir) && pwd`; \ | |
374 | top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ | |
375 | (cd $$subdir && \ | |
485 | $(am__make_dryrun) \ | |
486 | || test -d "$(distdir)/$$subdir" \ | |
487 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | |
488 | || exit 1; \ | |
489 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ | |
490 | $(am__relativize); \ | |
491 | new_distdir=$$reldir; \ | |
492 | dir1=$$subdir; dir2="$(top_distdir)"; \ | |
493 | $(am__relativize); \ | |
494 | new_top_distdir=$$reldir; \ | |
495 | echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ | |
496 | echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ | |
497 | ($(am__cd) $$subdir && \ | |
376 | 498 | $(MAKE) $(AM_MAKEFLAGS) \ |
377 | top_distdir="$$top_distdir" \ | |
378 | distdir="$$distdir/$$subdir" \ | |
499 | top_distdir="$$new_top_distdir" \ | |
500 | distdir="$$new_distdir" \ | |
379 | 501 | am__remove_distdir=: \ |
380 | 502 | am__skip_length_check=: \ |
503 | am__skip_mode_fix=: \ | |
381 | 504 | distdir) \ |
382 | 505 | || exit 1; \ |
383 | 506 | fi; \ |
384 | 507 | done |
385 | -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ | |
508 | -test -n "$(am__skip_mode_fix)" \ | |
509 | || find "$(distdir)" -type d ! -perm -755 \ | |
510 | -exec chmod u+rwx,go+rx {} \; -o \ | |
386 | 511 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
387 | 512 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
388 | 513 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
389 | || chmod -R a+r $(distdir) | |
514 | || chmod -R a+r "$(distdir)" | |
390 | 515 | dist-gzip: distdir |
391 | 516 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
392 | $(am__remove_distdir) | |
517 | $(am__post_remove_distdir) | |
393 | 518 | |
394 | 519 | dist-bzip2: distdir |
395 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 | |
396 | $(am__remove_distdir) | |
397 | ||
398 | dist-lzma: distdir | |
399 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | |
400 | $(am__remove_distdir) | |
520 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 | |
521 | $(am__post_remove_distdir) | |
522 | ||
523 | dist-lzip: distdir | |
524 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz | |
525 | $(am__post_remove_distdir) | |
526 | ||
527 | dist-xz: distdir | |
528 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz | |
529 | $(am__post_remove_distdir) | |
401 | 530 | |
402 | 531 | dist-tarZ: distdir |
532 | @echo WARNING: "Support for distribution archives compressed with" \ | |
533 | "legacy program 'compress' is deprecated." >&2 | |
534 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 | |
403 | 535 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
404 | $(am__remove_distdir) | |
536 | $(am__post_remove_distdir) | |
405 | 537 | |
406 | 538 | dist-shar: distdir |
539 | @echo WARNING: "Support for shar distribution archives is" \ | |
540 | "deprecated." >&2 | |
541 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 | |
407 | 542 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
408 | $(am__remove_distdir) | |
543 | $(am__post_remove_distdir) | |
409 | 544 | |
410 | 545 | dist-zip: distdir |
411 | 546 | -rm -f $(distdir).zip |
412 | 547 | zip -rq $(distdir).zip $(distdir) |
413 | $(am__remove_distdir) | |
414 | ||
415 | dist dist-all: distdir | |
416 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
417 | $(am__remove_distdir) | |
548 | $(am__post_remove_distdir) | |
549 | ||
550 | dist dist-all: | |
551 | $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' | |
552 | $(am__post_remove_distdir) | |
418 | 553 | |
419 | 554 | # This target untars the dist file and tries a VPATH configuration. Then |
420 | 555 | # it guarantees that the distribution is self-contained by making another |
422 | 557 | distcheck: dist |
423 | 558 | case '$(DIST_ARCHIVES)' in \ |
424 | 559 | *.tar.gz*) \ |
425 | GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ | |
560 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ | |
426 | 561 | *.tar.bz2*) \ |
427 | bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ | |
428 | *.tar.lzma*) \ | |
429 | unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ | |
562 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ | |
563 | *.tar.lz*) \ | |
564 | lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ | |
565 | *.tar.xz*) \ | |
566 | xz -dc $(distdir).tar.xz | $(am__untar) ;;\ | |
430 | 567 | *.tar.Z*) \ |
431 | 568 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
432 | 569 | *.shar.gz*) \ |
433 | GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ | |
570 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ | |
434 | 571 | *.zip*) \ |
435 | 572 | unzip $(distdir).zip ;;\ |
436 | 573 | esac |
437 | chmod -R a-w $(distdir); chmod a+w $(distdir) | |
438 | mkdir $(distdir)/_build | |
439 | mkdir $(distdir)/_inst | |
574 | chmod -R a-w $(distdir) | |
575 | chmod u+w $(distdir) | |
576 | mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst | |
440 | 577 | chmod a-w $(distdir) |
578 | test -d $(distdir)/_build || exit 0; \ | |
441 | 579 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
442 | 580 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
443 | && cd $(distdir)/_build \ | |
444 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ | |
581 | && am__cwd=`pwd` \ | |
582 | && $(am__cd) $(distdir)/_build/sub \ | |
583 | && ../../configure \ | |
584 | $(AM_DISTCHECK_CONFIGURE_FLAGS) \ | |
445 | 585 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
586 | --srcdir=../.. --prefix="$$dc_install_base" \ | |
446 | 587 | && $(MAKE) $(AM_MAKEFLAGS) \ |
447 | 588 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
448 | 589 | && $(MAKE) $(AM_MAKEFLAGS) check \ |
462 | 603 | && rm -rf "$$dc_destdir" \ |
463 | 604 | && $(MAKE) $(AM_MAKEFLAGS) dist \ |
464 | 605 | && rm -rf $(DIST_ARCHIVES) \ |
465 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck | |
466 | $(am__remove_distdir) | |
606 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ | |
607 | && cd "$$am__cwd" \ | |
608 | || exit 1 | |
609 | $(am__post_remove_distdir) | |
467 | 610 | @(echo "$(distdir) archives ready for distribution: "; \ |
468 | 611 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
469 | 612 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
470 | 613 | distuninstallcheck: |
471 | @cd $(distuninstallcheck_dir) \ | |
472 | && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ | |
614 | @test -n '$(distuninstallcheck_dir)' || { \ | |
615 | echo 'ERROR: trying to run $@ with an empty' \ | |
616 | '$$(distuninstallcheck_dir)' >&2; \ | |
617 | exit 1; \ | |
618 | }; \ | |
619 | $(am__cd) '$(distuninstallcheck_dir)' || { \ | |
620 | echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ | |
621 | exit 1; \ | |
622 | }; \ | |
623 | test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ | |
473 | 624 | || { echo "ERROR: files left after uninstall:" ; \ |
474 | 625 | if test -n "$(DESTDIR)"; then \ |
475 | 626 | echo " (check DESTDIR support)"; \ |
500 | 651 | |
501 | 652 | installcheck: installcheck-recursive |
502 | 653 | install-strip: |
503 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
504 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
505 | `test -z '$(STRIP)' || \ | |
506 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
654 | if test -z '$(STRIP)'; then \ | |
655 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
656 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
657 | install; \ | |
658 | else \ | |
659 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
660 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
661 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | |
662 | fi | |
507 | 663 | mostlyclean-generic: |
508 | 664 | |
509 | 665 | clean-generic: |
510 | 666 | |
511 | 667 | distclean-generic: |
512 | 668 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
669 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
513 | 670 | |
514 | 671 | maintainer-clean-generic: |
515 | 672 | @echo "This command is intended for maintainers to use" |
529 | 686 | |
530 | 687 | html: html-recursive |
531 | 688 | |
689 | html-am: | |
690 | ||
532 | 691 | info: info-recursive |
533 | 692 | |
534 | 693 | info-am: |
537 | 696 | |
538 | 697 | install-dvi: install-dvi-recursive |
539 | 698 | |
699 | install-dvi-am: | |
700 | ||
540 | 701 | install-exec-am: |
541 | 702 | |
542 | 703 | install-html: install-html-recursive |
543 | 704 | |
705 | install-html-am: | |
706 | ||
544 | 707 | install-info: install-info-recursive |
545 | 708 | |
709 | install-info-am: | |
710 | ||
546 | 711 | install-man: |
547 | 712 | |
548 | 713 | install-pdf: install-pdf-recursive |
549 | 714 | |
715 | install-pdf-am: | |
716 | ||
550 | 717 | install-ps: install-ps-recursive |
718 | ||
719 | install-ps-am: | |
551 | 720 | |
552 | 721 | installcheck-am: |
553 | 722 | |
571 | 740 | |
572 | 741 | uninstall-am: |
573 | 742 | |
574 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ | |
575 | install-strip | |
576 | ||
577 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ | |
578 | all all-am am--refresh check check-am clean clean-generic \ | |
579 | ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ | |
580 | dist-lzma dist-shar dist-tarZ dist-zip distcheck distclean \ | |
581 | distclean-generic distclean-tags distcleancheck distdir \ | |
582 | distuninstallcheck dvi dvi-am html html-am info info-am \ | |
583 | install install-am install-data install-data-am install-dvi \ | |
584 | install-dvi-am install-exec install-exec-am install-html \ | |
585 | install-html-am install-info install-info-am install-man \ | |
586 | install-pdf install-pdf-am install-ps install-ps-am \ | |
587 | install-strip installcheck installcheck-am installdirs \ | |
588 | installdirs-am maintainer-clean maintainer-clean-generic \ | |
589 | mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ | |
590 | tags-recursive uninstall uninstall-am | |
743 | .MAKE: $(am__recursive_targets) install-am install-strip | |
744 | ||
745 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ | |
746 | am--refresh check check-am clean clean-cscope clean-generic \ | |
747 | cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ | |
748 | dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ | |
749 | distcheck distclean distclean-generic distclean-tags \ | |
750 | distcleancheck distdir distuninstallcheck dvi dvi-am html \ | |
751 | html-am info info-am install install-am install-data \ | |
752 | install-data-am install-dvi install-dvi-am install-exec \ | |
753 | install-exec-am install-html install-html-am install-info \ | |
754 | install-info-am install-man install-pdf install-pdf-am \ | |
755 | install-ps install-ps-am install-strip installcheck \ | |
756 | installcheck-am installdirs installdirs-am maintainer-clean \ | |
757 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ | |
758 | pdf-am ps ps-am tags tags-am uninstall uninstall-am | |
759 | ||
760 | .PRECIOUS: Makefile | |
761 | ||
591 | 762 | |
592 | 763 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
593 | 764 | # Otherwise a system limit (for SysV at least) may be exceeded. |
2 | 2 | |
3 | 3 | BumpRace is a simple arcade game. I'd like to receive a lot of comments and |
4 | 4 | suggestions. You can get the newest version of BumpRace at: |
5 | http://members.linuxstart.com/~karlb/ | |
5 | http://www.linux-games.com/bumprace/ | |
6 | 6 | And you can reach me via e-mail: |
7 | karlb@gmx.net | |
7 | karl42@gmail.com | |
8 | 8 | |
9 | 9 | Keys: |
10 | 10 | PLAYER 1 |
17 | 17 | <w> thrust |
18 | 18 | <left control> special ability |
19 | 19 | |
20 | To run this, you need the SDL-library. If you don't have it, get it from: | |
21 | http://www.devolution.com/~slouken/SDL/ | |
20 | To run this, you need the SDL-library, which should be available for all linux distributions and on | |
21 | http://www.libsdl.org/ | |
22 | 22 | |
23 | 23 | -----------------------------< RACER ABILITIES >-------------------------------- |
24 | 24 | |
32 | 32 | "--levelset 1" selects an alternative, hard level set |
33 | 33 | "--nofullscreen" "-f" guess |
34 | 34 | "--nosound" "-s" guess again |
35 | "--notfinal" "-n" no title screen (nice for develolopers) | |
36 | "--noparticles" "-t" turns of paticles. good for slow computers. | |
35 | "--notfinal" "-n" no title screen (nice for developers) | |
36 | "--noparticles" "-t" turns off particles. good for slow computers. | |
37 | 37 | "--pageflip" "-p" flicker-free fullscreen, slow and extremly buggy |
38 | "--precision [value]" sets the precison of the collisions (default=10) | |
38 | "--precision [value]" sets the precision of the collisions (default=10) | |
39 | 39 | using this is not recommended |
40 | 40 | |
41 | 41 | ---------------------------------< LICENSE >------------------------------------ |
0 | # generated automatically by aclocal 1.10.1 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
3 | # 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
0 | # generated automatically by aclocal 1.15 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996-2014 Free Software Foundation, Inc. | |
3 | ||
4 | 4 | # This file is free software; the Free Software Foundation |
5 | 5 | # gives unlimited permission to copy and/or distribute it, |
6 | 6 | # with or without modifications, as long as this notice is preserved. |
10 | 10 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
11 | 11 | # PARTICULAR PURPOSE. |
12 | 12 | |
13 | m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) | |
13 | 14 | m4_ifndef([AC_AUTOCONF_VERSION], |
14 | 15 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
15 | m4_if(AC_AUTOCONF_VERSION, [2.61],, | |
16 | [m4_warning([this file was generated for autoconf 2.61. | |
16 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, | |
17 | [m4_warning([this file was generated for autoconf 2.69. | |
17 | 18 | You have another version of autoconf. It may work, but is not guaranteed to. |
18 | 19 | If you have problems, you may need to regenerate the build system entirely. |
19 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) | |
20 | ||
21 | # Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. | |
20 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) | |
21 | ||
22 | # Copyright (C) 2002-2014 Free Software Foundation, Inc. | |
22 | 23 | # |
23 | 24 | # This file is free software; the Free Software Foundation |
24 | 25 | # gives unlimited permission to copy and/or distribute it, |
30 | 31 | # generated from the m4 files accompanying Automake X.Y. |
31 | 32 | # (This private macro should not be called outside this file.) |
32 | 33 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
33 | [am__api_version='1.10' | |
34 | [am__api_version='1.15' | |
34 | 35 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
35 | 36 | dnl require some minimum version. Point them to the right macro. |
36 | m4_if([$1], [1.10.1], [], | |
37 | m4_if([$1], [1.15], [], | |
37 | 38 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
38 | 39 | ]) |
39 | 40 | |
47 | 48 | # AM_SET_CURRENT_AUTOMAKE_VERSION |
48 | 49 | # ------------------------------- |
49 | 50 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
50 | # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. | |
51 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. | |
51 | 52 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
52 | [AM_AUTOMAKE_VERSION([1.10.1])dnl | |
53 | [AM_AUTOMAKE_VERSION([1.15])dnl | |
53 | 54 | m4_ifndef([AC_AUTOCONF_VERSION], |
54 | 55 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
55 | _AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) | |
56 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) | |
56 | 57 | |
57 | 58 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
58 | 59 | |
59 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
60 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
60 | 61 | # |
61 | 62 | # This file is free software; the Free Software Foundation |
62 | 63 | # gives unlimited permission to copy and/or distribute it, |
63 | 64 | # with or without modifications, as long as this notice is preserved. |
64 | 65 | |
65 | 66 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
66 | # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to | |
67 | # `$srcdir', `$srcdir/..', or `$srcdir/../..'. | |
67 | # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to | |
68 | # '$srcdir', '$srcdir/..', or '$srcdir/../..'. | |
68 | 69 | # |
69 | 70 | # Of course, Automake must honor this variable whenever it calls a |
70 | 71 | # tool from the auxiliary directory. The problem is that $srcdir (and |
83 | 84 | # |
84 | 85 | # The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
85 | 86 | # are both prefixed by $srcdir. In an in-source build this is usually |
86 | # harmless because $srcdir is `.', but things will broke when you | |
87 | # harmless because $srcdir is '.', but things will broke when you | |
87 | 88 | # start a VPATH build or use an absolute $srcdir. |
88 | 89 | # |
89 | 90 | # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
101 | 102 | # configured tree to be moved without reconfiguration. |
102 | 103 | |
103 | 104 | AC_DEFUN([AM_AUX_DIR_EXPAND], |
104 | [dnl Rely on autoconf to set up CDPATH properly. | |
105 | AC_PREREQ([2.50])dnl | |
106 | # expand $ac_aux_dir to an absolute path | |
107 | 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` | |
108 | 108 | ]) |
109 | 109 | |
110 | 110 | # AM_CONDITIONAL -*- Autoconf -*- |
111 | 111 | |
112 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 | |
113 | # Free Software Foundation, Inc. | |
114 | # | |
115 | # This file is free software; the Free Software Foundation | |
116 | # gives unlimited permission to copy and/or distribute it, | |
117 | # with or without modifications, as long as this notice is preserved. | |
118 | ||
119 | # serial 8 | |
112 | # Copyright (C) 1997-2014 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. | |
120 | 117 | |
121 | 118 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
122 | 119 | # ------------------------------------- |
123 | 120 | # Define a conditional. |
124 | 121 | AC_DEFUN([AM_CONDITIONAL], |
125 | [AC_PREREQ(2.52)dnl | |
126 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
127 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
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 | |
128 | 125 | AC_SUBST([$1_TRUE])dnl |
129 | 126 | AC_SUBST([$1_FALSE])dnl |
130 | 127 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl |
131 | 128 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl |
129 | m4_define([_AM_COND_VALUE_$1], [$2])dnl | |
132 | 130 | if $2; then |
133 | 131 | $1_TRUE= |
134 | 132 | $1_FALSE='#' |
142 | 140 | Usually this means the macro was only invoked conditionally.]]) |
143 | 141 | fi])]) |
144 | 142 | |
145 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 | |
146 | # Free Software Foundation, Inc. | |
147 | # | |
148 | # This file is free software; the Free Software Foundation | |
149 | # gives unlimited permission to copy and/or distribute it, | |
150 | # with or without modifications, as long as this notice is preserved. | |
151 | ||
152 | # serial 9 | |
153 | ||
154 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be | |
143 | # Copyright (C) 1999-2014 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 | |
155 | 151 | # written in clear, in which case automake, when reading aclocal.m4, |
156 | 152 | # will think it sees a *use*, and therefore will trigger all it's |
157 | 153 | # C support machinery. Also note that it means that autoscan, seeing |
161 | 157 | # _AM_DEPENDENCIES(NAME) |
162 | 158 | # ---------------------- |
163 | 159 | # See how the compiler implements dependency checking. |
164 | # NAME is "CC", "CXX", "GCJ", or "OBJC". | |
160 | # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". | |
165 | 161 | # We try a few techniques and use that to set a single cache variable. |
166 | 162 | # |
167 | 163 | # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
174 | 170 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
175 | 171 | AC_REQUIRE([AM_DEP_TRACK])dnl |
176 | 172 | |
177 | ifelse([$1], CC, [depcc="$CC" am_compiler_list=], | |
178 | [$1], CXX, [depcc="$CXX" am_compiler_list=], | |
179 | [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
180 | [$1], UPC, [depcc="$UPC" am_compiler_list=], | |
181 | [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
182 | [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=]) | |
183 | 180 | |
184 | 181 | AC_CACHE_CHECK([dependency style of $depcc], |
185 | 182 | [am_cv_$1_dependencies_compiler_type], |
187 | 184 | # We make a subdir and do the tests there. Otherwise we can end up |
188 | 185 | # making bogus files that we don't know about and never remove. For |
189 | 186 | # instance it was reported that on HP-UX the gcc test will end up |
190 | # making a dummy file named `D' -- because `-MD' means `put the output | |
191 | # in D'. | |
187 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
188 | # in D". | |
189 | rm -rf conftest.dir | |
192 | 190 | mkdir conftest.dir |
193 | 191 | # Copy depcomp to subdir because otherwise we won't find it if we're |
194 | 192 | # using a relative directory. |
206 | 204 | if test "$am_compiler_list" = ""; then |
207 | 205 | am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` |
208 | 206 | 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 | ||
209 | 217 | for depmode in $am_compiler_list; do |
210 | 218 | # Setup a source with many dependencies, because some compilers |
211 | 219 | # like to wrap large dependency lists on column 80 (with \), and |
217 | 225 | : > sub/conftest.c |
218 | 226 | for i in 1 2 3 4 5 6; do |
219 | 227 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
220 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
221 | # Solaris 8's {/usr,}/bin/sh. | |
222 | 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 | |
223 | 231 | done |
224 | 232 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
225 | 233 | |
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" | |
226 | 240 | case $depmode in |
241 | gcc) | |
242 | # This depmode causes a compiler race in universal mode. | |
243 | test "$am__universal" = false || continue | |
244 | ;; | |
227 | 245 | nosideeffect) |
228 | # after this tag, mechanisms are not by side-effect, so they'll | |
229 | # 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. | |
230 | 248 | if test "x$enable_dependency_tracking" = xyes; then |
231 | 249 | continue |
232 | 250 | else |
233 | 251 | break |
234 | 252 | fi |
235 | 253 | ;; |
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 | ;; | |
236 | 261 | none) break ;; |
237 | 262 | esac |
238 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
239 | # mode. It turns out that the SunPro C++ compiler does not properly | |
240 | # handle `-M -o', and we need to detect this. | |
241 | 263 | if depmode=$depmode \ |
242 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | |
264 | source=sub/conftest.c object=$am__obj \ | |
243 | 265 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
244 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | |
266 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
245 | 267 | >/dev/null 2>conftest.err && |
246 | 268 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
247 | 269 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
248 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | |
270 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
249 | 271 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
250 | 272 | # icc doesn't choke on unknown options, it will just issue warnings |
251 | 273 | # or remarks (even with -Werror). So we grep stderr for any message |
278 | 300 | # AM_SET_DEPDIR |
279 | 301 | # ------------- |
280 | 302 | # Choose a directory name for dependency files. |
281 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES | |
303 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES. | |
282 | 304 | AC_DEFUN([AM_SET_DEPDIR], |
283 | 305 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
284 | 306 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
288 | 310 | # AM_DEP_TRACK |
289 | 311 | # ------------ |
290 | 312 | AC_DEFUN([AM_DEP_TRACK], |
291 | [AC_ARG_ENABLE(dependency-tracking, | |
292 | [ --disable-dependency-tracking speeds up one-time build | |
293 | --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])]) | |
294 | 320 | if test "x$enable_dependency_tracking" != xno; then |
295 | 321 | am_depcomp="$ac_aux_dir/depcomp" |
296 | 322 | AMDEPBACKSLASH='\' |
323 | am__nodep='_no' | |
297 | 324 | fi |
298 | 325 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
299 | 326 | AC_SUBST([AMDEPBACKSLASH])dnl |
300 | 327 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
328 | AC_SUBST([am__nodep])dnl | |
329 | _AM_SUBST_NOTMAKE([am__nodep])dnl | |
301 | 330 | ]) |
302 | 331 | |
303 | 332 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
304 | 333 | |
305 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 | |
306 | # Free Software Foundation, Inc. | |
307 | # | |
308 | # This file is free software; the Free Software Foundation | |
309 | # gives unlimited permission to copy and/or distribute it, | |
310 | # with or without modifications, as long as this notice is preserved. | |
311 | ||
312 | #serial 3 | |
334 | # Copyright (C) 1999-2014 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 | ||
313 | 340 | |
314 | 341 | # _AM_OUTPUT_DEPENDENCY_COMMANDS |
315 | 342 | # ------------------------------ |
316 | 343 | AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
317 | [for mf in $CONFIG_FILES; do | |
318 | # Strip MF so we end up with the name of the file. | |
319 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
320 | # Check whether this is an Automake generated Makefile or not. | |
321 | # We used to match only the files named `Makefile.in', but | |
322 | # some people rename them; so instead we look at the file content. | |
323 | # Grep'ing the first line is not enough: some people post-process | |
324 | # each Makefile.in and add a new line on top of each file to say so. | |
325 | # Grep'ing the whole file is not good either: AIX grep has a line | |
326 | # limit of 2048, but all sed's we know have understand at least 4000. | |
327 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
328 | dirpart=`AS_DIRNAME("$mf")` | |
329 | else | |
330 | continue | |
331 | fi | |
332 | # Extract the definition of DEPDIR, am__include, and am__quote | |
333 | # from the Makefile without running `make'. | |
334 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
335 | test -z "$DEPDIR" && continue | |
336 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
337 | test -z "am__include" && continue | |
338 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
339 | # When using ansi2knr, U may be empty or an underscore; expand it | |
340 | U=`sed -n 's/^U = //p' < "$mf"` | |
341 | # Find all dependency output files, they are included files with | |
342 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
343 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
344 | # expansion. | |
345 | for file in `sed -n " | |
346 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
347 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
348 | # Make sure the directory exists. | |
349 | test -f "$dirpart/$file" && continue | |
350 | fdir=`AS_DIRNAME(["$file"])` | |
351 | AS_MKDIR_P([$dirpart/$fdir]) | |
352 | # echo "creating $dirpart/$file" | |
353 | 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 | |
354 | 390 | done |
355 | done | |
391 | } | |
356 | 392 | ])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
357 | 393 | |
358 | 394 | |
361 | 397 | # This macro should only be invoked once -- use via AC_REQUIRE. |
362 | 398 | # |
363 | 399 | # This code is only required when automatic dependency tracking |
364 | # is enabled. FIXME. This creates each `.P' file that we will | |
400 | # is enabled. FIXME. This creates each '.P' file that we will | |
365 | 401 | # need in order to bootstrap the dependency handling code. |
366 | 402 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
367 | 403 | [AC_CONFIG_COMMANDS([depfiles], |
371 | 407 | |
372 | 408 | # Do all the work for Automake. -*- Autoconf -*- |
373 | 409 | |
374 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
375 | # 2005, 2006, 2008 Free Software Foundation, Inc. | |
376 | # | |
377 | # This file is free software; the Free Software Foundation | |
378 | # gives unlimited permission to copy and/or distribute it, | |
379 | # with or without modifications, as long as this notice is preserved. | |
380 | ||
381 | # serial 13 | |
410 | # Copyright (C) 1996-2014 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. | |
382 | 415 | |
383 | 416 | # This macro actually does too much. Some checks are only needed if |
384 | 417 | # 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 | ]) | |
385 | 424 | |
386 | 425 | # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
387 | 426 | # AM_INIT_AUTOMAKE([OPTIONS]) |
395 | 434 | # arguments mandatory, and then we can depend on a new Autoconf |
396 | 435 | # release and drop the old call support. |
397 | 436 | AC_DEFUN([AM_INIT_AUTOMAKE], |
398 | [AC_PREREQ([2.60])dnl | |
437 | [AC_PREREQ([2.65])dnl | |
399 | 438 | dnl Autoconf wants to disallow AM_ names. We explicitly allow |
400 | 439 | dnl the ones we care about. |
401 | 440 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
424 | 463 | # Define the identity of the package. |
425 | 464 | dnl Distinguish between old-style and new-style calls. |
426 | 465 | m4_ifval([$2], |
427 | [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 | |
428 | 469 | AC_SUBST([PACKAGE], [$1])dnl |
429 | 470 | AC_SUBST([VERSION], [$2])], |
430 | 471 | [_AM_SET_OPTIONS([$1])dnl |
431 | 472 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
432 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | |
473 | m4_if( | |
474 | m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), | |
475 | [ok:ok],, | |
433 | 476 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
434 | 477 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
435 | 478 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
436 | 479 | |
437 | 480 | _AM_IF_OPTION([no-define],, |
438 | [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | |
439 | 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 | |
440 | 483 | |
441 | 484 | # Some tools Automake needs. |
442 | 485 | AC_REQUIRE([AM_SANITY_CHECK])dnl |
443 | 486 | AC_REQUIRE([AC_ARG_PROGRAM])dnl |
444 | AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) | |
445 | AM_MISSING_PROG(AUTOCONF, autoconf) | |
446 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) | |
447 | AM_MISSING_PROG(AUTOHEADER, autoheader) | |
448 | AM_MISSING_PROG(MAKEINFO, makeinfo) | |
449 | AM_PROG_INSTALL_SH | |
450 | AM_PROG_INSTALL_STRIP | |
451 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | |
452 | # We need awk for the "check" target. The system "awk" is bad on | |
453 | # 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. | |
454 | 502 | AC_REQUIRE([AC_PROG_AWK])dnl |
455 | 503 | AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
456 | 504 | AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
457 | 505 | _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], |
458 | [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], | |
459 | [_AM_PROG_TAR([v7])])]) | |
506 | [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], | |
507 | [_AM_PROG_TAR([v7])])]) | |
460 | 508 | _AM_IF_OPTION([no-dependencies],, |
461 | 509 | [AC_PROVIDE_IFELSE([AC_PROG_CC], |
462 | [_AM_DEPENDENCIES(CC)], | |
463 | [define([AC_PROG_CC], | |
464 | 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 | |
465 | 513 | AC_PROVIDE_IFELSE([AC_PROG_CXX], |
466 | [_AM_DEPENDENCIES(CXX)], | |
467 | [define([AC_PROG_CXX], | |
468 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | |
514 | [_AM_DEPENDENCIES([CXX])], | |
515 | [m4_define([AC_PROG_CXX], | |
516 | m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl | |
469 | 517 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
470 | [_AM_DEPENDENCIES(OBJC)], | |
471 | [define([AC_PROG_OBJC], | |
472 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | |
473 | ]) | |
474 | ]) | |
475 | ||
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])]) | |
476 | 585 | |
477 | 586 | # When config.status generates a header, we must update the stamp-h file. |
478 | 587 | # This file resides in the same directory as the config header |
495 | 604 | done |
496 | 605 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
497 | 606 | |
498 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
607 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
499 | 608 | # |
500 | 609 | # This file is free software; the Free Software Foundation |
501 | 610 | # gives unlimited permission to copy and/or distribute it, |
506 | 615 | # Define $install_sh. |
507 | 616 | AC_DEFUN([AM_PROG_INSTALL_SH], |
508 | 617 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
509 | install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} | |
510 | AC_SUBST(install_sh)]) | |
511 | ||
512 | # Copyright (C) 2003, 2005 Free Software Foundation, Inc. | |
513 | # | |
514 | # This file is free software; the Free Software Foundation | |
515 | # gives unlimited permission to copy and/or distribute it, | |
516 | # with or without modifications, as long as this notice is preserved. | |
517 | ||
518 | # 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-2014 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. | |
519 | 633 | |
520 | 634 | # Check whether the underlying file-system supports filenames |
521 | 635 | # with a leading dot. For instance MS-DOS doesn't. |
532 | 646 | |
533 | 647 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
534 | 648 | |
535 | # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. | |
536 | # | |
537 | # This file is free software; the Free Software Foundation | |
538 | # gives unlimited permission to copy and/or distribute it, | |
539 | # with or without modifications, as long as this notice is preserved. | |
540 | ||
541 | # serial 3 | |
649 | # Copyright (C) 2001-2014 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. | |
542 | 654 | |
543 | 655 | # AM_MAKE_INCLUDE() |
544 | 656 | # ----------------- |
547 | 659 | [am_make=${MAKE-make} |
548 | 660 | cat > confinc << 'END' |
549 | 661 | am__doit: |
550 | @echo done | |
662 | @echo this is the am__doit target | |
551 | 663 | .PHONY: am__doit |
552 | 664 | END |
553 | 665 | # If we don't find an include directive, just comment out the code. |
557 | 669 | _am_result=none |
558 | 670 | # First try GNU make style include. |
559 | 671 | echo "include confinc" > confmf |
560 | # We grep out `Entering directory' and `Leaving directory' | |
561 | # messages which can occur if `w' ends up in MAKEFLAGS. | |
562 | # In particular we don't look at `^make:' because GNU make might | |
563 | # be invoked under some other name (usually "gmake"), in which | |
564 | # case it prints its new name instead of `make'. | |
565 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then | |
566 | am__include=include | |
567 | am__quote= | |
568 | _am_result=GNU | |
569 | 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 | |
570 | 680 | # Now try BSD make style include. |
571 | 681 | if test "$am__include" = "#"; then |
572 | 682 | echo '.include "confinc"' > confmf |
573 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then | |
574 | am__include=.include | |
575 | am__quote="\"" | |
576 | _am_result=BSD | |
577 | 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 | |
578 | 690 | fi |
579 | 691 | AC_SUBST([am__include]) |
580 | 692 | AC_SUBST([am__quote]) |
584 | 696 | |
585 | 697 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
586 | 698 | |
587 | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 | |
588 | # Free Software Foundation, Inc. | |
589 | # | |
590 | # This file is free software; the Free Software Foundation | |
591 | # gives unlimited permission to copy and/or distribute it, | |
592 | # with or without modifications, as long as this notice is preserved. | |
593 | ||
594 | # serial 5 | |
699 | # Copyright (C) 1997-2014 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. | |
595 | 704 | |
596 | 705 | # AM_MISSING_PROG(NAME, PROGRAM) |
597 | 706 | # ------------------------------ |
600 | 709 | $1=${$1-"${am_missing_run}$2"} |
601 | 710 | AC_SUBST($1)]) |
602 | 711 | |
603 | ||
604 | 712 | # AM_MISSING_HAS_RUN |
605 | 713 | # ------------------ |
606 | # Define MISSING if not defined so far and test if it supports --run. | |
607 | # 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. | |
608 | 716 | AC_DEFUN([AM_MISSING_HAS_RUN], |
609 | 717 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
610 | 718 | AC_REQUIRE_AUX_FILE([missing])dnl |
611 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | |
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 | |
612 | 727 | # Use eval to expand $SHELL |
613 | if eval "$MISSING --run true"; then | |
614 | am_missing_run="$MISSING --run " | |
728 | if eval "$MISSING --is-lightweight"; then | |
729 | am_missing_run="$MISSING " | |
615 | 730 | else |
616 | 731 | am_missing_run= |
617 | AC_MSG_WARN([`missing' script is too old or missing]) | |
618 | fi | |
619 | ]) | |
620 | ||
621 | # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
622 | # | |
623 | # This file is free software; the Free Software Foundation | |
624 | # gives unlimited permission to copy and/or distribute it, | |
625 | # with or without modifications, as long as this notice is preserved. | |
626 | ||
627 | # AM_PROG_MKDIR_P | |
628 | # --------------- | |
629 | # Check for `mkdir -p'. | |
630 | AC_DEFUN([AM_PROG_MKDIR_P], | |
631 | [AC_PREREQ([2.60])dnl | |
632 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
633 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | |
634 | dnl while keeping a definition of mkdir_p for backward compatibility. | |
635 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | |
636 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | |
637 | dnl Makefile.ins that do not define MKDIR_P, so we do our own | |
638 | dnl adjustment using top_builddir (which is defined more often than | |
639 | dnl MKDIR_P). | |
640 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | |
641 | case $mkdir_p in | |
642 | [[\\/$]]* | ?:[[\\/]]*) ;; | |
643 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
644 | esac | |
732 | AC_MSG_WARN(['missing' script is too old or missing]) | |
733 | fi | |
645 | 734 | ]) |
646 | 735 | |
647 | 736 | # Helper functions for option handling. -*- Autoconf -*- |
648 | 737 | |
649 | # Copyright (C) 2001, 2002, 2003, 2005 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. | |
654 | ||
655 | # serial 3 | |
738 | # Copyright (C) 2001-2014 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. | |
656 | 743 | |
657 | 744 | # _AM_MANGLE_OPTION(NAME) |
658 | 745 | # ----------------------- |
660 | 747 | [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
661 | 748 | |
662 | 749 | # _AM_SET_OPTION(NAME) |
663 | # ------------------------------ | |
750 | # -------------------- | |
664 | 751 | # Set option NAME. Presently that only means defining a flag for this option. |
665 | 752 | AC_DEFUN([_AM_SET_OPTION], |
666 | [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) | |
753 | [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) | |
667 | 754 | |
668 | 755 | # _AM_SET_OPTIONS(OPTIONS) |
669 | # ---------------------------------- | |
756 | # ------------------------ | |
670 | 757 | # OPTIONS is a space-separated list of Automake options. |
671 | 758 | AC_DEFUN([_AM_SET_OPTIONS], |
672 | [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) | |
759 | [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) | |
673 | 760 | |
674 | 761 | # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) |
675 | 762 | # ------------------------------------------- |
677 | 764 | AC_DEFUN([_AM_IF_OPTION], |
678 | 765 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
679 | 766 | |
767 | # Copyright (C) 1999-2014 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-2014 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 | ||
680 | 831 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
681 | 832 | |
682 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 | |
683 | # Free Software Foundation, Inc. | |
684 | # | |
685 | # This file is free software; the Free Software Foundation | |
686 | # gives unlimited permission to copy and/or distribute it, | |
687 | # with or without modifications, as long as this notice is preserved. | |
688 | ||
689 | # serial 4 | |
833 | # Copyright (C) 1996-2014 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. | |
690 | 838 | |
691 | 839 | # AM_SANITY_CHECK |
692 | 840 | # --------------- |
693 | 841 | AC_DEFUN([AM_SANITY_CHECK], |
694 | 842 | [AC_MSG_CHECKING([whether build environment is sane]) |
695 | # Just in case | |
696 | sleep 1 | |
697 | echo timestamp > conftest.file | |
698 | # 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 | |
699 | 857 | # arguments. Must try -L first in case configure is actually a |
700 | 858 | # symlink; some systems play weird games with the mod time of symlinks |
701 | 859 | # (eg FreeBSD returns the mod time of the symlink's containing |
702 | 860 | # directory). |
703 | 861 | if ( |
704 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` | |
705 | if test "$[*]" = "X"; then | |
706 | # -L didn't work. | |
707 | set X `ls -t $srcdir/configure conftest.file` | |
708 | fi | |
709 | rm -f conftest.file | |
710 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
711 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
712 | ||
713 | # If neither matched, then we have a broken ls. This can happen | |
714 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
715 | # broken ls alias from the environment. This has actually | |
716 | # happened. Such a system could not be considered "sane". | |
717 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
718 | alias in your environment]) | |
719 | fi | |
720 | ||
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 | |
721 | 887 | test "$[2]" = conftest.file |
722 | 888 | ) |
723 | 889 | then |
727 | 893 | AC_MSG_ERROR([newly created file is older than distributed files! |
728 | 894 | Check your system clock]) |
729 | 895 | fi |
730 | AC_MSG_RESULT(yes)]) | |
731 | ||
732 | # 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-2014 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-2014 Free Software Foundation, Inc. | |
733 | 975 | # |
734 | 976 | # This file is free software; the Free Software Foundation |
735 | 977 | # gives unlimited permission to copy and/or distribute it, |
737 | 979 | |
738 | 980 | # AM_PROG_INSTALL_STRIP |
739 | 981 | # --------------------- |
740 | # 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 | |
741 | 983 | # specify the program used to strip binaries. This is especially |
742 | 984 | # annoying in cross-compiling environments, where the build's strip |
743 | 985 | # is unlikely to handle the host's binaries. |
744 | 986 | # Fortunately install-sh will honor a STRIPPROG variable, so we |
745 | # always use install-sh in `make install-strip', and initialize | |
987 | # always use install-sh in "make install-strip", and initialize | |
746 | 988 | # STRIPPROG with the value of the STRIP variable (set by the user). |
747 | 989 | AC_DEFUN([AM_PROG_INSTALL_STRIP], |
748 | 990 | [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
749 | # Installed binaries are usually stripped using `strip' when the user | |
750 | # 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 | |
751 | 993 | # tool to use in cross-compilation environments, therefore Automake |
752 | # will honor the `STRIP' environment variable to overrule this program. | |
753 | 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'. | |
754 | 996 | if test "$cross_compiling" != no; then |
755 | 997 | AC_CHECK_TOOL([STRIP], [strip], :) |
756 | 998 | fi |
757 | 999 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
758 | 1000 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
759 | 1001 | |
760 | # Copyright (C) 2006 Free Software Foundation, Inc. | |
1002 | # Copyright (C) 2006-2014 Free Software Foundation, Inc. | |
761 | 1003 | # |
762 | 1004 | # This file is free software; the Free Software Foundation |
763 | 1005 | # gives unlimited permission to copy and/or distribute it, |
769 | 1011 | # This macro is traced by Automake. |
770 | 1012 | AC_DEFUN([_AM_SUBST_NOTMAKE]) |
771 | 1013 | |
1014 | # AM_SUBST_NOTMAKE(VARIABLE) | |
1015 | # -------------------------- | |
1016 | # Public sister of _AM_SUBST_NOTMAKE. | |
1017 | AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) | |
1018 | ||
772 | 1019 | # Check how to create a tarball. -*- Autoconf -*- |
773 | 1020 | |
774 | # Copyright (C) 2004, 2005 Free Software Foundation, Inc. | |
775 | # | |
776 | # This file is free software; the Free Software Foundation | |
777 | # gives unlimited permission to copy and/or distribute it, | |
778 | # with or without modifications, as long as this notice is preserved. | |
779 | ||
780 | # serial 2 | |
1021 | # Copyright (C) 2004-2014 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. | |
781 | 1026 | |
782 | 1027 | # _AM_PROG_TAR(FORMAT) |
783 | 1028 | # -------------------- |
784 | 1029 | # Check how to create a tarball in format FORMAT. |
785 | # FORMAT should be one of `v7', `ustar', or `pax'. | |
1030 | # FORMAT should be one of 'v7', 'ustar', or 'pax'. | |
786 | 1031 | # |
787 | 1032 | # Substitute a variable $(am__tar) that is a command |
788 | 1033 | # writing to stdout a FORMAT-tarball containing the directory |
792 | 1037 | # Substitute a variable $(am__untar) that extract such |
793 | 1038 | # a tarball read from stdin. |
794 | 1039 | # $(am__untar) < result.tar |
1040 | # | |
795 | 1041 | AC_DEFUN([_AM_PROG_TAR], |
796 | [# Always define AMTAR for backward compatibility. | |
797 | 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 | ||
798 | 1049 | m4_if([$1], [v7], |
799 | [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], | |
800 | [m4_case([$1], [ustar],, [pax],, | |
801 | [m4_fatal([Unknown tar format])]) | |
802 | AC_MSG_CHECKING([how to create a $1 tar archive]) | |
803 | # Loop over all known methods to create a tar archive until one works. | |
804 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' | |
805 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | |
806 | # Do not fold the above two line into one, because Tru64 sh and | |
807 | # Solaris sh will not grok spaces in the rhs of `-'. | |
808 | for _am_tool in $_am_tools | |
809 | do | |
810 | case $_am_tool in | |
811 | gnutar) | |
812 | for _am_tar in tar gnutar gtar; | |
813 | do | |
814 | AM_RUN_LOG([$_am_tar --version]) && break | |
815 | done | |
816 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | |
817 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | |
818 | am__untar="$_am_tar -xf -" | |
819 | ;; | |
820 | plaintar) | |
821 | # Must skip GNU tar: if it does not support --format= it doesn't create | |
822 | # ustar tarball either. | |
823 | (tar --version) >/dev/null 2>&1 && continue | |
824 | am__tar='tar chf - "$$tardir"' | |
825 | am__tar_='tar chf - "$tardir"' | |
826 | am__untar='tar xf -' | |
827 | ;; | |
828 | pax) | |
829 | am__tar='pax -L -x $1 -w "$$tardir"' | |
830 | am__tar_='pax -L -x $1 -w "$tardir"' | |
831 | am__untar='pax -r' | |
832 | ;; | |
833 | cpio) | |
834 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | |
835 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | |
836 | am__untar='cpio -i -H $1 -d' | |
837 | ;; | |
838 | none) | |
839 | am__tar=false | |
840 | am__tar_=false | |
841 | am__untar=false | |
842 | ;; | |
843 | esac | |
844 | ||
845 | # If the value was cached, stop now. We just wanted to have am__tar | |
846 | # and am__untar set. | |
847 | test -n "${am_cv_prog_tar_$1}" && break | |
848 | ||
849 | # 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 | |
850 | 1143 | rm -rf conftest.dir |
851 | mkdir conftest.dir | |
852 | echo GrepMe > conftest.dir/file | |
853 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | |
854 | rm -rf conftest.dir | |
855 | if test -s conftest.tar; then | |
856 | AM_RUN_LOG([$am__untar <conftest.tar]) | |
857 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | |
858 | fi | |
859 | done | |
860 | rm -rf conftest.dir | |
861 | ||
862 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | |
863 | 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 | ||
864 | 1148 | AC_SUBST([am__tar]) |
865 | 1149 | AC_SUBST([am__untar]) |
866 | 1150 | ]) # _AM_PROG_TAR |
0 | .TH "bumprace" "6" | |
1 | .SH "NAME" | |
2 | bumprace \(em a simple arcade game | |
3 | .SH "SYNOPSIS" | |
4 | .PP | |
5 | \fBbumprace\fR [\fB-f | \-\-fullscreen\fP] [\fB-w | \-\-windowed\fP] [\fB-s | \-\-nosound\fP] [\fB-n | \-\-notfinal\fP] [\fB-t | \-\-noparticles\fP] [\fB-o | \-\-nofadeout\fP] [\fB\-\-precision\fP] [\fB-h | \-\-help\fP] | |
6 | .SH "DESCRIPTION" | |
7 | .PP | |
8 | This manual page documents briefly the | |
9 | \fBbumprace\fR command. | |
10 | .PP | |
11 | This manual page was written for the \fBDebian GNU/Linux\fP distribution | |
12 | because the original program does not have a manual page. | |
13 | Instead, it has documentation in /usr/share/doc/bumprace/README. | |
14 | .PP | |
15 | \fBbumprace\fR a simple arcade game. | |
16 | .SH "OPTIONS" | |
17 | .PP | |
18 | This program follows the usual GNU command line syntax, | |
19 | with long options starting with two dashes (`\-'). A summary of | |
20 | options is included below. | |
21 | .IP "\fB-f\fP \fB\-\-fullscreen\fP " 10 | |
22 | Start in fullscreen mode (default). | |
23 | .IP "\fB-w\fP \fB\-\-windowed\fP " 10 | |
24 | Start in windowed mode. | |
25 | .IP "\fB-s\fP \fB\-\-nosound\fP " 10 | |
26 | Start without sound. | |
27 | .IP "\fB-n\fP \fB\-\-notfinal\fP " 10 | |
28 | No title screen (nice for developers). | |
29 | .IP "\fB-t\fP \fB\-\-noparticles\fP " 10 | |
30 | Turns off particles. Good for slow computers. | |
31 | .IP "\fB-o\fP \fB\-\-nofadeout\fP " 10 | |
32 | No fadeout after crash (for slow computers). | |
33 | .IP " \fB\-\-precision\fP " 10 | |
34 | Sets the precision of the collisions (default=10). | |
35 | .IP "\fB-h\fP \fB\-\-help\fP " 10 | |
36 | Show summary of options. | |
37 | .SH "KEYS" | |
38 | .PP | |
39 | Player 1 | |
40 | .IP "\fBarrow keys\fP " 10 | |
41 | moving | |
42 | .IP "\fBright control\fP " 10 | |
43 | special ability | |
44 | .PP | |
45 | Player 2 | |
46 | .IP "\fBa\fP " 10 | |
47 | left | |
48 | .IP "\fBd\fP " 10 | |
49 | right | |
50 | .IP "\fBw\fP " 10 | |
51 | thrust | |
52 | .IP "\fBTAB\fP " 10 | |
53 | special ability | |
54 | .SH "AUTHOR" | |
55 | .PP | |
56 | This manual page was written by Christian T. Steigies <cts@debian.org> for | |
57 | the \fBDebian GNU/Linux\fP system (but may be used by others). Permission is | |
58 | granted to copy, distribute and/or modify this document under | |
59 | the terms of the GNU Free Documentation | |
60 | License, Version 1.1 or any later version published by the Free | |
61 | Software Foundation; with no Invariant Sections, no Front-Cover | |
62 | Texts and no Back-Cover Texts. | |
63 | .\" created by instant / docbook-to-man |
0 | <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ | |
1 | ||
2 | <!-- Process this file with docbook-to-man to generate an nroff manual | |
3 | page: `docbook-to-man manpage.sgml > manpage.1'. You may view | |
4 | the manual page with: `docbook-to-man manpage.sgml | nroff -man | | |
5 | less'. A typical entry in a Makefile or Makefile.am is: | |
6 | ||
7 | manpage.1: manpage.sgml | |
8 | docbook-to-man $< > $@ | |
9 | --> | |
10 | ||
11 | <!-- Fill in your name for FIRSTNAME and SURNAME. --> | |
12 | <!ENTITY dhfirstname "<firstname>Christian T.</firstname>"> | |
13 | <!ENTITY dhsurname "<surname>Steigies</surname>"> | |
14 | <!-- Please adjust the date whenever revising the manpage. --> | |
15 | <!ENTITY dhdate "<date>2002-01-08</date>"> | |
16 | <!-- SECTION should be 1-8, maybe w/ subsection other parameters are | |
17 | allowed: see man(7), man(1). --> | |
18 | <!ENTITY dhsection "<manvolnum>6</manvolnum>"> | |
19 | <!ENTITY dhemail "<email>cts@debian.org</email>"> | |
20 | <!ENTITY dhusername "Christian T. Steigies"> | |
21 | <!ENTITY dhucpackage "<refentrytitle>bumprace</refentrytitle>"> | |
22 | <!ENTITY dhpackage "bumprace"> | |
23 | ||
24 | <!ENTITY debian "<productname>Debian GNU/Linux</productname>"> | |
25 | <!ENTITY gnu "<acronym>GNU</acronym>"> | |
26 | ]> | |
27 | ||
28 | <refentry> | |
29 | <refentryinfo> | |
30 | <address> | |
31 | &dhemail; | |
32 | </address> | |
33 | <author> | |
34 | &dhfirstname; | |
35 | &dhsurname; | |
36 | </author> | |
37 | <copyright> | |
38 | <year>2001</year> | |
39 | <holder>&dhusername;</holder> | |
40 | </copyright> | |
41 | &dhdate; | |
42 | </refentryinfo> | |
43 | <refmeta> | |
44 | &dhucpackage; | |
45 | ||
46 | &dhsection; | |
47 | </refmeta> | |
48 | <refnamediv> | |
49 | <refname>&dhpackage;</refname> | |
50 | ||
51 | <refpurpose>a simple arcade game</refpurpose> | |
52 | </refnamediv> | |
53 | <refsynopsisdiv> | |
54 | <cmdsynopsis> | |
55 | <command>&dhpackage;</command> | |
56 | ||
57 | <arg><option>-f | --fullscreen</option></arg> | |
58 | <arg><option>-w | --windowed</option></arg> | |
59 | <arg><option>-s | --nosound</option></arg> | |
60 | <arg><option>-n | --notfinal</option></arg> | |
61 | <arg><option>-t | --noparticles</option></arg> | |
62 | <arg><option>-o | --nofadeout</option></arg> | |
63 | <arg><option>--precision</option></arg> | |
64 | <arg><option>-h | --help</option></arg> | |
65 | ||
66 | </cmdsynopsis> | |
67 | </refsynopsisdiv> | |
68 | <refsect1> | |
69 | <title>DESCRIPTION</title> | |
70 | ||
71 | <para>This manual page documents briefly the | |
72 | <command>&dhpackage;</command> command.</para> | |
73 | ||
74 | <para>This manual page was written for the &debian; distribution | |
75 | because the original program does not have a manual page. | |
76 | Instead, it has documentation in /usr/share/doc/bumprace/README.</para> | |
77 | ||
78 | <para><command>&dhpackage;</command> a simple arcade game.</para> | |
79 | ||
80 | </refsect1> | |
81 | <refsect1> | |
82 | <title>OPTIONS</title> | |
83 | ||
84 | <para>This program follows the usual GNU command line syntax, | |
85 | with long options starting with two dashes (`-'). A summary of | |
86 | options is included below.</para> | |
87 | ||
88 | <variablelist> | |
89 | ||
90 | <varlistentry> | |
91 | <term><option>-f</option> | |
92 | <option>--fullscreen</option> | |
93 | </term> | |
94 | <listitem> | |
95 | <para>Start in fullscreen mode (default).</para> | |
96 | </listitem> | |
97 | </varlistentry> | |
98 | ||
99 | <varlistentry> | |
100 | <term><option>-w</option> | |
101 | <option>--windowed</option> | |
102 | </term> | |
103 | <listitem> | |
104 | <para>Start in windowed mode.</para> | |
105 | </listitem> | |
106 | </varlistentry> | |
107 | ||
108 | <varlistentry> | |
109 | <term><option>-s</option> | |
110 | <option>--nosound</option> | |
111 | </term> | |
112 | <listitem> | |
113 | <para>Start without sound.</para> | |
114 | </listitem> | |
115 | </varlistentry> | |
116 | ||
117 | <varlistentry> | |
118 | <term><option>-n</option> | |
119 | <option>--notfinal</option> | |
120 | </term> | |
121 | <listitem> | |
122 | <para>No title screen (nice for developers).</para> | |
123 | </listitem> | |
124 | </varlistentry> | |
125 | ||
126 | <varlistentry> | |
127 | <term><option>-t</option> | |
128 | <option>--noparticles</option> | |
129 | </term> | |
130 | <listitem> | |
131 | <para>Turns off particles. Good for slow computers.</para> | |
132 | </listitem> | |
133 | </varlistentry> | |
134 | ||
135 | <varlistentry> | |
136 | <term><option>-o</option> | |
137 | <option>--nofadeout</option> | |
138 | </term> | |
139 | <listitem> | |
140 | <para>No fadeout after crash (for slow computers).</para> | |
141 | </listitem> | |
142 | </varlistentry> | |
143 | ||
144 | <varlistentry> | |
145 | <term> | |
146 | <option>--precision</option> | |
147 | </term> | |
148 | <listitem> | |
149 | <para>Sets the precision of the collisions (default=10).</para> | |
150 | </listitem> | |
151 | </varlistentry> | |
152 | ||
153 | <varlistentry> | |
154 | <term><option>-h</option> | |
155 | <option>--help</option> | |
156 | </term> | |
157 | <listitem> | |
158 | <para>Show summary of options.</para> | |
159 | </listitem> | |
160 | </varlistentry> | |
161 | ||
162 | </variablelist> | |
163 | </refsect1> | |
164 | ||
165 | <refsect1> | |
166 | <title>KEYS</title> | |
167 | ||
168 | <para>Player 1</para> | |
169 | ||
170 | <variablelist> | |
171 | ||
172 | <varlistentry> | |
173 | <term><option>arrow keys</option> | |
174 | </term> | |
175 | <listitem> | |
176 | <para>moving</para> | |
177 | </listitem> | |
178 | </varlistentry> | |
179 | ||
180 | <varlistentry> | |
181 | <term><option>right control</option> | |
182 | </term> | |
183 | <listitem> | |
184 | <para>special ability</para> | |
185 | </listitem> | |
186 | </varlistentry> | |
187 | ||
188 | </variablelist> | |
189 | ||
190 | <para>Player 2</para> | |
191 | ||
192 | <variablelist> | |
193 | ||
194 | <varlistentry> | |
195 | <term><option>a</option> | |
196 | </term> | |
197 | <listitem> | |
198 | <para>left</para> | |
199 | </listitem> | |
200 | </varlistentry> | |
201 | ||
202 | <varlistentry> | |
203 | <term><option>d</option> | |
204 | </term> | |
205 | <listitem> | |
206 | <para>right</para> | |
207 | </listitem> | |
208 | </varlistentry> | |
209 | ||
210 | <varlistentry> | |
211 | <term><option>w</option> | |
212 | </term> | |
213 | <listitem> | |
214 | <para>thrust</para> | |
215 | </listitem> | |
216 | </varlistentry> | |
217 | ||
218 | <varlistentry> | |
219 | <term><option>TAB</option> | |
220 | </term> | |
221 | <listitem> | |
222 | <para>special ability</para> | |
223 | </listitem> | |
224 | </varlistentry> | |
225 | ||
226 | </variablelist> | |
227 | ||
228 | <!-- | |
229 | PLAYER 1 | |
230 | <arrow keys> moving | |
231 | <right control> special ability | |
232 | ||
233 | PLAYER 2 | |
234 | <a> left | |
235 | <d> right | |
236 | <w> thrust | |
237 | <tab> special ability | |
238 | --> | |
239 | </refsect1> | |
240 | ||
241 | <refsect1> | |
242 | <title>AUTHOR</title> | |
243 | ||
244 | <para>This manual page was written by &dhusername; <&dhemail;> for | |
245 | the &debian; system (but may be used by others). Permission is | |
246 | granted to copy, distribute and/or modify this document under | |
247 | the terms of the <acronym>GNU</acronym> Free Documentation | |
248 | License, Version 1.1 or any later version published by the Free | |
249 | Software Foundation; with no Invariant Sections, no Front-Cover | |
250 | Texts and no Back-Cover Texts.</para> | |
251 | ||
252 | </refsect1> | |
253 | </refentry> | |
254 | ||
255 | <!-- Keep this comment at the end of the file | |
256 | Local variables: | |
257 | mode: sgml | |
258 | sgml-omittag:t | |
259 | sgml-shorttag:t | |
260 | sgml-minimize-attributes:nil | |
261 | sgml-always-quote-attributes:t | |
262 | sgml-indent-step:2 | |
263 | sgml-indent-data:t | |
264 | sgml-parent-document:nil | |
265 | sgml-default-dtd-file:nil | |
266 | sgml-exposed-tags:nil | |
267 | sgml-local-catalogs:nil | |
268 | sgml-local-ecat-files:nil | |
269 | End: | |
270 | --> |
0 | 0 | #! /bin/sh |
1 | 1 | # Attempt to guess a canonical system name. |
2 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, | |
4 | # Inc. | |
5 | ||
6 | timestamp='2006-07-02' | |
2 | # Copyright 1992-2016 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2016-04-02' | |
7 | 5 | |
8 | 6 | # This file is free software; you can redistribute it and/or modify it |
9 | 7 | # under the terms of the GNU General Public License as published by |
10 | # the Free Software Foundation; either version 2 of the License, or | |
8 | # the Free Software Foundation; either version 3 of the License, or | |
11 | 9 | # (at your option) any later version. |
12 | 10 | # |
13 | 11 | # This program is distributed in the hope that it will be useful, but |
16 | 14 | # General Public License for more details. |
17 | 15 | # |
18 | 16 | # You should have received a copy of the GNU General Public License |
19 | # along with this program; if not, write to the Free Software | |
20 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | |
21 | # 02110-1301, USA. | |
17 | # along with this program; if not, see <http://www.gnu.org/licenses/>. | |
22 | 18 | # |
23 | 19 | # As a special exception to the GNU General Public License, if you |
24 | 20 | # distribute this file as part of a program that contains a |
25 | 21 | # configuration script generated by Autoconf, you may include it under |
26 | # the same distribution terms that you use for the rest of that program. | |
27 | ||
28 | ||
29 | # Originally written by Per Bothner <per@bothner.com>. | |
30 | # Please send patches to <config-patches@gnu.org>. Submit a context | |
31 | # diff and a properly formatted ChangeLog entry. | |
22 | # the same distribution terms that you use for the rest of that | |
23 | # program. This Exception is an additional permission under section 7 | |
24 | # of the GNU General Public License, version 3 ("GPLv3"). | |
32 | 25 | # |
33 | # This script attempts to guess a canonical system name similar to | |
34 | # config.sub. If it succeeds, it prints the system name on stdout, and | |
35 | # exits with 0. Otherwise, it exits with 1. | |
26 | # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. | |
36 | 27 | # |
37 | # The plan is that this can be called by configure scripts if you | |
38 | # don't specify an explicit build system type. | |
28 | # You can get the latest version of this script from: | |
29 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess | |
30 | # | |
31 | # Please send patches to <config-patches@gnu.org>. | |
32 | ||
39 | 33 | |
40 | 34 | me=`echo "$0" | sed -e 's,.*/,,'` |
41 | 35 | |
55 | 49 | GNU config.guess ($timestamp) |
56 | 50 | |
57 | 51 | Originally written by Per Bothner. |
58 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 | |
59 | Free Software Foundation, Inc. | |
52 | Copyright 1992-2016 Free Software Foundation, Inc. | |
60 | 53 | |
61 | 54 | This is free software; see the source for copying conditions. There is NO |
62 | 55 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
138 | 131 | UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown |
139 | 132 | UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown |
140 | 133 | |
134 | case "${UNAME_SYSTEM}" in | |
135 | Linux|GNU|GNU/*) | |
136 | # If the system lacks a compiler, then just pick glibc. | |
137 | # We could probably try harder. | |
138 | LIBC=gnu | |
139 | ||
140 | eval $set_cc_for_build | |
141 | cat <<-EOF > $dummy.c | |
142 | #include <features.h> | |
143 | #if defined(__UCLIBC__) | |
144 | LIBC=uclibc | |
145 | #elif defined(__dietlibc__) | |
146 | LIBC=dietlibc | |
147 | #else | |
148 | LIBC=gnu | |
149 | #endif | |
150 | EOF | |
151 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` | |
152 | ;; | |
153 | esac | |
154 | ||
141 | 155 | # Note: order is significant - the case branches are not exclusive. |
142 | 156 | |
143 | 157 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in |
144 | 158 | *:NetBSD:*:*) |
145 | 159 | # NetBSD (nbsd) targets should (where applicable) match one or |
146 | # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, | |
160 | # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, | |
147 | 161 | # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently |
148 | 162 | # switched to ELF, *-*-netbsd* would select the old |
149 | 163 | # object file format. This provides both forward |
153 | 167 | # Note: NetBSD doesn't particularly care about the vendor |
154 | 168 | # portion of the name. We always set it to "unknown". |
155 | 169 | sysctl="sysctl -n hw.machine_arch" |
156 | UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ | |
157 | /usr/sbin/$sysctl 2>/dev/null || echo unknown)` | |
170 | UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ | |
171 | /sbin/$sysctl 2>/dev/null || \ | |
172 | /usr/sbin/$sysctl 2>/dev/null || \ | |
173 | echo unknown)` | |
158 | 174 | case "${UNAME_MACHINE_ARCH}" in |
159 | 175 | armeb) machine=armeb-unknown ;; |
160 | 176 | arm*) machine=arm-unknown ;; |
161 | 177 | sh3el) machine=shl-unknown ;; |
162 | 178 | sh3eb) machine=sh-unknown ;; |
179 | sh5el) machine=sh5le-unknown ;; | |
180 | earmv*) | |
181 | arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'` | |
182 | endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'` | |
183 | machine=${arch}${endian}-unknown | |
184 | ;; | |
163 | 185 | *) machine=${UNAME_MACHINE_ARCH}-unknown ;; |
164 | 186 | esac |
165 | 187 | # The Operating System including object format, if it has switched |
166 | 188 | # to ELF recently, or will in the future. |
167 | 189 | case "${UNAME_MACHINE_ARCH}" in |
168 | arm*|i386|m68k|ns32k|sh3*|sparc|vax) | |
190 | arm*|earm*|i386|m68k|ns32k|sh3*|sparc|vax) | |
169 | 191 | eval $set_cc_for_build |
170 | 192 | if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
171 | | grep __ELF__ >/dev/null | |
193 | | grep -q __ELF__ | |
172 | 194 | then |
173 | 195 | # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). |
174 | 196 | # Return netbsd for either. FIX? |
178 | 200 | fi |
179 | 201 | ;; |
180 | 202 | *) |
181 | os=netbsd | |
203 | os=netbsd | |
204 | ;; | |
205 | esac | |
206 | # Determine ABI tags. | |
207 | case "${UNAME_MACHINE_ARCH}" in | |
208 | earm*) | |
209 | expr='s/^earmv[0-9]/-eabi/;s/eb$//' | |
210 | abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"` | |
182 | 211 | ;; |
183 | 212 | esac |
184 | 213 | # The OS release |
191 | 220 | release='-gnu' |
192 | 221 | ;; |
193 | 222 | *) |
194 | release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` | |
223 | release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2` | |
195 | 224 | ;; |
196 | 225 | esac |
197 | 226 | # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: |
198 | 227 | # contains redundant information, the shorter form: |
199 | 228 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. |
200 | echo "${machine}-${os}${release}" | |
229 | echo "${machine}-${os}${release}${abi}" | |
230 | exit ;; | |
231 | *:Bitrig:*:*) | |
232 | UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` | |
233 | echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} | |
201 | 234 | exit ;; |
202 | 235 | *:OpenBSD:*:*) |
203 | 236 | UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` |
204 | 237 | echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} |
205 | 238 | exit ;; |
239 | *:LibertyBSD:*:*) | |
240 | UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` | |
241 | echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE} | |
242 | exit ;; | |
206 | 243 | *:ekkoBSD:*:*) |
207 | 244 | echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} |
208 | 245 | exit ;; |
214 | 251 | exit ;; |
215 | 252 | *:MirBSD:*:*) |
216 | 253 | echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} |
254 | exit ;; | |
255 | *:Sortix:*:*) | |
256 | echo ${UNAME_MACHINE}-unknown-sortix | |
217 | 257 | exit ;; |
218 | 258 | alpha:OSF1:*:*) |
219 | 259 | case $UNAME_RELEASE in |
221 | 261 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` |
222 | 262 | ;; |
223 | 263 | *5.*) |
224 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` | |
264 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` | |
225 | 265 | ;; |
226 | 266 | esac |
227 | 267 | # According to Compaq, /usr/sbin/psrinfo has been available on |
231 | 271 | ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` |
232 | 272 | case "$ALPHA_CPU_TYPE" in |
233 | 273 | "EV4 (21064)") |
234 | UNAME_MACHINE="alpha" ;; | |
274 | UNAME_MACHINE=alpha ;; | |
235 | 275 | "EV4.5 (21064)") |
236 | UNAME_MACHINE="alpha" ;; | |
276 | UNAME_MACHINE=alpha ;; | |
237 | 277 | "LCA4 (21066/21068)") |
238 | UNAME_MACHINE="alpha" ;; | |
278 | UNAME_MACHINE=alpha ;; | |
239 | 279 | "EV5 (21164)") |
240 | UNAME_MACHINE="alphaev5" ;; | |
280 | UNAME_MACHINE=alphaev5 ;; | |
241 | 281 | "EV5.6 (21164A)") |
242 | UNAME_MACHINE="alphaev56" ;; | |
282 | UNAME_MACHINE=alphaev56 ;; | |
243 | 283 | "EV5.6 (21164PC)") |
244 | UNAME_MACHINE="alphapca56" ;; | |
284 | UNAME_MACHINE=alphapca56 ;; | |
245 | 285 | "EV5.7 (21164PC)") |
246 | UNAME_MACHINE="alphapca57" ;; | |
286 | UNAME_MACHINE=alphapca57 ;; | |
247 | 287 | "EV6 (21264)") |
248 | UNAME_MACHINE="alphaev6" ;; | |
288 | UNAME_MACHINE=alphaev6 ;; | |
249 | 289 | "EV6.7 (21264A)") |
250 | UNAME_MACHINE="alphaev67" ;; | |
290 | UNAME_MACHINE=alphaev67 ;; | |
251 | 291 | "EV6.8CB (21264C)") |
252 | UNAME_MACHINE="alphaev68" ;; | |
292 | UNAME_MACHINE=alphaev68 ;; | |
253 | 293 | "EV6.8AL (21264B)") |
254 | UNAME_MACHINE="alphaev68" ;; | |
294 | UNAME_MACHINE=alphaev68 ;; | |
255 | 295 | "EV6.8CX (21264D)") |
256 | UNAME_MACHINE="alphaev68" ;; | |
296 | UNAME_MACHINE=alphaev68 ;; | |
257 | 297 | "EV6.9A (21264/EV69A)") |
258 | UNAME_MACHINE="alphaev69" ;; | |
298 | UNAME_MACHINE=alphaev69 ;; | |
259 | 299 | "EV7 (21364)") |
260 | UNAME_MACHINE="alphaev7" ;; | |
300 | UNAME_MACHINE=alphaev7 ;; | |
261 | 301 | "EV7.9 (21364A)") |
262 | UNAME_MACHINE="alphaev79" ;; | |
302 | UNAME_MACHINE=alphaev79 ;; | |
263 | 303 | esac |
264 | 304 | # A Pn.n version is a patched version. |
265 | 305 | # A Vn.n version is a released version. |
266 | 306 | # A Tn.n version is a released field test version. |
267 | 307 | # A Xn.n version is an unreleased experimental baselevel. |
268 | 308 | # 1.2 uses "1.2" for uname -r. |
269 | echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` | |
270 | exit ;; | |
309 | echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` | |
310 | # Reset EXIT trap before exiting to avoid spurious non-zero exit code. | |
311 | exitcode=$? | |
312 | trap '' 0 | |
313 | exit $exitcode ;; | |
271 | 314 | Alpha\ *:Windows_NT*:*) |
272 | 315 | # How do we know it's Interix rather than the generic POSIX subsystem? |
273 | 316 | # Should we change UNAME_MACHINE based on the output of uname instead |
293 | 336 | echo s390-ibm-zvmoe |
294 | 337 | exit ;; |
295 | 338 | *:OS400:*:*) |
296 | echo powerpc-ibm-os400 | |
339 | echo powerpc-ibm-os400 | |
297 | 340 | exit ;; |
298 | 341 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
299 | 342 | echo arm-acorn-riscix${UNAME_RELEASE} |
300 | 343 | exit ;; |
301 | arm:riscos:*:*|arm:RISCOS:*:*) | |
344 | arm*:riscos:*:*|arm*:RISCOS:*:*) | |
302 | 345 | echo arm-unknown-riscos |
303 | 346 | exit ;; |
304 | 347 | SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) |
322 | 365 | case `/usr/bin/uname -p` in |
323 | 366 | sparc) echo sparc-icl-nx7; exit ;; |
324 | 367 | esac ;; |
368 | s390x:SunOS:*:*) | |
369 | echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
370 | exit ;; | |
325 | 371 | sun4H:SunOS:5.*:*) |
326 | 372 | echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
327 | 373 | exit ;; |
328 | 374 | sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) |
329 | 375 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
330 | 376 | exit ;; |
331 | i86pc:SunOS:5.*:*) | |
332 | echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
377 | i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) | |
378 | echo i386-pc-auroraux${UNAME_RELEASE} | |
379 | exit ;; | |
380 | i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) | |
381 | eval $set_cc_for_build | |
382 | SUN_ARCH=i386 | |
383 | # If there is a compiler, see if it is configured for 64-bit objects. | |
384 | # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. | |
385 | # This test works for both compilers. | |
386 | if [ "$CC_FOR_BUILD" != no_compiler_found ]; then | |
387 | if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ | |
388 | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
389 | grep IS_64BIT_ARCH >/dev/null | |
390 | then | |
391 | SUN_ARCH=x86_64 | |
392 | fi | |
393 | fi | |
394 | echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
333 | 395 | exit ;; |
334 | 396 | sun4*:SunOS:6*:*) |
335 | 397 | # According to config.sub, this is the proper way to canonicalize |
351 | 413 | exit ;; |
352 | 414 | sun*:*:4.2BSD:*) |
353 | 415 | UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` |
354 | test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 | |
416 | test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3 | |
355 | 417 | case "`/bin/arch`" in |
356 | 418 | sun3) |
357 | 419 | echo m68k-sun-sunos${UNAME_RELEASE} |
373 | 435 | # MiNT. But MiNT is downward compatible to TOS, so this should |
374 | 436 | # be no problem. |
375 | 437 | atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) |
376 | echo m68k-atari-mint${UNAME_RELEASE} | |
438 | echo m68k-atari-mint${UNAME_RELEASE} | |
377 | 439 | exit ;; |
378 | 440 | atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) |
379 | 441 | echo m68k-atari-mint${UNAME_RELEASE} |
380 | exit ;; | |
442 | exit ;; | |
381 | 443 | *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) |
382 | echo m68k-atari-mint${UNAME_RELEASE} | |
444 | echo m68k-atari-mint${UNAME_RELEASE} | |
383 | 445 | exit ;; |
384 | 446 | milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) |
385 | echo m68k-milan-mint${UNAME_RELEASE} | |
386 | exit ;; | |
447 | echo m68k-milan-mint${UNAME_RELEASE} | |
448 | exit ;; | |
387 | 449 | hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) |
388 | echo m68k-hades-mint${UNAME_RELEASE} | |
389 | exit ;; | |
450 | echo m68k-hades-mint${UNAME_RELEASE} | |
451 | exit ;; | |
390 | 452 | *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) |
391 | echo m68k-unknown-mint${UNAME_RELEASE} | |
392 | exit ;; | |
453 | echo m68k-unknown-mint${UNAME_RELEASE} | |
454 | exit ;; | |
393 | 455 | m68k:machten:*:*) |
394 | 456 | echo m68k-apple-machten${UNAME_RELEASE} |
395 | 457 | exit ;; |
459 | 521 | echo m88k-motorola-sysv3 |
460 | 522 | exit ;; |
461 | 523 | AViiON:dgux:*:*) |
462 | # DG/UX returns AViiON for all architectures | |
463 | UNAME_PROCESSOR=`/usr/bin/uname -p` | |
524 | # DG/UX returns AViiON for all architectures | |
525 | UNAME_PROCESSOR=`/usr/bin/uname -p` | |
464 | 526 | if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] |
465 | 527 | then |
466 | 528 | if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ |
473 | 535 | else |
474 | 536 | echo i586-dg-dgux${UNAME_RELEASE} |
475 | 537 | fi |
476 | exit ;; | |
538 | exit ;; | |
477 | 539 | M88*:DolphinOS:*:*) # DolphinOS (SVR3) |
478 | 540 | echo m88k-dolphin-sysv3 |
479 | 541 | exit ;; |
530 | 592 | echo rs6000-ibm-aix3.2 |
531 | 593 | fi |
532 | 594 | exit ;; |
533 | *:AIX:*:[45]) | |
595 | *:AIX:*:[4567]) | |
534 | 596 | IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` |
535 | 597 | if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then |
536 | 598 | IBM_ARCH=rs6000 |
537 | 599 | else |
538 | 600 | IBM_ARCH=powerpc |
539 | 601 | fi |
540 | if [ -x /usr/bin/oslevel ] ; then | |
541 | IBM_REV=`/usr/bin/oslevel` | |
602 | if [ -x /usr/bin/lslpp ] ; then | |
603 | IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | | |
604 | awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` | |
542 | 605 | else |
543 | 606 | IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} |
544 | 607 | fi |
573 | 636 | 9000/[678][0-9][0-9]) |
574 | 637 | if [ -x /usr/bin/getconf ]; then |
575 | 638 | sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` |
576 | sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` | |
577 | case "${sc_cpu_version}" in | |
578 | 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 | |
579 | 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 | |
580 | 532) # CPU_PA_RISC2_0 | |
581 | case "${sc_kernel_bits}" in | |
582 | 32) HP_ARCH="hppa2.0n" ;; | |
583 | 64) HP_ARCH="hppa2.0w" ;; | |
584 | '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 | |
585 | esac ;; | |
586 | esac | |
639 | sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` | |
640 | case "${sc_cpu_version}" in | |
641 | 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 | |
642 | 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 | |
643 | 532) # CPU_PA_RISC2_0 | |
644 | case "${sc_kernel_bits}" in | |
645 | 32) HP_ARCH=hppa2.0n ;; | |
646 | 64) HP_ARCH=hppa2.0w ;; | |
647 | '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 | |
648 | esac ;; | |
649 | esac | |
587 | 650 | fi |
588 | 651 | if [ "${HP_ARCH}" = "" ]; then |
589 | 652 | eval $set_cc_for_build |
590 | sed 's/^ //' << EOF >$dummy.c | |
591 | ||
592 | #define _HPUX_SOURCE | |
593 | #include <stdlib.h> | |
594 | #include <unistd.h> | |
595 | ||
596 | int main () | |
597 | { | |
598 | #if defined(_SC_KERNEL_BITS) | |
599 | long bits = sysconf(_SC_KERNEL_BITS); | |
600 | #endif | |
601 | long cpu = sysconf (_SC_CPU_VERSION); | |
602 | ||
603 | switch (cpu) | |
604 | { | |
605 | case CPU_PA_RISC1_0: puts ("hppa1.0"); break; | |
606 | case CPU_PA_RISC1_1: puts ("hppa1.1"); break; | |
607 | case CPU_PA_RISC2_0: | |
608 | #if defined(_SC_KERNEL_BITS) | |
609 | switch (bits) | |
610 | { | |
611 | case 64: puts ("hppa2.0w"); break; | |
612 | case 32: puts ("hppa2.0n"); break; | |
613 | default: puts ("hppa2.0"); break; | |
614 | } break; | |
615 | #else /* !defined(_SC_KERNEL_BITS) */ | |
616 | puts ("hppa2.0"); break; | |
617 | #endif | |
618 | default: puts ("hppa1.0"); break; | |
619 | } | |
620 | exit (0); | |
621 | } | |
653 | sed 's/^ //' << EOF >$dummy.c | |
654 | ||
655 | #define _HPUX_SOURCE | |
656 | #include <stdlib.h> | |
657 | #include <unistd.h> | |
658 | ||
659 | int main () | |
660 | { | |
661 | #if defined(_SC_KERNEL_BITS) | |
662 | long bits = sysconf(_SC_KERNEL_BITS); | |
663 | #endif | |
664 | long cpu = sysconf (_SC_CPU_VERSION); | |
665 | ||
666 | switch (cpu) | |
667 | { | |
668 | case CPU_PA_RISC1_0: puts ("hppa1.0"); break; | |
669 | case CPU_PA_RISC1_1: puts ("hppa1.1"); break; | |
670 | case CPU_PA_RISC2_0: | |
671 | #if defined(_SC_KERNEL_BITS) | |
672 | switch (bits) | |
673 | { | |
674 | case 64: puts ("hppa2.0w"); break; | |
675 | case 32: puts ("hppa2.0n"); break; | |
676 | default: puts ("hppa2.0"); break; | |
677 | } break; | |
678 | #else /* !defined(_SC_KERNEL_BITS) */ | |
679 | puts ("hppa2.0"); break; | |
680 | #endif | |
681 | default: puts ("hppa1.0"); break; | |
682 | } | |
683 | exit (0); | |
684 | } | |
622 | 685 | EOF |
623 | (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` | |
686 | (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` | |
624 | 687 | test -z "$HP_ARCH" && HP_ARCH=hppa |
625 | 688 | fi ;; |
626 | 689 | esac |
627 | if [ ${HP_ARCH} = "hppa2.0w" ] | |
690 | if [ ${HP_ARCH} = hppa2.0w ] | |
628 | 691 | then |
629 | 692 | eval $set_cc_for_build |
630 | 693 | |
637 | 700 | # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess |
638 | 701 | # => hppa64-hp-hpux11.23 |
639 | 702 | |
640 | if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | | |
641 | grep __LP64__ >/dev/null | |
703 | if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | | |
704 | grep -q __LP64__ | |
642 | 705 | then |
643 | HP_ARCH="hppa2.0w" | |
706 | HP_ARCH=hppa2.0w | |
644 | 707 | else |
645 | HP_ARCH="hppa64" | |
708 | HP_ARCH=hppa64 | |
646 | 709 | fi |
647 | 710 | fi |
648 | 711 | echo ${HP_ARCH}-hp-hpux${HPUX_REV} |
709 | 772 | exit ;; |
710 | 773 | C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) |
711 | 774 | echo c1-convex-bsd |
712 | exit ;; | |
775 | exit ;; | |
713 | 776 | C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) |
714 | 777 | if getsysinfo -f scalar_acc |
715 | 778 | then echo c32-convex-bsd |
716 | 779 | else echo c2-convex-bsd |
717 | 780 | fi |
718 | exit ;; | |
781 | exit ;; | |
719 | 782 | C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) |
720 | 783 | echo c34-convex-bsd |
721 | exit ;; | |
784 | exit ;; | |
722 | 785 | C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) |
723 | 786 | echo c38-convex-bsd |
724 | exit ;; | |
787 | exit ;; | |
725 | 788 | C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) |
726 | 789 | echo c4-convex-bsd |
727 | exit ;; | |
790 | exit ;; | |
728 | 791 | CRAY*Y-MP:*:*:*) |
729 | 792 | echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
730 | 793 | exit ;; |
747 | 810 | echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
748 | 811 | exit ;; |
749 | 812 | F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) |
750 | FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` | |
751 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | |
752 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` | |
753 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
754 | exit ;; | |
813 | FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` | |
814 | FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` | |
815 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` | |
816 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
817 | exit ;; | |
755 | 818 | 5000:UNIX_System_V:4.*:*) |
756 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | |
757 | FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` | |
758 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
819 | FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` | |
820 | FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` | |
821 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
759 | 822 | exit ;; |
760 | 823 | i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) |
761 | 824 | echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} |
767 | 830 | echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} |
768 | 831 | exit ;; |
769 | 832 | *:FreeBSD:*:*) |
770 | case ${UNAME_MACHINE} in | |
771 | pc98) | |
772 | echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
833 | UNAME_PROCESSOR=`/usr/bin/uname -p` | |
834 | case ${UNAME_PROCESSOR} in | |
773 | 835 | amd64) |
774 | 836 | echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; |
775 | 837 | *) |
776 | echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
838 | echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
777 | 839 | esac |
778 | 840 | exit ;; |
779 | 841 | i*:CYGWIN*:*) |
780 | 842 | echo ${UNAME_MACHINE}-pc-cygwin |
781 | 843 | exit ;; |
782 | i*:MINGW*:*) | |
844 | *:MINGW64*:*) | |
845 | echo ${UNAME_MACHINE}-pc-mingw64 | |
846 | exit ;; | |
847 | *:MINGW*:*) | |
783 | 848 | echo ${UNAME_MACHINE}-pc-mingw32 |
784 | 849 | exit ;; |
850 | *:MSYS*:*) | |
851 | echo ${UNAME_MACHINE}-pc-msys | |
852 | exit ;; | |
785 | 853 | i*:windows32*:*) |
786 | # uname -m includes "-pc" on this system. | |
787 | echo ${UNAME_MACHINE}-mingw32 | |
854 | # uname -m includes "-pc" on this system. | |
855 | echo ${UNAME_MACHINE}-mingw32 | |
788 | 856 | exit ;; |
789 | 857 | i*:PW*:*) |
790 | 858 | echo ${UNAME_MACHINE}-pc-pw32 |
791 | 859 | exit ;; |
792 | x86:Interix*:[3456]*) | |
793 | echo i586-pc-interix${UNAME_RELEASE} | |
794 | exit ;; | |
795 | EM64T:Interix*:[3456]*) | |
796 | echo x86_64-unknown-interix${UNAME_RELEASE} | |
797 | exit ;; | |
860 | *:Interix*:*) | |
861 | case ${UNAME_MACHINE} in | |
862 | x86) | |
863 | echo i586-pc-interix${UNAME_RELEASE} | |
864 | exit ;; | |
865 | authenticamd | genuineintel | EM64T) | |
866 | echo x86_64-unknown-interix${UNAME_RELEASE} | |
867 | exit ;; | |
868 | IA64) | |
869 | echo ia64-unknown-interix${UNAME_RELEASE} | |
870 | exit ;; | |
871 | esac ;; | |
798 | 872 | [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) |
799 | 873 | echo i${UNAME_MACHINE}-pc-mks |
874 | exit ;; | |
875 | 8664:Windows_NT:*) | |
876 | echo x86_64-pc-mks | |
800 | 877 | exit ;; |
801 | 878 | i*:Windows_NT*:* | Pentium*:Windows_NT*:*) |
802 | 879 | # How do we know it's Interix rather than the generic POSIX subsystem? |
818 | 895 | exit ;; |
819 | 896 | *:GNU:*:*) |
820 | 897 | # the GNU system |
821 | echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` | |
898 | echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` | |
822 | 899 | exit ;; |
823 | 900 | *:GNU/*:*:*) |
824 | 901 | # other systems with GNU libc and userland |
825 | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu | |
902 | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} | |
826 | 903 | exit ;; |
827 | 904 | i*86:Minix:*:*) |
828 | 905 | echo ${UNAME_MACHINE}-pc-minix |
829 | 906 | exit ;; |
830 | arm*:Linux:*:*) | |
831 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
832 | exit ;; | |
833 | avr32*:Linux:*:*) | |
834 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
835 | exit ;; | |
836 | cris:Linux:*:*) | |
837 | echo cris-axis-linux-gnu | |
838 | exit ;; | |
839 | crisv32:Linux:*:*) | |
840 | echo crisv32-axis-linux-gnu | |
841 | exit ;; | |
842 | frv:Linux:*:*) | |
843 | echo frv-unknown-linux-gnu | |
844 | exit ;; | |
845 | ia64:Linux:*:*) | |
846 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
847 | exit ;; | |
848 | m32r*:Linux:*:*) | |
849 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
850 | exit ;; | |
851 | m68*:Linux:*:*) | |
852 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
853 | exit ;; | |
854 | mips:Linux:*:*) | |
855 | eval $set_cc_for_build | |
856 | sed 's/^ //' << EOF >$dummy.c | |
857 | #undef CPU | |
858 | #undef mips | |
859 | #undef mipsel | |
860 | #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) | |
861 | CPU=mipsel | |
862 | #else | |
863 | #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) | |
864 | CPU=mips | |
865 | #else | |
866 | CPU= | |
867 | #endif | |
868 | #endif | |
869 | EOF | |
870 | eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' | |
871 | /^CPU/{ | |
872 | s: ::g | |
873 | p | |
874 | }'`" | |
875 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } | |
876 | ;; | |
877 | mips64:Linux:*:*) | |
878 | eval $set_cc_for_build | |
879 | sed 's/^ //' << EOF >$dummy.c | |
880 | #undef CPU | |
881 | #undef mips64 | |
882 | #undef mips64el | |
883 | #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) | |
884 | CPU=mips64el | |
885 | #else | |
886 | #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) | |
887 | CPU=mips64 | |
888 | #else | |
889 | CPU= | |
890 | #endif | |
891 | #endif | |
892 | EOF | |
893 | eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' | |
894 | /^CPU/{ | |
895 | s: ::g | |
896 | p | |
897 | }'`" | |
898 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } | |
899 | ;; | |
900 | or32:Linux:*:*) | |
901 | echo or32-unknown-linux-gnu | |
902 | exit ;; | |
903 | ppc:Linux:*:*) | |
904 | echo powerpc-unknown-linux-gnu | |
905 | exit ;; | |
906 | ppc64:Linux:*:*) | |
907 | echo powerpc64-unknown-linux-gnu | |
907 | aarch64:Linux:*:*) | |
908 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
909 | exit ;; | |
910 | aarch64_be:Linux:*:*) | |
911 | UNAME_MACHINE=aarch64_be | |
912 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
908 | 913 | exit ;; |
909 | 914 | alpha:Linux:*:*) |
910 | 915 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
915 | 920 | EV6) UNAME_MACHINE=alphaev6 ;; |
916 | 921 | EV67) UNAME_MACHINE=alphaev67 ;; |
917 | 922 | EV68*) UNAME_MACHINE=alphaev68 ;; |
918 | esac | |
919 | objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null | |
920 | if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi | |
921 | echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} | |
923 | esac | |
924 | objdump --private-headers /bin/sh | grep -q ld.so.1 | |
925 | if test "$?" = 0 ; then LIBC=gnulibc1 ; fi | |
926 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
927 | exit ;; | |
928 | arc:Linux:*:* | arceb:Linux:*:*) | |
929 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
930 | exit ;; | |
931 | arm*:Linux:*:*) | |
932 | eval $set_cc_for_build | |
933 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | |
934 | | grep -q __ARM_EABI__ | |
935 | then | |
936 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
937 | else | |
938 | if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | |
939 | | grep -q __ARM_PCS_VFP | |
940 | then | |
941 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi | |
942 | else | |
943 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf | |
944 | fi | |
945 | fi | |
946 | exit ;; | |
947 | avr32*:Linux:*:*) | |
948 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
949 | exit ;; | |
950 | cris:Linux:*:*) | |
951 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} | |
952 | exit ;; | |
953 | crisv32:Linux:*:*) | |
954 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} | |
955 | exit ;; | |
956 | e2k:Linux:*:*) | |
957 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
958 | exit ;; | |
959 | frv:Linux:*:*) | |
960 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
961 | exit ;; | |
962 | hexagon:Linux:*:*) | |
963 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
964 | exit ;; | |
965 | i*86:Linux:*:*) | |
966 | echo ${UNAME_MACHINE}-pc-linux-${LIBC} | |
967 | exit ;; | |
968 | ia64:Linux:*:*) | |
969 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
970 | exit ;; | |
971 | k1om:Linux:*:*) | |
972 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
973 | exit ;; | |
974 | m32r*:Linux:*:*) | |
975 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
976 | exit ;; | |
977 | m68*:Linux:*:*) | |
978 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
979 | exit ;; | |
980 | mips:Linux:*:* | mips64:Linux:*:*) | |
981 | eval $set_cc_for_build | |
982 | sed 's/^ //' << EOF >$dummy.c | |
983 | #undef CPU | |
984 | #undef ${UNAME_MACHINE} | |
985 | #undef ${UNAME_MACHINE}el | |
986 | #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) | |
987 | CPU=${UNAME_MACHINE}el | |
988 | #else | |
989 | #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) | |
990 | CPU=${UNAME_MACHINE} | |
991 | #else | |
992 | CPU= | |
993 | #endif | |
994 | #endif | |
995 | EOF | |
996 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` | |
997 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } | |
998 | ;; | |
999 | openrisc*:Linux:*:*) | |
1000 | echo or1k-unknown-linux-${LIBC} | |
1001 | exit ;; | |
1002 | or32:Linux:*:* | or1k*:Linux:*:*) | |
1003 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1004 | exit ;; | |
1005 | padre:Linux:*:*) | |
1006 | echo sparc-unknown-linux-${LIBC} | |
1007 | exit ;; | |
1008 | parisc64:Linux:*:* | hppa64:Linux:*:*) | |
1009 | echo hppa64-unknown-linux-${LIBC} | |
922 | 1010 | exit ;; |
923 | 1011 | parisc:Linux:*:* | hppa:Linux:*:*) |
924 | 1012 | # Look for CPU level |
925 | 1013 | case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in |
926 | PA7*) echo hppa1.1-unknown-linux-gnu ;; | |
927 | PA8*) echo hppa2.0-unknown-linux-gnu ;; | |
928 | *) echo hppa-unknown-linux-gnu ;; | |
1014 | PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; | |
1015 | PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; | |
1016 | *) echo hppa-unknown-linux-${LIBC} ;; | |
929 | 1017 | esac |
930 | 1018 | exit ;; |
931 | parisc64:Linux:*:* | hppa64:Linux:*:*) | |
932 | echo hppa64-unknown-linux-gnu | |
1019 | ppc64:Linux:*:*) | |
1020 | echo powerpc64-unknown-linux-${LIBC} | |
1021 | exit ;; | |
1022 | ppc:Linux:*:*) | |
1023 | echo powerpc-unknown-linux-${LIBC} | |
1024 | exit ;; | |
1025 | ppc64le:Linux:*:*) | |
1026 | echo powerpc64le-unknown-linux-${LIBC} | |
1027 | exit ;; | |
1028 | ppcle:Linux:*:*) | |
1029 | echo powerpcle-unknown-linux-${LIBC} | |
933 | 1030 | exit ;; |
934 | 1031 | s390:Linux:*:* | s390x:Linux:*:*) |
935 | echo ${UNAME_MACHINE}-ibm-linux | |
1032 | echo ${UNAME_MACHINE}-ibm-linux-${LIBC} | |
936 | 1033 | exit ;; |
937 | 1034 | sh64*:Linux:*:*) |
938 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1035 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
939 | 1036 | exit ;; |
940 | 1037 | sh*:Linux:*:*) |
941 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1038 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
942 | 1039 | exit ;; |
943 | 1040 | sparc:Linux:*:* | sparc64:Linux:*:*) |
944 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1041 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1042 | exit ;; | |
1043 | tile*:Linux:*:*) | |
1044 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
945 | 1045 | exit ;; |
946 | 1046 | vax:Linux:*:*) |
947 | echo ${UNAME_MACHINE}-dec-linux-gnu | |
1047 | echo ${UNAME_MACHINE}-dec-linux-${LIBC} | |
948 | 1048 | exit ;; |
949 | 1049 | x86_64:Linux:*:*) |
950 | echo x86_64-unknown-linux-gnu | |
951 | exit ;; | |
952 | i*86:Linux:*:*) | |
953 | # The BFD linker knows what the default object file format is, so | |
954 | # first see if it will tell us. cd to the root directory to prevent | |
955 | # problems with other programs or directories called `ld' in the path. | |
956 | # Set LC_ALL=C to ensure ld outputs messages in English. | |
957 | ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | |
958 | | sed -ne '/supported targets:/!d | |
959 | s/[ ][ ]*/ /g | |
960 | s/.*supported targets: *// | |
961 | s/ .*// | |
962 | p'` | |
963 | case "$ld_supported_targets" in | |
964 | elf32-i386) | |
965 | TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" | |
966 | ;; | |
967 | a.out-i386-linux) | |
968 | echo "${UNAME_MACHINE}-pc-linux-gnuaout" | |
969 | exit ;; | |
970 | coff-i386) | |
971 | echo "${UNAME_MACHINE}-pc-linux-gnucoff" | |
972 | exit ;; | |
973 | "") | |
974 | # Either a pre-BFD a.out linker (linux-gnuoldld) or | |
975 | # one that does not give us useful --help. | |
976 | echo "${UNAME_MACHINE}-pc-linux-gnuoldld" | |
977 | exit ;; | |
978 | esac | |
979 | # Determine whether the default compiler is a.out or elf | |
980 | eval $set_cc_for_build | |
981 | sed 's/^ //' << EOF >$dummy.c | |
982 | #include <features.h> | |
983 | #ifdef __ELF__ | |
984 | # ifdef __GLIBC__ | |
985 | # if __GLIBC__ >= 2 | |
986 | LIBC=gnu | |
987 | # else | |
988 | LIBC=gnulibc1 | |
989 | # endif | |
990 | # else | |
991 | LIBC=gnulibc1 | |
992 | # endif | |
993 | #else | |
994 | #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) | |
995 | LIBC=gnu | |
996 | #else | |
997 | LIBC=gnuaout | |
998 | #endif | |
999 | #endif | |
1000 | #ifdef __dietlibc__ | |
1001 | LIBC=dietlibc | |
1002 | #endif | |
1003 | EOF | |
1004 | eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' | |
1005 | /^LIBC/{ | |
1006 | s: ::g | |
1007 | p | |
1008 | }'`" | |
1009 | test x"${LIBC}" != x && { | |
1010 | echo "${UNAME_MACHINE}-pc-linux-${LIBC}" | |
1011 | exit | |
1012 | } | |
1013 | test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } | |
1014 | ;; | |
1050 | echo ${UNAME_MACHINE}-pc-linux-${LIBC} | |
1051 | exit ;; | |
1052 | xtensa*:Linux:*:*) | |
1053 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1054 | exit ;; | |
1015 | 1055 | i*86:DYNIX/ptx:4*:*) |
1016 | 1056 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
1017 | 1057 | # earlier versions are messed up and put the nodename in both |
1019 | 1059 | echo i386-sequent-sysv4 |
1020 | 1060 | exit ;; |
1021 | 1061 | i*86:UNIX_SV:4.2MP:2.*) |
1022 | # Unixware is an offshoot of SVR4, but it has its own version | |
1023 | # number series starting with 2... | |
1024 | # I am not positive that other SVR4 systems won't match this, | |
1062 | # Unixware is an offshoot of SVR4, but it has its own version | |
1063 | # number series starting with 2... | |
1064 | # I am not positive that other SVR4 systems won't match this, | |
1025 | 1065 | # I just have to hope. -- rms. |
1026 | # Use sysv4.2uw... so that sysv4* matches it. | |
1066 | # Use sysv4.2uw... so that sysv4* matches it. | |
1027 | 1067 | echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} |
1028 | 1068 | exit ;; |
1029 | 1069 | i*86:OS/2:*:*) |
1040 | 1080 | i*86:syllable:*:*) |
1041 | 1081 | echo ${UNAME_MACHINE}-pc-syllable |
1042 | 1082 | exit ;; |
1043 | i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) | |
1083 | i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) | |
1044 | 1084 | echo i386-unknown-lynxos${UNAME_RELEASE} |
1045 | 1085 | exit ;; |
1046 | 1086 | i*86:*DOS:*:*) |
1055 | 1095 | fi |
1056 | 1096 | exit ;; |
1057 | 1097 | i*86:*:5:[678]*) |
1058 | # UnixWare 7.x, OpenUNIX and OpenServer 6. | |
1098 | # UnixWare 7.x, OpenUNIX and OpenServer 6. | |
1059 | 1099 | case `/bin/uname -X | grep "^Machine"` in |
1060 | 1100 | *486*) UNAME_MACHINE=i486 ;; |
1061 | 1101 | *Pentium) UNAME_MACHINE=i586 ;; |
1083 | 1123 | exit ;; |
1084 | 1124 | pc:*:*:*) |
1085 | 1125 | # Left here for compatibility: |
1086 | # uname -m prints for DJGPP always 'pc', but it prints nothing about | |
1087 | # the processor, so we play safe by assuming i386. | |
1088 | echo i386-pc-msdosdjgpp | |
1089 | exit ;; | |
1126 | # uname -m prints for DJGPP always 'pc', but it prints nothing about | |
1127 | # the processor, so we play safe by assuming i586. | |
1128 | # Note: whatever this is, it MUST be the same as what config.sub | |
1129 | # prints for the "djgpp" host, or else GDB configure will decide that | |
1130 | # this is a cross-build. | |
1131 | echo i586-pc-msdosdjgpp | |
1132 | exit ;; | |
1090 | 1133 | Intel:Mach:3*:*) |
1091 | 1134 | echo i386-pc-mach3 |
1092 | 1135 | exit ;; |
1121 | 1164 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
1122 | 1165 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; |
1123 | 1166 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |
1124 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | |
1125 | && { echo i486-ncr-sysv4; exit; } ;; | |
1167 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | |
1168 | && { echo i486-ncr-sysv4; exit; } ;; | |
1169 | NCR*:*:4.2:* | MPRAS*:*:4.2:*) | |
1170 | OS_REL='.3' | |
1171 | test -r /etc/.relid \ | |
1172 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` | |
1173 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | |
1174 | && { echo i486-ncr-sysv4.3${OS_REL}; exit; } | |
1175 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ | |
1176 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } | |
1177 | /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ | |
1178 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | |
1126 | 1179 | m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) |
1127 | 1180 | echo m68k-unknown-lynxos${UNAME_RELEASE} |
1128 | 1181 | exit ;; |
1135 | 1188 | rs6000:LynxOS:2.*:*) |
1136 | 1189 | echo rs6000-unknown-lynxos${UNAME_RELEASE} |
1137 | 1190 | exit ;; |
1138 | PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) | |
1191 | PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) | |
1139 | 1192 | echo powerpc-unknown-lynxos${UNAME_RELEASE} |
1140 | 1193 | exit ;; |
1141 | 1194 | SM[BE]S:UNIX_SV:*:*) |
1155 | 1208 | echo ns32k-sni-sysv |
1156 | 1209 | fi |
1157 | 1210 | exit ;; |
1158 | PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort | |
1159 | # says <Richard.M.Bartel@ccMail.Census.GOV> | |
1160 | echo i586-unisys-sysv4 | |
1161 | exit ;; | |
1211 | PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort | |
1212 | # says <Richard.M.Bartel@ccMail.Census.GOV> | |
1213 | echo i586-unisys-sysv4 | |
1214 | exit ;; | |
1162 | 1215 | *:UNIX_System_V:4*:FTX*) |
1163 | 1216 | # From Gerald Hewes <hewes@openmarket.com>. |
1164 | 1217 | # How about differentiating between stratus architectures? -djm |
1184 | 1237 | exit ;; |
1185 | 1238 | R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) |
1186 | 1239 | if [ -d /usr/nec ]; then |
1187 | echo mips-nec-sysv${UNAME_RELEASE} | |
1240 | echo mips-nec-sysv${UNAME_RELEASE} | |
1188 | 1241 | else |
1189 | echo mips-unknown-sysv${UNAME_RELEASE} | |
1190 | fi | |
1191 | exit ;; | |
1242 | echo mips-unknown-sysv${UNAME_RELEASE} | |
1243 | fi | |
1244 | exit ;; | |
1192 | 1245 | BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. |
1193 | 1246 | echo powerpc-be-beos |
1194 | 1247 | exit ;; |
1198 | 1251 | BePC:BeOS:*:*) # BeOS running on Intel PC compatible. |
1199 | 1252 | echo i586-pc-beos |
1200 | 1253 | exit ;; |
1254 | BePC:Haiku:*:*) # Haiku running on Intel PC compatible. | |
1255 | echo i586-pc-haiku | |
1256 | exit ;; | |
1257 | x86_64:Haiku:*:*) | |
1258 | echo x86_64-unknown-haiku | |
1259 | exit ;; | |
1201 | 1260 | SX-4:SUPER-UX:*:*) |
1202 | 1261 | echo sx4-nec-superux${UNAME_RELEASE} |
1203 | 1262 | exit ;; |
1207 | 1266 | SX-6:SUPER-UX:*:*) |
1208 | 1267 | echo sx6-nec-superux${UNAME_RELEASE} |
1209 | 1268 | exit ;; |
1269 | SX-7:SUPER-UX:*:*) | |
1270 | echo sx7-nec-superux${UNAME_RELEASE} | |
1271 | exit ;; | |
1272 | SX-8:SUPER-UX:*:*) | |
1273 | echo sx8-nec-superux${UNAME_RELEASE} | |
1274 | exit ;; | |
1275 | SX-8R:SUPER-UX:*:*) | |
1276 | echo sx8r-nec-superux${UNAME_RELEASE} | |
1277 | exit ;; | |
1278 | SX-ACE:SUPER-UX:*:*) | |
1279 | echo sxace-nec-superux${UNAME_RELEASE} | |
1280 | exit ;; | |
1210 | 1281 | Power*:Rhapsody:*:*) |
1211 | 1282 | echo powerpc-apple-rhapsody${UNAME_RELEASE} |
1212 | 1283 | exit ;; |
1215 | 1286 | exit ;; |
1216 | 1287 | *:Darwin:*:*) |
1217 | 1288 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
1218 | case $UNAME_PROCESSOR in | |
1219 | unknown) UNAME_PROCESSOR=powerpc ;; | |
1220 | esac | |
1289 | eval $set_cc_for_build | |
1290 | if test "$UNAME_PROCESSOR" = unknown ; then | |
1291 | UNAME_PROCESSOR=powerpc | |
1292 | fi | |
1293 | if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then | |
1294 | if [ "$CC_FOR_BUILD" != no_compiler_found ]; then | |
1295 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ | |
1296 | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
1297 | grep IS_64BIT_ARCH >/dev/null | |
1298 | then | |
1299 | case $UNAME_PROCESSOR in | |
1300 | i386) UNAME_PROCESSOR=x86_64 ;; | |
1301 | powerpc) UNAME_PROCESSOR=powerpc64 ;; | |
1302 | esac | |
1303 | fi | |
1304 | fi | |
1305 | elif test "$UNAME_PROCESSOR" = i386 ; then | |
1306 | # Avoid executing cc on OS X 10.9, as it ships with a stub | |
1307 | # that puts up a graphical alert prompting to install | |
1308 | # developer tools. Any system running Mac OS X 10.7 or | |
1309 | # later (Darwin 11 and later) is required to have a 64-bit | |
1310 | # processor. This is not true of the ARM version of Darwin | |
1311 | # that Apple uses in portable devices. | |
1312 | UNAME_PROCESSOR=x86_64 | |
1313 | fi | |
1221 | 1314 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |
1222 | 1315 | exit ;; |
1223 | 1316 | *:procnto*:*:* | *:QNX:[0123456789]*:*) |
1224 | 1317 | UNAME_PROCESSOR=`uname -p` |
1225 | if test "$UNAME_PROCESSOR" = "x86"; then | |
1318 | if test "$UNAME_PROCESSOR" = x86; then | |
1226 | 1319 | UNAME_PROCESSOR=i386 |
1227 | 1320 | UNAME_MACHINE=pc |
1228 | 1321 | fi |
1231 | 1324 | *:QNX:*:4*) |
1232 | 1325 | echo i386-pc-qnx |
1233 | 1326 | exit ;; |
1234 | NSE-?:NONSTOP_KERNEL:*:*) | |
1327 | NEO-?:NONSTOP_KERNEL:*:*) | |
1328 | echo neo-tandem-nsk${UNAME_RELEASE} | |
1329 | exit ;; | |
1330 | NSE-*:NONSTOP_KERNEL:*:*) | |
1235 | 1331 | echo nse-tandem-nsk${UNAME_RELEASE} |
1236 | 1332 | exit ;; |
1237 | 1333 | NSR-?:NONSTOP_KERNEL:*:*) |
1250 | 1346 | # "uname -m" is not consistent, so use $cputype instead. 386 |
1251 | 1347 | # is converted to i386 for consistency with other x86 |
1252 | 1348 | # operating systems. |
1253 | if test "$cputype" = "386"; then | |
1349 | if test "$cputype" = 386; then | |
1254 | 1350 | UNAME_MACHINE=i386 |
1255 | 1351 | else |
1256 | 1352 | UNAME_MACHINE="$cputype" |
1276 | 1372 | echo pdp10-unknown-its |
1277 | 1373 | exit ;; |
1278 | 1374 | SEI:*:*:SEIUX) |
1279 | echo mips-sei-seiux${UNAME_RELEASE} | |
1375 | echo mips-sei-seiux${UNAME_RELEASE} | |
1280 | 1376 | exit ;; |
1281 | 1377 | *:DragonFly:*:*) |
1282 | 1378 | echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` |
1283 | 1379 | exit ;; |
1284 | 1380 | *:*VMS:*:*) |
1285 | UNAME_MACHINE=`(uname -p) 2>/dev/null` | |
1381 | UNAME_MACHINE=`(uname -p) 2>/dev/null` | |
1286 | 1382 | case "${UNAME_MACHINE}" in |
1287 | 1383 | A*) echo alpha-dec-vms ; exit ;; |
1288 | 1384 | I*) echo ia64-dec-vms ; exit ;; |
1292 | 1388 | echo i386-pc-xenix |
1293 | 1389 | exit ;; |
1294 | 1390 | i*86:skyos:*:*) |
1295 | echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' | |
1391 | echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'` | |
1296 | 1392 | exit ;; |
1297 | 1393 | i*86:rdos:*:*) |
1298 | 1394 | echo ${UNAME_MACHINE}-pc-rdos |
1299 | 1395 | exit ;; |
1396 | i*86:AROS:*:*) | |
1397 | echo ${UNAME_MACHINE}-pc-aros | |
1398 | exit ;; | |
1399 | x86_64:VMkernel:*:*) | |
1400 | echo ${UNAME_MACHINE}-unknown-esx | |
1401 | exit ;; | |
1402 | amd64:Isilon\ OneFS:*:*) | |
1403 | echo x86_64-unknown-onefs | |
1404 | exit ;; | |
1300 | 1405 | esac |
1301 | ||
1302 | #echo '(No uname command or uname output not recognized.)' 1>&2 | |
1303 | #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 | |
1304 | ||
1305 | eval $set_cc_for_build | |
1306 | cat >$dummy.c <<EOF | |
1307 | #ifdef _SEQUENT_ | |
1308 | # include <sys/types.h> | |
1309 | # include <sys/utsname.h> | |
1310 | #endif | |
1311 | main () | |
1312 | { | |
1313 | #if defined (sony) | |
1314 | #if defined (MIPSEB) | |
1315 | /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, | |
1316 | I don't know.... */ | |
1317 | printf ("mips-sony-bsd\n"); exit (0); | |
1318 | #else | |
1319 | #include <sys/param.h> | |
1320 | printf ("m68k-sony-newsos%s\n", | |
1321 | #ifdef NEWSOS4 | |
1322 | "4" | |
1323 | #else | |
1324 | "" | |
1325 | #endif | |
1326 | ); exit (0); | |
1327 | #endif | |
1328 | #endif | |
1329 | ||
1330 | #if defined (__arm) && defined (__acorn) && defined (__unix) | |
1331 | printf ("arm-acorn-riscix\n"); exit (0); | |
1332 | #endif | |
1333 | ||
1334 | #if defined (hp300) && !defined (hpux) | |
1335 | printf ("m68k-hp-bsd\n"); exit (0); | |
1336 | #endif | |
1337 | ||
1338 | #if defined (NeXT) | |
1339 | #if !defined (__ARCHITECTURE__) | |
1340 | #define __ARCHITECTURE__ "m68k" | |
1341 | #endif | |
1342 | int version; | |
1343 | version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; | |
1344 | if (version < 4) | |
1345 | printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); | |
1346 | else | |
1347 | printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); | |
1348 | exit (0); | |
1349 | #endif | |
1350 | ||
1351 | #if defined (MULTIMAX) || defined (n16) | |
1352 | #if defined (UMAXV) | |
1353 | printf ("ns32k-encore-sysv\n"); exit (0); | |
1354 | #else | |
1355 | #if defined (CMU) | |
1356 | printf ("ns32k-encore-mach\n"); exit (0); | |
1357 | #else | |
1358 | printf ("ns32k-encore-bsd\n"); exit (0); | |
1359 | #endif | |
1360 | #endif | |
1361 | #endif | |
1362 | ||
1363 | #if defined (__386BSD__) | |
1364 | printf ("i386-pc-bsd\n"); exit (0); | |
1365 | #endif | |
1366 | ||
1367 | #if defined (sequent) | |
1368 | #if defined (i386) | |
1369 | printf ("i386-sequent-dynix\n"); exit (0); | |
1370 | #endif | |
1371 | #if defined (ns32000) | |
1372 | printf ("ns32k-sequent-dynix\n"); exit (0); | |
1373 | #endif | |
1374 | #endif | |
1375 | ||
1376 | #if defined (_SEQUENT_) | |
1377 | struct utsname un; | |
1378 | ||
1379 | uname(&un); | |
1380 | ||
1381 | if (strncmp(un.version, "V2", 2) == 0) { | |
1382 | printf ("i386-sequent-ptx2\n"); exit (0); | |
1383 | } | |
1384 | if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ | |
1385 | printf ("i386-sequent-ptx1\n"); exit (0); | |
1386 | } | |
1387 | printf ("i386-sequent-ptx\n"); exit (0); | |
1388 | ||
1389 | #endif | |
1390 | ||
1391 | #if defined (vax) | |
1392 | # if !defined (ultrix) | |
1393 | # include <sys/param.h> | |
1394 | # if defined (BSD) | |
1395 | # if BSD == 43 | |
1396 | printf ("vax-dec-bsd4.3\n"); exit (0); | |
1397 | # else | |
1398 | # if BSD == 199006 | |
1399 | printf ("vax-dec-bsd4.3reno\n"); exit (0); | |
1400 | # else | |
1401 | printf ("vax-dec-bsd\n"); exit (0); | |
1402 | # endif | |
1403 | # endif | |
1404 | # else | |
1405 | printf ("vax-dec-bsd\n"); exit (0); | |
1406 | # endif | |
1407 | # else | |
1408 | printf ("vax-dec-ultrix\n"); exit (0); | |
1409 | # endif | |
1410 | #endif | |
1411 | ||
1412 | #if defined (alliant) && defined (i860) | |
1413 | printf ("i860-alliant-bsd\n"); exit (0); | |
1414 | #endif | |
1415 | ||
1416 | exit (1); | |
1417 | } | |
1418 | EOF | |
1419 | ||
1420 | $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && | |
1421 | { echo "$SYSTEM_NAME"; exit; } | |
1422 | ||
1423 | # Apollos put the system type in the environment. | |
1424 | ||
1425 | test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } | |
1426 | ||
1427 | # Convex versions that predate uname can use getsysinfo(1) | |
1428 | ||
1429 | if [ -x /usr/convex/getsysinfo ] | |
1430 | then | |
1431 | case `getsysinfo -f cpu_type` in | |
1432 | c1*) | |
1433 | echo c1-convex-bsd | |
1434 | exit ;; | |
1435 | c2*) | |
1436 | if getsysinfo -f scalar_acc | |
1437 | then echo c32-convex-bsd | |
1438 | else echo c2-convex-bsd | |
1439 | fi | |
1440 | exit ;; | |
1441 | c34*) | |
1442 | echo c34-convex-bsd | |
1443 | exit ;; | |
1444 | c38*) | |
1445 | echo c38-convex-bsd | |
1446 | exit ;; | |
1447 | c4*) | |
1448 | echo c4-convex-bsd | |
1449 | exit ;; | |
1450 | esac | |
1451 | fi | |
1452 | 1406 | |
1453 | 1407 | cat >&2 <<EOF |
1454 | 1408 | $0: unable to guess system type |
1457 | 1411 | the operating system you are using. It is advised that you |
1458 | 1412 | download the most up to date version of the config scripts from |
1459 | 1413 | |
1460 | http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess | |
1414 | http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess | |
1461 | 1415 | and |
1462 | http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub | |
1416 | http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub | |
1463 | 1417 | |
1464 | 1418 | If the version you run ($0) is already up to date, please |
1465 | 1419 | send the following data and any information you think might be |
0 | 0 | #! /bin/sh |
1 | 1 | # Configuration validation subroutine script. |
2 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, | |
4 | # Inc. | |
5 | ||
6 | timestamp='2006-07-02' | |
7 | ||
8 | # This file is (in principle) common to ALL GNU software. | |
9 | # The presence of a machine in this file suggests that SOME GNU software | |
10 | # can handle that machine. It does not imply ALL GNU software can. | |
11 | # | |
12 | # This file is free software; you can redistribute it and/or modify | |
13 | # it under the terms of the GNU General Public License as published by | |
14 | # the Free Software Foundation; either version 2 of the License, or | |
2 | # Copyright 1992-2016 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2016-03-30' | |
5 | ||
6 | # This file is free software; you can redistribute it and/or modify it | |
7 | # under the terms of the GNU General Public License as published by | |
8 | # the Free Software Foundation; either version 3 of the License, or | |
15 | 9 | # (at your option) any later version. |
16 | 10 | # |
17 | # This program is distributed in the hope that it will be useful, | |
18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 | # GNU General Public License for more details. | |
11 | # This program is distributed in the hope that it will be useful, but | |
12 | # WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 | # General Public License for more details. | |
21 | 15 | # |
22 | 16 | # You should have received a copy of the GNU General Public License |
23 | # along with this program; if not, write to the Free Software | |
24 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | |
25 | # 02110-1301, USA. | |
17 | # along with this program; if not, see <http://www.gnu.org/licenses/>. | |
26 | 18 | # |
27 | 19 | # As a special exception to the GNU General Public License, if you |
28 | 20 | # distribute this file as part of a program that contains a |
29 | 21 | # configuration script generated by Autoconf, you may include it under |
30 | # the same distribution terms that you use for the rest of that program. | |
31 | ||
32 | ||
33 | # Please send patches to <config-patches@gnu.org>. Submit a context | |
34 | # diff and a properly formatted ChangeLog entry. | |
22 | # the same distribution terms that you use for the rest of that | |
23 | # program. This Exception is an additional permission under section 7 | |
24 | # of the GNU General Public License, version 3 ("GPLv3"). | |
25 | ||
26 | ||
27 | # Please send patches to <config-patches@gnu.org>. | |
35 | 28 | # |
36 | 29 | # Configuration subroutine to validate and canonicalize a configuration type. |
37 | 30 | # Supply the specified configuration type as an argument. |
38 | 31 | # If it is invalid, we print an error message on stderr and exit with code 1. |
39 | 32 | # Otherwise, we print the canonical config type on stdout and succeed. |
33 | ||
34 | # You can get the latest version of this script from: | |
35 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub | |
40 | 36 | |
41 | 37 | # This file is supposed to be the same for all GNU packages |
42 | 38 | # and recognize all the CPU types, system types and aliases |
56 | 52 | me=`echo "$0" | sed -e 's,.*/,,'` |
57 | 53 | |
58 | 54 | usage="\ |
59 | Usage: $0 [OPTION] CPU-MFR-OPSYS | |
60 | $0 [OPTION] ALIAS | |
55 | Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS | |
61 | 56 | |
62 | 57 | Canonicalize a configuration name. |
63 | 58 | |
71 | 66 | version="\ |
72 | 67 | GNU config.sub ($timestamp) |
73 | 68 | |
74 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 | |
75 | Free Software Foundation, Inc. | |
69 | Copyright 1992-2016 Free Software Foundation, Inc. | |
76 | 70 | |
77 | 71 | This is free software; see the source for copying conditions. There is NO |
78 | 72 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
119 | 113 | # Here we must recognize all the valid KERNEL-OS combinations. |
120 | 114 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
121 | 115 | case $maybe_os in |
122 | nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ | |
123 | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ | |
116 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ | |
117 | linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ | |
118 | knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ | |
119 | kopensolaris*-gnu* | \ | |
124 | 120 | storm-chaos* | os2-emx* | rtmk-nova*) |
125 | 121 | os=-$maybe_os |
126 | 122 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
123 | ;; | |
124 | android-linux) | |
125 | os=-linux-android | |
126 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown | |
127 | 127 | ;; |
128 | 128 | *) |
129 | 129 | basic_machine=`echo $1 | sed 's/-[^-]*$//'` |
147 | 147 | -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
148 | 148 | -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
149 | 149 | -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
150 | -apple | -axis | -knuth | -cray) | |
150 | -apple | -axis | -knuth | -cray | -microblaze*) | |
151 | 151 | os= |
152 | 152 | basic_machine=$1 |
153 | ;; | |
154 | -bluegene*) | |
155 | os=-cnk | |
153 | 156 | ;; |
154 | 157 | -sim | -cisco | -oki | -wec | -winbond) |
155 | 158 | os= |
165 | 168 | os=-chorusos |
166 | 169 | basic_machine=$1 |
167 | 170 | ;; |
168 | -chorusrdb) | |
169 | os=-chorusrdb | |
171 | -chorusrdb) | |
172 | os=-chorusrdb | |
170 | 173 | basic_machine=$1 |
171 | ;; | |
174 | ;; | |
172 | 175 | -hiux*) |
173 | 176 | os=-hiuxwe2 |
174 | 177 | ;; |
212 | 215 | ;; |
213 | 216 | -isc*) |
214 | 217 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
218 | ;; | |
219 | -lynx*178) | |
220 | os=-lynxos178 | |
221 | ;; | |
222 | -lynx*5) | |
223 | os=-lynxos5 | |
215 | 224 | ;; |
216 | 225 | -lynx*) |
217 | 226 | os=-lynxos |
237 | 246 | # Some are omitted here because they have special meanings below. |
238 | 247 | 1750a | 580 \ |
239 | 248 | | a29k \ |
249 | | aarch64 | aarch64_be \ | |
240 | 250 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
241 | 251 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
242 | 252 | | am33_2.0 \ |
243 | | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | |
253 | | arc | arceb \ | |
254 | | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | |
255 | | avr | avr32 \ | |
256 | | ba \ | |
257 | | be32 | be64 \ | |
244 | 258 | | bfin \ |
245 | | c4x | clipper \ | |
259 | | c4x | c8051 | clipper \ | |
246 | 260 | | d10v | d30v | dlx | dsp16xx \ |
247 | | fr30 | frv \ | |
261 | | e2k | epiphany \ | |
262 | | fido | fr30 | frv | ft32 \ | |
248 | 263 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
264 | | hexagon \ | |
249 | 265 | | i370 | i860 | i960 | ia64 \ |
250 | 266 | | ip2k | iq2000 \ |
267 | | k1om \ | |
268 | | le32 | le64 \ | |
269 | | lm32 \ | |
251 | 270 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
252 | | maxq | mb | microblaze | mcore \ | |
271 | | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | |
253 | 272 | | mips | mipsbe | mipseb | mipsel | mipsle \ |
254 | 273 | | mips16 \ |
255 | 274 | | mips64 | mips64el \ |
275 | | mips64octeon | mips64octeonel \ | |
276 | | mips64orion | mips64orionel \ | |
277 | | mips64r5900 | mips64r5900el \ | |
256 | 278 | | mips64vr | mips64vrel \ |
257 | | mips64orion | mips64orionel \ | |
258 | 279 | | mips64vr4100 | mips64vr4100el \ |
259 | 280 | | mips64vr4300 | mips64vr4300el \ |
260 | 281 | | mips64vr5000 | mips64vr5000el \ |
261 | 282 | | mips64vr5900 | mips64vr5900el \ |
262 | 283 | | mipsisa32 | mipsisa32el \ |
263 | 284 | | mipsisa32r2 | mipsisa32r2el \ |
285 | | mipsisa32r6 | mipsisa32r6el \ | |
264 | 286 | | mipsisa64 | mipsisa64el \ |
265 | 287 | | mipsisa64r2 | mipsisa64r2el \ |
288 | | mipsisa64r6 | mipsisa64r6el \ | |
266 | 289 | | mipsisa64sb1 | mipsisa64sb1el \ |
267 | 290 | | mipsisa64sr71k | mipsisa64sr71kel \ |
291 | | mipsr5900 | mipsr5900el \ | |
268 | 292 | | mipstx39 | mipstx39el \ |
269 | 293 | | mn10200 | mn10300 \ |
294 | | moxie \ | |
270 | 295 | | mt \ |
271 | 296 | | msp430 \ |
272 | | nios | nios2 \ | |
297 | | nds32 | nds32le | nds32be \ | |
298 | | nios | nios2 | nios2eb | nios2el \ | |
273 | 299 | | ns16k | ns32k \ |
274 | | or32 \ | |
300 | | open8 | or1k | or1knd | or32 \ | |
275 | 301 | | pdp10 | pdp11 | pj | pjl \ |
276 | | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | |
302 | | powerpc | powerpc64 | powerpc64le | powerpcle \ | |
277 | 303 | | pyramid \ |
278 | | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | |
304 | | riscv32 | riscv64 \ | |
305 | | rl78 | rx \ | |
306 | | score \ | |
307 | | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | |
279 | 308 | | sh64 | sh64le \ |
280 | 309 | | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
281 | 310 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
282 | | spu | strongarm \ | |
283 | | tahoe | thumb | tic4x | tic80 | tron \ | |
284 | | v850 | v850e \ | |
311 | | spu \ | |
312 | | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | |
313 | | ubicom32 \ | |
314 | | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | |
315 | | visium \ | |
285 | 316 | | we32k \ |
286 | | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ | |
287 | | z8k) | |
317 | | x86 | xc16x | xstormy16 | xtensa \ | |
318 | | z8k | z80) | |
288 | 319 | basic_machine=$basic_machine-unknown |
289 | 320 | ;; |
290 | m6811 | m68hc11 | m6812 | m68hc12) | |
291 | # Motorola 68HC11/12. | |
321 | c54x) | |
322 | basic_machine=tic54x-unknown | |
323 | ;; | |
324 | c55x) | |
325 | basic_machine=tic55x-unknown | |
326 | ;; | |
327 | c6x) | |
328 | basic_machine=tic6x-unknown | |
329 | ;; | |
330 | leon|leon[3-9]) | |
331 | basic_machine=sparc-$basic_machine | |
332 | ;; | |
333 | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) | |
292 | 334 | basic_machine=$basic_machine-unknown |
293 | 335 | os=-none |
294 | 336 | ;; |
296 | 338 | ;; |
297 | 339 | ms1) |
298 | 340 | basic_machine=mt-unknown |
341 | ;; | |
342 | ||
343 | strongarm | thumb | xscale) | |
344 | basic_machine=arm-unknown | |
345 | ;; | |
346 | xgate) | |
347 | basic_machine=$basic_machine-unknown | |
348 | os=-none | |
349 | ;; | |
350 | xscaleeb) | |
351 | basic_machine=armeb-unknown | |
352 | ;; | |
353 | ||
354 | xscaleel) | |
355 | basic_machine=armel-unknown | |
299 | 356 | ;; |
300 | 357 | |
301 | 358 | # We use `pc' rather than `unknown' |
312 | 369 | # Recognize the basic CPU types with company name. |
313 | 370 | 580-* \ |
314 | 371 | | a29k-* \ |
372 | | aarch64-* | aarch64_be-* \ | |
315 | 373 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
316 | 374 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
317 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | |
375 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | |
318 | 376 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
319 | 377 | | avr-* | avr32-* \ |
378 | | ba-* \ | |
379 | | be32-* | be64-* \ | |
320 | 380 | | bfin-* | bs2000-* \ |
321 | | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | |
322 | | clipper-* | craynv-* | cydra-* \ | |
381 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ | |
382 | | c8051-* | clipper-* | craynv-* | cydra-* \ | |
323 | 383 | | d10v-* | d30v-* | dlx-* \ |
324 | | elxsi-* \ | |
325 | | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ | |
384 | | e2k-* | elxsi-* \ | |
385 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | |
326 | 386 | | h8300-* | h8500-* \ |
327 | 387 | | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
388 | | hexagon-* \ | |
328 | 389 | | i*86-* | i860-* | i960-* | ia64-* \ |
329 | 390 | | ip2k-* | iq2000-* \ |
391 | | k1om-* \ | |
392 | | le32-* | le64-* \ | |
393 | | lm32-* \ | |
330 | 394 | | m32c-* | m32r-* | m32rle-* \ |
331 | 395 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
332 | | m88110-* | m88k-* | maxq-* | mcore-* \ | |
396 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | |
397 | | microblaze-* | microblazeel-* \ | |
333 | 398 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
334 | 399 | | mips16-* \ |
335 | 400 | | mips64-* | mips64el-* \ |
401 | | mips64octeon-* | mips64octeonel-* \ | |
402 | | mips64orion-* | mips64orionel-* \ | |
403 | | mips64r5900-* | mips64r5900el-* \ | |
336 | 404 | | mips64vr-* | mips64vrel-* \ |
337 | | mips64orion-* | mips64orionel-* \ | |
338 | 405 | | mips64vr4100-* | mips64vr4100el-* \ |
339 | 406 | | mips64vr4300-* | mips64vr4300el-* \ |
340 | 407 | | mips64vr5000-* | mips64vr5000el-* \ |
341 | 408 | | mips64vr5900-* | mips64vr5900el-* \ |
342 | 409 | | mipsisa32-* | mipsisa32el-* \ |
343 | 410 | | mipsisa32r2-* | mipsisa32r2el-* \ |
411 | | mipsisa32r6-* | mipsisa32r6el-* \ | |
344 | 412 | | mipsisa64-* | mipsisa64el-* \ |
345 | 413 | | mipsisa64r2-* | mipsisa64r2el-* \ |
414 | | mipsisa64r6-* | mipsisa64r6el-* \ | |
346 | 415 | | mipsisa64sb1-* | mipsisa64sb1el-* \ |
347 | 416 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
417 | | mipsr5900-* | mipsr5900el-* \ | |
348 | 418 | | mipstx39-* | mipstx39el-* \ |
349 | 419 | | mmix-* \ |
350 | 420 | | mt-* \ |
351 | 421 | | msp430-* \ |
352 | | nios-* | nios2-* \ | |
422 | | nds32-* | nds32le-* | nds32be-* \ | |
423 | | nios-* | nios2-* | nios2eb-* | nios2el-* \ | |
353 | 424 | | none-* | np1-* | ns16k-* | ns32k-* \ |
425 | | open8-* \ | |
426 | | or1k*-* \ | |
354 | 427 | | orion-* \ |
355 | 428 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
356 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | |
429 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | |
357 | 430 | | pyramid-* \ |
358 | | romp-* | rs6000-* \ | |
359 | | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | |
431 | | riscv32-* | riscv64-* \ | |
432 | | rl78-* | romp-* | rs6000-* | rx-* \ | |
433 | | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | |
360 | 434 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
361 | 435 | | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
362 | 436 | | sparclite-* \ |
363 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | |
364 | | tahoe-* | thumb-* \ | |
437 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \ | |
438 | | tahoe-* \ | |
365 | 439 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
440 | | tile*-* \ | |
366 | 441 | | tron-* \ |
367 | | v850-* | v850e-* | vax-* \ | |
442 | | ubicom32-* \ | |
443 | | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | |
444 | | vax-* \ | |
445 | | visium-* \ | |
368 | 446 | | we32k-* \ |
369 | | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ | |
370 | | xstormy16-* | xtensa-* \ | |
447 | | x86-* | x86_64-* | xc16x-* | xps100-* \ | |
448 | | xstormy16-* | xtensa*-* \ | |
371 | 449 | | ymp-* \ |
372 | | z8k-*) | |
450 | | z8k-* | z80-*) | |
451 | ;; | |
452 | # Recognize the basic CPU types without company name, with glob match. | |
453 | xtensa*) | |
454 | basic_machine=$basic_machine-unknown | |
373 | 455 | ;; |
374 | 456 | # Recognize the various machine names and aliases which stand |
375 | 457 | # for a CPU type and a company and sometimes even an OS. |
387 | 469 | basic_machine=a29k-amd |
388 | 470 | os=-udi |
389 | 471 | ;; |
390 | abacus) | |
472 | abacus) | |
391 | 473 | basic_machine=abacus-unknown |
392 | 474 | ;; |
393 | 475 | adobe68k) |
433 | 515 | basic_machine=m68k-apollo |
434 | 516 | os=-bsd |
435 | 517 | ;; |
518 | aros) | |
519 | basic_machine=i386-pc | |
520 | os=-aros | |
521 | ;; | |
522 | asmjs) | |
523 | basic_machine=asmjs-unknown | |
524 | ;; | |
436 | 525 | aux) |
437 | 526 | basic_machine=m68k-apple |
438 | 527 | os=-aux |
441 | 530 | basic_machine=ns32k-sequent |
442 | 531 | os=-dynix |
443 | 532 | ;; |
533 | blackfin) | |
534 | basic_machine=bfin-unknown | |
535 | os=-linux | |
536 | ;; | |
537 | blackfin-*) | |
538 | basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` | |
539 | os=-linux | |
540 | ;; | |
541 | bluegene*) | |
542 | basic_machine=powerpc-ibm | |
543 | os=-cnk | |
544 | ;; | |
545 | c54x-*) | |
546 | basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
547 | ;; | |
548 | c55x-*) | |
549 | basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
550 | ;; | |
551 | c6x-*) | |
552 | basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
553 | ;; | |
444 | 554 | c90) |
445 | 555 | basic_machine=c90-cray |
446 | 556 | os=-unicos |
447 | 557 | ;; |
558 | cegcc) | |
559 | basic_machine=arm-unknown | |
560 | os=-cegcc | |
561 | ;; | |
448 | 562 | convex-c1) |
449 | 563 | basic_machine=c1-convex |
450 | 564 | os=-bsd |
473 | 587 | basic_machine=craynv-cray |
474 | 588 | os=-unicosmp |
475 | 589 | ;; |
476 | cr16c) | |
477 | basic_machine=cr16c-unknown | |
590 | cr16 | cr16-*) | |
591 | basic_machine=cr16-unknown | |
478 | 592 | os=-elf |
479 | 593 | ;; |
480 | 594 | crds | unos) |
512 | 626 | basic_machine=m88k-motorola |
513 | 627 | os=-sysv3 |
514 | 628 | ;; |
629 | dicos) | |
630 | basic_machine=i686-pc | |
631 | os=-dicos | |
632 | ;; | |
515 | 633 | djgpp) |
516 | 634 | basic_machine=i586-pc |
517 | 635 | os=-msdosdjgpp |
627 | 745 | i370-ibm* | ibm*) |
628 | 746 | basic_machine=i370-ibm |
629 | 747 | ;; |
630 | # I'm not sure what "Sysv32" means. Should this be sysv3.2? | |
631 | 748 | i*86v32) |
632 | 749 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
633 | 750 | os=-sysv32 |
666 | 783 | basic_machine=m68k-isi |
667 | 784 | os=-sysv |
668 | 785 | ;; |
786 | leon-*|leon[3-9]-*) | |
787 | basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'` | |
788 | ;; | |
789 | m68knommu) | |
790 | basic_machine=m68k-unknown | |
791 | os=-linux | |
792 | ;; | |
793 | m68knommu-*) | |
794 | basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` | |
795 | os=-linux | |
796 | ;; | |
669 | 797 | m88k-omron*) |
670 | 798 | basic_machine=m88k-omron |
671 | 799 | ;; |
677 | 805 | basic_machine=ns32k-utek |
678 | 806 | os=-sysv |
679 | 807 | ;; |
808 | microblaze*) | |
809 | basic_machine=microblaze-xilinx | |
810 | ;; | |
811 | mingw64) | |
812 | basic_machine=x86_64-pc | |
813 | os=-mingw64 | |
814 | ;; | |
680 | 815 | mingw32) |
681 | basic_machine=i386-pc | |
816 | basic_machine=i686-pc | |
682 | 817 | os=-mingw32 |
818 | ;; | |
819 | mingw32ce) | |
820 | basic_machine=arm-unknown | |
821 | os=-mingw32ce | |
683 | 822 | ;; |
684 | 823 | miniframe) |
685 | 824 | basic_machine=m68000-convergent |
702 | 841 | basic_machine=powerpc-unknown |
703 | 842 | os=-morphos |
704 | 843 | ;; |
844 | moxiebox) | |
845 | basic_machine=moxie-unknown | |
846 | os=-moxiebox | |
847 | ;; | |
705 | 848 | msdos) |
706 | 849 | basic_machine=i386-pc |
707 | 850 | os=-msdos |
709 | 852 | ms1-*) |
710 | 853 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` |
711 | 854 | ;; |
855 | msys) | |
856 | basic_machine=i686-pc | |
857 | os=-msys | |
858 | ;; | |
712 | 859 | mvs) |
713 | 860 | basic_machine=i370-ibm |
714 | 861 | os=-mvs |
862 | ;; | |
863 | nacl) | |
864 | basic_machine=le32-unknown | |
865 | os=-nacl | |
715 | 866 | ;; |
716 | 867 | ncr3000) |
717 | 868 | basic_machine=i486-ncr |
777 | 928 | np1) |
778 | 929 | basic_machine=np1-gould |
779 | 930 | ;; |
931 | neo-tandem) | |
932 | basic_machine=neo-tandem | |
933 | ;; | |
934 | nse-tandem) | |
935 | basic_machine=nse-tandem | |
936 | ;; | |
780 | 937 | nsr-tandem) |
781 | 938 | basic_machine=nsr-tandem |
782 | 939 | ;; |
807 | 964 | basic_machine=i860-intel |
808 | 965 | os=-osf |
809 | 966 | ;; |
967 | parisc) | |
968 | basic_machine=hppa-unknown | |
969 | os=-linux | |
970 | ;; | |
971 | parisc-*) | |
972 | basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` | |
973 | os=-linux | |
974 | ;; | |
810 | 975 | pbd) |
811 | 976 | basic_machine=sparc-tti |
812 | 977 | ;; |
851 | 1016 | ;; |
852 | 1017 | power) basic_machine=power-ibm |
853 | 1018 | ;; |
854 | ppc) basic_machine=powerpc-unknown | |
855 | ;; | |
856 | ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1019 | ppc | ppcbe) basic_machine=powerpc-unknown | |
1020 | ;; | |
1021 | ppc-* | ppcbe-*) | |
1022 | basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | |
857 | 1023 | ;; |
858 | 1024 | ppcle | powerpclittle | ppc-le | powerpc-little) |
859 | 1025 | basic_machine=powerpcle-unknown |
878 | 1044 | basic_machine=i586-unknown |
879 | 1045 | os=-pw32 |
880 | 1046 | ;; |
881 | rdos) | |
1047 | rdos | rdos64) | |
1048 | basic_machine=x86_64-pc | |
1049 | os=-rdos | |
1050 | ;; | |
1051 | rdos32) | |
882 | 1052 | basic_machine=i386-pc |
883 | 1053 | os=-rdos |
884 | 1054 | ;; |
908 | 1078 | sb1el) |
909 | 1079 | basic_machine=mipsisa64sb1el-unknown |
910 | 1080 | ;; |
1081 | sde) | |
1082 | basic_machine=mipsisa32-sde | |
1083 | os=-elf | |
1084 | ;; | |
911 | 1085 | sei) |
912 | 1086 | basic_machine=mips-sei |
913 | 1087 | os=-seiux |
919 | 1093 | basic_machine=sh-hitachi |
920 | 1094 | os=-hms |
921 | 1095 | ;; |
1096 | sh5el) | |
1097 | basic_machine=sh5le-unknown | |
1098 | ;; | |
922 | 1099 | sh64) |
923 | 1100 | basic_machine=sh64-unknown |
924 | 1101 | ;; |
940 | 1117 | basic_machine=i860-stratus |
941 | 1118 | os=-sysv4 |
942 | 1119 | ;; |
1120 | strongarm-* | thumb-*) | |
1121 | basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1122 | ;; | |
943 | 1123 | sun2) |
944 | 1124 | basic_machine=m68000-sun |
945 | 1125 | ;; |
996 | 1176 | basic_machine=t90-cray |
997 | 1177 | os=-unicos |
998 | 1178 | ;; |
999 | tic54x | c54x*) | |
1000 | basic_machine=tic54x-unknown | |
1001 | os=-coff | |
1002 | ;; | |
1003 | tic55x | c55x*) | |
1004 | basic_machine=tic55x-unknown | |
1005 | os=-coff | |
1006 | ;; | |
1007 | tic6x | c6x*) | |
1008 | basic_machine=tic6x-unknown | |
1009 | os=-coff | |
1179 | tile*) | |
1180 | basic_machine=$basic_machine-unknown | |
1181 | os=-linux-gnu | |
1010 | 1182 | ;; |
1011 | 1183 | tx39) |
1012 | 1184 | basic_machine=mipstx39-unknown |
1075 | 1247 | xps | xps100) |
1076 | 1248 | basic_machine=xps100-honeywell |
1077 | 1249 | ;; |
1250 | xscale-* | xscalee[bl]-*) | |
1251 | basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` | |
1252 | ;; | |
1078 | 1253 | ymp) |
1079 | 1254 | basic_machine=ymp-cray |
1080 | 1255 | os=-unicos |
1081 | 1256 | ;; |
1082 | 1257 | z8k-*-coff) |
1083 | 1258 | basic_machine=z8k-unknown |
1259 | os=-sim | |
1260 | ;; | |
1261 | z80-*-coff) | |
1262 | basic_machine=z80-unknown | |
1084 | 1263 | os=-sim |
1085 | 1264 | ;; |
1086 | 1265 | none) |
1121 | 1300 | we32k) |
1122 | 1301 | basic_machine=we32k-att |
1123 | 1302 | ;; |
1124 | sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) | |
1303 | sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) | |
1125 | 1304 | basic_machine=sh-unknown |
1126 | 1305 | ;; |
1127 | 1306 | sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) |
1168 | 1347 | if [ x"$os" != x"" ] |
1169 | 1348 | then |
1170 | 1349 | case $os in |
1171 | # First match some system type aliases | |
1172 | # that might get confused with valid system types. | |
1350 | # First match some system type aliases | |
1351 | # that might get confused with valid system types. | |
1173 | 1352 | # -solaris* is a basic system type, with this one exception. |
1353 | -auroraux) | |
1354 | os=-auroraux | |
1355 | ;; | |
1174 | 1356 | -solaris1 | -solaris1.*) |
1175 | 1357 | os=`echo $os | sed -e 's|solaris1|sunos4|'` |
1176 | 1358 | ;; |
1191 | 1373 | # Each alternative MUST END IN A *, to match a version number. |
1192 | 1374 | # -sysv* is not here because it comes later, after sysvr4. |
1193 | 1375 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1194 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | |
1195 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | |
1376 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | |
1377 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | |
1378 | | -sym* | -kopensolaris* | -plan9* \ | |
1196 | 1379 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
1197 | | -aos* \ | |
1380 | | -aos* | -aros* | -cloudabi* | -sortix* \ | |
1198 | 1381 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1199 | 1382 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1200 | 1383 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
1201 | | -openbsd* | -solidbsd* \ | |
1384 | | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \ | |
1202 | 1385 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1203 | 1386 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1204 | 1387 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1205 | 1388 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1206 | | -chorusos* | -chorusrdb* \ | |
1207 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | |
1208 | | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | |
1209 | | -uxpv* | -beos* | -mpeix* | -udk* \ | |
1389 | | -chorusos* | -chorusrdb* | -cegcc* \ | |
1390 | | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | |
1391 | | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | |
1392 | | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | |
1393 | | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | |
1210 | 1394 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1211 | 1395 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1212 | 1396 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1213 | 1397 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1214 | 1398 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1215 | 1399 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1216 | | -skyos* | -haiku* | -rdos* | -toppers*) | |
1400 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ | |
1401 | | -onefs* | -tirtos*) | |
1217 | 1402 | # Remember, each alternative MUST END IN *, to match a version number. |
1218 | 1403 | ;; |
1219 | 1404 | -qnx*) |
1252 | 1437 | -opened*) |
1253 | 1438 | os=-openedition |
1254 | 1439 | ;; |
1255 | -os400*) | |
1440 | -os400*) | |
1256 | 1441 | os=-os400 |
1257 | 1442 | ;; |
1258 | 1443 | -wince*) |
1301 | 1486 | -sinix*) |
1302 | 1487 | os=-sysv4 |
1303 | 1488 | ;; |
1304 | -tpf*) | |
1489 | -tpf*) | |
1305 | 1490 | os=-tpf |
1306 | 1491 | ;; |
1307 | 1492 | -triton*) |
1337 | 1522 | -aros*) |
1338 | 1523 | os=-aros |
1339 | 1524 | ;; |
1340 | -kaos*) | |
1341 | os=-kaos | |
1342 | ;; | |
1343 | 1525 | -zvmoe) |
1344 | 1526 | os=-zvmoe |
1527 | ;; | |
1528 | -dicos*) | |
1529 | os=-dicos | |
1530 | ;; | |
1531 | -nacl*) | |
1532 | ;; | |
1533 | -ios) | |
1345 | 1534 | ;; |
1346 | 1535 | -none) |
1347 | 1536 | ;; |
1365 | 1554 | # system, and we'll never get to this point. |
1366 | 1555 | |
1367 | 1556 | case $basic_machine in |
1368 | spu-*) | |
1557 | score-*) | |
1558 | os=-elf | |
1559 | ;; | |
1560 | spu-*) | |
1369 | 1561 | os=-elf |
1370 | 1562 | ;; |
1371 | 1563 | *-acorn) |
1377 | 1569 | arm*-semi) |
1378 | 1570 | os=-aout |
1379 | 1571 | ;; |
1380 | c4x-* | tic4x-*) | |
1381 | os=-coff | |
1572 | c4x-* | tic4x-*) | |
1573 | os=-coff | |
1574 | ;; | |
1575 | c8051-*) | |
1576 | os=-elf | |
1577 | ;; | |
1578 | hexagon-*) | |
1579 | os=-elf | |
1580 | ;; | |
1581 | tic54x-*) | |
1582 | os=-coff | |
1583 | ;; | |
1584 | tic55x-*) | |
1585 | os=-coff | |
1586 | ;; | |
1587 | tic6x-*) | |
1588 | os=-coff | |
1382 | 1589 | ;; |
1383 | 1590 | # This must come before the *-dec entry. |
1384 | 1591 | pdp10-*) |
1398 | 1605 | ;; |
1399 | 1606 | m68000-sun) |
1400 | 1607 | os=-sunos3 |
1401 | # This also exists in the configure program, but was not the | |
1402 | # default. | |
1403 | # os=-sunos4 | |
1404 | 1608 | ;; |
1405 | 1609 | m68*-cisco) |
1406 | 1610 | os=-aout |
1407 | 1611 | ;; |
1612 | mep-*) | |
1613 | os=-elf | |
1614 | ;; | |
1408 | 1615 | mips*-cisco) |
1409 | 1616 | os=-elf |
1410 | 1617 | ;; |
1429 | 1636 | *-ibm) |
1430 | 1637 | os=-aix |
1431 | 1638 | ;; |
1432 | *-knuth) | |
1639 | *-knuth) | |
1433 | 1640 | os=-mmixware |
1434 | 1641 | ;; |
1435 | 1642 | *-wec) |
1534 | 1741 | -sunos*) |
1535 | 1742 | vendor=sun |
1536 | 1743 | ;; |
1537 | -aix*) | |
1744 | -cnk*|-aix*) | |
1538 | 1745 | vendor=ibm |
1539 | 1746 | ;; |
1540 | 1747 | -beos*) |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.61. | |
2 | # Generated by GNU Autoconf 2.69. | |
3 | 3 | # |
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 | # | |
6 | 8 | # This configure script is free software; the Free Software Foundation |
7 | 9 | # gives unlimited permission to copy, distribute and modify it. |
8 | ## --------------------- ## | |
9 | ## M4sh Initialization. ## | |
10 | ## --------------------- ## | |
10 | ## -------------------- ## | |
11 | ## M4sh Initialization. ## | |
12 | ## -------------------- ## | |
11 | 13 | |
12 | 14 | # Be more Bourne compatible |
13 | 15 | 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 : | |
15 | 17 | emulate sh |
16 | 18 | 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 | |
18 | 20 | # is contrary to our usage. Disable this feature. |
19 | 21 | alias -g '${1+"$@"}'='"$@"' |
20 | 22 | setopt NO_GLOB_SUBST |
21 | 23 | 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 | ;; | |
24 | 29 | 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 | |
38 | 70 | |
39 | 71 | # The user is always right. |
40 | 72 | 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 | } | |
57 | 78 | fi |
58 | 79 | |
59 | 80 | |
62 | 83 | # there to prevent editors from complaining about space-tab. |
63 | 84 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
64 | 85 | # splitting by setting IFS to empty value.) |
65 | as_nl=' | |
66 | ' | |
67 | 86 | IFS=" "" $as_nl" |
68 | 87 | |
69 | 88 | # 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 #(( | |
71 | 91 | *[\\/]* ) as_myself=$0 ;; |
72 | 92 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
73 | 93 | for as_dir in $PATH |
74 | 94 | do |
75 | 95 | IFS=$as_save_IFS |
76 | 96 | 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 | |
79 | 99 | IFS=$as_save_IFS |
80 | 100 | |
81 | 101 | ;; |
86 | 106 | as_myself=$0 |
87 | 107 | fi |
88 | 108 | 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 || : | |
96 | 120 | done |
97 | 121 | PS1='$ ' |
98 | 122 | PS2='> ' |
99 | 123 | PS4='+ ' |
100 | 124 | |
101 | 125 | # 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 | if (eval "$as_required") 2>/dev/null; then : | |
199 | as_have_required=yes | |
200 | else | |
201 | as_have_required=no | |
202 | fi | |
203 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | |
204 | ||
205 | else | |
206 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
207 | as_found=false | |
208 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
106 | 209 | 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 | |
210 | IFS=$as_save_IFS | |
211 | test -z "$as_dir" && as_dir=. | |
212 | as_found=: | |
213 | case $as_dir in #( | |
214 | /*) | |
215 | for as_base in sh bash ksh sh5; do | |
216 | # Try only shells that exist, to save several forks. | |
217 | as_shell=$as_dir/$as_base | |
218 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
219 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
220 | CONFIG_SHELL=$as_shell as_have_required=yes | |
221 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
222 | break 2 | |
223 | fi | |
224 | fi | |
225 | done;; | |
226 | esac | |
227 | as_found=false | |
228 | done | |
229 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |
230 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | |
231 | CONFIG_SHELL=$SHELL as_have_required=yes | |
232 | fi; } | |
233 | IFS=$as_save_IFS | |
234 | ||
235 | ||
236 | if test "x$CONFIG_SHELL" != x; then : | |
237 | export CONFIG_SHELL | |
238 | # We cannot yet assume a decent shell, so we have to provide a | |
239 | # neutralization value for shells without unset; and this also | |
240 | # works around shells that cannot unset nonexistent variables. | |
241 | # Preserve -v and -x to the replacement shell. | |
242 | BASH_ENV=/dev/null | |
243 | ENV=/dev/null | |
244 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
245 | case $- in # (((( | |
246 | *v*x* | *x*v* ) as_opts=-vx ;; | |
247 | *v* ) as_opts=-v ;; | |
248 | *x* ) as_opts=-x ;; | |
249 | * ) as_opts= ;; | |
250 | esac | |
251 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
252 | # Admittedly, this is quite paranoid, since all the known shells bail | |
253 | # out after a failed `exec'. | |
254 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
255 | exit 255 | |
256 | fi | |
257 | ||
258 | if test x$as_have_required = xno; then : | |
259 | $as_echo "$0: This script requires a shell more modern than all" | |
260 | $as_echo "$0: the shells that I found on your system." | |
261 | if test x${ZSH_VERSION+set} = xset ; then | |
262 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
263 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
109 | 264 | else |
110 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
265 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, | |
266 | $0: including any error possibly output before this | |
267 | $0: message. Then install a modern shell, or manually run | |
268 | $0: the script under such a shell if you do have one." | |
111 | 269 | fi |
112 | done | |
113 | ||
114 | # Required to use basename. | |
270 | exit 1 | |
271 | fi | |
272 | fi | |
273 | fi | |
274 | SHELL=${CONFIG_SHELL-/bin/sh} | |
275 | export SHELL | |
276 | # Unset more variables known to interfere with behavior of common tools. | |
277 | CLICOLOR_FORCE= GREP_OPTIONS= | |
278 | unset CLICOLOR_FORCE GREP_OPTIONS | |
279 | ||
280 | ## --------------------- ## | |
281 | ## M4sh Shell Functions. ## | |
282 | ## --------------------- ## | |
283 | # as_fn_unset VAR | |
284 | # --------------- | |
285 | # Portably unset VAR. | |
286 | as_fn_unset () | |
287 | { | |
288 | { eval $1=; unset $1;} | |
289 | } | |
290 | as_unset=as_fn_unset | |
291 | ||
292 | # as_fn_set_status STATUS | |
293 | # ----------------------- | |
294 | # Set $? to STATUS, without forking. | |
295 | as_fn_set_status () | |
296 | { | |
297 | return $1 | |
298 | } # as_fn_set_status | |
299 | ||
300 | # as_fn_exit STATUS | |
301 | # ----------------- | |
302 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
303 | as_fn_exit () | |
304 | { | |
305 | set +e | |
306 | as_fn_set_status $1 | |
307 | exit $1 | |
308 | } # as_fn_exit | |
309 | ||
310 | # as_fn_mkdir_p | |
311 | # ------------- | |
312 | # Create "$as_dir" as a directory, including parents if necessary. | |
313 | as_fn_mkdir_p () | |
314 | { | |
315 | ||
316 | case $as_dir in #( | |
317 | -*) as_dir=./$as_dir;; | |
318 | esac | |
319 | test -d "$as_dir" || eval $as_mkdir_p || { | |
320 | as_dirs= | |
321 | while :; do | |
322 | case $as_dir in #( | |
323 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
324 | *) as_qdir=$as_dir;; | |
325 | esac | |
326 | as_dirs="'$as_qdir' $as_dirs" | |
327 | as_dir=`$as_dirname -- "$as_dir" || | |
328 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
329 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
330 | X"$as_dir" : 'X\(//\)$' \| \ | |
331 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
332 | $as_echo X"$as_dir" | | |
333 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
334 | s//\1/ | |
335 | q | |
336 | } | |
337 | /^X\(\/\/\)[^/].*/{ | |
338 | s//\1/ | |
339 | q | |
340 | } | |
341 | /^X\(\/\/\)$/{ | |
342 | s//\1/ | |
343 | q | |
344 | } | |
345 | /^X\(\/\).*/{ | |
346 | s//\1/ | |
347 | q | |
348 | } | |
349 | s/.*/./; q'` | |
350 | test -d "$as_dir" && break | |
351 | done | |
352 | test -z "$as_dirs" || eval "mkdir $as_dirs" | |
353 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
354 | ||
355 | ||
356 | } # as_fn_mkdir_p | |
357 | ||
358 | # as_fn_executable_p FILE | |
359 | # ----------------------- | |
360 | # Test if FILE is an executable regular file. | |
361 | as_fn_executable_p () | |
362 | { | |
363 | test -f "$1" && test -x "$1" | |
364 | } # as_fn_executable_p | |
365 | # as_fn_append VAR VALUE | |
366 | # ---------------------- | |
367 | # Append the text in VALUE to the end of the definition contained in VAR. Take | |
368 | # advantage of any shell optimizations that allow amortized linear growth over | |
369 | # repeated appends, instead of the typical quadratic growth present in naive | |
370 | # implementations. | |
371 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
372 | eval 'as_fn_append () | |
373 | { | |
374 | eval $1+=\$2 | |
375 | }' | |
376 | else | |
377 | as_fn_append () | |
378 | { | |
379 | eval $1=\$$1\$2 | |
380 | } | |
381 | fi # as_fn_append | |
382 | ||
383 | # as_fn_arith ARG... | |
384 | # ------------------ | |
385 | # Perform arithmetic evaluation on the ARGs, and store the result in the | |
386 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
387 | # must be portable across $(()) and expr. | |
388 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
389 | eval 'as_fn_arith () | |
390 | { | |
391 | as_val=$(( $* )) | |
392 | }' | |
393 | else | |
394 | as_fn_arith () | |
395 | { | |
396 | as_val=`expr "$@" || test $? -eq 1` | |
397 | } | |
398 | fi # as_fn_arith | |
399 | ||
400 | ||
401 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
402 | # ---------------------------------------- | |
403 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
404 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
405 | # script with STATUS, using 1 if that was 0. | |
406 | as_fn_error () | |
407 | { | |
408 | as_status=$1; test $as_status -eq 0 && as_status=1 | |
409 | if test "$4"; then | |
410 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
411 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
412 | fi | |
413 | $as_echo "$as_me: error: $2" >&2 | |
414 | as_fn_exit $as_status | |
415 | } # as_fn_error | |
416 | ||
115 | 417 | if expr a : '\(a\)' >/dev/null 2>&1 && |
116 | 418 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
117 | 419 | as_expr=expr |
125 | 427 | as_basename=false |
126 | 428 | fi |
127 | 429 | |
128 | ||
129 | # Name of the executable. | |
430 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
431 | as_dirname=dirname | |
432 | else | |
433 | as_dirname=false | |
434 | fi | |
435 | ||
130 | 436 | as_me=`$as_basename -- "$0" || |
131 | 437 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
132 | 438 | X"$0" : 'X\(//\)$' \| \ |
133 | 439 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
134 | echo X/"$0" | | |
440 | $as_echo X/"$0" | | |
135 | 441 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
136 | 442 | s//\1/ |
137 | 443 | q |
146 | 452 | } |
147 | 453 | s/.*/./; q'` |
148 | 454 | |
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. :-) | |
455 | # Avoid depending upon Character Ranges. | |
456 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
457 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
458 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
459 | as_cr_digits='0123456789' | |
460 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
461 | ||
462 | ||
463 | as_lineno_1=$LINENO as_lineno_1a=$LINENO | |
464 | as_lineno_2=$LINENO as_lineno_2a=$LINENO | |
465 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | |
466 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | |
467 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | |
437 | 468 | sed -n ' |
438 | 469 | p |
439 | 470 | /[$]LINENO/= |
450 | 481 | s/-\n.*// |
451 | 482 | ' >$as_me.lineno && |
452 | 483 | 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 | ||
484 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | |
485 | ||
486 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | |
487 | # already done that, so ensure we don't try to do so again and fall | |
488 | # in an infinite loop. This has already happened in practice. | |
489 | _as_can_reexec=no; export _as_can_reexec | |
456 | 490 | # Don't try to exec as it changes $[0], causing all sort of problems |
457 | 491 | # (the dirname of $[0] is not the place where we might find the |
458 | 492 | # original and so on. Autoconf is especially sensitive to this). |
461 | 495 | exit |
462 | 496 | } |
463 | 497 | |
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 | ||
471 | 498 | ECHO_C= ECHO_N= ECHO_T= |
472 | case `echo -n x` in | |
499 | case `echo -n x` in #((((( | |
473 | 500 | -n*) |
474 | case `echo 'x\c'` in | |
501 | case `echo 'xy\c'` in | |
475 | 502 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
476 | *) ECHO_C='\c';; | |
503 | xy) ECHO_C='\c';; | |
504 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
505 | ECHO_T=' ';; | |
477 | 506 | esac;; |
478 | 507 | *) |
479 | 508 | ECHO_N='-n';; |
480 | 509 | esac |
481 | 510 | |
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 | ||
489 | 511 | rm -f conf$$ conf$$.exe conf$$.file |
490 | 512 | if test -d conf$$.dir; then |
491 | 513 | rm -f conf$$.dir/conf$$.file |
492 | 514 | else |
493 | 515 | 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' | |
516 | mkdir conf$$.dir 2>/dev/null | |
517 | fi | |
518 | if (echo >conf$$.file) 2>/dev/null; then | |
519 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
520 | as_ln_s='ln -s' | |
521 | # ... but there are two gotchas: | |
522 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
523 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
524 | # In both cases, we have to default to `cp -pR'. | |
525 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
526 | as_ln_s='cp -pR' | |
527 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
528 | as_ln_s=ln | |
529 | else | |
530 | as_ln_s='cp -pR' | |
531 | fi | |
532 | else | |
533 | as_ln_s='cp -pR' | |
509 | 534 | fi |
510 | 535 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
511 | 536 | rmdir conf$$.dir 2>/dev/null |
512 | 537 | |
513 | 538 | if mkdir -p . 2>/dev/null; then |
514 | as_mkdir_p=: | |
539 | as_mkdir_p='mkdir -p "$as_dir"' | |
515 | 540 | else |
516 | 541 | test -d ./-p && rmdir ./-p |
517 | 542 | as_mkdir_p=false |
518 | 543 | fi |
519 | 544 | |
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 | |
545 | as_test_x='test -x' | |
546 | as_executable_p=as_fn_executable_p | |
542 | 547 | |
543 | 548 | # Sed expression to map a string onto a valid CPP name. |
544 | 549 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
547 | 552 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
548 | 553 | |
549 | 554 | |
550 | ||
551 | exec 7<&0 </dev/null 6>&1 | |
555 | test -n "$DJDIR" || exec 7<&0 </dev/null | |
556 | exec 6>&1 | |
552 | 557 | |
553 | 558 | # Name of the host. |
554 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | |
559 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | |
555 | 560 | # so uname gets run too. |
556 | 561 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
557 | 562 | |
566 | 571 | subdirs= |
567 | 572 | MFLAGS= |
568 | 573 | MAKEFLAGS= |
569 | SHELL=${CONFIG_SHELL-/bin/sh} | |
570 | 574 | |
571 | 575 | # Identity of this package. |
572 | 576 | PACKAGE_NAME= |
574 | 578 | PACKAGE_VERSION= |
575 | 579 | PACKAGE_STRING= |
576 | 580 | PACKAGE_BUGREPORT= |
581 | PACKAGE_URL= | |
577 | 582 | |
578 | 583 | ac_unique_file="README" |
579 | ac_subst_vars='SHELL | |
584 | ac_subst_vars='am__EXEEXT_FALSE | |
585 | am__EXEEXT_TRUE | |
586 | LTLIBOBJS | |
587 | LIBOBJS | |
588 | SDL_LIBS | |
589 | SDL_CFLAGS | |
590 | SDL_CONFIG | |
591 | MATHLIB | |
592 | RANLIB | |
593 | am__fastdepCC_FALSE | |
594 | am__fastdepCC_TRUE | |
595 | CCDEPMODE | |
596 | am__nodep | |
597 | AMDEPBACKSLASH | |
598 | AMDEP_FALSE | |
599 | AMDEP_TRUE | |
600 | am__quote | |
601 | am__include | |
602 | DEPDIR | |
603 | OBJEXT | |
604 | EXEEXT | |
605 | ac_ct_CC | |
606 | CPPFLAGS | |
607 | LDFLAGS | |
608 | CFLAGS | |
609 | CC | |
610 | AM_BACKSLASH | |
611 | AM_DEFAULT_VERBOSITY | |
612 | AM_DEFAULT_V | |
613 | AM_V | |
614 | am__untar | |
615 | am__tar | |
616 | AMTAR | |
617 | am__leading_dot | |
618 | SET_MAKE | |
619 | AWK | |
620 | mkdir_p | |
621 | MKDIR_P | |
622 | INSTALL_STRIP_PROGRAM | |
623 | STRIP | |
624 | install_sh | |
625 | MAKEINFO | |
626 | AUTOHEADER | |
627 | AUTOMAKE | |
628 | AUTOCONF | |
629 | ACLOCAL | |
630 | VERSION | |
631 | PACKAGE | |
632 | CYGPATH_W | |
633 | am__isrc | |
634 | INSTALL_DATA | |
635 | INSTALL_SCRIPT | |
636 | INSTALL_PROGRAM | |
637 | target_os | |
638 | target_vendor | |
639 | target_cpu | |
640 | target | |
641 | host_os | |
642 | host_vendor | |
643 | host_cpu | |
644 | host | |
645 | build_os | |
646 | build_vendor | |
647 | build_cpu | |
648 | build | |
649 | target_alias | |
650 | host_alias | |
651 | build_alias | |
652 | LIBS | |
653 | ECHO_T | |
654 | ECHO_N | |
655 | ECHO_C | |
656 | DEFS | |
657 | mandir | |
658 | localedir | |
659 | libdir | |
660 | psdir | |
661 | pdfdir | |
662 | dvidir | |
663 | htmldir | |
664 | infodir | |
665 | docdir | |
666 | oldincludedir | |
667 | includedir | |
668 | runstatedir | |
669 | localstatedir | |
670 | sharedstatedir | |
671 | sysconfdir | |
672 | datadir | |
673 | datarootdir | |
674 | libexecdir | |
675 | sbindir | |
676 | bindir | |
677 | program_transform_name | |
678 | prefix | |
679 | exec_prefix | |
680 | PACKAGE_URL | |
681 | PACKAGE_BUGREPORT | |
682 | PACKAGE_STRING | |
683 | PACKAGE_VERSION | |
684 | PACKAGE_TARNAME | |
685 | PACKAGE_NAME | |
580 | 686 | PATH_SEPARATOR |
581 | PACKAGE_NAME | |
582 | PACKAGE_TARNAME | |
583 | PACKAGE_VERSION | |
584 | PACKAGE_STRING | |
585 | PACKAGE_BUGREPORT | |
586 | exec_prefix | |
587 | prefix | |
588 | program_transform_name | |
589 | bindir | |
590 | sbindir | |
591 | libexecdir | |
592 | datarootdir | |
593 | datadir | |
594 | sysconfdir | |
595 | sharedstatedir | |
596 | localstatedir | |
597 | includedir | |
598 | oldincludedir | |
599 | docdir | |
600 | infodir | |
601 | htmldir | |
602 | dvidir | |
603 | pdfdir | |
604 | psdir | |
605 | libdir | |
606 | localedir | |
607 | mandir | |
608 | DEFS | |
609 | ECHO_C | |
610 | ECHO_N | |
611 | ECHO_T | |
612 | LIBS | |
613 | build_alias | |
614 | host_alias | |
615 | target_alias | |
616 | build | |
617 | build_cpu | |
618 | build_vendor | |
619 | build_os | |
620 | host | |
621 | host_cpu | |
622 | host_vendor | |
623 | host_os | |
624 | target | |
625 | target_cpu | |
626 | target_vendor | |
627 | target_os | |
628 | INSTALL_PROGRAM | |
629 | INSTALL_SCRIPT | |
630 | INSTALL_DATA | |
631 | am__isrc | |
632 | CYGPATH_W | |
633 | PACKAGE | |
634 | VERSION | |
635 | ACLOCAL | |
636 | AUTOCONF | |
637 | AUTOMAKE | |
638 | AUTOHEADER | |
639 | MAKEINFO | |
640 | install_sh | |
641 | STRIP | |
642 | INSTALL_STRIP_PROGRAM | |
643 | mkdir_p | |
644 | AWK | |
645 | SET_MAKE | |
646 | am__leading_dot | |
647 | AMTAR | |
648 | am__tar | |
649 | am__untar | |
650 | CC | |
651 | CFLAGS | |
652 | LDFLAGS | |
653 | CPPFLAGS | |
654 | ac_ct_CC | |
655 | EXEEXT | |
656 | OBJEXT | |
657 | DEPDIR | |
658 | am__include | |
659 | am__quote | |
660 | AMDEP_TRUE | |
661 | AMDEP_FALSE | |
662 | AMDEPBACKSLASH | |
663 | CCDEPMODE | |
664 | am__fastdepCC_TRUE | |
665 | am__fastdepCC_FALSE | |
666 | RANLIB | |
667 | MATHLIB | |
668 | SDL_CONFIG | |
669 | SDL_CFLAGS | |
670 | SDL_LIBS | |
671 | LIBOBJS | |
672 | LTLIBOBJS' | |
687 | SHELL' | |
673 | 688 | ac_subst_files='' |
689 | ac_user_opts=' | |
690 | enable_option_checking | |
691 | enable_silent_rules | |
692 | enable_dependency_tracking | |
693 | with_sdl_prefix | |
694 | with_sdl_exec_prefix | |
695 | enable_sdltest | |
696 | ' | |
674 | 697 | ac_precious_vars='build_alias |
675 | 698 | host_alias |
676 | 699 | target_alias |
684 | 707 | # Initialize some variables set by options. |
685 | 708 | ac_init_help= |
686 | 709 | ac_init_version=false |
710 | ac_unrecognized_opts= | |
711 | ac_unrecognized_sep= | |
687 | 712 | # The variables have the same names as the options, with |
688 | 713 | # dashes changed to underlines. |
689 | 714 | cache_file=/dev/null |
715 | 740 | sysconfdir='${prefix}/etc' |
716 | 741 | sharedstatedir='${prefix}/com' |
717 | 742 | localstatedir='${prefix}/var' |
743 | runstatedir='${localstatedir}/run' | |
718 | 744 | includedir='${prefix}/include' |
719 | 745 | oldincludedir='/usr/include' |
720 | 746 | docdir='${datarootdir}/doc/${PACKAGE}' |
739 | 765 | fi |
740 | 766 | |
741 | 767 | case $ac_option in |
742 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
743 | *) ac_optarg=yes ;; | |
768 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
769 | *=) ac_optarg= ;; | |
770 | *) ac_optarg=yes ;; | |
744 | 771 | esac |
745 | 772 | |
746 | 773 | # Accept the important Cygnus configure options, so we can diagnose typos. |
782 | 809 | datarootdir=$ac_optarg ;; |
783 | 810 | |
784 | 811 | -disable-* | --disable-*) |
785 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
812 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
786 | 813 | # Reject names that are not valid shell variable names. |
787 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
788 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | |
789 | { (exit 1); exit 1; }; } | |
790 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` | |
791 | eval enable_$ac_feature=no ;; | |
814 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
815 | as_fn_error $? "invalid feature name: $ac_useropt" | |
816 | ac_useropt_orig=$ac_useropt | |
817 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
818 | case $ac_user_opts in | |
819 | *" | |
820 | "enable_$ac_useropt" | |
821 | "*) ;; | |
822 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
823 | ac_unrecognized_sep=', ';; | |
824 | esac | |
825 | eval enable_$ac_useropt=no ;; | |
792 | 826 | |
793 | 827 | -docdir | --docdir | --docdi | --doc | --do) |
794 | 828 | ac_prev=docdir ;; |
801 | 835 | dvidir=$ac_optarg ;; |
802 | 836 | |
803 | 837 | -enable-* | --enable-*) |
804 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
838 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
805 | 839 | # Reject names that are not valid shell variable names. |
806 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
807 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | |
808 | { (exit 1); exit 1; }; } | |
809 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` | |
810 | eval enable_$ac_feature=\$ac_optarg ;; | |
840 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
841 | as_fn_error $? "invalid feature name: $ac_useropt" | |
842 | ac_useropt_orig=$ac_useropt | |
843 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
844 | case $ac_user_opts in | |
845 | *" | |
846 | "enable_$ac_useropt" | |
847 | "*) ;; | |
848 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
849 | ac_unrecognized_sep=', ';; | |
850 | esac | |
851 | eval enable_$ac_useropt=\$ac_optarg ;; | |
811 | 852 | |
812 | 853 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
813 | 854 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
952 | 993 | | -silent | --silent | --silen | --sile | --sil) |
953 | 994 | silent=yes ;; |
954 | 995 | |
996 | -runstatedir | --runstatedir | --runstatedi | --runstated \ | |
997 | | --runstate | --runstat | --runsta | --runst | --runs \ | |
998 | | --run | --ru | --r) | |
999 | ac_prev=runstatedir ;; | |
1000 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | |
1001 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | |
1002 | | --run=* | --ru=* | --r=*) | |
1003 | runstatedir=$ac_optarg ;; | |
1004 | ||
955 | 1005 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
956 | 1006 | ac_prev=sbindir ;; |
957 | 1007 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
998 | 1048 | ac_init_version=: ;; |
999 | 1049 | |
1000 | 1050 | -with-* | --with-*) |
1001 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
1051 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
1002 | 1052 | # Reject names that are not valid shell variable names. |
1003 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
1004 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | |
1005 | { (exit 1); exit 1; }; } | |
1006 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` | |
1007 | eval with_$ac_package=\$ac_optarg ;; | |
1053 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
1054 | as_fn_error $? "invalid package name: $ac_useropt" | |
1055 | ac_useropt_orig=$ac_useropt | |
1056 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1057 | case $ac_user_opts in | |
1058 | *" | |
1059 | "with_$ac_useropt" | |
1060 | "*) ;; | |
1061 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
1062 | ac_unrecognized_sep=', ';; | |
1063 | esac | |
1064 | eval with_$ac_useropt=\$ac_optarg ;; | |
1008 | 1065 | |
1009 | 1066 | -without-* | --without-*) |
1010 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
1067 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
1011 | 1068 | # Reject names that are not valid shell variable names. |
1012 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
1013 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | |
1014 | { (exit 1); exit 1; }; } | |
1015 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` | |
1016 | eval with_$ac_package=no ;; | |
1069 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
1070 | as_fn_error $? "invalid package name: $ac_useropt" | |
1071 | ac_useropt_orig=$ac_useropt | |
1072 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1073 | case $ac_user_opts in | |
1074 | *" | |
1075 | "with_$ac_useropt" | |
1076 | "*) ;; | |
1077 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
1078 | ac_unrecognized_sep=', ';; | |
1079 | esac | |
1080 | eval with_$ac_useropt=no ;; | |
1017 | 1081 | |
1018 | 1082 | --x) |
1019 | 1083 | # Obsolete; use --with-x. |
1033 | 1097 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1034 | 1098 | x_libraries=$ac_optarg ;; |
1035 | 1099 | |
1036 | -*) { echo "$as_me: error: unrecognized option: $ac_option | |
1037 | Try \`$0 --help' for more information." >&2 | |
1038 | { (exit 1); exit 1; }; } | |
1100 | -*) as_fn_error $? "unrecognized option: \`$ac_option' | |
1101 | Try \`$0 --help' for more information" | |
1039 | 1102 | ;; |
1040 | 1103 | |
1041 | 1104 | *=*) |
1042 | 1105 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1043 | 1106 | # Reject names that are not valid shell variable names. |
1044 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | |
1045 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | |
1046 | { (exit 1); exit 1; }; } | |
1107 | case $ac_envvar in #( | |
1108 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | |
1109 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | |
1110 | esac | |
1047 | 1111 | eval $ac_envvar=\$ac_optarg |
1048 | 1112 | export $ac_envvar ;; |
1049 | 1113 | |
1050 | 1114 | *) |
1051 | 1115 | # FIXME: should be removed in autoconf 3.0. |
1052 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
1116 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
1053 | 1117 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1054 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
1055 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | |
1118 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
1119 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | |
1056 | 1120 | ;; |
1057 | 1121 | |
1058 | 1122 | esac |
1060 | 1124 | |
1061 | 1125 | if test -n "$ac_prev"; then |
1062 | 1126 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1063 | { echo "$as_me: error: missing argument to $ac_option" >&2 | |
1064 | { (exit 1); exit 1; }; } | |
1065 | fi | |
1066 | ||
1067 | # Be sure to have absolute directory names. | |
1127 | as_fn_error $? "missing argument to $ac_option" | |
1128 | fi | |
1129 | ||
1130 | if test -n "$ac_unrecognized_opts"; then | |
1131 | case $enable_option_checking in | |
1132 | no) ;; | |
1133 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
1134 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1135 | esac | |
1136 | fi | |
1137 | ||
1138 | # Check all directory arguments for consistency. | |
1068 | 1139 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1069 | 1140 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1070 | 1141 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1071 | libdir localedir mandir | |
1142 | libdir localedir mandir runstatedir | |
1072 | 1143 | do |
1073 | 1144 | eval ac_val=\$$ac_var |
1145 | # Remove trailing slashes. | |
1146 | case $ac_val in | |
1147 | */ ) | |
1148 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
1149 | eval $ac_var=\$ac_val;; | |
1150 | esac | |
1151 | # Be sure to have absolute directory names. | |
1074 | 1152 | case $ac_val in |
1075 | 1153 | [\\/$]* | ?:[\\/]* ) continue;; |
1076 | 1154 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1077 | 1155 | esac |
1078 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | |
1079 | { (exit 1); exit 1; }; } | |
1156 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | |
1080 | 1157 | done |
1081 | 1158 | |
1082 | 1159 | # There might be people who depend on the old broken behavior: `$host' |
1090 | 1167 | if test "x$host_alias" != x; then |
1091 | 1168 | if test "x$build_alias" = x; then |
1092 | 1169 | cross_compiling=maybe |
1093 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | |
1094 | If a cross compiler is detected then cross compile mode will be used." >&2 | |
1095 | 1170 | elif test "x$build_alias" != "x$host_alias"; then |
1096 | 1171 | cross_compiling=yes |
1097 | 1172 | fi |
1106 | 1181 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1107 | 1182 | ac_ls_di=`ls -di .` && |
1108 | 1183 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1109 | { echo "$as_me: error: Working directory cannot be determined" >&2 | |
1110 | { (exit 1); exit 1; }; } | |
1184 | as_fn_error $? "working directory cannot be determined" | |
1111 | 1185 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1112 | { echo "$as_me: error: pwd does not report name of working directory" >&2 | |
1113 | { (exit 1); exit 1; }; } | |
1186 | as_fn_error $? "pwd does not report name of working directory" | |
1114 | 1187 | |
1115 | 1188 | |
1116 | 1189 | # Find the source files, if location was not specified. |
1117 | 1190 | if test -z "$srcdir"; then |
1118 | 1191 | ac_srcdir_defaulted=yes |
1119 | 1192 | # Try the directory containing this script, then the parent directory. |
1120 | ac_confdir=`$as_dirname -- "$0" || | |
1121 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
1122 | X"$0" : 'X\(//\)[^/]' \| \ | |
1123 | X"$0" : 'X\(//\)$' \| \ | |
1124 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
1125 | echo X"$0" | | |
1193 | ac_confdir=`$as_dirname -- "$as_myself" || | |
1194 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
1195 | X"$as_myself" : 'X\(//\)[^/]' \| \ | |
1196 | X"$as_myself" : 'X\(//\)$' \| \ | |
1197 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | |
1198 | $as_echo X"$as_myself" | | |
1126 | 1199 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1127 | 1200 | s//\1/ |
1128 | 1201 | q |
1149 | 1222 | fi |
1150 | 1223 | if test ! -r "$srcdir/$ac_unique_file"; then |
1151 | 1224 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1152 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | |
1153 | { (exit 1); exit 1; }; } | |
1225 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | |
1154 | 1226 | fi |
1155 | 1227 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1156 | 1228 | ac_abs_confdir=`( |
1157 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 | |
1158 | { (exit 1); exit 1; }; } | |
1229 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | |
1159 | 1230 | pwd)` |
1160 | 1231 | # When building in place, set srcdir=. |
1161 | 1232 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1195 | 1266 | --help=short display options specific to this package |
1196 | 1267 | --help=recursive display the short help of all the included packages |
1197 | 1268 | -V, --version display version information and exit |
1198 | -q, --quiet, --silent do not print \`checking...' messages | |
1269 | -q, --quiet, --silent do not print \`checking ...' messages | |
1199 | 1270 | --cache-file=FILE cache test results in FILE [disabled] |
1200 | 1271 | -C, --config-cache alias for \`--cache-file=config.cache' |
1201 | 1272 | -n, --no-create do not create output files |
1203 | 1274 | |
1204 | 1275 | Installation directories: |
1205 | 1276 | --prefix=PREFIX install architecture-independent files in PREFIX |
1206 | [$ac_default_prefix] | |
1277 | [$ac_default_prefix] | |
1207 | 1278 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1208 | [PREFIX] | |
1279 | [PREFIX] | |
1209 | 1280 | |
1210 | 1281 | By default, \`make install' will install all the files in |
1211 | 1282 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1215 | 1286 | For better control, use the options below. |
1216 | 1287 | |
1217 | 1288 | Fine tuning of the installation directories: |
1218 | --bindir=DIR user executables [EPREFIX/bin] | |
1219 | --sbindir=DIR system admin executables [EPREFIX/sbin] | |
1220 | --libexecdir=DIR program executables [EPREFIX/libexec] | |
1221 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
1222 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
1223 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
1224 | --libdir=DIR object code libraries [EPREFIX/lib] | |
1225 | --includedir=DIR C header files [PREFIX/include] | |
1226 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
1227 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
1228 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
1229 | --infodir=DIR info documentation [DATAROOTDIR/info] | |
1230 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
1231 | --mandir=DIR man documentation [DATAROOTDIR/man] | |
1232 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | |
1233 | --htmldir=DIR html documentation [DOCDIR] | |
1234 | --dvidir=DIR dvi documentation [DOCDIR] | |
1235 | --pdfdir=DIR pdf documentation [DOCDIR] | |
1236 | --psdir=DIR ps documentation [DOCDIR] | |
1289 | --bindir=DIR user executables [EPREFIX/bin] | |
1290 | --sbindir=DIR system admin executables [EPREFIX/sbin] | |
1291 | --libexecdir=DIR program executables [EPREFIX/libexec] | |
1292 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
1293 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
1294 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
1295 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] | |
1296 | --libdir=DIR object code libraries [EPREFIX/lib] | |
1297 | --includedir=DIR C header files [PREFIX/include] | |
1298 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
1299 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
1300 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
1301 | --infodir=DIR info documentation [DATAROOTDIR/info] | |
1302 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
1303 | --mandir=DIR man documentation [DATAROOTDIR/man] | |
1304 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | |
1305 | --htmldir=DIR html documentation [DOCDIR] | |
1306 | --dvidir=DIR dvi documentation [DOCDIR] | |
1307 | --pdfdir=DIR pdf documentation [DOCDIR] | |
1308 | --psdir=DIR ps documentation [DOCDIR] | |
1237 | 1309 | _ACEOF |
1238 | 1310 | |
1239 | 1311 | cat <<\_ACEOF |
1255 | 1327 | cat <<\_ACEOF |
1256 | 1328 | |
1257 | 1329 | Optional Features: |
1330 | --disable-option-checking ignore unrecognized --enable/--with options | |
1258 | 1331 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1259 | 1332 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1260 | --disable-dependency-tracking speeds up one-time build | |
1261 | --enable-dependency-tracking do not reject slow dependency extractors | |
1333 | --enable-silent-rules less verbose build output (undo: "make V=1") | |
1334 | --disable-silent-rules verbose build output (undo: "make V=0") | |
1335 | --enable-dependency-tracking | |
1336 | do not reject slow dependency extractors | |
1337 | --disable-dependency-tracking | |
1338 | speeds up one-time build | |
1262 | 1339 | --disable-sdltest Do not try to compile and run a test SDL program |
1263 | 1340 | |
1264 | 1341 | Optional Packages: |
1273 | 1350 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1274 | 1351 | nonstandard directory <lib dir> |
1275 | 1352 | LIBS libraries to pass to the linker, e.g. -l<library> |
1276 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if | |
1353 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | |
1277 | 1354 | you have headers in a nonstandard directory <include dir> |
1278 | 1355 | |
1279 | 1356 | Use these variables to override the choices made by `configure' or to help |
1280 | 1357 | it to find libraries and programs with nonstandard names/locations. |
1281 | 1358 | |
1359 | Report bugs to the package provider. | |
1282 | 1360 | _ACEOF |
1283 | 1361 | ac_status=$? |
1284 | 1362 | fi |
1286 | 1364 | if test "$ac_init_help" = "recursive"; then |
1287 | 1365 | # If there are subdirs, report their specific --help. |
1288 | 1366 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1289 | test -d "$ac_dir" || continue | |
1367 | test -d "$ac_dir" || | |
1368 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
1369 | continue | |
1290 | 1370 | ac_builddir=. |
1291 | 1371 | |
1292 | 1372 | case "$ac_dir" in |
1293 | 1373 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1294 | 1374 | *) |
1295 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
1375 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
1296 | 1376 | # A ".." for each directory in $ac_dir_suffix. |
1297 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | |
1377 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
1298 | 1378 | case $ac_top_builddir_sub in |
1299 | 1379 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1300 | 1380 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1330 | 1410 | echo && |
1331 | 1411 | $SHELL "$ac_srcdir/configure" --help=recursive |
1332 | 1412 | else |
1333 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
1413 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
1334 | 1414 | fi || ac_status=$? |
1335 | 1415 | cd "$ac_pwd" || { ac_status=$?; break; } |
1336 | 1416 | done |
1340 | 1420 | if $ac_init_version; then |
1341 | 1421 | cat <<\_ACEOF |
1342 | 1422 | configure |
1343 | generated by GNU Autoconf 2.61 | |
1344 | ||
1345 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
1346 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
1423 | generated by GNU Autoconf 2.69 | |
1424 | ||
1425 | Copyright (C) 2012 Free Software Foundation, Inc. | |
1347 | 1426 | This configure script is free software; the Free Software Foundation |
1348 | 1427 | gives unlimited permission to copy, distribute and modify it. |
1349 | 1428 | _ACEOF |
1350 | 1429 | exit |
1351 | 1430 | fi |
1431 | ||
1432 | ## ------------------------ ## | |
1433 | ## Autoconf initialization. ## | |
1434 | ## ------------------------ ## | |
1435 | ||
1436 | # ac_fn_c_try_compile LINENO | |
1437 | # -------------------------- | |
1438 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1439 | ac_fn_c_try_compile () | |
1440 | { | |
1441 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1442 | rm -f conftest.$ac_objext | |
1443 | if { { ac_try="$ac_compile" | |
1444 | case "(($ac_try" in | |
1445 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1446 | *) ac_try_echo=$ac_try;; | |
1447 | esac | |
1448 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1449 | $as_echo "$ac_try_echo"; } >&5 | |
1450 | (eval "$ac_compile") 2>conftest.err | |
1451 | ac_status=$? | |
1452 | if test -s conftest.err; then | |
1453 | grep -v '^ *+' conftest.err >conftest.er1 | |
1454 | cat conftest.er1 >&5 | |
1455 | mv -f conftest.er1 conftest.err | |
1456 | fi | |
1457 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1458 | test $ac_status = 0; } && { | |
1459 | test -z "$ac_c_werror_flag" || | |
1460 | test ! -s conftest.err | |
1461 | } && test -s conftest.$ac_objext; then : | |
1462 | ac_retval=0 | |
1463 | else | |
1464 | $as_echo "$as_me: failed program was:" >&5 | |
1465 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1466 | ||
1467 | ac_retval=1 | |
1468 | fi | |
1469 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1470 | as_fn_set_status $ac_retval | |
1471 | ||
1472 | } # ac_fn_c_try_compile | |
1473 | ||
1474 | # ac_fn_c_try_link LINENO | |
1475 | # ----------------------- | |
1476 | # Try to link conftest.$ac_ext, and return whether this succeeded. | |
1477 | ac_fn_c_try_link () | |
1478 | { | |
1479 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1480 | rm -f conftest.$ac_objext conftest$ac_exeext | |
1481 | if { { ac_try="$ac_link" | |
1482 | case "(($ac_try" in | |
1483 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1484 | *) ac_try_echo=$ac_try;; | |
1485 | esac | |
1486 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1487 | $as_echo "$ac_try_echo"; } >&5 | |
1488 | (eval "$ac_link") 2>conftest.err | |
1489 | ac_status=$? | |
1490 | if test -s conftest.err; then | |
1491 | grep -v '^ *+' conftest.err >conftest.er1 | |
1492 | cat conftest.er1 >&5 | |
1493 | mv -f conftest.er1 conftest.err | |
1494 | fi | |
1495 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1496 | test $ac_status = 0; } && { | |
1497 | test -z "$ac_c_werror_flag" || | |
1498 | test ! -s conftest.err | |
1499 | } && test -s conftest$ac_exeext && { | |
1500 | test "$cross_compiling" = yes || | |
1501 | test -x conftest$ac_exeext | |
1502 | }; then : | |
1503 | ac_retval=0 | |
1504 | else | |
1505 | $as_echo "$as_me: failed program was:" >&5 | |
1506 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1507 | ||
1508 | ac_retval=1 | |
1509 | fi | |
1510 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
1511 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
1512 | # interfere with the next link command; also delete a directory that is | |
1513 | # left behind by Apple's compiler. We do this before executing the actions. | |
1514 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1515 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1516 | as_fn_set_status $ac_retval | |
1517 | ||
1518 | } # ac_fn_c_try_link | |
1519 | ||
1520 | # ac_fn_c_try_run LINENO | |
1521 | # ---------------------- | |
1522 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
1523 | # that executables *can* be run. | |
1524 | ac_fn_c_try_run () | |
1525 | { | |
1526 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1527 | if { { ac_try="$ac_link" | |
1528 | case "(($ac_try" in | |
1529 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1530 | *) ac_try_echo=$ac_try;; | |
1531 | esac | |
1532 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1533 | $as_echo "$ac_try_echo"; } >&5 | |
1534 | (eval "$ac_link") 2>&5 | |
1535 | ac_status=$? | |
1536 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1537 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
1538 | { { case "(($ac_try" in | |
1539 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1540 | *) ac_try_echo=$ac_try;; | |
1541 | esac | |
1542 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1543 | $as_echo "$ac_try_echo"; } >&5 | |
1544 | (eval "$ac_try") 2>&5 | |
1545 | ac_status=$? | |
1546 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1547 | test $ac_status = 0; }; }; then : | |
1548 | ac_retval=0 | |
1549 | else | |
1550 | $as_echo "$as_me: program exited with status $ac_status" >&5 | |
1551 | $as_echo "$as_me: failed program was:" >&5 | |
1552 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1553 | ||
1554 | ac_retval=$ac_status | |
1555 | fi | |
1556 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1557 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1558 | as_fn_set_status $ac_retval | |
1559 | ||
1560 | } # ac_fn_c_try_run | |
1352 | 1561 | cat >config.log <<_ACEOF |
1353 | 1562 | This file contains any messages produced by compilers while |
1354 | 1563 | running configure, to aid debugging if configure makes a mistake. |
1355 | 1564 | |
1356 | 1565 | It was created by $as_me, which was |
1357 | generated by GNU Autoconf 2.61. Invocation command line was | |
1566 | generated by GNU Autoconf 2.69. Invocation command line was | |
1358 | 1567 | |
1359 | 1568 | $ $0 $@ |
1360 | 1569 | |
1390 | 1599 | do |
1391 | 1600 | IFS=$as_save_IFS |
1392 | 1601 | test -z "$as_dir" && as_dir=. |
1393 | echo "PATH: $as_dir" | |
1394 | done | |
1602 | $as_echo "PATH: $as_dir" | |
1603 | done | |
1395 | 1604 | IFS=$as_save_IFS |
1396 | 1605 | |
1397 | 1606 | } >&5 |
1425 | 1634 | | -silent | --silent | --silen | --sile | --sil) |
1426 | 1635 | continue ;; |
1427 | 1636 | *\'*) |
1428 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1637 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1429 | 1638 | esac |
1430 | 1639 | case $ac_pass in |
1431 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | |
1640 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | |
1432 | 1641 | 2) |
1433 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | |
1642 | as_fn_append ac_configure_args1 " '$ac_arg'" | |
1434 | 1643 | if test $ac_must_keep_next = true; then |
1435 | 1644 | ac_must_keep_next=false # Got value, back to normal. |
1436 | 1645 | else |
1446 | 1655 | -* ) ac_must_keep_next=true ;; |
1447 | 1656 | esac |
1448 | 1657 | fi |
1449 | ac_configure_args="$ac_configure_args '$ac_arg'" | |
1658 | as_fn_append ac_configure_args " '$ac_arg'" | |
1450 | 1659 | ;; |
1451 | 1660 | esac |
1452 | 1661 | done |
1453 | 1662 | done |
1454 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | |
1455 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | |
1663 | { ac_configure_args0=; unset ac_configure_args0;} | |
1664 | { ac_configure_args1=; unset ac_configure_args1;} | |
1456 | 1665 | |
1457 | 1666 | # When interrupted or exit'd, cleanup temporary files, and complete |
1458 | 1667 | # config.log. We remove comments because anyway the quotes in there |
1464 | 1673 | { |
1465 | 1674 | echo |
1466 | 1675 | |
1467 | cat <<\_ASBOX | |
1468 | ## ---------------- ## | |
1676 | $as_echo "## ---------------- ## | |
1469 | 1677 | ## Cache variables. ## |
1470 | ## ---------------- ## | |
1471 | _ASBOX | |
1678 | ## ---------------- ##" | |
1472 | 1679 | echo |
1473 | 1680 | # The following way of writing the cache mishandles newlines in values, |
1474 | 1681 | ( |
1477 | 1684 | case $ac_val in #( |
1478 | 1685 | *${as_nl}*) |
1479 | 1686 | case $ac_var in #( |
1480 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | |
1481 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |
1687 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
1688 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
1482 | 1689 | esac |
1483 | 1690 | case $ac_var in #( |
1484 | 1691 | _ | IFS | as_nl) ;; #( |
1485 | *) $as_unset $ac_var ;; | |
1692 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
1693 | *) { eval $ac_var=; unset $ac_var;} ;; | |
1486 | 1694 | esac ;; |
1487 | 1695 | esac |
1488 | 1696 | done |
1501 | 1709 | ) |
1502 | 1710 | echo |
1503 | 1711 | |
1504 | cat <<\_ASBOX | |
1505 | ## ----------------- ## | |
1712 | $as_echo "## ----------------- ## | |
1506 | 1713 | ## Output variables. ## |
1507 | ## ----------------- ## | |
1508 | _ASBOX | |
1714 | ## ----------------- ##" | |
1509 | 1715 | echo |
1510 | 1716 | for ac_var in $ac_subst_vars |
1511 | 1717 | do |
1512 | 1718 | eval ac_val=\$$ac_var |
1513 | 1719 | case $ac_val in |
1514 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1720 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1515 | 1721 | esac |
1516 | echo "$ac_var='\''$ac_val'\''" | |
1722 | $as_echo "$ac_var='\''$ac_val'\''" | |
1517 | 1723 | done | sort |
1518 | 1724 | echo |
1519 | 1725 | |
1520 | 1726 | if test -n "$ac_subst_files"; then |
1521 | cat <<\_ASBOX | |
1522 | ## ------------------- ## | |
1727 | $as_echo "## ------------------- ## | |
1523 | 1728 | ## File substitutions. ## |
1524 | ## ------------------- ## | |
1525 | _ASBOX | |
1729 | ## ------------------- ##" | |
1526 | 1730 | echo |
1527 | 1731 | for ac_var in $ac_subst_files |
1528 | 1732 | do |
1529 | 1733 | eval ac_val=\$$ac_var |
1530 | 1734 | case $ac_val in |
1531 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1735 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1532 | 1736 | esac |
1533 | echo "$ac_var='\''$ac_val'\''" | |
1737 | $as_echo "$ac_var='\''$ac_val'\''" | |
1534 | 1738 | done | sort |
1535 | 1739 | echo |
1536 | 1740 | fi |
1537 | 1741 | |
1538 | 1742 | if test -s confdefs.h; then |
1539 | cat <<\_ASBOX | |
1540 | ## ----------- ## | |
1743 | $as_echo "## ----------- ## | |
1541 | 1744 | ## confdefs.h. ## |
1542 | ## ----------- ## | |
1543 | _ASBOX | |
1745 | ## ----------- ##" | |
1544 | 1746 | echo |
1545 | 1747 | cat confdefs.h |
1546 | 1748 | echo |
1547 | 1749 | fi |
1548 | 1750 | test "$ac_signal" != 0 && |
1549 | echo "$as_me: caught signal $ac_signal" | |
1550 | echo "$as_me: exit $exit_status" | |
1751 | $as_echo "$as_me: caught signal $ac_signal" | |
1752 | $as_echo "$as_me: exit $exit_status" | |
1551 | 1753 | } >&5 |
1552 | 1754 | rm -f core *.core core.conftest.* && |
1553 | 1755 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1554 | 1756 | exit $exit_status |
1555 | 1757 | ' 0 |
1556 | 1758 | for ac_signal in 1 2 13 15; do |
1557 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | |
1759 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | |
1558 | 1760 | done |
1559 | 1761 | ac_signal=0 |
1560 | 1762 | |
1561 | 1763 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1562 | 1764 | rm -f -r conftest* confdefs.h |
1765 | ||
1766 | $as_echo "/* confdefs.h */" > confdefs.h | |
1563 | 1767 | |
1564 | 1768 | # Predefined preprocessor variables. |
1565 | 1769 | |
1567 | 1771 | #define PACKAGE_NAME "$PACKAGE_NAME" |
1568 | 1772 | _ACEOF |
1569 | 1773 | |
1570 | ||
1571 | 1774 | cat >>confdefs.h <<_ACEOF |
1572 | 1775 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1573 | 1776 | _ACEOF |
1574 | 1777 | |
1575 | ||
1576 | 1778 | cat >>confdefs.h <<_ACEOF |
1577 | 1779 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
1578 | 1780 | _ACEOF |
1579 | 1781 | |
1580 | ||
1581 | 1782 | cat >>confdefs.h <<_ACEOF |
1582 | 1783 | #define PACKAGE_STRING "$PACKAGE_STRING" |
1583 | 1784 | _ACEOF |
1584 | 1785 | |
1585 | ||
1586 | 1786 | cat >>confdefs.h <<_ACEOF |
1587 | 1787 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1588 | 1788 | _ACEOF |
1589 | 1789 | |
1790 | cat >>confdefs.h <<_ACEOF | |
1791 | #define PACKAGE_URL "$PACKAGE_URL" | |
1792 | _ACEOF | |
1793 | ||
1590 | 1794 | |
1591 | 1795 | # Let the site file select an alternate cache file if it wants to. |
1592 | # Prefer explicitly selected file to automatically selected ones. | |
1796 | # Prefer an explicitly selected file to automatically selected ones. | |
1797 | ac_site_file1=NONE | |
1798 | ac_site_file2=NONE | |
1593 | 1799 | if test -n "$CONFIG_SITE"; then |
1594 | set x "$CONFIG_SITE" | |
1800 | # We do not want a PATH search for config.site. | |
1801 | case $CONFIG_SITE in #(( | |
1802 | -*) ac_site_file1=./$CONFIG_SITE;; | |
1803 | */*) ac_site_file1=$CONFIG_SITE;; | |
1804 | *) ac_site_file1=./$CONFIG_SITE;; | |
1805 | esac | |
1595 | 1806 | elif test "x$prefix" != xNONE; then |
1596 | set x "$prefix/share/config.site" "$prefix/etc/config.site" | |
1597 | else | |
1598 | set x "$ac_default_prefix/share/config.site" \ | |
1599 | "$ac_default_prefix/etc/config.site" | |
1600 | fi | |
1601 | shift | |
1602 | for ac_site_file | |
1807 | ac_site_file1=$prefix/share/config.site | |
1808 | ac_site_file2=$prefix/etc/config.site | |
1809 | else | |
1810 | ac_site_file1=$ac_default_prefix/share/config.site | |
1811 | ac_site_file2=$ac_default_prefix/etc/config.site | |
1812 | fi | |
1813 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | |
1603 | 1814 | do |
1604 | if test -r "$ac_site_file"; then | |
1605 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | |
1606 | echo "$as_me: loading site script $ac_site_file" >&6;} | |
1815 | test "x$ac_site_file" = xNONE && continue | |
1816 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | |
1817 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | |
1818 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
1607 | 1819 | sed 's/^/| /' "$ac_site_file" >&5 |
1608 | . "$ac_site_file" | |
1820 | . "$ac_site_file" \ | |
1821 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
1822 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
1823 | as_fn_error $? "failed to load site script $ac_site_file | |
1824 | See \`config.log' for more details" "$LINENO" 5; } | |
1609 | 1825 | fi |
1610 | 1826 | done |
1611 | 1827 | |
1612 | 1828 | if test -r "$cache_file"; then |
1613 | # Some versions of bash will fail to source /dev/null (special | |
1614 | # files actually), so we avoid doing that. | |
1615 | if test -f "$cache_file"; then | |
1616 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | |
1617 | echo "$as_me: loading cache $cache_file" >&6;} | |
1829 | # Some versions of bash will fail to source /dev/null (special files | |
1830 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. | |
1831 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then | |
1832 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | |
1833 | $as_echo "$as_me: loading cache $cache_file" >&6;} | |
1618 | 1834 | case $cache_file in |
1619 | 1835 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1620 | 1836 | *) . "./$cache_file";; |
1621 | 1837 | esac |
1622 | 1838 | fi |
1623 | 1839 | else |
1624 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | |
1625 | echo "$as_me: creating cache $cache_file" >&6;} | |
1840 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | |
1841 | $as_echo "$as_me: creating cache $cache_file" >&6;} | |
1626 | 1842 | >$cache_file |
1627 | 1843 | fi |
1628 | 1844 | |
1636 | 1852 | eval ac_new_val=\$ac_env_${ac_var}_value |
1637 | 1853 | case $ac_old_set,$ac_new_set in |
1638 | 1854 | set,) |
1639 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | |
1640 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
1855 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | |
1856 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
1641 | 1857 | ac_cache_corrupted=: ;; |
1642 | 1858 | ,set) |
1643 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | |
1644 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
1859 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | |
1860 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
1645 | 1861 | ac_cache_corrupted=: ;; |
1646 | 1862 | ,);; |
1647 | 1863 | *) |
1648 | 1864 | if test "x$ac_old_val" != "x$ac_new_val"; then |
1649 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | |
1650 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
1651 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | |
1652 | echo "$as_me: former value: $ac_old_val" >&2;} | |
1653 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | |
1654 | echo "$as_me: current value: $ac_new_val" >&2;} | |
1655 | ac_cache_corrupted=: | |
1865 | # differences in whitespace do not lead to failure. | |
1866 | ac_old_val_w=`echo x $ac_old_val` | |
1867 | ac_new_val_w=`echo x $ac_new_val` | |
1868 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | |
1869 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | |
1870 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
1871 | ac_cache_corrupted=: | |
1872 | else | |
1873 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
1874 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
1875 | eval $ac_var=\$ac_old_val | |
1876 | fi | |
1877 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | |
1878 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
1879 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | |
1880 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
1656 | 1881 | fi;; |
1657 | 1882 | esac |
1658 | 1883 | # Pass precious variables to config.status. |
1659 | 1884 | if test "$ac_new_set" = set; then |
1660 | 1885 | case $ac_new_val in |
1661 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1886 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1662 | 1887 | *) ac_arg=$ac_var=$ac_new_val ;; |
1663 | 1888 | esac |
1664 | 1889 | case " $ac_configure_args " in |
1665 | 1890 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1666 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | |
1891 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; | |
1667 | 1892 | esac |
1668 | 1893 | fi |
1669 | 1894 | done |
1670 | 1895 | if $ac_cache_corrupted; then |
1671 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | |
1672 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
1673 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | |
1674 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | |
1675 | { (exit 1); exit 1; }; } | |
1676 | fi | |
1677 | ||
1678 | ||
1679 | ||
1680 | ||
1681 | ||
1682 | ||
1683 | ||
1684 | ||
1685 | ||
1686 | ||
1687 | ||
1688 | ||
1689 | ||
1690 | ||
1691 | ||
1692 | ||
1896 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
1897 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
1898 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | |
1899 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
1900 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | |
1901 | fi | |
1902 | ## -------------------- ## | |
1903 | ## Main body of script. ## | |
1904 | ## -------------------- ## | |
1693 | 1905 | |
1694 | 1906 | ac_ext=c |
1695 | 1907 | ac_cpp='$CPP $CPPFLAGS' |
1717 | 1929 | fi |
1718 | 1930 | done |
1719 | 1931 | if test -z "$ac_aux_dir"; then |
1720 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 | |
1721 | echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | |
1722 | { (exit 1); exit 1; }; } | |
1932 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | |
1723 | 1933 | fi |
1724 | 1934 | |
1725 | 1935 | # These three variables are undocumented and unsupported, |
1733 | 1943 | |
1734 | 1944 | # Make sure we can run config.sub. |
1735 | 1945 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
1736 | { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 | |
1737 | echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | |
1738 | { (exit 1); exit 1; }; } | |
1739 | ||
1740 | { echo "$as_me:$LINENO: checking build system type" >&5 | |
1741 | echo $ECHO_N "checking build system type... $ECHO_C" >&6; } | |
1742 | if test "${ac_cv_build+set}" = set; then | |
1743 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1946 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | |
1947 | ||
1948 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | |
1949 | $as_echo_n "checking build system type... " >&6; } | |
1950 | if ${ac_cv_build+:} false; then : | |
1951 | $as_echo_n "(cached) " >&6 | |
1744 | 1952 | else |
1745 | 1953 | ac_build_alias=$build_alias |
1746 | 1954 | test "x$ac_build_alias" = x && |
1747 | 1955 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
1748 | 1956 | test "x$ac_build_alias" = x && |
1749 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | |
1750 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
1751 | { (exit 1); exit 1; }; } | |
1957 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 | |
1752 | 1958 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
1753 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 | |
1754 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | |
1755 | { (exit 1); exit 1; }; } | |
1756 | ||
1757 | fi | |
1758 | { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | |
1759 | echo "${ECHO_T}$ac_cv_build" >&6; } | |
1959 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | |
1960 | ||
1961 | fi | |
1962 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | |
1963 | $as_echo "$ac_cv_build" >&6; } | |
1760 | 1964 | case $ac_cv_build in |
1761 | 1965 | *-*-*) ;; |
1762 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 | |
1763 | echo "$as_me: error: invalid value of canonical build" >&2;} | |
1764 | { (exit 1); exit 1; }; };; | |
1966 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; | |
1765 | 1967 | esac |
1766 | 1968 | build=$ac_cv_build |
1767 | 1969 | ac_save_IFS=$IFS; IFS='-' |
1777 | 1979 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
1778 | 1980 | |
1779 | 1981 | |
1780 | { echo "$as_me:$LINENO: checking host system type" >&5 | |
1781 | echo $ECHO_N "checking host system type... $ECHO_C" >&6; } | |
1782 | if test "${ac_cv_host+set}" = set; then | |
1783 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1982 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | |
1983 | $as_echo_n "checking host system type... " >&6; } | |
1984 | if ${ac_cv_host+:} false; then : | |
1985 | $as_echo_n "(cached) " >&6 | |
1784 | 1986 | else |
1785 | 1987 | if test "x$host_alias" = x; then |
1786 | 1988 | ac_cv_host=$ac_cv_build |
1787 | 1989 | else |
1788 | 1990 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
1789 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 | |
1790 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | |
1791 | { (exit 1); exit 1; }; } | |
1792 | fi | |
1793 | ||
1794 | fi | |
1795 | { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | |
1796 | echo "${ECHO_T}$ac_cv_host" >&6; } | |
1991 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | |
1992 | fi | |
1993 | ||
1994 | fi | |
1995 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | |
1996 | $as_echo "$ac_cv_host" >&6; } | |
1797 | 1997 | case $ac_cv_host in |
1798 | 1998 | *-*-*) ;; |
1799 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 | |
1800 | echo "$as_me: error: invalid value of canonical host" >&2;} | |
1801 | { (exit 1); exit 1; }; };; | |
1999 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | |
1802 | 2000 | esac |
1803 | 2001 | host=$ac_cv_host |
1804 | 2002 | ac_save_IFS=$IFS; IFS='-' |
1814 | 2012 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
1815 | 2013 | |
1816 | 2014 | |
1817 | { echo "$as_me:$LINENO: checking target system type" >&5 | |
1818 | echo $ECHO_N "checking target system type... $ECHO_C" >&6; } | |
1819 | if test "${ac_cv_target+set}" = set; then | |
1820 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2015 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 | |
2016 | $as_echo_n "checking target system type... " >&6; } | |
2017 | if ${ac_cv_target+:} false; then : | |
2018 | $as_echo_n "(cached) " >&6 | |
1821 | 2019 | else |
1822 | 2020 | if test "x$target_alias" = x; then |
1823 | 2021 | ac_cv_target=$ac_cv_host |
1824 | 2022 | else |
1825 | 2023 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
1826 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 | |
1827 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} | |
1828 | { (exit 1); exit 1; }; } | |
1829 | fi | |
1830 | ||
1831 | fi | |
1832 | { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 | |
1833 | echo "${ECHO_T}$ac_cv_target" >&6; } | |
2024 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 | |
2025 | fi | |
2026 | ||
2027 | fi | |
2028 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 | |
2029 | $as_echo "$ac_cv_target" >&6; } | |
1834 | 2030 | case $ac_cv_target in |
1835 | 2031 | *-*-*) ;; |
1836 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 | |
1837 | echo "$as_me: error: invalid value of canonical target" >&2;} | |
1838 | { (exit 1); exit 1; }; };; | |
2032 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; | |
1839 | 2033 | esac |
1840 | 2034 | target=$ac_cv_target |
1841 | 2035 | ac_save_IFS=$IFS; IFS='-' |
1861 | 2055 | ######## Setup for automake |
1862 | 2056 | NAME="bumprace" |
1863 | 2057 | SDL_VERSION=1.1.5 |
1864 | am__api_version='1.10' | |
2058 | am__api_version='1.15' | |
1865 | 2059 | |
1866 | 2060 | # Find a good install program. We prefer a C program (faster), |
1867 | 2061 | # so one script is as good as another. But avoid the broken or |
1876 | 2070 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1877 | 2071 | # OS/2's system install, which has a completely different semantic |
1878 | 2072 | # ./install, which can be erroneously created by make from ./install.sh. |
1879 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | |
1880 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } | |
2073 | # Reject install programs that cannot install multiple files. | |
2074 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | |
2075 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
1881 | 2076 | if test -z "$INSTALL"; then |
1882 | if test "${ac_cv_path_install+set}" = set; then | |
1883 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2077 | if ${ac_cv_path_install+:} false; then : | |
2078 | $as_echo_n "(cached) " >&6 | |
1884 | 2079 | else |
1885 | 2080 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1886 | 2081 | for as_dir in $PATH |
1887 | 2082 | do |
1888 | 2083 | IFS=$as_save_IFS |
1889 | 2084 | test -z "$as_dir" && as_dir=. |
1890 | # Account for people who put trailing slashes in PATH elements. | |
1891 | case $as_dir/ in | |
1892 | ./ | .// | /cC/* | \ | |
2085 | # Account for people who put trailing slashes in PATH elements. | |
2086 | case $as_dir/ in #(( | |
2087 | ./ | .// | /[cC]/* | \ | |
1893 | 2088 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
1894 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | |
2089 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | |
1895 | 2090 | /usr/ucb/* ) ;; |
1896 | 2091 | *) |
1897 | 2092 | # OSF1 and SCO ODT 3.0 have their own names for install. |
1899 | 2094 | # by default. |
1900 | 2095 | for ac_prog in ginstall scoinst install; do |
1901 | 2096 | for ac_exec_ext in '' $ac_executable_extensions; do |
1902 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | |
2097 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | |
1903 | 2098 | if test $ac_prog = install && |
1904 | 2099 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1905 | 2100 | # AIX install. It has an incompatible calling convention. |
1909 | 2104 | # program-specific install script used by HP pwplus--don't use. |
1910 | 2105 | : |
1911 | 2106 | else |
1912 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
1913 | break 3 | |
2107 | rm -rf conftest.one conftest.two conftest.dir | |
2108 | echo one > conftest.one | |
2109 | echo two > conftest.two | |
2110 | mkdir conftest.dir | |
2111 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
2112 | test -s conftest.one && test -s conftest.two && | |
2113 | test -s conftest.dir/conftest.one && | |
2114 | test -s conftest.dir/conftest.two | |
2115 | then | |
2116 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
2117 | break 3 | |
2118 | fi | |
1914 | 2119 | fi |
1915 | 2120 | fi |
1916 | 2121 | done |
1917 | 2122 | done |
1918 | 2123 | ;; |
1919 | 2124 | esac |
1920 | done | |
2125 | ||
2126 | done | |
1921 | 2127 | IFS=$as_save_IFS |
1922 | 2128 | |
2129 | rm -rf conftest.one conftest.two conftest.dir | |
1923 | 2130 | |
1924 | 2131 | fi |
1925 | 2132 | if test "${ac_cv_path_install+set}" = set; then |
1932 | 2139 | INSTALL=$ac_install_sh |
1933 | 2140 | fi |
1934 | 2141 | fi |
1935 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 | |
1936 | echo "${ECHO_T}$INSTALL" >&6; } | |
2142 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | |
2143 | $as_echo "$INSTALL" >&6; } | |
1937 | 2144 | |
1938 | 2145 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
1939 | 2146 | # It thinks the first close brace ends the variable substitution. |
1943 | 2150 | |
1944 | 2151 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
1945 | 2152 | |
1946 | { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 | |
1947 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } | |
1948 | # Just in case | |
1949 | sleep 1 | |
1950 | echo timestamp > conftest.file | |
1951 | # Do `set' in a subshell so we don't clobber the current shell's | |
2153 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 | |
2154 | $as_echo_n "checking whether build environment is sane... " >&6; } | |
2155 | # Reject unsafe characters in $srcdir or the absolute working directory | |
2156 | # name. Accept space and tab only in the latter. | |
2157 | am_lf=' | |
2158 | ' | |
2159 | case `pwd` in | |
2160 | *[\\\"\#\$\&\'\`$am_lf]*) | |
2161 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | |
2162 | esac | |
2163 | case $srcdir in | |
2164 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) | |
2165 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; | |
2166 | esac | |
2167 | ||
2168 | # Do 'set' in a subshell so we don't clobber the current shell's | |
1952 | 2169 | # arguments. Must try -L first in case configure is actually a |
1953 | 2170 | # symlink; some systems play weird games with the mod time of symlinks |
1954 | 2171 | # (eg FreeBSD returns the mod time of the symlink's containing |
1955 | 2172 | # directory). |
1956 | 2173 | if ( |
1957 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` | |
1958 | if test "$*" = "X"; then | |
1959 | # -L didn't work. | |
1960 | set X `ls -t $srcdir/configure conftest.file` | |
1961 | fi | |
1962 | rm -f conftest.file | |
1963 | if test "$*" != "X $srcdir/configure conftest.file" \ | |
1964 | && test "$*" != "X conftest.file $srcdir/configure"; then | |
1965 | ||
1966 | # If neither matched, then we have a broken ls. This can happen | |
1967 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
1968 | # broken ls alias from the environment. This has actually | |
1969 | # happened. Such a system could not be considered "sane". | |
1970 | { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken | |
1971 | alias in your environment" >&5 | |
1972 | echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken | |
1973 | alias in your environment" >&2;} | |
1974 | { (exit 1); exit 1; }; } | |
1975 | fi | |
1976 | ||
2174 | am_has_slept=no | |
2175 | for am_try in 1 2; do | |
2176 | echo "timestamp, slept: $am_has_slept" > conftest.file | |
2177 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
2178 | if test "$*" = "X"; then | |
2179 | # -L didn't work. | |
2180 | set X `ls -t "$srcdir/configure" conftest.file` | |
2181 | fi | |
2182 | if test "$*" != "X $srcdir/configure conftest.file" \ | |
2183 | && test "$*" != "X conftest.file $srcdir/configure"; then | |
2184 | ||
2185 | # If neither matched, then we have a broken ls. This can happen | |
2186 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
2187 | # broken ls alias from the environment. This has actually | |
2188 | # happened. Such a system could not be considered "sane". | |
2189 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |
2190 | alias in your environment" "$LINENO" 5 | |
2191 | fi | |
2192 | if test "$2" = conftest.file || test $am_try -eq 2; then | |
2193 | break | |
2194 | fi | |
2195 | # Just in case. | |
2196 | sleep 1 | |
2197 | am_has_slept=yes | |
2198 | done | |
1977 | 2199 | test "$2" = conftest.file |
1978 | 2200 | ) |
1979 | 2201 | then |
1980 | 2202 | # Ok. |
1981 | 2203 | : |
1982 | 2204 | else |
1983 | { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! | |
1984 | Check your system clock" >&5 | |
1985 | echo "$as_me: error: newly created file is older than distributed files! | |
1986 | Check your system clock" >&2;} | |
1987 | { (exit 1); exit 1; }; } | |
1988 | fi | |
1989 | { echo "$as_me:$LINENO: result: yes" >&5 | |
1990 | echo "${ECHO_T}yes" >&6; } | |
2205 | as_fn_error $? "newly created file is older than distributed files! | |
2206 | Check your system clock" "$LINENO" 5 | |
2207 | fi | |
2208 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
2209 | $as_echo "yes" >&6; } | |
2210 | # If we didn't sleep, we still need to ensure time stamps of config.status and | |
2211 | # generated files are strictly newer. | |
2212 | am_sleep_pid= | |
2213 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then | |
2214 | ( sleep 1 ) & | |
2215 | am_sleep_pid=$! | |
2216 | fi | |
2217 | ||
2218 | rm -f conftest.file | |
2219 | ||
1991 | 2220 | test "$program_prefix" != NONE && |
1992 | 2221 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
1993 | 2222 | # Use a double $ so make ignores it. |
1994 | 2223 | test "$program_suffix" != NONE && |
1995 | 2224 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
1996 | # Double any \ or $. echo might interpret backslashes. | |
2225 | # Double any \ or $. | |
1997 | 2226 | # By default was `s,x,x', remove it if useless. |
1998 | cat <<\_ACEOF >conftest.sed | |
1999 | s/[\\$]/&&/g;s/;s,x,x,$// | |
2000 | _ACEOF | |
2001 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | |
2002 | rm -f conftest.sed | |
2003 | ||
2004 | # expand $ac_aux_dir to an absolute path | |
2005 | am_aux_dir=`cd $ac_aux_dir && pwd` | |
2006 | ||
2007 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | |
2227 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | |
2228 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | |
2229 | ||
2230 | # Expand $ac_aux_dir to an absolute path. | |
2231 | am_aux_dir=`cd "$ac_aux_dir" && pwd` | |
2232 | ||
2233 | if test x"${MISSING+set}" != xset; then | |
2234 | case $am_aux_dir in | |
2235 | *\ * | *\ *) | |
2236 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
2237 | *) | |
2238 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
2239 | esac | |
2240 | fi | |
2008 | 2241 | # Use eval to expand $SHELL |
2009 | if eval "$MISSING --run true"; then | |
2010 | am_missing_run="$MISSING --run " | |
2242 | if eval "$MISSING --is-lightweight"; then | |
2243 | am_missing_run="$MISSING " | |
2011 | 2244 | else |
2012 | 2245 | am_missing_run= |
2013 | { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 | |
2014 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |
2015 | fi | |
2016 | ||
2017 | { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 | |
2018 | echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } | |
2246 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 | |
2247 | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} | |
2248 | fi | |
2249 | ||
2250 | if test x"${install_sh+set}" != xset; then | |
2251 | case $am_aux_dir in | |
2252 | *\ * | *\ *) | |
2253 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |
2254 | *) | |
2255 | install_sh="\${SHELL} $am_aux_dir/install-sh" | |
2256 | esac | |
2257 | fi | |
2258 | ||
2259 | # Installed binaries are usually stripped using 'strip' when the user | |
2260 | # run "make install-strip". However 'strip' might not be the right | |
2261 | # tool to use in cross-compilation environments, therefore Automake | |
2262 | # will honor the 'STRIP' environment variable to overrule this program. | |
2263 | if test "$cross_compiling" != no; then | |
2264 | if test -n "$ac_tool_prefix"; then | |
2265 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | |
2266 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
2267 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2268 | $as_echo_n "checking for $ac_word... " >&6; } | |
2269 | if ${ac_cv_prog_STRIP+:} false; then : | |
2270 | $as_echo_n "(cached) " >&6 | |
2271 | else | |
2272 | if test -n "$STRIP"; then | |
2273 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
2274 | else | |
2275 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2276 | for as_dir in $PATH | |
2277 | do | |
2278 | IFS=$as_save_IFS | |
2279 | test -z "$as_dir" && as_dir=. | |
2280 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2281 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2282 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
2283 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2284 | break 2 | |
2285 | fi | |
2286 | done | |
2287 | done | |
2288 | IFS=$as_save_IFS | |
2289 | ||
2290 | fi | |
2291 | fi | |
2292 | STRIP=$ac_cv_prog_STRIP | |
2293 | if test -n "$STRIP"; then | |
2294 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | |
2295 | $as_echo "$STRIP" >&6; } | |
2296 | else | |
2297 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2298 | $as_echo "no" >&6; } | |
2299 | fi | |
2300 | ||
2301 | ||
2302 | fi | |
2303 | if test -z "$ac_cv_prog_STRIP"; then | |
2304 | ac_ct_STRIP=$STRIP | |
2305 | # Extract the first word of "strip", so it can be a program name with args. | |
2306 | set dummy strip; ac_word=$2 | |
2307 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2308 | $as_echo_n "checking for $ac_word... " >&6; } | |
2309 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : | |
2310 | $as_echo_n "(cached) " >&6 | |
2311 | else | |
2312 | if test -n "$ac_ct_STRIP"; then | |
2313 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
2314 | else | |
2315 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2316 | for as_dir in $PATH | |
2317 | do | |
2318 | IFS=$as_save_IFS | |
2319 | test -z "$as_dir" && as_dir=. | |
2320 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2321 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2322 | ac_cv_prog_ac_ct_STRIP="strip" | |
2323 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2324 | break 2 | |
2325 | fi | |
2326 | done | |
2327 | done | |
2328 | IFS=$as_save_IFS | |
2329 | ||
2330 | fi | |
2331 | fi | |
2332 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
2333 | if test -n "$ac_ct_STRIP"; then | |
2334 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | |
2335 | $as_echo "$ac_ct_STRIP" >&6; } | |
2336 | else | |
2337 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2338 | $as_echo "no" >&6; } | |
2339 | fi | |
2340 | ||
2341 | if test "x$ac_ct_STRIP" = x; then | |
2342 | STRIP=":" | |
2343 | else | |
2344 | case $cross_compiling:$ac_tool_warned in | |
2345 | yes:) | |
2346 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2347 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2348 | ac_tool_warned=yes ;; | |
2349 | esac | |
2350 | STRIP=$ac_ct_STRIP | |
2351 | fi | |
2352 | else | |
2353 | STRIP="$ac_cv_prog_STRIP" | |
2354 | fi | |
2355 | ||
2356 | fi | |
2357 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
2358 | ||
2359 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 | |
2360 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | |
2019 | 2361 | if test -z "$MKDIR_P"; then |
2020 | if test "${ac_cv_path_mkdir+set}" = set; then | |
2021 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2362 | if ${ac_cv_path_mkdir+:} false; then : | |
2363 | $as_echo_n "(cached) " >&6 | |
2022 | 2364 | else |
2023 | 2365 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2024 | 2366 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
2025 | 2367 | do |
2026 | 2368 | IFS=$as_save_IFS |
2027 | 2369 | test -z "$as_dir" && as_dir=. |
2028 | for ac_prog in mkdir gmkdir; do | |
2370 | for ac_prog in mkdir gmkdir; do | |
2029 | 2371 | for ac_exec_ext in '' $ac_executable_extensions; do |
2030 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | |
2372 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue | |
2031 | 2373 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2032 | 2374 | 'mkdir (GNU coreutils) '* | \ |
2033 | 2375 | 'mkdir (coreutils) '* | \ |
2037 | 2379 | esac |
2038 | 2380 | done |
2039 | 2381 | done |
2040 | done | |
2382 | done | |
2041 | 2383 | IFS=$as_save_IFS |
2042 | 2384 | |
2043 | 2385 | fi |
2044 | 2386 | |
2387 | test -d ./--version && rmdir ./--version | |
2045 | 2388 | if test "${ac_cv_path_mkdir+set}" = set; then |
2046 | 2389 | MKDIR_P="$ac_cv_path_mkdir -p" |
2047 | 2390 | else |
2049 | 2392 | # value for MKDIR_P within a source directory, because that will |
2050 | 2393 | # break other packages using the cache if that directory is |
2051 | 2394 | # removed, or if the value is a relative name. |
2052 | test -d ./--version && rmdir ./--version | |
2053 | 2395 | MKDIR_P="$ac_install_sh -d" |
2054 | 2396 | fi |
2055 | 2397 | fi |
2056 | { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 | |
2057 | echo "${ECHO_T}$MKDIR_P" >&6; } | |
2058 | ||
2059 | mkdir_p="$MKDIR_P" | |
2060 | case $mkdir_p in | |
2061 | [\\/$]* | ?:[\\/]*) ;; | |
2062 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
2063 | esac | |
2398 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | |
2399 | $as_echo "$MKDIR_P" >&6; } | |
2064 | 2400 | |
2065 | 2401 | for ac_prog in gawk mawk nawk awk |
2066 | 2402 | do |
2067 | 2403 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2068 | 2404 | set dummy $ac_prog; ac_word=$2 |
2069 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2070 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
2071 | if test "${ac_cv_prog_AWK+set}" = set; then | |
2072 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2405 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2406 | $as_echo_n "checking for $ac_word... " >&6; } | |
2407 | if ${ac_cv_prog_AWK+:} false; then : | |
2408 | $as_echo_n "(cached) " >&6 | |
2073 | 2409 | else |
2074 | 2410 | if test -n "$AWK"; then |
2075 | 2411 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2079 | 2415 | do |
2080 | 2416 | IFS=$as_save_IFS |
2081 | 2417 | test -z "$as_dir" && as_dir=. |
2082 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2083 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2418 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2419 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2084 | 2420 | ac_cv_prog_AWK="$ac_prog" |
2085 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2421 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2086 | 2422 | break 2 |
2087 | 2423 | fi |
2088 | 2424 | done |
2089 | done | |
2425 | done | |
2090 | 2426 | IFS=$as_save_IFS |
2091 | 2427 | |
2092 | 2428 | fi |
2093 | 2429 | fi |
2094 | 2430 | AWK=$ac_cv_prog_AWK |
2095 | 2431 | if test -n "$AWK"; then |
2096 | { echo "$as_me:$LINENO: result: $AWK" >&5 | |
2097 | echo "${ECHO_T}$AWK" >&6; } | |
2098 | else | |
2099 | { echo "$as_me:$LINENO: result: no" >&5 | |
2100 | echo "${ECHO_T}no" >&6; } | |
2432 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | |
2433 | $as_echo "$AWK" >&6; } | |
2434 | else | |
2435 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2436 | $as_echo "no" >&6; } | |
2101 | 2437 | fi |
2102 | 2438 | |
2103 | 2439 | |
2104 | 2440 | test -n "$AWK" && break |
2105 | 2441 | done |
2106 | 2442 | |
2107 | { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | |
2108 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } | |
2109 | set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | |
2110 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then | |
2111 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2443 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | |
2444 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | |
2445 | set x ${MAKE-make} | |
2446 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | |
2447 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : | |
2448 | $as_echo_n "(cached) " >&6 | |
2112 | 2449 | else |
2113 | 2450 | cat >conftest.make <<\_ACEOF |
2114 | 2451 | SHELL = /bin/sh |
2115 | 2452 | all: |
2116 | 2453 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
2117 | 2454 | _ACEOF |
2118 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
2455 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | |
2119 | 2456 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2120 | 2457 | *@@@%%%=?*=@@@%%%*) |
2121 | 2458 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
2125 | 2462 | rm -f conftest.make |
2126 | 2463 | fi |
2127 | 2464 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
2128 | { echo "$as_me:$LINENO: result: yes" >&5 | |
2129 | echo "${ECHO_T}yes" >&6; } | |
2465 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
2466 | $as_echo "yes" >&6; } | |
2130 | 2467 | SET_MAKE= |
2131 | 2468 | else |
2132 | { echo "$as_me:$LINENO: result: no" >&5 | |
2133 | echo "${ECHO_T}no" >&6; } | |
2469 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2470 | $as_echo "no" >&6; } | |
2134 | 2471 | SET_MAKE="MAKE=${MAKE-make}" |
2135 | 2472 | fi |
2136 | 2473 | |
2142 | 2479 | am__leading_dot=_ |
2143 | 2480 | fi |
2144 | 2481 | rmdir .tst 2>/dev/null |
2482 | ||
2483 | # Check whether --enable-silent-rules was given. | |
2484 | if test "${enable_silent_rules+set}" = set; then : | |
2485 | enableval=$enable_silent_rules; | |
2486 | fi | |
2487 | ||
2488 | case $enable_silent_rules in # ((( | |
2489 | yes) AM_DEFAULT_VERBOSITY=0;; | |
2490 | no) AM_DEFAULT_VERBOSITY=1;; | |
2491 | *) AM_DEFAULT_VERBOSITY=1;; | |
2492 | esac | |
2493 | am_make=${MAKE-make} | |
2494 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 | |
2495 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; } | |
2496 | if ${am_cv_make_support_nested_variables+:} false; then : | |
2497 | $as_echo_n "(cached) " >&6 | |
2498 | else | |
2499 | if $as_echo 'TRUE=$(BAR$(V)) | |
2500 | BAR0=false | |
2501 | BAR1=true | |
2502 | V=1 | |
2503 | am__doit: | |
2504 | @$(TRUE) | |
2505 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then | |
2506 | am_cv_make_support_nested_variables=yes | |
2507 | else | |
2508 | am_cv_make_support_nested_variables=no | |
2509 | fi | |
2510 | fi | |
2511 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 | |
2512 | $as_echo "$am_cv_make_support_nested_variables" >&6; } | |
2513 | if test $am_cv_make_support_nested_variables = yes; then | |
2514 | AM_V='$(V)' | |
2515 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | |
2516 | else | |
2517 | AM_V=$AM_DEFAULT_VERBOSITY | |
2518 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | |
2519 | fi | |
2520 | AM_BACKSLASH='\' | |
2145 | 2521 | |
2146 | 2522 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
2147 | 2523 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
2149 | 2525 | am__isrc=' -I$(srcdir)' |
2150 | 2526 | # test to see if srcdir already configured |
2151 | 2527 | if test -f $srcdir/config.status; then |
2152 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | |
2153 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | |
2154 | { (exit 1); exit 1; }; } | |
2528 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 | |
2155 | 2529 | fi |
2156 | 2530 | fi |
2157 | 2531 | |
2166 | 2540 | |
2167 | 2541 | |
2168 | 2542 | # Define the identity of the package. |
2543 | ||
2169 | 2544 | PACKAGE=$NAME |
2170 | VERSION=1.5.4 | |
2545 | VERSION=1.5.3 | |
2171 | 2546 | |
2172 | 2547 | |
2173 | 2548 | cat >>confdefs.h <<_ACEOF |
2195 | 2570 | |
2196 | 2571 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
2197 | 2572 | |
2198 | install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} | |
2199 | ||
2200 | # Installed binaries are usually stripped using `strip' when the user | |
2201 | # run `make install-strip'. However `strip' might not be the right | |
2202 | # tool to use in cross-compilation environments, therefore Automake | |
2203 | # will honor the `STRIP' environment variable to overrule this program. | |
2204 | if test "$cross_compiling" != no; then | |
2205 | if test -n "$ac_tool_prefix"; then | |
2206 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | |
2207 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
2208 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2209 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
2210 | if test "${ac_cv_prog_STRIP+set}" = set; then | |
2211 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2212 | else | |
2213 | if test -n "$STRIP"; then | |
2214 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
2215 | else | |
2216 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2217 | for as_dir in $PATH | |
2218 | do | |
2219 | IFS=$as_save_IFS | |
2220 | test -z "$as_dir" && as_dir=. | |
2221 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2222 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2223 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
2224 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2225 | break 2 | |
2573 | # For better backward compatibility. To be removed once Automake 1.9.x | |
2574 | # dies out for good. For more background, see: | |
2575 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
2576 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
2577 | mkdir_p='$(MKDIR_P)' | |
2578 | ||
2579 | # We need awk for the "check" target (and possibly the TAP driver). The | |
2580 | # system "awk" is bad on some platforms. | |
2581 | # Always define AMTAR for backward compatibility. Yes, it's still used | |
2582 | # in the wild :-( We should find a proper way to deprecate it ... | |
2583 | AMTAR='$${TAR-tar}' | |
2584 | ||
2585 | ||
2586 | # We'll loop over all known methods to create a tar archive until one works. | |
2587 | _am_tools='gnutar pax cpio none' | |
2588 | ||
2589 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' | |
2590 | ||
2591 | ||
2592 | ||
2593 | ||
2594 | ||
2595 | ||
2596 | # POSIX will say in a future version that running "rm -f" with no argument | |
2597 | # is OK; and we want to be able to make that assumption in our Makefile | |
2598 | # recipes. So use an aggressive probe to check that the usage we want is | |
2599 | # actually supported "in the wild" to an acceptable degree. | |
2600 | # See automake bug#10828. | |
2601 | # To make any issue more visible, cause the running configure to be aborted | |
2602 | # by default if the 'rm' program in use doesn't match our expectations; the | |
2603 | # user can still override this though. | |
2604 | if rm -f && rm -fr && rm -rf; then : OK; else | |
2605 | cat >&2 <<'END' | |
2606 | Oops! | |
2607 | ||
2608 | Your 'rm' program seems unable to run without file operands specified | |
2609 | on the command line, even when the '-f' option is present. This is contrary | |
2610 | to the behaviour of most rm programs out there, and not conforming with | |
2611 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | |
2612 | ||
2613 | Please tell bug-automake@gnu.org about your system, including the value | |
2614 | of your $PATH and any error possibly output before this message. This | |
2615 | can help us improve future automake versions. | |
2616 | ||
2617 | END | |
2618 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | |
2619 | echo 'Configuration will proceed anyway, since you have set the' >&2 | |
2620 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | |
2621 | echo >&2 | |
2622 | else | |
2623 | cat >&2 <<'END' | |
2624 | Aborting the configuration process, to ensure you take notice of the issue. | |
2625 | ||
2626 | You can download and install GNU coreutils to get an 'rm' implementation | |
2627 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | |
2628 | ||
2629 | If you want to complete the configuration process using your problematic | |
2630 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | |
2631 | to "yes", and re-run configure. | |
2632 | ||
2633 | END | |
2634 | as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 | |
2226 | 2635 | fi |
2227 | done | |
2228 | done | |
2229 | IFS=$as_save_IFS | |
2230 | ||
2231 | fi | |
2232 | fi | |
2233 | STRIP=$ac_cv_prog_STRIP | |
2234 | if test -n "$STRIP"; then | |
2235 | { echo "$as_me:$LINENO: result: $STRIP" >&5 | |
2236 | echo "${ECHO_T}$STRIP" >&6; } | |
2237 | else | |
2238 | { echo "$as_me:$LINENO: result: no" >&5 | |
2239 | echo "${ECHO_T}no" >&6; } | |
2240 | fi | |
2241 | ||
2242 | ||
2243 | fi | |
2244 | if test -z "$ac_cv_prog_STRIP"; then | |
2245 | ac_ct_STRIP=$STRIP | |
2246 | # Extract the first word of "strip", so it can be a program name with args. | |
2247 | set dummy strip; ac_word=$2 | |
2248 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2249 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
2250 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | |
2251 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2252 | else | |
2253 | if test -n "$ac_ct_STRIP"; then | |
2254 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
2255 | else | |
2256 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2257 | for as_dir in $PATH | |
2258 | do | |
2259 | IFS=$as_save_IFS | |
2260 | test -z "$as_dir" && as_dir=. | |
2261 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2262 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2263 | ac_cv_prog_ac_ct_STRIP="strip" | |
2264 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2265 | break 2 | |
2266 | fi | |
2267 | done | |
2268 | done | |
2269 | IFS=$as_save_IFS | |
2270 | ||
2271 | fi | |
2272 | fi | |
2273 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
2274 | if test -n "$ac_ct_STRIP"; then | |
2275 | { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | |
2276 | echo "${ECHO_T}$ac_ct_STRIP" >&6; } | |
2277 | else | |
2278 | { echo "$as_me:$LINENO: result: no" >&5 | |
2279 | echo "${ECHO_T}no" >&6; } | |
2280 | fi | |
2281 | ||
2282 | if test "x$ac_ct_STRIP" = x; then | |
2283 | STRIP=":" | |
2284 | else | |
2285 | case $cross_compiling:$ac_tool_warned in | |
2286 | yes:) | |
2287 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
2288 | whose name does not start with the host triplet. If you think this | |
2289 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
2290 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
2291 | whose name does not start with the host triplet. If you think this | |
2292 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
2293 | ac_tool_warned=yes ;; | |
2294 | esac | |
2295 | STRIP=$ac_ct_STRIP | |
2296 | fi | |
2297 | else | |
2298 | STRIP="$ac_cv_prog_STRIP" | |
2299 | fi | |
2300 | ||
2301 | fi | |
2302 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
2303 | ||
2304 | # We need awk for the "check" target. The system "awk" is bad on | |
2305 | # some platforms. | |
2306 | # Always define AMTAR for backward compatibility. | |
2307 | ||
2308 | AMTAR=${AMTAR-"${am_missing_run}tar"} | |
2309 | ||
2310 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | |
2311 | ||
2312 | ||
2313 | ||
2314 | ||
2636 | fi | |
2315 | 2637 | |
2316 | 2638 | |
2317 | 2639 | ######## Check for tools |
2323 | 2645 | if test -n "$ac_tool_prefix"; then |
2324 | 2646 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2325 | 2647 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2326 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2327 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
2328 | if test "${ac_cv_prog_CC+set}" = set; then | |
2329 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2648 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2649 | $as_echo_n "checking for $ac_word... " >&6; } | |
2650 | if ${ac_cv_prog_CC+:} false; then : | |
2651 | $as_echo_n "(cached) " >&6 | |
2330 | 2652 | else |
2331 | 2653 | if test -n "$CC"; then |
2332 | 2654 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2336 | 2658 | do |
2337 | 2659 | IFS=$as_save_IFS |
2338 | 2660 | test -z "$as_dir" && as_dir=. |
2339 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2340 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2661 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2662 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2341 | 2663 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2342 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2664 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2343 | 2665 | break 2 |
2344 | 2666 | fi |
2345 | 2667 | done |
2346 | done | |
2668 | done | |
2347 | 2669 | IFS=$as_save_IFS |
2348 | 2670 | |
2349 | 2671 | fi |
2350 | 2672 | fi |
2351 | 2673 | CC=$ac_cv_prog_CC |
2352 | 2674 | if test -n "$CC"; then |
2353 | { echo "$as_me:$LINENO: result: $CC" >&5 | |
2354 | echo "${ECHO_T}$CC" >&6; } | |
2355 | else | |
2356 | { echo "$as_me:$LINENO: result: no" >&5 | |
2357 | echo "${ECHO_T}no" >&6; } | |
2675 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
2676 | $as_echo "$CC" >&6; } | |
2677 | else | |
2678 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2679 | $as_echo "no" >&6; } | |
2358 | 2680 | fi |
2359 | 2681 | |
2360 | 2682 | |
2363 | 2685 | ac_ct_CC=$CC |
2364 | 2686 | # Extract the first word of "gcc", so it can be a program name with args. |
2365 | 2687 | set dummy gcc; ac_word=$2 |
2366 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2367 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
2368 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
2369 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2688 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2689 | $as_echo_n "checking for $ac_word... " >&6; } | |
2690 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
2691 | $as_echo_n "(cached) " >&6 | |
2370 | 2692 | else |
2371 | 2693 | if test -n "$ac_ct_CC"; then |
2372 | 2694 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2376 | 2698 | do |
2377 | 2699 | IFS=$as_save_IFS |
2378 | 2700 | test -z "$as_dir" && as_dir=. |
2379 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2380 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2701 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2702 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2381 | 2703 | ac_cv_prog_ac_ct_CC="gcc" |
2382 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2704 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2383 | 2705 | break 2 |
2384 | 2706 | fi |
2385 | 2707 | done |
2386 | done | |
2708 | done | |
2387 | 2709 | IFS=$as_save_IFS |
2388 | 2710 | |
2389 | 2711 | fi |
2390 | 2712 | fi |
2391 | 2713 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2392 | 2714 | if test -n "$ac_ct_CC"; then |
2393 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
2394 | echo "${ECHO_T}$ac_ct_CC" >&6; } | |
2395 | else | |
2396 | { echo "$as_me:$LINENO: result: no" >&5 | |
2397 | echo "${ECHO_T}no" >&6; } | |
2715 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
2716 | $as_echo "$ac_ct_CC" >&6; } | |
2717 | else | |
2718 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2719 | $as_echo "no" >&6; } | |
2398 | 2720 | fi |
2399 | 2721 | |
2400 | 2722 | if test "x$ac_ct_CC" = x; then |
2402 | 2724 | else |
2403 | 2725 | case $cross_compiling:$ac_tool_warned in |
2404 | 2726 | yes:) |
2405 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
2406 | whose name does not start with the host triplet. If you think this | |
2407 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
2408 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
2409 | whose name does not start with the host triplet. If you think this | |
2410 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
2727 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2728 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2411 | 2729 | ac_tool_warned=yes ;; |
2412 | 2730 | esac |
2413 | 2731 | CC=$ac_ct_CC |
2420 | 2738 | if test -n "$ac_tool_prefix"; then |
2421 | 2739 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2422 | 2740 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2423 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2424 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
2425 | if test "${ac_cv_prog_CC+set}" = set; then | |
2426 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2741 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2742 | $as_echo_n "checking for $ac_word... " >&6; } | |
2743 | if ${ac_cv_prog_CC+:} false; then : | |
2744 | $as_echo_n "(cached) " >&6 | |
2427 | 2745 | else |
2428 | 2746 | if test -n "$CC"; then |
2429 | 2747 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2433 | 2751 | do |
2434 | 2752 | IFS=$as_save_IFS |
2435 | 2753 | test -z "$as_dir" && as_dir=. |
2436 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2437 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2754 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2755 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2438 | 2756 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2439 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2757 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2440 | 2758 | break 2 |
2441 | 2759 | fi |
2442 | 2760 | done |
2443 | done | |
2761 | done | |
2444 | 2762 | IFS=$as_save_IFS |
2445 | 2763 | |
2446 | 2764 | fi |
2447 | 2765 | fi |
2448 | 2766 | CC=$ac_cv_prog_CC |
2449 | 2767 | if test -n "$CC"; then |
2450 | { echo "$as_me:$LINENO: result: $CC" >&5 | |
2451 | echo "${ECHO_T}$CC" >&6; } | |
2452 | else | |
2453 | { echo "$as_me:$LINENO: result: no" >&5 | |
2454 | echo "${ECHO_T}no" >&6; } | |
2768 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
2769 | $as_echo "$CC" >&6; } | |
2770 | else | |
2771 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2772 | $as_echo "no" >&6; } | |
2455 | 2773 | fi |
2456 | 2774 | |
2457 | 2775 | |
2460 | 2778 | if test -z "$CC"; then |
2461 | 2779 | # Extract the first word of "cc", so it can be a program name with args. |
2462 | 2780 | set dummy cc; ac_word=$2 |
2463 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2464 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
2465 | if test "${ac_cv_prog_CC+set}" = set; then | |
2466 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2781 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2782 | $as_echo_n "checking for $ac_word... " >&6; } | |
2783 | if ${ac_cv_prog_CC+:} false; then : | |
2784 | $as_echo_n "(cached) " >&6 | |
2467 | 2785 | else |
2468 | 2786 | if test -n "$CC"; then |
2469 | 2787 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2474 | 2792 | do |
2475 | 2793 | IFS=$as_save_IFS |
2476 | 2794 | test -z "$as_dir" && as_dir=. |
2477 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2478 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2795 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2796 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2479 | 2797 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2480 | 2798 | ac_prog_rejected=yes |
2481 | 2799 | continue |
2482 | 2800 | fi |
2483 | 2801 | ac_cv_prog_CC="cc" |
2484 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2802 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2485 | 2803 | break 2 |
2486 | 2804 | fi |
2487 | 2805 | done |
2488 | done | |
2806 | done | |
2489 | 2807 | IFS=$as_save_IFS |
2490 | 2808 | |
2491 | 2809 | if test $ac_prog_rejected = yes; then |
2504 | 2822 | fi |
2505 | 2823 | CC=$ac_cv_prog_CC |
2506 | 2824 | if test -n "$CC"; then |
2507 | { echo "$as_me:$LINENO: result: $CC" >&5 | |
2508 | echo "${ECHO_T}$CC" >&6; } | |
2509 | else | |
2510 | { echo "$as_me:$LINENO: result: no" >&5 | |
2511 | echo "${ECHO_T}no" >&6; } | |
2825 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
2826 | $as_echo "$CC" >&6; } | |
2827 | else | |
2828 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2829 | $as_echo "no" >&6; } | |
2512 | 2830 | fi |
2513 | 2831 | |
2514 | 2832 | |
2519 | 2837 | do |
2520 | 2838 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2521 | 2839 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2522 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2523 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
2524 | if test "${ac_cv_prog_CC+set}" = set; then | |
2525 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2840 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2841 | $as_echo_n "checking for $ac_word... " >&6; } | |
2842 | if ${ac_cv_prog_CC+:} false; then : | |
2843 | $as_echo_n "(cached) " >&6 | |
2526 | 2844 | else |
2527 | 2845 | if test -n "$CC"; then |
2528 | 2846 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2532 | 2850 | do |
2533 | 2851 | IFS=$as_save_IFS |
2534 | 2852 | test -z "$as_dir" && as_dir=. |
2535 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2536 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2853 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2854 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2537 | 2855 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2538 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2856 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2539 | 2857 | break 2 |
2540 | 2858 | fi |
2541 | 2859 | done |
2542 | done | |
2860 | done | |
2543 | 2861 | IFS=$as_save_IFS |
2544 | 2862 | |
2545 | 2863 | fi |
2546 | 2864 | fi |
2547 | 2865 | CC=$ac_cv_prog_CC |
2548 | 2866 | if test -n "$CC"; then |
2549 | { echo "$as_me:$LINENO: result: $CC" >&5 | |
2550 | echo "${ECHO_T}$CC" >&6; } | |
2551 | else | |
2552 | { echo "$as_me:$LINENO: result: no" >&5 | |
2553 | echo "${ECHO_T}no" >&6; } | |
2867 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
2868 | $as_echo "$CC" >&6; } | |
2869 | else | |
2870 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2871 | $as_echo "no" >&6; } | |
2554 | 2872 | fi |
2555 | 2873 | |
2556 | 2874 | |
2563 | 2881 | do |
2564 | 2882 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2565 | 2883 | set dummy $ac_prog; ac_word=$2 |
2566 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2567 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
2568 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
2569 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2884 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2885 | $as_echo_n "checking for $ac_word... " >&6; } | |
2886 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
2887 | $as_echo_n "(cached) " >&6 | |
2570 | 2888 | else |
2571 | 2889 | if test -n "$ac_ct_CC"; then |
2572 | 2890 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2576 | 2894 | do |
2577 | 2895 | IFS=$as_save_IFS |
2578 | 2896 | test -z "$as_dir" && as_dir=. |
2579 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2580 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2897 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2898 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2581 | 2899 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2582 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2900 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2583 | 2901 | break 2 |
2584 | 2902 | fi |
2585 | 2903 | done |
2586 | done | |
2904 | done | |
2587 | 2905 | IFS=$as_save_IFS |
2588 | 2906 | |
2589 | 2907 | fi |
2590 | 2908 | fi |
2591 | 2909 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2592 | 2910 | if test -n "$ac_ct_CC"; then |
2593 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
2594 | echo "${ECHO_T}$ac_ct_CC" >&6; } | |
2595 | else | |
2596 | { echo "$as_me:$LINENO: result: no" >&5 | |
2597 | echo "${ECHO_T}no" >&6; } | |
2911 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
2912 | $as_echo "$ac_ct_CC" >&6; } | |
2913 | else | |
2914 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2915 | $as_echo "no" >&6; } | |
2598 | 2916 | fi |
2599 | 2917 | |
2600 | 2918 | |
2606 | 2924 | else |
2607 | 2925 | case $cross_compiling:$ac_tool_warned in |
2608 | 2926 | yes:) |
2609 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
2610 | whose name does not start with the host triplet. If you think this | |
2611 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
2612 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
2613 | whose name does not start with the host triplet. If you think this | |
2614 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
2927 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2928 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2615 | 2929 | ac_tool_warned=yes ;; |
2616 | 2930 | esac |
2617 | 2931 | CC=$ac_ct_CC |
2621 | 2935 | fi |
2622 | 2936 | |
2623 | 2937 | |
2624 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | |
2625 | See \`config.log' for more details." >&5 | |
2626 | echo "$as_me: error: no acceptable C compiler found in \$PATH | |
2627 | See \`config.log' for more details." >&2;} | |
2628 | { (exit 1); exit 1; }; } | |
2938 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2939 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2940 | as_fn_error $? "no acceptable C compiler found in \$PATH | |
2941 | See \`config.log' for more details" "$LINENO" 5; } | |
2629 | 2942 | |
2630 | 2943 | # Provide some information about the compiler. |
2631 | echo "$as_me:$LINENO: checking for C compiler version" >&5 | |
2632 | ac_compiler=`set X $ac_compile; echo $2` | |
2633 | { (ac_try="$ac_compiler --version >&5" | |
2944 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | |
2945 | set X $ac_compile | |
2946 | ac_compiler=$2 | |
2947 | for ac_option in --version -v -V -qversion; do | |
2948 | { { ac_try="$ac_compiler $ac_option >&5" | |
2634 | 2949 | case "(($ac_try" in |
2635 | 2950 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2636 | 2951 | *) ac_try_echo=$ac_try;; |
2637 | 2952 | esac |
2638 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2639 | (eval "$ac_compiler --version >&5") 2>&5 | |
2953 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2954 | $as_echo "$ac_try_echo"; } >&5 | |
2955 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
2640 | 2956 | ac_status=$? |
2641 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2642 | (exit $ac_status); } | |
2643 | { (ac_try="$ac_compiler -v >&5" | |
2644 | case "(($ac_try" in | |
2645 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2646 | *) ac_try_echo=$ac_try;; | |
2647 | esac | |
2648 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2649 | (eval "$ac_compiler -v >&5") 2>&5 | |
2650 | ac_status=$? | |
2651 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2652 | (exit $ac_status); } | |
2653 | { (ac_try="$ac_compiler -V >&5" | |
2654 | case "(($ac_try" in | |
2655 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2656 | *) ac_try_echo=$ac_try;; | |
2657 | esac | |
2658 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2659 | (eval "$ac_compiler -V >&5") 2>&5 | |
2660 | ac_status=$? | |
2661 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2662 | (exit $ac_status); } | |
2663 | ||
2664 | cat >conftest.$ac_ext <<_ACEOF | |
2665 | /* confdefs.h. */ | |
2666 | _ACEOF | |
2667 | cat confdefs.h >>conftest.$ac_ext | |
2668 | cat >>conftest.$ac_ext <<_ACEOF | |
2957 | if test -s conftest.err; then | |
2958 | sed '10a\ | |
2959 | ... rest of stderr output deleted ... | |
2960 | 10q' conftest.err >conftest.er1 | |
2961 | cat conftest.er1 >&5 | |
2962 | fi | |
2963 | rm -f conftest.er1 conftest.err | |
2964 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2965 | test $ac_status = 0; } | |
2966 | done | |
2967 | ||
2968 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2669 | 2969 | /* end confdefs.h. */ |
2670 | 2970 | |
2671 | 2971 | int |
2677 | 2977 | } |
2678 | 2978 | _ACEOF |
2679 | 2979 | ac_clean_files_save=$ac_clean_files |
2680 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | |
2980 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | |
2681 | 2981 | # Try to create an executable without -o first, disregard a.out. |
2682 | 2982 | # It will help us diagnose broken compilers, and finding out an intuition |
2683 | 2983 | # of exeext. |
2684 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | |
2685 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } | |
2686 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
2687 | # | |
2688 | # List of possible output files, starting from the most likely. | |
2689 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) | |
2690 | # only as a last resort. b.out is created by i960 compilers. | |
2691 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | |
2692 | # | |
2693 | # The IRIX 6 linker writes into existing files which may not be | |
2694 | # executable, retaining their permissions. Remove them first so a | |
2695 | # subsequent execution test works. | |
2984 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | |
2985 | $as_echo_n "checking whether the C compiler works... " >&6; } | |
2986 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
2987 | ||
2988 | # The possible output files: | |
2989 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
2990 | ||
2696 | 2991 | ac_rmfiles= |
2697 | 2992 | for ac_file in $ac_files |
2698 | 2993 | do |
2699 | 2994 | case $ac_file in |
2700 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | |
2995 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
2701 | 2996 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
2702 | 2997 | esac |
2703 | 2998 | done |
2704 | 2999 | rm -f $ac_rmfiles |
2705 | 3000 | |
2706 | if { (ac_try="$ac_link_default" | |
3001 | if { { ac_try="$ac_link_default" | |
2707 | 3002 | case "(($ac_try" in |
2708 | 3003 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2709 | 3004 | *) ac_try_echo=$ac_try;; |
2710 | 3005 | esac |
2711 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3006 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3007 | $as_echo "$ac_try_echo"; } >&5 | |
2712 | 3008 | (eval "$ac_link_default") 2>&5 |
2713 | 3009 | ac_status=$? |
2714 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2715 | (exit $ac_status); }; then | |
3010 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3011 | test $ac_status = 0; }; then : | |
2716 | 3012 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2717 | 3013 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2718 | 3014 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
2722 | 3018 | do |
2723 | 3019 | test -f "$ac_file" || continue |
2724 | 3020 | case $ac_file in |
2725 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) | |
3021 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | |
2726 | 3022 | ;; |
2727 | 3023 | [ab].out ) |
2728 | 3024 | # We found the default executable, but exeext='' is most |
2729 | 3025 | # certainly right. |
2730 | 3026 | break;; |
2731 | 3027 | *.* ) |
2732 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | |
3028 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | |
2733 | 3029 | then :; else |
2734 | 3030 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2735 | 3031 | fi |
2748 | 3044 | else |
2749 | 3045 | ac_file='' |
2750 | 3046 | fi |
2751 | ||
2752 | { echo "$as_me:$LINENO: result: $ac_file" >&5 | |
2753 | echo "${ECHO_T}$ac_file" >&6; } | |
2754 | if test -z "$ac_file"; then | |
2755 | echo "$as_me: failed program was:" >&5 | |
3047 | if test -z "$ac_file"; then : | |
3048 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3049 | $as_echo "no" >&6; } | |
3050 | $as_echo "$as_me: failed program was:" >&5 | |
2756 | 3051 | sed 's/^/| /' conftest.$ac_ext >&5 |
2757 | 3052 | |
2758 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables | |
2759 | See \`config.log' for more details." >&5 | |
2760 | echo "$as_me: error: C compiler cannot create executables | |
2761 | See \`config.log' for more details." >&2;} | |
2762 | { (exit 77); exit 77; }; } | |
2763 | fi | |
2764 | ||
3053 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3054 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3055 | as_fn_error 77 "C compiler cannot create executables | |
3056 | See \`config.log' for more details" "$LINENO" 5; } | |
3057 | else | |
3058 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
3059 | $as_echo "yes" >&6; } | |
3060 | fi | |
3061 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | |
3062 | $as_echo_n "checking for C compiler default output file name... " >&6; } | |
3063 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
3064 | $as_echo "$ac_file" >&6; } | |
2765 | 3065 | ac_exeext=$ac_cv_exeext |
2766 | 3066 | |
2767 | # Check that the compiler produces executables we can run. If not, either | |
2768 | # the compiler is broken, or we cross compile. | |
2769 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | |
2770 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } | |
2771 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | |
2772 | # If not cross compiling, check that we can run a simple program. | |
2773 | if test "$cross_compiling" != yes; then | |
2774 | if { ac_try='./$ac_file' | |
2775 | { (case "(($ac_try" in | |
2776 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2777 | *) ac_try_echo=$ac_try;; | |
2778 | esac | |
2779 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2780 | (eval "$ac_try") 2>&5 | |
2781 | ac_status=$? | |
2782 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2783 | (exit $ac_status); }; }; then | |
2784 | cross_compiling=no | |
2785 | else | |
2786 | if test "$cross_compiling" = maybe; then | |
2787 | cross_compiling=yes | |
2788 | else | |
2789 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | |
2790 | If you meant to cross compile, use \`--host'. | |
2791 | See \`config.log' for more details." >&5 | |
2792 | echo "$as_me: error: cannot run C compiled programs. | |
2793 | If you meant to cross compile, use \`--host'. | |
2794 | See \`config.log' for more details." >&2;} | |
2795 | { (exit 1); exit 1; }; } | |
2796 | fi | |
2797 | fi | |
2798 | fi | |
2799 | { echo "$as_me:$LINENO: result: yes" >&5 | |
2800 | echo "${ECHO_T}yes" >&6; } | |
2801 | ||
2802 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | |
3067 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | |
2803 | 3068 | ac_clean_files=$ac_clean_files_save |
2804 | # Check that the compiler produces executables we can run. If not, either | |
2805 | # the compiler is broken, or we cross compile. | |
2806 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | |
2807 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } | |
2808 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 | |
2809 | echo "${ECHO_T}$cross_compiling" >&6; } | |
2810 | ||
2811 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 | |
2812 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } | |
2813 | if { (ac_try="$ac_link" | |
3069 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | |
3070 | $as_echo_n "checking for suffix of executables... " >&6; } | |
3071 | if { { ac_try="$ac_link" | |
2814 | 3072 | case "(($ac_try" in |
2815 | 3073 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2816 | 3074 | *) ac_try_echo=$ac_try;; |
2817 | 3075 | esac |
2818 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3076 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3077 | $as_echo "$ac_try_echo"; } >&5 | |
2819 | 3078 | (eval "$ac_link") 2>&5 |
2820 | 3079 | ac_status=$? |
2821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2822 | (exit $ac_status); }; then | |
3080 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3081 | test $ac_status = 0; }; then : | |
2823 | 3082 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2824 | 3083 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2825 | 3084 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
2827 | 3086 | for ac_file in conftest.exe conftest conftest.*; do |
2828 | 3087 | test -f "$ac_file" || continue |
2829 | 3088 | case $ac_file in |
2830 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | |
3089 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
2831 | 3090 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2832 | 3091 | break;; |
2833 | 3092 | * ) break;; |
2834 | 3093 | esac |
2835 | 3094 | done |
2836 | 3095 | else |
2837 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | |
2838 | See \`config.log' for more details." >&5 | |
2839 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | |
2840 | See \`config.log' for more details." >&2;} | |
2841 | { (exit 1); exit 1; }; } | |
2842 | fi | |
2843 | ||
2844 | rm -f conftest$ac_cv_exeext | |
2845 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | |
2846 | echo "${ECHO_T}$ac_cv_exeext" >&6; } | |
3096 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3097 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3098 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link | |
3099 | See \`config.log' for more details" "$LINENO" 5; } | |
3100 | fi | |
3101 | rm -f conftest conftest$ac_cv_exeext | |
3102 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | |
3103 | $as_echo "$ac_cv_exeext" >&6; } | |
2847 | 3104 | |
2848 | 3105 | rm -f conftest.$ac_ext |
2849 | 3106 | EXEEXT=$ac_cv_exeext |
2850 | 3107 | ac_exeext=$EXEEXT |
2851 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 | |
2852 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } | |
2853 | if test "${ac_cv_objext+set}" = set; then | |
2854 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2855 | else | |
2856 | cat >conftest.$ac_ext <<_ACEOF | |
2857 | /* confdefs.h. */ | |
3108 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3109 | /* end confdefs.h. */ | |
3110 | #include <stdio.h> | |
3111 | int | |
3112 | main () | |
3113 | { | |
3114 | FILE *f = fopen ("conftest.out", "w"); | |
3115 | return ferror (f) || fclose (f) != 0; | |
3116 | ||
3117 | ; | |
3118 | return 0; | |
3119 | } | |
2858 | 3120 | _ACEOF |
2859 | cat confdefs.h >>conftest.$ac_ext | |
2860 | cat >>conftest.$ac_ext <<_ACEOF | |
3121 | ac_clean_files="$ac_clean_files conftest.out" | |
3122 | # Check that the compiler produces executables we can run. If not, either | |
3123 | # the compiler is broken, or we cross compile. | |
3124 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | |
3125 | $as_echo_n "checking whether we are cross compiling... " >&6; } | |
3126 | if test "$cross_compiling" != yes; then | |
3127 | { { ac_try="$ac_link" | |
3128 | case "(($ac_try" in | |
3129 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3130 | *) ac_try_echo=$ac_try;; | |
3131 | esac | |
3132 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3133 | $as_echo "$ac_try_echo"; } >&5 | |
3134 | (eval "$ac_link") 2>&5 | |
3135 | ac_status=$? | |
3136 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3137 | test $ac_status = 0; } | |
3138 | if { ac_try='./conftest$ac_cv_exeext' | |
3139 | { { case "(($ac_try" in | |
3140 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3141 | *) ac_try_echo=$ac_try;; | |
3142 | esac | |
3143 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3144 | $as_echo "$ac_try_echo"; } >&5 | |
3145 | (eval "$ac_try") 2>&5 | |
3146 | ac_status=$? | |
3147 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3148 | test $ac_status = 0; }; }; then | |
3149 | cross_compiling=no | |
3150 | else | |
3151 | if test "$cross_compiling" = maybe; then | |
3152 | cross_compiling=yes | |
3153 | else | |
3154 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3155 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3156 | as_fn_error $? "cannot run C compiled programs. | |
3157 | If you meant to cross compile, use \`--host'. | |
3158 | See \`config.log' for more details" "$LINENO" 5; } | |
3159 | fi | |
3160 | fi | |
3161 | fi | |
3162 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
3163 | $as_echo "$cross_compiling" >&6; } | |
3164 | ||
3165 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |
3166 | ac_clean_files=$ac_clean_files_save | |
3167 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | |
3168 | $as_echo_n "checking for suffix of object files... " >&6; } | |
3169 | if ${ac_cv_objext+:} false; then : | |
3170 | $as_echo_n "(cached) " >&6 | |
3171 | else | |
3172 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2861 | 3173 | /* end confdefs.h. */ |
2862 | 3174 | |
2863 | 3175 | int |
2869 | 3181 | } |
2870 | 3182 | _ACEOF |
2871 | 3183 | rm -f conftest.o conftest.obj |
2872 | if { (ac_try="$ac_compile" | |
3184 | if { { ac_try="$ac_compile" | |
2873 | 3185 | case "(($ac_try" in |
2874 | 3186 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2875 | 3187 | *) ac_try_echo=$ac_try;; |
2876 | 3188 | esac |
2877 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3189 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3190 | $as_echo "$ac_try_echo"; } >&5 | |
2878 | 3191 | (eval "$ac_compile") 2>&5 |
2879 | 3192 | ac_status=$? |
2880 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2881 | (exit $ac_status); }; then | |
3193 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3194 | test $ac_status = 0; }; then : | |
2882 | 3195 | for ac_file in conftest.o conftest.obj conftest.*; do |
2883 | 3196 | test -f "$ac_file" || continue; |
2884 | 3197 | case $ac_file in |
2885 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; | |
3198 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | |
2886 | 3199 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2887 | 3200 | break;; |
2888 | 3201 | esac |
2889 | 3202 | done |
2890 | 3203 | else |
2891 | echo "$as_me: failed program was:" >&5 | |
3204 | $as_echo "$as_me: failed program was:" >&5 | |
2892 | 3205 | sed 's/^/| /' conftest.$ac_ext >&5 |
2893 | 3206 | |
2894 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | |
2895 | See \`config.log' for more details." >&5 | |
2896 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | |
2897 | See \`config.log' for more details." >&2;} | |
2898 | { (exit 1); exit 1; }; } | |
2899 | fi | |
2900 | ||
3207 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3208 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3209 | as_fn_error $? "cannot compute suffix of object files: cannot compile | |
3210 | See \`config.log' for more details" "$LINENO" 5; } | |
3211 | fi | |
2901 | 3212 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2902 | 3213 | fi |
2903 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | |
2904 | echo "${ECHO_T}$ac_cv_objext" >&6; } | |
3214 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | |
3215 | $as_echo "$ac_cv_objext" >&6; } | |
2905 | 3216 | OBJEXT=$ac_cv_objext |
2906 | 3217 | ac_objext=$OBJEXT |
2907 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | |
2908 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } | |
2909 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | |
2910 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2911 | else | |
2912 | cat >conftest.$ac_ext <<_ACEOF | |
2913 | /* confdefs.h. */ | |
2914 | _ACEOF | |
2915 | cat confdefs.h >>conftest.$ac_ext | |
2916 | cat >>conftest.$ac_ext <<_ACEOF | |
3218 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | |
3219 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | |
3220 | if ${ac_cv_c_compiler_gnu+:} false; then : | |
3221 | $as_echo_n "(cached) " >&6 | |
3222 | else | |
3223 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2917 | 3224 | /* end confdefs.h. */ |
2918 | 3225 | |
2919 | 3226 | int |
2927 | 3234 | return 0; |
2928 | 3235 | } |
2929 | 3236 | _ACEOF |
2930 | rm -f conftest.$ac_objext | |
2931 | if { (ac_try="$ac_compile" | |
2932 | case "(($ac_try" in | |
2933 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2934 | *) ac_try_echo=$ac_try;; | |
2935 | esac | |
2936 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2937 | (eval "$ac_compile") 2>conftest.er1 | |
2938 | ac_status=$? | |
2939 | grep -v '^ *+' conftest.er1 >conftest.err | |
2940 | rm -f conftest.er1 | |
2941 | cat conftest.err >&5 | |
2942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2943 | (exit $ac_status); } && { | |
2944 | test -z "$ac_c_werror_flag" || | |
2945 | test ! -s conftest.err | |
2946 | } && test -s conftest.$ac_objext; then | |
3237 | if ac_fn_c_try_compile "$LINENO"; then : | |
2947 | 3238 | ac_compiler_gnu=yes |
2948 | 3239 | else |
2949 | echo "$as_me: failed program was:" >&5 | |
2950 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2951 | ||
2952 | ac_compiler_gnu=no | |
2953 | fi | |
2954 | ||
3240 | ac_compiler_gnu=no | |
3241 | fi | |
2955 | 3242 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2956 | 3243 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2957 | 3244 | |
2958 | 3245 | fi |
2959 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | |
2960 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } | |
2961 | GCC=`test $ac_compiler_gnu = yes && echo yes` | |
3246 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | |
3247 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | |
3248 | if test $ac_compiler_gnu = yes; then | |
3249 | GCC=yes | |
3250 | else | |
3251 | GCC= | |
3252 | fi | |
2962 | 3253 | ac_test_CFLAGS=${CFLAGS+set} |
2963 | 3254 | ac_save_CFLAGS=$CFLAGS |
2964 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | |
2965 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } | |
2966 | if test "${ac_cv_prog_cc_g+set}" = set; then | |
2967 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3255 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | |
3256 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | |
3257 | if ${ac_cv_prog_cc_g+:} false; then : | |
3258 | $as_echo_n "(cached) " >&6 | |
2968 | 3259 | else |
2969 | 3260 | ac_save_c_werror_flag=$ac_c_werror_flag |
2970 | 3261 | ac_c_werror_flag=yes |
2971 | 3262 | ac_cv_prog_cc_g=no |
2972 | 3263 | CFLAGS="-g" |
2973 | cat >conftest.$ac_ext <<_ACEOF | |
2974 | /* confdefs.h. */ | |
2975 | _ACEOF | |
2976 | cat confdefs.h >>conftest.$ac_ext | |
2977 | cat >>conftest.$ac_ext <<_ACEOF | |
3264 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2978 | 3265 | /* end confdefs.h. */ |
2979 | 3266 | |
2980 | 3267 | int |
2985 | 3272 | return 0; |
2986 | 3273 | } |
2987 | 3274 | _ACEOF |
2988 | rm -f conftest.$ac_objext | |
2989 | if { (ac_try="$ac_compile" | |
2990 | case "(($ac_try" in | |
2991 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2992 | *) ac_try_echo=$ac_try;; | |
2993 | esac | |
2994 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2995 | (eval "$ac_compile") 2>conftest.er1 | |
2996 | ac_status=$? | |
2997 | grep -v '^ *+' conftest.er1 >conftest.err | |
2998 | rm -f conftest.er1 | |
2999 | cat conftest.err >&5 | |
3000 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3001 | (exit $ac_status); } && { | |
3002 | test -z "$ac_c_werror_flag" || | |
3003 | test ! -s conftest.err | |
3004 | } && test -s conftest.$ac_objext; then | |
3275 | if ac_fn_c_try_compile "$LINENO"; then : | |
3005 | 3276 | ac_cv_prog_cc_g=yes |
3006 | 3277 | else |
3007 | echo "$as_me: failed program was:" >&5 | |
3008 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3009 | ||
3010 | CFLAGS="" | |
3011 | cat >conftest.$ac_ext <<_ACEOF | |
3012 | /* confdefs.h. */ | |
3013 | _ACEOF | |
3014 | cat confdefs.h >>conftest.$ac_ext | |
3015 | cat >>conftest.$ac_ext <<_ACEOF | |
3278 | CFLAGS="" | |
3279 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3016 | 3280 | /* end confdefs.h. */ |
3017 | 3281 | |
3018 | 3282 | int |
3023 | 3287 | return 0; |
3024 | 3288 | } |
3025 | 3289 | _ACEOF |
3026 | rm -f conftest.$ac_objext | |
3027 | if { (ac_try="$ac_compile" | |
3028 | case "(($ac_try" in | |
3029 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3030 | *) ac_try_echo=$ac_try;; | |
3031 | esac | |
3032 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3033 | (eval "$ac_compile") 2>conftest.er1 | |
3034 | ac_status=$? | |
3035 | grep -v '^ *+' conftest.er1 >conftest.err | |
3036 | rm -f conftest.er1 | |
3037 | cat conftest.err >&5 | |
3038 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3039 | (exit $ac_status); } && { | |
3040 | test -z "$ac_c_werror_flag" || | |
3041 | test ! -s conftest.err | |
3042 | } && test -s conftest.$ac_objext; then | |
3043 | : | |
3044 | else | |
3045 | echo "$as_me: failed program was:" >&5 | |
3046 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3047 | ||
3048 | ac_c_werror_flag=$ac_save_c_werror_flag | |
3290 | if ac_fn_c_try_compile "$LINENO"; then : | |
3291 | ||
3292 | else | |
3293 | ac_c_werror_flag=$ac_save_c_werror_flag | |
3049 | 3294 | CFLAGS="-g" |
3050 | cat >conftest.$ac_ext <<_ACEOF | |
3051 | /* confdefs.h. */ | |
3052 | _ACEOF | |
3053 | cat confdefs.h >>conftest.$ac_ext | |
3054 | cat >>conftest.$ac_ext <<_ACEOF | |
3295 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3055 | 3296 | /* end confdefs.h. */ |
3056 | 3297 | |
3057 | 3298 | int |
3062 | 3303 | return 0; |
3063 | 3304 | } |
3064 | 3305 | _ACEOF |
3065 | rm -f conftest.$ac_objext | |
3066 | if { (ac_try="$ac_compile" | |
3067 | case "(($ac_try" in | |
3068 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3069 | *) ac_try_echo=$ac_try;; | |
3070 | esac | |
3071 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3072 | (eval "$ac_compile") 2>conftest.er1 | |
3073 | ac_status=$? | |
3074 | grep -v '^ *+' conftest.er1 >conftest.err | |
3075 | rm -f conftest.er1 | |
3076 | cat conftest.err >&5 | |
3077 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3078 | (exit $ac_status); } && { | |
3079 | test -z "$ac_c_werror_flag" || | |
3080 | test ! -s conftest.err | |
3081 | } && test -s conftest.$ac_objext; then | |
3306 | if ac_fn_c_try_compile "$LINENO"; then : | |
3082 | 3307 | ac_cv_prog_cc_g=yes |
3083 | else | |
3084 | echo "$as_me: failed program was:" >&5 | |
3085 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3086 | ||
3087 | ||
3088 | fi | |
3089 | ||
3308 | fi | |
3090 | 3309 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3091 | 3310 | fi |
3092 | ||
3093 | 3311 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3094 | 3312 | fi |
3095 | ||
3096 | 3313 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3097 | 3314 | ac_c_werror_flag=$ac_save_c_werror_flag |
3098 | 3315 | fi |
3099 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | |
3100 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } | |
3316 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | |
3317 | $as_echo "$ac_cv_prog_cc_g" >&6; } | |
3101 | 3318 | if test "$ac_test_CFLAGS" = set; then |
3102 | 3319 | CFLAGS=$ac_save_CFLAGS |
3103 | 3320 | elif test $ac_cv_prog_cc_g = yes; then |
3113 | 3330 | CFLAGS= |
3114 | 3331 | fi |
3115 | 3332 | fi |
3116 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 | |
3117 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } | |
3118 | if test "${ac_cv_prog_cc_c89+set}" = set; then | |
3119 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3333 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | |
3334 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | |
3335 | if ${ac_cv_prog_cc_c89+:} false; then : | |
3336 | $as_echo_n "(cached) " >&6 | |
3120 | 3337 | else |
3121 | 3338 | ac_cv_prog_cc_c89=no |
3122 | 3339 | ac_save_CC=$CC |
3123 | cat >conftest.$ac_ext <<_ACEOF | |
3124 | /* confdefs.h. */ | |
3125 | _ACEOF | |
3126 | cat confdefs.h >>conftest.$ac_ext | |
3127 | cat >>conftest.$ac_ext <<_ACEOF | |
3340 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3128 | 3341 | /* end confdefs.h. */ |
3129 | 3342 | #include <stdarg.h> |
3130 | 3343 | #include <stdio.h> |
3131 | #include <sys/types.h> | |
3132 | #include <sys/stat.h> | |
3344 | struct stat; | |
3133 | 3345 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3134 | 3346 | struct buf { int x; }; |
3135 | 3347 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3181 | 3393 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
3182 | 3394 | do |
3183 | 3395 | CC="$ac_save_CC $ac_arg" |
3184 | rm -f conftest.$ac_objext | |
3185 | if { (ac_try="$ac_compile" | |
3186 | case "(($ac_try" in | |
3187 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3188 | *) ac_try_echo=$ac_try;; | |
3189 | esac | |
3190 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3191 | (eval "$ac_compile") 2>conftest.er1 | |
3192 | ac_status=$? | |
3193 | grep -v '^ *+' conftest.er1 >conftest.err | |
3194 | rm -f conftest.er1 | |
3195 | cat conftest.err >&5 | |
3196 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3197 | (exit $ac_status); } && { | |
3198 | test -z "$ac_c_werror_flag" || | |
3199 | test ! -s conftest.err | |
3200 | } && test -s conftest.$ac_objext; then | |
3396 | if ac_fn_c_try_compile "$LINENO"; then : | |
3201 | 3397 | ac_cv_prog_cc_c89=$ac_arg |
3202 | else | |
3203 | echo "$as_me: failed program was:" >&5 | |
3204 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3205 | ||
3206 | ||
3207 | fi | |
3208 | ||
3398 | fi | |
3209 | 3399 | rm -f core conftest.err conftest.$ac_objext |
3210 | 3400 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
3211 | 3401 | done |
3216 | 3406 | # AC_CACHE_VAL |
3217 | 3407 | case "x$ac_cv_prog_cc_c89" in |
3218 | 3408 | x) |
3219 | { echo "$as_me:$LINENO: result: none needed" >&5 | |
3220 | echo "${ECHO_T}none needed" >&6; } ;; | |
3409 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | |
3410 | $as_echo "none needed" >&6; } ;; | |
3221 | 3411 | xno) |
3222 | { echo "$as_me:$LINENO: result: unsupported" >&5 | |
3223 | echo "${ECHO_T}unsupported" >&6; } ;; | |
3412 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | |
3413 | $as_echo "unsupported" >&6; } ;; | |
3224 | 3414 | *) |
3225 | 3415 | CC="$CC $ac_cv_prog_cc_c89" |
3226 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | |
3227 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; | |
3416 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | |
3417 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | |
3228 | 3418 | esac |
3229 | ||
3419 | if test "x$ac_cv_prog_cc_c89" != xno; then : | |
3420 | ||
3421 | fi | |
3230 | 3422 | |
3231 | 3423 | ac_ext=c |
3232 | 3424 | ac_cpp='$CPP $CPPFLAGS' |
3233 | 3425 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3234 | 3426 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3235 | 3427 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3428 | ||
3429 | ac_ext=c | |
3430 | ac_cpp='$CPP $CPPFLAGS' | |
3431 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3432 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3433 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3434 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 | |
3435 | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } | |
3436 | if ${am_cv_prog_cc_c_o+:} false; then : | |
3437 | $as_echo_n "(cached) " >&6 | |
3438 | else | |
3439 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3440 | /* end confdefs.h. */ | |
3441 | ||
3442 | int | |
3443 | main () | |
3444 | { | |
3445 | ||
3446 | ; | |
3447 | return 0; | |
3448 | } | |
3449 | _ACEOF | |
3450 | # Make sure it works both with $CC and with simple cc. | |
3451 | # Following AC_PROG_CC_C_O, we do the test twice because some | |
3452 | # compilers refuse to overwrite an existing .o file with -o, | |
3453 | # though they will create one. | |
3454 | am_cv_prog_cc_c_o=yes | |
3455 | for am_i in 1 2; do | |
3456 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 | |
3457 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 | |
3458 | ac_status=$? | |
3459 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3460 | (exit $ac_status); } \ | |
3461 | && test -f conftest2.$ac_objext; then | |
3462 | : OK | |
3463 | else | |
3464 | am_cv_prog_cc_c_o=no | |
3465 | break | |
3466 | fi | |
3467 | done | |
3468 | rm -f core conftest* | |
3469 | unset am_i | |
3470 | fi | |
3471 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 | |
3472 | $as_echo "$am_cv_prog_cc_c_o" >&6; } | |
3473 | if test "$am_cv_prog_cc_c_o" != yes; then | |
3474 | # Losing compiler, so override with the script. | |
3475 | # FIXME: It is wrong to rewrite CC. | |
3476 | # But if we don't then we get into trouble of one sort or another. | |
3477 | # A longer-term fix would be to have automake use am__CC in this case, | |
3478 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | |
3479 | CC="$am_aux_dir/compile $CC" | |
3480 | fi | |
3481 | ac_ext=c | |
3482 | ac_cpp='$CPP $CPPFLAGS' | |
3483 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3484 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3485 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3486 | ||
3236 | 3487 | DEPDIR="${am__leading_dot}deps" |
3237 | 3488 | |
3238 | 3489 | ac_config_commands="$ac_config_commands depfiles" |
3241 | 3492 | am_make=${MAKE-make} |
3242 | 3493 | cat > confinc << 'END' |
3243 | 3494 | am__doit: |
3244 | @echo done | |
3495 | @echo this is the am__doit target | |
3245 | 3496 | .PHONY: am__doit |
3246 | 3497 | END |
3247 | 3498 | # If we don't find an include directive, just comment out the code. |
3248 | { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | |
3249 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } | |
3499 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 | |
3500 | $as_echo_n "checking for style of include used by $am_make... " >&6; } | |
3250 | 3501 | am__include="#" |
3251 | 3502 | am__quote= |
3252 | 3503 | _am_result=none |
3253 | 3504 | # First try GNU make style include. |
3254 | 3505 | echo "include confinc" > confmf |
3255 | # We grep out `Entering directory' and `Leaving directory' | |
3256 | # messages which can occur if `w' ends up in MAKEFLAGS. | |
3257 | # In particular we don't look at `^make:' because GNU make might | |
3258 | # be invoked under some other name (usually "gmake"), in which | |
3259 | # case it prints its new name instead of `make'. | |
3260 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then | |
3261 | am__include=include | |
3262 | am__quote= | |
3263 | _am_result=GNU | |
3264 | fi | |
3506 | # Ignore all kinds of additional output from 'make'. | |
3507 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
3508 | *the\ am__doit\ target*) | |
3509 | am__include=include | |
3510 | am__quote= | |
3511 | _am_result=GNU | |
3512 | ;; | |
3513 | esac | |
3265 | 3514 | # Now try BSD make style include. |
3266 | 3515 | if test "$am__include" = "#"; then |
3267 | 3516 | echo '.include "confinc"' > confmf |
3268 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then | |
3269 | am__include=.include | |
3270 | am__quote="\"" | |
3271 | _am_result=BSD | |
3272 | fi | |
3273 | fi | |
3274 | ||
3275 | ||
3276 | { echo "$as_me:$LINENO: result: $_am_result" >&5 | |
3277 | echo "${ECHO_T}$_am_result" >&6; } | |
3517 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
3518 | *the\ am__doit\ target*) | |
3519 | am__include=.include | |
3520 | am__quote="\"" | |
3521 | _am_result=BSD | |
3522 | ;; | |
3523 | esac | |
3524 | fi | |
3525 | ||
3526 | ||
3527 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | |
3528 | $as_echo "$_am_result" >&6; } | |
3278 | 3529 | rm -f confinc confmf |
3279 | 3530 | |
3280 | 3531 | # Check whether --enable-dependency-tracking was given. |
3281 | if test "${enable_dependency_tracking+set}" = set; then | |
3532 | if test "${enable_dependency_tracking+set}" = set; then : | |
3282 | 3533 | enableval=$enable_dependency_tracking; |
3283 | 3534 | fi |
3284 | 3535 | |
3285 | 3536 | if test "x$enable_dependency_tracking" != xno; then |
3286 | 3537 | am_depcomp="$ac_aux_dir/depcomp" |
3287 | 3538 | AMDEPBACKSLASH='\' |
3539 | am__nodep='_no' | |
3288 | 3540 | fi |
3289 | 3541 | if test "x$enable_dependency_tracking" != xno; then |
3290 | 3542 | AMDEP_TRUE= |
3298 | 3550 | |
3299 | 3551 | depcc="$CC" am_compiler_list= |
3300 | 3552 | |
3301 | { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | |
3302 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } | |
3303 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | |
3304 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3553 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | |
3554 | $as_echo_n "checking dependency style of $depcc... " >&6; } | |
3555 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : | |
3556 | $as_echo_n "(cached) " >&6 | |
3305 | 3557 | else |
3306 | 3558 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3307 | 3559 | # We make a subdir and do the tests there. Otherwise we can end up |
3308 | 3560 | # making bogus files that we don't know about and never remove. For |
3309 | 3561 | # instance it was reported that on HP-UX the gcc test will end up |
3310 | # making a dummy file named `D' -- because `-MD' means `put the output | |
3311 | # in D'. | |
3562 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
3563 | # in D". | |
3564 | rm -rf conftest.dir | |
3312 | 3565 | mkdir conftest.dir |
3313 | 3566 | # Copy depcomp to subdir because otherwise we won't find it if we're |
3314 | 3567 | # using a relative directory. |
3326 | 3579 | if test "$am_compiler_list" = ""; then |
3327 | 3580 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
3328 | 3581 | fi |
3582 | am__universal=false | |
3583 | case " $depcc " in #( | |
3584 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
3585 | esac | |
3586 | ||
3329 | 3587 | for depmode in $am_compiler_list; do |
3330 | 3588 | # Setup a source with many dependencies, because some compilers |
3331 | 3589 | # like to wrap large dependency lists on column 80 (with \), and |
3337 | 3595 | : > sub/conftest.c |
3338 | 3596 | for i in 1 2 3 4 5 6; do |
3339 | 3597 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
3340 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
3341 | # Solaris 8's {/usr,}/bin/sh. | |
3342 | touch sub/conftst$i.h | |
3598 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
3599 | # Solaris 10 /bin/sh. | |
3600 | echo '/* dummy */' > sub/conftst$i.h | |
3343 | 3601 | done |
3344 | 3602 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
3345 | 3603 | |
3604 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
3605 | # mode. It turns out that the SunPro C++ compiler does not properly | |
3606 | # handle '-M -o', and we need to detect this. Also, some Intel | |
3607 | # versions had trouble with output in subdirs. | |
3608 | am__obj=sub/conftest.${OBJEXT-o} | |
3609 | am__minus_obj="-o $am__obj" | |
3346 | 3610 | case $depmode in |
3611 | gcc) | |
3612 | # This depmode causes a compiler race in universal mode. | |
3613 | test "$am__universal" = false || continue | |
3614 | ;; | |
3347 | 3615 | nosideeffect) |
3348 | # after this tag, mechanisms are not by side-effect, so they'll | |
3349 | # only be used when explicitly requested | |
3616 | # After this tag, mechanisms are not by side-effect, so they'll | |
3617 | # only be used when explicitly requested. | |
3350 | 3618 | if test "x$enable_dependency_tracking" = xyes; then |
3351 | 3619 | continue |
3352 | 3620 | else |
3353 | 3621 | break |
3354 | 3622 | fi |
3355 | 3623 | ;; |
3624 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | |
3625 | # This compiler won't grok '-c -o', but also, the minuso test has | |
3626 | # not run yet. These depmodes are late enough in the game, and | |
3627 | # so weak that their functioning should not be impacted. | |
3628 | am__obj=conftest.${OBJEXT-o} | |
3629 | am__minus_obj= | |
3630 | ;; | |
3356 | 3631 | none) break ;; |
3357 | 3632 | esac |
3358 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
3359 | # mode. It turns out that the SunPro C++ compiler does not properly | |
3360 | # handle `-M -o', and we need to detect this. | |
3361 | 3633 | if depmode=$depmode \ |
3362 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | |
3634 | source=sub/conftest.c object=$am__obj \ | |
3363 | 3635 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
3364 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | |
3636 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
3365 | 3637 | >/dev/null 2>conftest.err && |
3366 | 3638 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
3367 | 3639 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
3368 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | |
3640 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
3369 | 3641 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3370 | 3642 | # icc doesn't choke on unknown options, it will just issue warnings |
3371 | 3643 | # or remarks (even with -Werror). So we grep stderr for any message |
3389 | 3661 | fi |
3390 | 3662 | |
3391 | 3663 | fi |
3392 | { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | |
3393 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } | |
3664 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 | |
3665 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | |
3394 | 3666 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3395 | 3667 | |
3396 | 3668 | if |
3404 | 3676 | fi |
3405 | 3677 | |
3406 | 3678 | |
3407 | # Find a good install program. We prefer a C program (faster), | |
3408 | # so one script is as good as another. But avoid the broken or | |
3409 | # incompatible versions: | |
3410 | # SysV /etc/install, /usr/sbin/install | |
3411 | # SunOS /usr/etc/install | |
3412 | # IRIX /sbin/install | |
3413 | # AIX /bin/install | |
3414 | # AmigaOS /C/install, which installs bootblocks on floppy discs | |
3415 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
3416 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
3417 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
3418 | # OS/2's system install, which has a completely different semantic | |
3419 | # ./install, which can be erroneously created by make from ./install.sh. | |
3420 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | |
3421 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } | |
3422 | if test -z "$INSTALL"; then | |
3423 | if test "${ac_cv_path_install+set}" = set; then | |
3424 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3425 | else | |
3426 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3427 | for as_dir in $PATH | |
3428 | do | |
3429 | IFS=$as_save_IFS | |
3430 | test -z "$as_dir" && as_dir=. | |
3431 | # Account for people who put trailing slashes in PATH elements. | |
3432 | case $as_dir/ in | |
3433 | ./ | .// | /cC/* | \ | |
3434 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
3435 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | |
3436 | /usr/ucb/* ) ;; | |
3437 | *) | |
3438 | # OSF1 and SCO ODT 3.0 have their own names for install. | |
3439 | # Don't use installbsd from OSF since it installs stuff as root | |
3440 | # by default. | |
3441 | for ac_prog in ginstall scoinst install; do | |
3442 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3443 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | |
3444 | if test $ac_prog = install && | |
3445 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
3446 | # AIX install. It has an incompatible calling convention. | |
3447 | : | |
3448 | elif test $ac_prog = install && | |
3449 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
3450 | # program-specific install script used by HP pwplus--don't use. | |
3451 | : | |
3452 | else | |
3453 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
3454 | break 3 | |
3455 | fi | |
3456 | fi | |
3457 | done | |
3458 | done | |
3459 | ;; | |
3460 | esac | |
3461 | done | |
3462 | IFS=$as_save_IFS | |
3463 | ||
3464 | ||
3465 | fi | |
3466 | if test "${ac_cv_path_install+set}" = set; then | |
3467 | INSTALL=$ac_cv_path_install | |
3468 | else | |
3469 | # As a last resort, use the slow shell script. Don't cache a | |
3470 | # value for INSTALL within a source directory, because that will | |
3471 | # break other packages using the cache if that directory is | |
3472 | # removed, or if the value is a relative name. | |
3473 | INSTALL=$ac_install_sh | |
3474 | fi | |
3475 | fi | |
3476 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 | |
3477 | echo "${ECHO_T}$INSTALL" >&6; } | |
3478 | ||
3479 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
3480 | # It thinks the first close brace ends the variable substitution. | |
3481 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
3482 | ||
3483 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
3484 | ||
3485 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
3486 | 3679 | |
3487 | 3680 | if test -n "$ac_tool_prefix"; then |
3488 | 3681 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
3489 | 3682 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
3490 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
3491 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
3492 | if test "${ac_cv_prog_RANLIB+set}" = set; then | |
3493 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3683 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3684 | $as_echo_n "checking for $ac_word... " >&6; } | |
3685 | if ${ac_cv_prog_RANLIB+:} false; then : | |
3686 | $as_echo_n "(cached) " >&6 | |
3494 | 3687 | else |
3495 | 3688 | if test -n "$RANLIB"; then |
3496 | 3689 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3500 | 3693 | do |
3501 | 3694 | IFS=$as_save_IFS |
3502 | 3695 | test -z "$as_dir" && as_dir=. |
3503 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3504 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3696 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3697 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3505 | 3698 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
3506 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3699 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3507 | 3700 | break 2 |
3508 | 3701 | fi |
3509 | 3702 | done |
3510 | done | |
3703 | done | |
3511 | 3704 | IFS=$as_save_IFS |
3512 | 3705 | |
3513 | 3706 | fi |
3514 | 3707 | fi |
3515 | 3708 | RANLIB=$ac_cv_prog_RANLIB |
3516 | 3709 | if test -n "$RANLIB"; then |
3517 | { echo "$as_me:$LINENO: result: $RANLIB" >&5 | |
3518 | echo "${ECHO_T}$RANLIB" >&6; } | |
3519 | else | |
3520 | { echo "$as_me:$LINENO: result: no" >&5 | |
3521 | echo "${ECHO_T}no" >&6; } | |
3710 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 | |
3711 | $as_echo "$RANLIB" >&6; } | |
3712 | else | |
3713 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3714 | $as_echo "no" >&6; } | |
3522 | 3715 | fi |
3523 | 3716 | |
3524 | 3717 | |
3527 | 3720 | ac_ct_RANLIB=$RANLIB |
3528 | 3721 | # Extract the first word of "ranlib", so it can be a program name with args. |
3529 | 3722 | set dummy ranlib; ac_word=$2 |
3530 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
3531 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
3532 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | |
3533 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3723 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3724 | $as_echo_n "checking for $ac_word... " >&6; } | |
3725 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : | |
3726 | $as_echo_n "(cached) " >&6 | |
3534 | 3727 | else |
3535 | 3728 | if test -n "$ac_ct_RANLIB"; then |
3536 | 3729 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
3540 | 3733 | do |
3541 | 3734 | IFS=$as_save_IFS |
3542 | 3735 | test -z "$as_dir" && as_dir=. |
3543 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3544 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3736 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3737 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3545 | 3738 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
3546 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3739 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3547 | 3740 | break 2 |
3548 | 3741 | fi |
3549 | 3742 | done |
3550 | done | |
3743 | done | |
3551 | 3744 | IFS=$as_save_IFS |
3552 | 3745 | |
3553 | 3746 | fi |
3554 | 3747 | fi |
3555 | 3748 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
3556 | 3749 | if test -n "$ac_ct_RANLIB"; then |
3557 | { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | |
3558 | echo "${ECHO_T}$ac_ct_RANLIB" >&6; } | |
3559 | else | |
3560 | { echo "$as_me:$LINENO: result: no" >&5 | |
3561 | echo "${ECHO_T}no" >&6; } | |
3750 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 | |
3751 | $as_echo "$ac_ct_RANLIB" >&6; } | |
3752 | else | |
3753 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3754 | $as_echo "no" >&6; } | |
3562 | 3755 | fi |
3563 | 3756 | |
3564 | 3757 | if test "x$ac_ct_RANLIB" = x; then |
3566 | 3759 | else |
3567 | 3760 | case $cross_compiling:$ac_tool_warned in |
3568 | 3761 | yes:) |
3569 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
3570 | whose name does not start with the host triplet. If you think this | |
3571 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
3572 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
3573 | whose name does not start with the host triplet. If you think this | |
3574 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
3762 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
3763 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
3575 | 3764 | ac_tool_warned=yes ;; |
3576 | 3765 | esac |
3577 | 3766 | RANLIB=$ac_ct_RANLIB |
3583 | 3772 | |
3584 | 3773 | ######## Check for compiler environment |
3585 | 3774 | |
3586 | { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | |
3587 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } | |
3588 | if test "${ac_cv_c_const+set}" = set; then | |
3589 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3590 | else | |
3591 | cat >conftest.$ac_ext <<_ACEOF | |
3592 | /* confdefs.h. */ | |
3593 | _ACEOF | |
3594 | cat confdefs.h >>conftest.$ac_ext | |
3595 | cat >>conftest.$ac_ext <<_ACEOF | |
3775 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 | |
3776 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } | |
3777 | if ${ac_cv_c_const+:} false; then : | |
3778 | $as_echo_n "(cached) " >&6 | |
3779 | else | |
3780 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3596 | 3781 | /* end confdefs.h. */ |
3597 | 3782 | |
3598 | 3783 | int |
3599 | 3784 | main () |
3600 | 3785 | { |
3601 | /* FIXME: Include the comments suggested by Paul. */ | |
3786 | ||
3602 | 3787 | #ifndef __cplusplus |
3603 | /* Ultrix mips cc rejects this. */ | |
3788 | /* Ultrix mips cc rejects this sort of thing. */ | |
3604 | 3789 | typedef int charset[2]; |
3605 | const charset cs; | |
3790 | const charset cs = { 0, 0 }; | |
3606 | 3791 | /* SunOS 4.1.1 cc rejects this. */ |
3607 | 3792 | char const *const *pcpcc; |
3608 | 3793 | char **ppc; |
3619 | 3804 | ++pcpcc; |
3620 | 3805 | ppc = (char**) pcpcc; |
3621 | 3806 | pcpcc = (char const *const *) ppc; |
3622 | { /* SCO 3.2v4 cc rejects this. */ | |
3623 | char *t; | |
3807 | { /* SCO 3.2v4 cc rejects this sort of thing. */ | |
3808 | char tx; | |
3809 | char *t = &tx; | |
3624 | 3810 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
3625 | 3811 | |
3626 | 3812 | *t++ = 0; |
3636 | 3822 | iptr p = 0; |
3637 | 3823 | ++p; |
3638 | 3824 | } |
3639 | { /* AIX XL C 1.02.0.0 rejects this saying | |
3825 | { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying | |
3640 | 3826 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
3641 | struct s { int j; const int *ap[3]; }; | |
3642 | struct s *b; b->j = 5; | |
3827 | struct s { int j; const int *ap[3]; } bx; | |
3828 | struct s *b = &bx; b->j = 5; | |
3643 | 3829 | } |
3644 | 3830 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
3645 | 3831 | const int foo = 10; |
3652 | 3838 | return 0; |
3653 | 3839 | } |
3654 | 3840 | _ACEOF |
3655 | rm -f conftest.$ac_objext | |
3656 | if { (ac_try="$ac_compile" | |
3657 | case "(($ac_try" in | |
3658 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3659 | *) ac_try_echo=$ac_try;; | |
3660 | esac | |
3661 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3662 | (eval "$ac_compile") 2>conftest.er1 | |
3663 | ac_status=$? | |
3664 | grep -v '^ *+' conftest.er1 >conftest.err | |
3665 | rm -f conftest.er1 | |
3666 | cat conftest.err >&5 | |
3667 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3668 | (exit $ac_status); } && { | |
3669 | test -z "$ac_c_werror_flag" || | |
3670 | test ! -s conftest.err | |
3671 | } && test -s conftest.$ac_objext; then | |
3841 | if ac_fn_c_try_compile "$LINENO"; then : | |
3672 | 3842 | ac_cv_c_const=yes |
3673 | 3843 | else |
3674 | echo "$as_me: failed program was:" >&5 | |
3675 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3676 | ||
3677 | ac_cv_c_const=no | |
3678 | fi | |
3679 | ||
3844 | ac_cv_c_const=no | |
3845 | fi | |
3680 | 3846 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3681 | 3847 | fi |
3682 | { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | |
3683 | echo "${ECHO_T}$ac_cv_c_const" >&6; } | |
3848 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 | |
3849 | $as_echo "$ac_cv_c_const" >&6; } | |
3684 | 3850 | if test $ac_cv_c_const = no; then |
3685 | 3851 | |
3686 | cat >>confdefs.h <<\_ACEOF | |
3687 | #define const | |
3688 | _ACEOF | |
3852 | $as_echo "#define const /**/" >>confdefs.h | |
3689 | 3853 | |
3690 | 3854 | fi |
3691 | 3855 | |
3700 | 3864 | ;; |
3701 | 3865 | *) |
3702 | 3866 | MATHLIB="-lm" |
3703 | ||
3704 | { echo "$as_me:$LINENO: checking for main in -lm" >&5 | |
3705 | echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } | |
3706 | if test "${ac_cv_lib_m_main+set}" = set; then | |
3707 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3867 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 | |
3868 | $as_echo_n "checking for main in -lm... " >&6; } | |
3869 | if ${ac_cv_lib_m_main+:} false; then : | |
3870 | $as_echo_n "(cached) " >&6 | |
3708 | 3871 | else |
3709 | 3872 | ac_check_lib_save_LIBS=$LIBS |
3710 | 3873 | LIBS="-lm $LIBS" |
3711 | cat >conftest.$ac_ext <<_ACEOF | |
3712 | /* confdefs.h. */ | |
3713 | _ACEOF | |
3714 | cat confdefs.h >>conftest.$ac_ext | |
3715 | cat >>conftest.$ac_ext <<_ACEOF | |
3874 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3716 | 3875 | /* end confdefs.h. */ |
3717 | 3876 | |
3718 | 3877 | |
3724 | 3883 | return 0; |
3725 | 3884 | } |
3726 | 3885 | _ACEOF |
3727 | rm -f conftest.$ac_objext conftest$ac_exeext | |
3728 | if { (ac_try="$ac_link" | |
3729 | case "(($ac_try" in | |
3730 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3731 | *) ac_try_echo=$ac_try;; | |
3732 | esac | |
3733 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3734 | (eval "$ac_link") 2>conftest.er1 | |
3735 | ac_status=$? | |
3736 | grep -v '^ *+' conftest.er1 >conftest.err | |
3737 | rm -f conftest.er1 | |
3738 | cat conftest.err >&5 | |
3739 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3740 | (exit $ac_status); } && { | |
3741 | test -z "$ac_c_werror_flag" || | |
3742 | test ! -s conftest.err | |
3743 | } && test -s conftest$ac_exeext && | |
3744 | $as_test_x conftest$ac_exeext; then | |
3886 | if ac_fn_c_try_link "$LINENO"; then : | |
3745 | 3887 | ac_cv_lib_m_main=yes |
3746 | 3888 | else |
3747 | echo "$as_me: failed program was:" >&5 | |
3748 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3749 | ||
3750 | ac_cv_lib_m_main=no | |
3751 | fi | |
3752 | ||
3753 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
3754 | conftest$ac_exeext conftest.$ac_ext | |
3889 | ac_cv_lib_m_main=no | |
3890 | fi | |
3891 | rm -f core conftest.err conftest.$ac_objext \ | |
3892 | conftest$ac_exeext conftest.$ac_ext | |
3755 | 3893 | LIBS=$ac_check_lib_save_LIBS |
3756 | 3894 | fi |
3757 | { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 | |
3758 | echo "${ECHO_T}$ac_cv_lib_m_main" >&6; } | |
3759 | if test $ac_cv_lib_m_main = yes; then | |
3895 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 | |
3896 | $as_echo "$ac_cv_lib_m_main" >&6; } | |
3897 | if test "x$ac_cv_lib_m_main" = xyes; then : | |
3760 | 3898 | cat >>confdefs.h <<_ACEOF |
3761 | 3899 | #define HAVE_LIBM 1 |
3762 | 3900 | _ACEOF |
3764 | 3902 | LIBS="-lm $LIBS" |
3765 | 3903 | |
3766 | 3904 | else |
3767 | { { echo "$as_me:$LINENO: error: Your system is missing libm (mathlib)!" >&5 | |
3768 | echo "$as_me: error: Your system is missing libm (mathlib)!" >&2;} | |
3769 | { (exit 1); exit 1; }; } | |
3905 | as_fn_error $? "Your system is missing libm (mathlib)!" "$LINENO" 5 | |
3770 | 3906 | fi |
3771 | 3907 | |
3772 | 3908 | ;; |
3776 | 3912 | ######## Check for SDL |
3777 | 3913 | |
3778 | 3914 | # Check whether --with-sdl-prefix was given. |
3779 | if test "${with_sdl_prefix+set}" = set; then | |
3915 | if test "${with_sdl_prefix+set}" = set; then : | |
3780 | 3916 | withval=$with_sdl_prefix; sdl_prefix="$withval" |
3781 | 3917 | else |
3782 | 3918 | sdl_prefix="" |
3784 | 3920 | |
3785 | 3921 | |
3786 | 3922 | # Check whether --with-sdl-exec-prefix was given. |
3787 | if test "${with_sdl_exec_prefix+set}" = set; then | |
3923 | if test "${with_sdl_exec_prefix+set}" = set; then : | |
3788 | 3924 | withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval" |
3789 | 3925 | else |
3790 | 3926 | sdl_exec_prefix="" |
3791 | 3927 | fi |
3792 | 3928 | |
3793 | 3929 | # Check whether --enable-sdltest was given. |
3794 | if test "${enable_sdltest+set}" = set; then | |
3930 | if test "${enable_sdltest+set}" = set; then : | |
3795 | 3931 | enableval=$enable_sdltest; |
3796 | 3932 | else |
3797 | 3933 | enable_sdltest=yes |
3814 | 3950 | |
3815 | 3951 | # Extract the first word of "sdl-config", so it can be a program name with args. |
3816 | 3952 | set dummy sdl-config; ac_word=$2 |
3817 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
3818 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
3819 | if test "${ac_cv_path_SDL_CONFIG+set}" = set; then | |
3820 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3953 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3954 | $as_echo_n "checking for $ac_word... " >&6; } | |
3955 | if ${ac_cv_path_SDL_CONFIG+:} false; then : | |
3956 | $as_echo_n "(cached) " >&6 | |
3821 | 3957 | else |
3822 | 3958 | case $SDL_CONFIG in |
3823 | 3959 | [\\/]* | ?:[\\/]*) |
3829 | 3965 | do |
3830 | 3966 | IFS=$as_save_IFS |
3831 | 3967 | test -z "$as_dir" && as_dir=. |
3832 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3833 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3968 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3969 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3834 | 3970 | ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
3835 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3971 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3836 | 3972 | break 2 |
3837 | 3973 | fi |
3838 | 3974 | done |
3839 | done | |
3975 | done | |
3840 | 3976 | IFS=$as_save_IFS |
3841 | 3977 | |
3842 | 3978 | test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no" |
3845 | 3981 | fi |
3846 | 3982 | SDL_CONFIG=$ac_cv_path_SDL_CONFIG |
3847 | 3983 | if test -n "$SDL_CONFIG"; then |
3848 | { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5 | |
3849 | echo "${ECHO_T}$SDL_CONFIG" >&6; } | |
3850 | else | |
3851 | { echo "$as_me:$LINENO: result: no" >&5 | |
3852 | echo "${ECHO_T}no" >&6; } | |
3984 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5 | |
3985 | $as_echo "$SDL_CONFIG" >&6; } | |
3986 | else | |
3987 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3988 | $as_echo "no" >&6; } | |
3853 | 3989 | fi |
3854 | 3990 | |
3855 | 3991 | |
3856 | 3992 | min_sdl_version=$SDL_VERSION |
3857 | { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5 | |
3858 | echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; } | |
3993 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5 | |
3994 | $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; } | |
3859 | 3995 | no_sdl="" |
3860 | 3996 | if test "$SDL_CONFIG" = "no" ; then |
3861 | 3997 | no_sdl=yes |
3875 | 4011 | CFLAGS="$CFLAGS $SDL_CFLAGS" |
3876 | 4012 | LIBS="$LIBS $SDL_LIBS" |
3877 | 4013 | rm -f conf.sdltest |
3878 | if test "$cross_compiling" = yes; then | |
4014 | if test "$cross_compiling" = yes; then : | |
3879 | 4015 | echo $ac_n "cross compiling; assumed OK... $ac_c" |
3880 | 4016 | else |
3881 | cat >conftest.$ac_ext <<_ACEOF | |
3882 | /* confdefs.h. */ | |
3883 | _ACEOF | |
3884 | cat confdefs.h >>conftest.$ac_ext | |
3885 | cat >>conftest.$ac_ext <<_ACEOF | |
4017 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3886 | 4018 | /* end confdefs.h. */ |
3887 | 4019 | |
3888 | 4020 | #include <stdio.h> |
3943 | 4075 | |
3944 | 4076 | |
3945 | 4077 | _ACEOF |
3946 | rm -f conftest$ac_exeext | |
3947 | if { (ac_try="$ac_link" | |
3948 | case "(($ac_try" in | |
3949 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3950 | *) ac_try_echo=$ac_try;; | |
3951 | esac | |
3952 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3953 | (eval "$ac_link") 2>&5 | |
3954 | ac_status=$? | |
3955 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3956 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
3957 | { (case "(($ac_try" in | |
3958 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3959 | *) ac_try_echo=$ac_try;; | |
3960 | esac | |
3961 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3962 | (eval "$ac_try") 2>&5 | |
3963 | ac_status=$? | |
3964 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3965 | (exit $ac_status); }; }; then | |
3966 | : | |
3967 | else | |
3968 | echo "$as_me: program exited with status $ac_status" >&5 | |
3969 | echo "$as_me: failed program was:" >&5 | |
3970 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3971 | ||
3972 | ( exit $ac_status ) | |
3973 | no_sdl=yes | |
3974 | fi | |
3975 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
3976 | fi | |
3977 | ||
4078 | if ac_fn_c_try_run "$LINENO"; then : | |
4079 | ||
4080 | else | |
4081 | no_sdl=yes | |
4082 | fi | |
4083 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
4084 | conftest.$ac_objext conftest.beam conftest.$ac_ext | |
4085 | fi | |
3978 | 4086 | |
3979 | 4087 | CFLAGS="$ac_save_CFLAGS" |
3980 | 4088 | LIBS="$ac_save_LIBS" |
3981 | 4089 | fi |
3982 | 4090 | fi |
3983 | 4091 | if test "x$no_sdl" = x ; then |
3984 | { echo "$as_me:$LINENO: result: yes" >&5 | |
3985 | echo "${ECHO_T}yes" >&6; } | |
4092 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
4093 | $as_echo "yes" >&6; } | |
3986 | 4094 | : |
3987 | 4095 | else |
3988 | { echo "$as_me:$LINENO: result: no" >&5 | |
3989 | echo "${ECHO_T}no" >&6; } | |
4096 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4097 | $as_echo "no" >&6; } | |
3990 | 4098 | if test "$SDL_CONFIG" = "no" ; then |
3991 | 4099 | echo "*** The sdl-config script installed by SDL could not be found" |
3992 | 4100 | echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in" |
3999 | 4107 | echo "*** Could not run SDL test program, checking why..." |
4000 | 4108 | CFLAGS="$CFLAGS $SDL_CFLAGS" |
4001 | 4109 | LIBS="$LIBS $SDL_LIBS" |
4002 | cat >conftest.$ac_ext <<_ACEOF | |
4003 | /* confdefs.h. */ | |
4004 | _ACEOF | |
4005 | cat confdefs.h >>conftest.$ac_ext | |
4006 | cat >>conftest.$ac_ext <<_ACEOF | |
4110 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4007 | 4111 | /* end confdefs.h. */ |
4008 | 4112 | |
4009 | 4113 | #include <stdio.h> |
4022 | 4126 | return 0; |
4023 | 4127 | } |
4024 | 4128 | _ACEOF |
4025 | rm -f conftest.$ac_objext conftest$ac_exeext | |
4026 | if { (ac_try="$ac_link" | |
4027 | case "(($ac_try" in | |
4028 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4029 | *) ac_try_echo=$ac_try;; | |
4030 | esac | |
4031 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4032 | (eval "$ac_link") 2>conftest.er1 | |
4033 | ac_status=$? | |
4034 | grep -v '^ *+' conftest.er1 >conftest.err | |
4035 | rm -f conftest.er1 | |
4036 | cat conftest.err >&5 | |
4037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4038 | (exit $ac_status); } && { | |
4039 | test -z "$ac_c_werror_flag" || | |
4040 | test ! -s conftest.err | |
4041 | } && test -s conftest$ac_exeext && | |
4042 | $as_test_x conftest$ac_exeext; then | |
4129 | if ac_fn_c_try_link "$LINENO"; then : | |
4043 | 4130 | echo "*** The test program compiled, but did not run. This usually means" |
4044 | 4131 | echo "*** that the run-time linker is not finding SDL or finding the wrong" |
4045 | 4132 | echo "*** version of SDL. If it is not finding SDL, you'll need to set your" |
4050 | 4137 | echo "*** If you have an old version installed, it is best to remove it, although" |
4051 | 4138 | echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" |
4052 | 4139 | else |
4053 | echo "$as_me: failed program was:" >&5 | |
4054 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4055 | ||
4056 | echo "*** The test program failed to compile or link. See the file config.log for the" | |
4140 | echo "*** The test program failed to compile or link. See the file config.log for the" | |
4057 | 4141 | echo "*** exact error that occured. This usually means SDL was incorrectly installed" |
4058 | 4142 | echo "*** or that you have moved SDL since it was installed. In the latter case, you" |
4059 | 4143 | echo "*** may want to edit the sdl-config script: $SDL_CONFIG" |
4060 | 4144 | fi |
4061 | ||
4062 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4063 | conftest$ac_exeext conftest.$ac_ext | |
4145 | rm -f core conftest.err conftest.$ac_objext \ | |
4146 | conftest$ac_exeext conftest.$ac_ext | |
4064 | 4147 | CFLAGS="$ac_save_CFLAGS" |
4065 | 4148 | LIBS="$ac_save_LIBS" |
4066 | 4149 | fi |
4067 | 4150 | fi |
4068 | 4151 | SDL_CFLAGS="" |
4069 | 4152 | SDL_LIBS="" |
4070 | { { echo "$as_me:$LINENO: error: *** SDL version $SDL_VERSION not found!" >&5 | |
4071 | echo "$as_me: error: *** SDL version $SDL_VERSION not found!" >&2;} | |
4072 | { (exit 1); exit 1; }; } | |
4153 | as_fn_error $? "*** SDL version $SDL_VERSION not found!" "$LINENO" 5 | |
4073 | 4154 | |
4074 | 4155 | fi |
4075 | 4156 | |
4078 | 4159 | |
4079 | 4160 | |
4080 | 4161 | ######## Check for other libs |
4081 | ||
4082 | { echo "$as_me:$LINENO: checking for main in -ljpeg" >&5 | |
4083 | echo $ECHO_N "checking for main in -ljpeg... $ECHO_C" >&6; } | |
4084 | if test "${ac_cv_lib_jpeg_main+set}" = set; then | |
4085 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4162 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ljpeg" >&5 | |
4163 | $as_echo_n "checking for main in -ljpeg... " >&6; } | |
4164 | if ${ac_cv_lib_jpeg_main+:} false; then : | |
4165 | $as_echo_n "(cached) " >&6 | |
4086 | 4166 | else |
4087 | 4167 | ac_check_lib_save_LIBS=$LIBS |
4088 | 4168 | LIBS="-ljpeg $LIBS" |
4089 | cat >conftest.$ac_ext <<_ACEOF | |
4090 | /* confdefs.h. */ | |
4091 | _ACEOF | |
4092 | cat confdefs.h >>conftest.$ac_ext | |
4093 | cat >>conftest.$ac_ext <<_ACEOF | |
4169 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4094 | 4170 | /* end confdefs.h. */ |
4095 | 4171 | |
4096 | 4172 | |
4102 | 4178 | return 0; |
4103 | 4179 | } |
4104 | 4180 | _ACEOF |
4105 | rm -f conftest.$ac_objext conftest$ac_exeext | |
4106 | if { (ac_try="$ac_link" | |
4107 | case "(($ac_try" in | |
4108 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4109 | *) ac_try_echo=$ac_try;; | |
4110 | esac | |
4111 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4112 | (eval "$ac_link") 2>conftest.er1 | |
4113 | ac_status=$? | |
4114 | grep -v '^ *+' conftest.er1 >conftest.err | |
4115 | rm -f conftest.er1 | |
4116 | cat conftest.err >&5 | |
4117 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4118 | (exit $ac_status); } && { | |
4119 | test -z "$ac_c_werror_flag" || | |
4120 | test ! -s conftest.err | |
4121 | } && test -s conftest$ac_exeext && | |
4122 | $as_test_x conftest$ac_exeext; then | |
4181 | if ac_fn_c_try_link "$LINENO"; then : | |
4123 | 4182 | ac_cv_lib_jpeg_main=yes |
4124 | 4183 | else |
4125 | echo "$as_me: failed program was:" >&5 | |
4126 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4127 | ||
4128 | ac_cv_lib_jpeg_main=no | |
4129 | fi | |
4130 | ||
4131 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4132 | conftest$ac_exeext conftest.$ac_ext | |
4184 | ac_cv_lib_jpeg_main=no | |
4185 | fi | |
4186 | rm -f core conftest.err conftest.$ac_objext \ | |
4187 | conftest$ac_exeext conftest.$ac_ext | |
4133 | 4188 | LIBS=$ac_check_lib_save_LIBS |
4134 | 4189 | fi |
4135 | { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_main" >&5 | |
4136 | echo "${ECHO_T}$ac_cv_lib_jpeg_main" >&6; } | |
4137 | if test $ac_cv_lib_jpeg_main = yes; then | |
4190 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_main" >&5 | |
4191 | $as_echo "$ac_cv_lib_jpeg_main" >&6; } | |
4192 | if test "x$ac_cv_lib_jpeg_main" = xyes; then : | |
4138 | 4193 | cat >>confdefs.h <<_ACEOF |
4139 | 4194 | #define HAVE_LIBJPEG 1 |
4140 | 4195 | _ACEOF |
4142 | 4197 | LIBS="-ljpeg $LIBS" |
4143 | 4198 | |
4144 | 4199 | else |
4145 | { { echo "$as_me:$LINENO: error: Your system is missing libjpeg!" >&5 | |
4146 | echo "$as_me: error: Your system is missing libjpeg!" >&2;} | |
4147 | { (exit 1); exit 1; }; } | |
4200 | as_fn_error $? "Your system is missing libjpeg!" "$LINENO" 5 | |
4148 | 4201 | fi |
4149 | 4202 | |
4150 | 4203 | |
4151 | 4204 | #Commented out because of a bug in the SuSE 6.2 |
4152 | 4205 | #AC_CHECK_LIB(png, main, , AC_MSG_ERROR(Your system is missing libpng!)) |
4153 | 4206 | |
4154 | { echo "$as_me:$LINENO: checking for main in -lSDL_mixer" >&5 | |
4155 | echo $ECHO_N "checking for main in -lSDL_mixer... $ECHO_C" >&6; } | |
4156 | if test "${ac_cv_lib_SDL_mixer_main+set}" = set; then | |
4157 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4207 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lSDL_mixer" >&5 | |
4208 | $as_echo_n "checking for main in -lSDL_mixer... " >&6; } | |
4209 | if ${ac_cv_lib_SDL_mixer_main+:} false; then : | |
4210 | $as_echo_n "(cached) " >&6 | |
4158 | 4211 | else |
4159 | 4212 | ac_check_lib_save_LIBS=$LIBS |
4160 | 4213 | LIBS="-lSDL_mixer $LIBS" |
4161 | cat >conftest.$ac_ext <<_ACEOF | |
4162 | /* confdefs.h. */ | |
4163 | _ACEOF | |
4164 | cat confdefs.h >>conftest.$ac_ext | |
4165 | cat >>conftest.$ac_ext <<_ACEOF | |
4214 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4166 | 4215 | /* end confdefs.h. */ |
4167 | 4216 | |
4168 | 4217 | |
4174 | 4223 | return 0; |
4175 | 4224 | } |
4176 | 4225 | _ACEOF |
4177 | rm -f conftest.$ac_objext conftest$ac_exeext | |
4178 | if { (ac_try="$ac_link" | |
4179 | case "(($ac_try" in | |
4180 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4181 | *) ac_try_echo=$ac_try;; | |
4182 | esac | |
4183 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4184 | (eval "$ac_link") 2>conftest.er1 | |
4185 | ac_status=$? | |
4186 | grep -v '^ *+' conftest.er1 >conftest.err | |
4187 | rm -f conftest.er1 | |
4188 | cat conftest.err >&5 | |
4189 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4190 | (exit $ac_status); } && { | |
4191 | test -z "$ac_c_werror_flag" || | |
4192 | test ! -s conftest.err | |
4193 | } && test -s conftest$ac_exeext && | |
4194 | $as_test_x conftest$ac_exeext; then | |
4226 | if ac_fn_c_try_link "$LINENO"; then : | |
4195 | 4227 | ac_cv_lib_SDL_mixer_main=yes |
4196 | 4228 | else |
4197 | echo "$as_me: failed program was:" >&5 | |
4198 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4199 | ||
4200 | ac_cv_lib_SDL_mixer_main=no | |
4201 | fi | |
4202 | ||
4203 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4204 | conftest$ac_exeext conftest.$ac_ext | |
4229 | ac_cv_lib_SDL_mixer_main=no | |
4230 | fi | |
4231 | rm -f core conftest.err conftest.$ac_objext \ | |
4232 | conftest$ac_exeext conftest.$ac_ext | |
4205 | 4233 | LIBS=$ac_check_lib_save_LIBS |
4206 | 4234 | fi |
4207 | { echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_main" >&5 | |
4208 | echo "${ECHO_T}$ac_cv_lib_SDL_mixer_main" >&6; } | |
4209 | if test $ac_cv_lib_SDL_mixer_main = yes; then | |
4235 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_mixer_main" >&5 | |
4236 | $as_echo "$ac_cv_lib_SDL_mixer_main" >&6; } | |
4237 | if test "x$ac_cv_lib_SDL_mixer_main" = xyes; then : | |
4210 | 4238 | SOUND="-lSDL_mixer";CFLAGS="$CFLAGS -DSOUND" |
4211 | 4239 | fi |
4212 | 4240 | |
4213 | ||
4214 | { echo "$as_me:$LINENO: checking for main in -lSDL_image" >&5 | |
4215 | echo $ECHO_N "checking for main in -lSDL_image... $ECHO_C" >&6; } | |
4216 | if test "${ac_cv_lib_SDL_image_main+set}" = set; then | |
4217 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4241 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lSDL_image" >&5 | |
4242 | $as_echo_n "checking for main in -lSDL_image... " >&6; } | |
4243 | if ${ac_cv_lib_SDL_image_main+:} false; then : | |
4244 | $as_echo_n "(cached) " >&6 | |
4218 | 4245 | else |
4219 | 4246 | ac_check_lib_save_LIBS=$LIBS |
4220 | 4247 | LIBS="-lSDL_image $LIBS" |
4221 | cat >conftest.$ac_ext <<_ACEOF | |
4222 | /* confdefs.h. */ | |
4223 | _ACEOF | |
4224 | cat confdefs.h >>conftest.$ac_ext | |
4225 | cat >>conftest.$ac_ext <<_ACEOF | |
4248 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4226 | 4249 | /* end confdefs.h. */ |
4227 | 4250 | |
4228 | 4251 | |
4234 | 4257 | return 0; |
4235 | 4258 | } |
4236 | 4259 | _ACEOF |
4237 | rm -f conftest.$ac_objext conftest$ac_exeext | |
4238 | if { (ac_try="$ac_link" | |
4239 | case "(($ac_try" in | |
4240 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4241 | *) ac_try_echo=$ac_try;; | |
4242 | esac | |
4243 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4244 | (eval "$ac_link") 2>conftest.er1 | |
4245 | ac_status=$? | |
4246 | grep -v '^ *+' conftest.er1 >conftest.err | |
4247 | rm -f conftest.er1 | |
4248 | cat conftest.err >&5 | |
4249 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4250 | (exit $ac_status); } && { | |
4251 | test -z "$ac_c_werror_flag" || | |
4252 | test ! -s conftest.err | |
4253 | } && test -s conftest$ac_exeext && | |
4254 | $as_test_x conftest$ac_exeext; then | |
4260 | if ac_fn_c_try_link "$LINENO"; then : | |
4255 | 4261 | ac_cv_lib_SDL_image_main=yes |
4256 | 4262 | else |
4257 | echo "$as_me: failed program was:" >&5 | |
4258 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4259 | ||
4260 | ac_cv_lib_SDL_image_main=no | |
4261 | fi | |
4262 | ||
4263 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4264 | conftest$ac_exeext conftest.$ac_ext | |
4263 | ac_cv_lib_SDL_image_main=no | |
4264 | fi | |
4265 | rm -f core conftest.err conftest.$ac_objext \ | |
4266 | conftest$ac_exeext conftest.$ac_ext | |
4265 | 4267 | LIBS=$ac_check_lib_save_LIBS |
4266 | 4268 | fi |
4267 | { echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_image_main" >&5 | |
4268 | echo "${ECHO_T}$ac_cv_lib_SDL_image_main" >&6; } | |
4269 | if test $ac_cv_lib_SDL_image_main = yes; then | |
4269 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_image_main" >&5 | |
4270 | $as_echo "$ac_cv_lib_SDL_image_main" >&6; } | |
4271 | if test "x$ac_cv_lib_SDL_image_main" = xyes; then : | |
4270 | 4272 | cat >>confdefs.h <<_ACEOF |
4271 | 4273 | #define HAVE_LIBSDL_IMAGE 1 |
4272 | 4274 | _ACEOF |
4274 | 4276 | LIBS="-lSDL_image $LIBS" |
4275 | 4277 | |
4276 | 4278 | else |
4277 | { { echo "$as_me:$LINENO: error: Your system is missing libSDL_image!" >&5 | |
4278 | echo "$as_me: error: Your system is missing libSDL_image!" >&2;} | |
4279 | { (exit 1); exit 1; }; } | |
4279 | as_fn_error $? "Your system is missing libSDL_image!" "$LINENO" 5 | |
4280 | 4280 | fi |
4281 | 4281 | |
4282 | 4282 | |
4288 | 4288 | |
4289 | 4289 | |
4290 | 4290 | ######## Finally create all the generated files |
4291 | ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile data/gfx/Makefile" | |
4291 | ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile data/gfx/Makefile data/sound/Makefile" | |
4292 | 4292 | |
4293 | 4293 | cat >confcache <<\_ACEOF |
4294 | 4294 | # This file is a shell script that caches the results of configure |
4317 | 4317 | case $ac_val in #( |
4318 | 4318 | *${as_nl}*) |
4319 | 4319 | case $ac_var in #( |
4320 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | |
4321 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |
4320 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
4321 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
4322 | 4322 | esac |
4323 | 4323 | case $ac_var in #( |
4324 | 4324 | _ | IFS | as_nl) ;; #( |
4325 | *) $as_unset $ac_var ;; | |
4325 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
4326 | *) { eval $ac_var=; unset $ac_var;} ;; | |
4326 | 4327 | esac ;; |
4327 | 4328 | esac |
4328 | 4329 | done |
4330 | 4331 | (set) 2>&1 | |
4331 | 4332 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
4332 | 4333 | *${as_nl}ac_space=\ *) |
4333 | # `set' does not quote correctly, so add quotes (double-quote | |
4334 | # substitution turns \\\\ into \\, and sed turns \\ into \). | |
4334 | # `set' does not quote correctly, so add quotes: double-quote | |
4335 | # substitution turns \\\\ into \\, and sed turns \\ into \. | |
4335 | 4336 | sed -n \ |
4336 | 4337 | "s/'/'\\\\''/g; |
4337 | 4338 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
4353 | 4354 | :end' >>confcache |
4354 | 4355 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
4355 | 4356 | if test -w "$cache_file"; then |
4356 | test "x$cache_file" != "x/dev/null" && | |
4357 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 | |
4358 | echo "$as_me: updating cache $cache_file" >&6;} | |
4359 | cat confcache >$cache_file | |
4357 | if test "x$cache_file" != "x/dev/null"; then | |
4358 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | |
4359 | $as_echo "$as_me: updating cache $cache_file" >&6;} | |
4360 | if test ! -f "$cache_file" || test -h "$cache_file"; then | |
4361 | cat confcache >"$cache_file" | |
4362 | else | |
4363 | case $cache_file in #( | |
4364 | */* | ?:*) | |
4365 | mv -f confcache "$cache_file"$$ && | |
4366 | mv -f "$cache_file"$$ "$cache_file" ;; #( | |
4367 | *) | |
4368 | mv -f confcache "$cache_file" ;; | |
4369 | esac | |
4370 | fi | |
4371 | fi | |
4360 | 4372 | else |
4361 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 | |
4362 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
4373 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | |
4374 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
4363 | 4375 | fi |
4364 | 4376 | fi |
4365 | 4377 | rm -f confcache |
4376 | 4388 | # take arguments), then branch to the quote section. Otherwise, |
4377 | 4389 | # look for a macro that doesn't take arguments. |
4378 | 4390 | ac_script=' |
4391 | :mline | |
4392 | /\\$/{ | |
4393 | N | |
4394 | s,\\\n,, | |
4395 | b mline | |
4396 | } | |
4379 | 4397 | t clear |
4380 | 4398 | :clear |
4381 | 4399 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
4402 | 4420 | |
4403 | 4421 | ac_libobjs= |
4404 | 4422 | ac_ltlibobjs= |
4423 | U= | |
4405 | 4424 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
4406 | 4425 | # 1. Remove the extension, and $U if already installed. |
4407 | 4426 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
4408 | ac_i=`echo "$ac_i" | sed "$ac_script"` | |
4427 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | |
4409 | 4428 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
4410 | 4429 | # will be set to the directory where LIBOBJS objects are built. |
4411 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
4412 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | |
4430 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
4431 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | |
4413 | 4432 | done |
4414 | 4433 | LIBOBJS=$ac_libobjs |
4415 | 4434 | |
4416 | 4435 | LTLIBOBJS=$ac_ltlibobjs |
4417 | 4436 | |
4418 | 4437 | |
4438 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 | |
4439 | $as_echo_n "checking that generated files are newer than configure... " >&6; } | |
4440 | if test -n "$am_sleep_pid"; then | |
4441 | # Hide warnings about reused PIDs. | |
4442 | wait $am_sleep_pid 2>/dev/null | |
4443 | fi | |
4444 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 | |
4445 | $as_echo "done" >&6; } | |
4446 | if test -n "$EXEEXT"; then | |
4447 | am__EXEEXT_TRUE= | |
4448 | am__EXEEXT_FALSE='#' | |
4449 | else | |
4450 | am__EXEEXT_TRUE='#' | |
4451 | am__EXEEXT_FALSE= | |
4452 | fi | |
4453 | ||
4419 | 4454 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
4420 | { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. | |
4421 | Usually this means the macro was only invoked conditionally." >&5 | |
4422 | echo "$as_me: error: conditional \"AMDEP\" was never defined. | |
4423 | Usually this means the macro was only invoked conditionally." >&2;} | |
4424 | { (exit 1); exit 1; }; } | |
4455 | as_fn_error $? "conditional \"AMDEP\" was never defined. | |
4456 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
4425 | 4457 | fi |
4426 | 4458 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
4427 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. | |
4428 | Usually this means the macro was only invoked conditionally." >&5 | |
4429 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. | |
4430 | Usually this means the macro was only invoked conditionally." >&2;} | |
4431 | { (exit 1); exit 1; }; } | |
4432 | fi | |
4433 | ||
4434 | : ${CONFIG_STATUS=./config.status} | |
4459 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | |
4460 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
4461 | fi | |
4462 | ||
4463 | : "${CONFIG_STATUS=./config.status}" | |
4464 | ac_write_fail=0 | |
4435 | 4465 | ac_clean_files_save=$ac_clean_files |
4436 | 4466 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
4437 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | |
4438 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
4439 | cat >$CONFIG_STATUS <<_ACEOF | |
4467 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | |
4468 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
4469 | as_write_fail=0 | |
4470 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
4440 | 4471 | #! $SHELL |
4441 | 4472 | # Generated by $as_me. |
4442 | 4473 | # Run this file to recreate the current configuration. |
4446 | 4477 | debug=false |
4447 | 4478 | ac_cs_recheck=false |
4448 | 4479 | ac_cs_silent=false |
4480 | ||
4449 | 4481 | SHELL=\${CONFIG_SHELL-$SHELL} |
4450 | _ACEOF | |
4451 | ||
4452 | cat >>$CONFIG_STATUS <<\_ACEOF | |
4453 | ## --------------------- ## | |
4454 | ## M4sh Initialization. ## | |
4455 | ## --------------------- ## | |
4482 | export SHELL | |
4483 | _ASEOF | |
4484 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | |
4485 | ## -------------------- ## | |
4486 | ## M4sh Initialization. ## | |
4487 | ## -------------------- ## | |
4456 | 4488 | |
4457 | 4489 | # Be more Bourne compatible |
4458 | 4490 | DUALCASE=1; export DUALCASE # for MKS sh |
4459 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
4491 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
4460 | 4492 | emulate sh |
4461 | 4493 | NULLCMD=: |
4462 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
4494 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
4463 | 4495 | # is contrary to our usage. Disable this feature. |
4464 | 4496 | alias -g '${1+"$@"}'='"$@"' |
4465 | 4497 | setopt NO_GLOB_SUBST |
4466 | 4498 | else |
4467 | case `(set -o) 2>/dev/null` in | |
4468 | *posix*) set -o posix ;; | |
4499 | case `(set -o) 2>/dev/null` in #( | |
4500 | *posix*) : | |
4501 | set -o posix ;; #( | |
4502 | *) : | |
4503 | ;; | |
4469 | 4504 | esac |
4470 | ||
4471 | fi | |
4472 | ||
4473 | ||
4474 | ||
4475 | ||
4476 | # PATH needs CR | |
4477 | # Avoid depending upon Character Ranges. | |
4478 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
4479 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
4480 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
4481 | as_cr_digits='0123456789' | |
4482 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
4505 | fi | |
4506 | ||
4507 | ||
4508 | as_nl=' | |
4509 | ' | |
4510 | export as_nl | |
4511 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
4512 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
4513 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
4514 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
4515 | # Prefer a ksh shell builtin over an external printf program on Solaris, | |
4516 | # but without wasting forks for bash or zsh. | |
4517 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
4518 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
4519 | as_echo='print -r --' | |
4520 | as_echo_n='print -rn --' | |
4521 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
4522 | as_echo='printf %s\n' | |
4523 | as_echo_n='printf %s' | |
4524 | else | |
4525 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
4526 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
4527 | as_echo_n='/usr/ucb/echo -n' | |
4528 | else | |
4529 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
4530 | as_echo_n_body='eval | |
4531 | arg=$1; | |
4532 | case $arg in #( | |
4533 | *"$as_nl"*) | |
4534 | expr "X$arg" : "X\\(.*\\)$as_nl"; | |
4535 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
4536 | esac; | |
4537 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
4538 | ' | |
4539 | export as_echo_n_body | |
4540 | as_echo_n='sh -c $as_echo_n_body as_echo' | |
4541 | fi | |
4542 | export as_echo_body | |
4543 | as_echo='sh -c $as_echo_body as_echo' | |
4544 | fi | |
4483 | 4545 | |
4484 | 4546 | # The user is always right. |
4485 | 4547 | if test "${PATH_SEPARATOR+set}" != set; then |
4486 | echo "#! /bin/sh" >conf$$.sh | |
4487 | echo "exit 0" >>conf$$.sh | |
4488 | chmod +x conf$$.sh | |
4489 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | |
4490 | PATH_SEPARATOR=';' | |
4491 | else | |
4492 | PATH_SEPARATOR=: | |
4493 | fi | |
4494 | rm -f conf$$.sh | |
4495 | fi | |
4496 | ||
4497 | # Support unset when possible. | |
4498 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
4499 | as_unset=unset | |
4500 | else | |
4501 | as_unset=false | |
4548 | PATH_SEPARATOR=: | |
4549 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
4550 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
4551 | PATH_SEPARATOR=';' | |
4552 | } | |
4502 | 4553 | fi |
4503 | 4554 | |
4504 | 4555 | |
4507 | 4558 | # there to prevent editors from complaining about space-tab. |
4508 | 4559 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
4509 | 4560 | # splitting by setting IFS to empty value.) |
4510 | as_nl=' | |
4511 | ' | |
4512 | 4561 | IFS=" "" $as_nl" |
4513 | 4562 | |
4514 | 4563 | # Find who we are. Look in the path if we contain no directory separator. |
4515 | case $0 in | |
4564 | as_myself= | |
4565 | case $0 in #(( | |
4516 | 4566 | *[\\/]* ) as_myself=$0 ;; |
4517 | 4567 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4518 | 4568 | for as_dir in $PATH |
4519 | 4569 | do |
4520 | 4570 | IFS=$as_save_IFS |
4521 | 4571 | test -z "$as_dir" && as_dir=. |
4522 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
4523 | done | |
4572 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
4573 | done | |
4524 | 4574 | IFS=$as_save_IFS |
4525 | 4575 | |
4526 | 4576 | ;; |
4531 | 4581 | as_myself=$0 |
4532 | 4582 | fi |
4533 | 4583 | if test ! -f "$as_myself"; then |
4534 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
4535 | { (exit 1); exit 1; } | |
4536 | fi | |
4537 | ||
4538 | # Work around bugs in pre-3.0 UWIN ksh. | |
4539 | for as_var in ENV MAIL MAILPATH | |
4540 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
4584 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
4585 | exit 1 | |
4586 | fi | |
4587 | ||
4588 | # Unset variables that we do not need and which cause bugs (e.g. in | |
4589 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
4590 | # suppresses any "Segmentation fault" message there. '((' could | |
4591 | # trigger a bug in pdksh 5.2.14. | |
4592 | for as_var in BASH_ENV ENV MAIL MAILPATH | |
4593 | do eval test x\${$as_var+set} = xset \ | |
4594 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
4541 | 4595 | done |
4542 | 4596 | PS1='$ ' |
4543 | 4597 | PS2='> ' |
4544 | 4598 | PS4='+ ' |
4545 | 4599 | |
4546 | 4600 | # NLS nuisances. |
4547 | for as_var in \ | |
4548 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
4549 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
4550 | LC_TELEPHONE LC_TIME | |
4551 | do | |
4552 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
4553 | eval $as_var=C; export $as_var | |
4554 | else | |
4555 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
4601 | LC_ALL=C | |
4602 | export LC_ALL | |
4603 | LANGUAGE=C | |
4604 | export LANGUAGE | |
4605 | ||
4606 | # CDPATH. | |
4607 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
4608 | ||
4609 | ||
4610 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
4611 | # ---------------------------------------- | |
4612 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
4613 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
4614 | # script with STATUS, using 1 if that was 0. | |
4615 | as_fn_error () | |
4616 | { | |
4617 | as_status=$1; test $as_status -eq 0 && as_status=1 | |
4618 | if test "$4"; then | |
4619 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
4620 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
4556 | 4621 | fi |
4557 | done | |
4558 | ||
4559 | # Required to use basename. | |
4622 | $as_echo "$as_me: error: $2" >&2 | |
4623 | as_fn_exit $as_status | |
4624 | } # as_fn_error | |
4625 | ||
4626 | ||
4627 | # as_fn_set_status STATUS | |
4628 | # ----------------------- | |
4629 | # Set $? to STATUS, without forking. | |
4630 | as_fn_set_status () | |
4631 | { | |
4632 | return $1 | |
4633 | } # as_fn_set_status | |
4634 | ||
4635 | # as_fn_exit STATUS | |
4636 | # ----------------- | |
4637 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
4638 | as_fn_exit () | |
4639 | { | |
4640 | set +e | |
4641 | as_fn_set_status $1 | |
4642 | exit $1 | |
4643 | } # as_fn_exit | |
4644 | ||
4645 | # as_fn_unset VAR | |
4646 | # --------------- | |
4647 | # Portably unset VAR. | |
4648 | as_fn_unset () | |
4649 | { | |
4650 | { eval $1=; unset $1;} | |
4651 | } | |
4652 | as_unset=as_fn_unset | |
4653 | # as_fn_append VAR VALUE | |
4654 | # ---------------------- | |
4655 | # Append the text in VALUE to the end of the definition contained in VAR. Take | |
4656 | # advantage of any shell optimizations that allow amortized linear growth over | |
4657 | # repeated appends, instead of the typical quadratic growth present in naive | |
4658 | # implementations. | |
4659 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
4660 | eval 'as_fn_append () | |
4661 | { | |
4662 | eval $1+=\$2 | |
4663 | }' | |
4664 | else | |
4665 | as_fn_append () | |
4666 | { | |
4667 | eval $1=\$$1\$2 | |
4668 | } | |
4669 | fi # as_fn_append | |
4670 | ||
4671 | # as_fn_arith ARG... | |
4672 | # ------------------ | |
4673 | # Perform arithmetic evaluation on the ARGs, and store the result in the | |
4674 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
4675 | # must be portable across $(()) and expr. | |
4676 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
4677 | eval 'as_fn_arith () | |
4678 | { | |
4679 | as_val=$(( $* )) | |
4680 | }' | |
4681 | else | |
4682 | as_fn_arith () | |
4683 | { | |
4684 | as_val=`expr "$@" || test $? -eq 1` | |
4685 | } | |
4686 | fi # as_fn_arith | |
4687 | ||
4688 | ||
4560 | 4689 | if expr a : '\(a\)' >/dev/null 2>&1 && |
4561 | 4690 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
4562 | 4691 | as_expr=expr |
4570 | 4699 | as_basename=false |
4571 | 4700 | fi |
4572 | 4701 | |
4573 | ||
4574 | # Name of the executable. | |
4702 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
4703 | as_dirname=dirname | |
4704 | else | |
4705 | as_dirname=false | |
4706 | fi | |
4707 | ||
4575 | 4708 | as_me=`$as_basename -- "$0" || |
4576 | 4709 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
4577 | 4710 | X"$0" : 'X\(//\)$' \| \ |
4578 | 4711 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
4579 | echo X/"$0" | | |
4712 | $as_echo X/"$0" | | |
4580 | 4713 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
4581 | 4714 | s//\1/ |
4582 | 4715 | q |
4591 | 4724 | } |
4592 | 4725 | s/.*/./; q'` |
4593 | 4726 | |
4594 | # CDPATH. | |
4595 | $as_unset CDPATH | |
4596 | ||
4597 | ||
4598 | ||
4599 | as_lineno_1=$LINENO | |
4600 | as_lineno_2=$LINENO | |
4601 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
4602 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
4603 | ||
4604 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
4605 | # uniformly replaced by the line number. The first 'sed' inserts a | |
4606 | # line-number line after each line using $LINENO; the second 'sed' | |
4607 | # does the real work. The second script uses 'N' to pair each | |
4608 | # line-number line with the line containing $LINENO, and appends | |
4609 | # trailing '-' during substitution so that $LINENO is not a special | |
4610 | # case at line end. | |
4611 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
4612 | # scripts with optimization help from Paolo Bonzini. Blame Lee | |
4613 | # E. McMahon (1931-1989) for sed's syntax. :-) | |
4614 | sed -n ' | |
4615 | p | |
4616 | /[$]LINENO/= | |
4617 | ' <$as_myself | | |
4618 | sed ' | |
4619 | s/[$]LINENO.*/&-/ | |
4620 | t lineno | |
4621 | b | |
4622 | :lineno | |
4623 | N | |
4624 | :loop | |
4625 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
4626 | t loop | |
4627 | s/-\n.*// | |
4628 | ' >$as_me.lineno && | |
4629 | chmod +x "$as_me.lineno" || | |
4630 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
4631 | { (exit 1); exit 1; }; } | |
4632 | ||
4633 | # Don't try to exec as it changes $[0], causing all sort of problems | |
4634 | # (the dirname of $[0] is not the place where we might find the | |
4635 | # original and so on. Autoconf is especially sensitive to this). | |
4636 | . "./$as_me.lineno" | |
4637 | # Exit status is that of the last command. | |
4638 | exit | |
4639 | } | |
4640 | ||
4641 | ||
4642 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
4643 | as_dirname=dirname | |
4644 | else | |
4645 | as_dirname=false | |
4646 | fi | |
4727 | # Avoid depending upon Character Ranges. | |
4728 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
4729 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
4730 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
4731 | as_cr_digits='0123456789' | |
4732 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
4647 | 4733 | |
4648 | 4734 | ECHO_C= ECHO_N= ECHO_T= |
4649 | case `echo -n x` in | |
4735 | case `echo -n x` in #((((( | |
4650 | 4736 | -n*) |
4651 | case `echo 'x\c'` in | |
4737 | case `echo 'xy\c'` in | |
4652 | 4738 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
4653 | *) ECHO_C='\c';; | |
4739 | xy) ECHO_C='\c';; | |
4740 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
4741 | ECHO_T=' ';; | |
4654 | 4742 | esac;; |
4655 | 4743 | *) |
4656 | 4744 | ECHO_N='-n';; |
4657 | 4745 | esac |
4658 | 4746 | |
4659 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
4660 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
4661 | as_expr=expr | |
4662 | else | |
4663 | as_expr=false | |
4664 | fi | |
4665 | ||
4666 | 4747 | rm -f conf$$ conf$$.exe conf$$.file |
4667 | 4748 | if test -d conf$$.dir; then |
4668 | 4749 | rm -f conf$$.dir/conf$$.file |
4669 | 4750 | else |
4670 | 4751 | rm -f conf$$.dir |
4671 | mkdir conf$$.dir | |
4672 | fi | |
4673 | echo >conf$$.file | |
4674 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
4675 | as_ln_s='ln -s' | |
4676 | # ... but there are two gotchas: | |
4677 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
4678 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
4679 | # In both cases, we have to default to `cp -p'. | |
4680 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
4681 | as_ln_s='cp -p' | |
4682 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
4683 | as_ln_s=ln | |
4684 | else | |
4685 | as_ln_s='cp -p' | |
4752 | mkdir conf$$.dir 2>/dev/null | |
4753 | fi | |
4754 | if (echo >conf$$.file) 2>/dev/null; then | |
4755 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
4756 | as_ln_s='ln -s' | |
4757 | # ... but there are two gotchas: | |
4758 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
4759 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
4760 | # In both cases, we have to default to `cp -pR'. | |
4761 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
4762 | as_ln_s='cp -pR' | |
4763 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
4764 | as_ln_s=ln | |
4765 | else | |
4766 | as_ln_s='cp -pR' | |
4767 | fi | |
4768 | else | |
4769 | as_ln_s='cp -pR' | |
4686 | 4770 | fi |
4687 | 4771 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
4688 | 4772 | rmdir conf$$.dir 2>/dev/null |
4689 | 4773 | |
4690 | if mkdir -p . 2>/dev/null; then | |
4691 | as_mkdir_p=: | |
4692 | else | |
4693 | test -d ./-p && rmdir ./-p | |
4694 | as_mkdir_p=false | |
4695 | fi | |
4696 | ||
4697 | if test -x / >/dev/null 2>&1; then | |
4698 | as_test_x='test -x' | |
4699 | else | |
4700 | if ls -dL / >/dev/null 2>&1; then | |
4701 | as_ls_L_option=L | |
4702 | else | |
4703 | as_ls_L_option= | |
4704 | fi | |
4705 | as_test_x=' | |
4706 | eval sh -c '\'' | |
4707 | if test -d "$1"; then | |
4708 | test -d "$1/."; | |
4709 | else | |
4710 | case $1 in | |
4711 | -*)set "./$1";; | |
4712 | esac; | |
4713 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
4714 | ???[sx]*):;;*)false;;esac;fi | |
4715 | '\'' sh | |
4716 | ' | |
4717 | fi | |
4718 | as_executable_p=$as_test_x | |
4719 | ||
4720 | # Sed expression to map a string onto a valid CPP name. | |
4721 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
4722 | ||
4723 | # Sed expression to map a string onto a valid variable name. | |
4724 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
4725 | ||
4726 | ||
4727 | exec 6>&1 | |
4728 | ||
4729 | # Save the log message, to keep $[0] and so on meaningful, and to | |
4730 | # report actual input values of CONFIG_FILES etc. instead of their | |
4731 | # values after options handling. | |
4732 | ac_log=" | |
4733 | This file was extended by $as_me, which was | |
4734 | generated by GNU Autoconf 2.61. Invocation command line was | |
4735 | ||
4736 | CONFIG_FILES = $CONFIG_FILES | |
4737 | CONFIG_HEADERS = $CONFIG_HEADERS | |
4738 | CONFIG_LINKS = $CONFIG_LINKS | |
4739 | CONFIG_COMMANDS = $CONFIG_COMMANDS | |
4740 | $ $0 $@ | |
4741 | ||
4742 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
4743 | " | |
4744 | ||
4745 | _ACEOF | |
4746 | ||
4747 | cat >>$CONFIG_STATUS <<_ACEOF | |
4748 | # Files that config.status was made for. | |
4749 | config_files="$ac_config_files" | |
4750 | config_commands="$ac_config_commands" | |
4751 | ||
4752 | _ACEOF | |
4753 | ||
4754 | cat >>$CONFIG_STATUS <<\_ACEOF | |
4755 | ac_cs_usage="\ | |
4756 | \`$as_me' instantiates files from templates according to the | |
4757 | current configuration. | |
4758 | ||
4759 | Usage: $0 [OPTIONS] [FILE]... | |
4760 | ||
4761 | -h, --help print this help, then exit | |
4762 | -V, --version print version number and configuration settings, then exit | |
4763 | -q, --quiet do not print progress messages | |
4764 | -d, --debug don't remove temporary files | |
4765 | --recheck update $as_me by reconfiguring in the same conditions | |
4766 | --file=FILE[:TEMPLATE] | |
4767 | instantiate the configuration file FILE | |
4768 | ||
4769 | Configuration files: | |
4770 | $config_files | |
4771 | ||
4772 | Configuration commands: | |
4773 | $config_commands | |
4774 | ||
4775 | Report bugs to <bug-autoconf@gnu.org>." | |
4776 | ||
4777 | _ACEOF | |
4778 | cat >>$CONFIG_STATUS <<_ACEOF | |
4779 | ac_cs_version="\\ | |
4780 | config.status | |
4781 | configured by $0, generated by GNU Autoconf 2.61, | |
4782 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | |
4783 | ||
4784 | Copyright (C) 2006 Free Software Foundation, Inc. | |
4785 | This config.status script is free software; the Free Software Foundation | |
4786 | gives unlimited permission to copy, distribute and modify it." | |
4787 | ||
4788 | ac_pwd='$ac_pwd' | |
4789 | srcdir='$srcdir' | |
4790 | INSTALL='$INSTALL' | |
4791 | MKDIR_P='$MKDIR_P' | |
4792 | _ACEOF | |
4793 | ||
4794 | cat >>$CONFIG_STATUS <<\_ACEOF | |
4795 | # If no file are specified by the user, then we need to provide default | |
4796 | # value. By we need to know if files were specified by the user. | |
4797 | ac_need_defaults=: | |
4798 | while test $# != 0 | |
4799 | do | |
4800 | case $1 in | |
4801 | --*=*) | |
4802 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
4803 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
4804 | ac_shift=: | |
4805 | ;; | |
4806 | *) | |
4807 | ac_option=$1 | |
4808 | ac_optarg=$2 | |
4809 | ac_shift=shift | |
4810 | ;; | |
4811 | esac | |
4812 | ||
4813 | case $ac_option in | |
4814 | # Handling of the options. | |
4815 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
4816 | ac_cs_recheck=: ;; | |
4817 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
4818 | echo "$ac_cs_version"; exit ;; | |
4819 | --debug | --debu | --deb | --de | --d | -d ) | |
4820 | debug=: ;; | |
4821 | --file | --fil | --fi | --f ) | |
4822 | $ac_shift | |
4823 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" | |
4824 | ac_need_defaults=false;; | |
4825 | --he | --h | --help | --hel | -h ) | |
4826 | echo "$ac_cs_usage"; exit ;; | |
4827 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
4828 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
4829 | ac_cs_silent=: ;; | |
4830 | ||
4831 | # This is an error. | |
4832 | -*) { echo "$as_me: error: unrecognized option: $1 | |
4833 | Try \`$0 --help' for more information." >&2 | |
4834 | { (exit 1); exit 1; }; } ;; | |
4835 | ||
4836 | *) ac_config_targets="$ac_config_targets $1" | |
4837 | ac_need_defaults=false ;; | |
4838 | ||
4839 | esac | |
4840 | shift | |
4841 | done | |
4842 | ||
4843 | ac_configure_extra_args= | |
4844 | ||
4845 | if $ac_cs_silent; then | |
4846 | exec 6>/dev/null | |
4847 | ac_configure_extra_args="$ac_configure_extra_args --silent" | |
4848 | fi | |
4849 | ||
4850 | _ACEOF | |
4851 | cat >>$CONFIG_STATUS <<_ACEOF | |
4852 | if \$ac_cs_recheck; then | |
4853 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | |
4854 | CONFIG_SHELL=$SHELL | |
4855 | export CONFIG_SHELL | |
4856 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
4857 | fi | |
4858 | ||
4859 | _ACEOF | |
4860 | cat >>$CONFIG_STATUS <<\_ACEOF | |
4861 | exec 5>>config.log | |
4774 | ||
4775 | # as_fn_mkdir_p | |
4776 | # ------------- | |
4777 | # Create "$as_dir" as a directory, including parents if necessary. | |
4778 | as_fn_mkdir_p () | |
4862 | 4779 | { |
4863 | echo | |
4864 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
4865 | ## Running $as_me. ## | |
4866 | _ASBOX | |
4867 | echo "$ac_log" | |
4868 | } >&5 | |
4869 | ||
4870 | _ACEOF | |
4871 | cat >>$CONFIG_STATUS <<_ACEOF | |
4872 | # | |
4873 | # INIT-COMMANDS | |
4874 | # | |
4875 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | |
4876 | ||
4877 | _ACEOF | |
4878 | ||
4879 | cat >>$CONFIG_STATUS <<\_ACEOF | |
4880 | ||
4881 | # Handling of arguments. | |
4882 | for ac_config_target in $ac_config_targets | |
4883 | do | |
4884 | case $ac_config_target in | |
4885 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | |
4886 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
4887 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | |
4888 | "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; | |
4889 | "data/gfx/Makefile") CONFIG_FILES="$CONFIG_FILES data/gfx/Makefile" ;; | |
4890 | ||
4891 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | |
4892 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
4893 | { (exit 1); exit 1; }; };; | |
4894 | esac | |
4895 | done | |
4896 | ||
4897 | ||
4898 | # If the user did not use the arguments to specify the items to instantiate, | |
4899 | # then the envvar interface is used. Set only those that are not. | |
4900 | # We use the long form for the default assignment because of an extremely | |
4901 | # bizarre bug on SunOS 4.1.3. | |
4902 | if $ac_need_defaults; then | |
4903 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
4904 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | |
4905 | fi | |
4906 | ||
4907 | # Have a temporary directory for convenience. Make it in the build tree | |
4908 | # simply because there is no reason against having it here, and in addition, | |
4909 | # creating and moving files from /tmp can sometimes cause problems. | |
4910 | # Hook for its removal unless debugging. | |
4911 | # Note that there is a small window in which the directory will not be cleaned: | |
4912 | # after its creation but before its name has been assigned to `$tmp'. | |
4913 | $debug || | |
4914 | { | |
4915 | tmp= | |
4916 | trap 'exit_status=$? | |
4917 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
4918 | ' 0 | |
4919 | trap '{ (exit 1); exit 1; }' 1 2 13 15 | |
4920 | } | |
4921 | # Create a (secure) tmp directory for tmp files. | |
4922 | ||
4923 | { | |
4924 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
4925 | test -n "$tmp" && test -d "$tmp" | |
4926 | } || | |
4927 | { | |
4928 | tmp=./conf$$-$RANDOM | |
4929 | (umask 077 && mkdir "$tmp") | |
4930 | } || | |
4931 | { | |
4932 | echo "$me: cannot create a temporary directory in ." >&2 | |
4933 | { (exit 1); exit 1; } | |
4934 | } | |
4935 | ||
4936 | # | |
4937 | # Set up the sed scripts for CONFIG_FILES section. | |
4938 | # | |
4939 | ||
4940 | # No need to generate the scripts if there are no CONFIG_FILES. | |
4941 | # This happens for instance when ./config.status config.h | |
4942 | if test -n "$CONFIG_FILES"; then | |
4943 | ||
4944 | _ACEOF | |
4945 | ||
4946 | ||
4947 | ||
4948 | ac_delim='%!_!# ' | |
4949 | for ac_last_try in false false false false false :; do | |
4950 | cat >conf$$subs.sed <<_ACEOF | |
4951 | SHELL!$SHELL$ac_delim | |
4952 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim | |
4953 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim | |
4954 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim | |
4955 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim | |
4956 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim | |
4957 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim | |
4958 | exec_prefix!$exec_prefix$ac_delim | |
4959 | prefix!$prefix$ac_delim | |
4960 | program_transform_name!$program_transform_name$ac_delim | |
4961 | bindir!$bindir$ac_delim | |
4962 | sbindir!$sbindir$ac_delim | |
4963 | libexecdir!$libexecdir$ac_delim | |
4964 | datarootdir!$datarootdir$ac_delim | |
4965 | datadir!$datadir$ac_delim | |
4966 | sysconfdir!$sysconfdir$ac_delim | |
4967 | sharedstatedir!$sharedstatedir$ac_delim | |
4968 | localstatedir!$localstatedir$ac_delim | |
4969 | includedir!$includedir$ac_delim | |
4970 | oldincludedir!$oldincludedir$ac_delim | |
4971 | docdir!$docdir$ac_delim | |
4972 | infodir!$infodir$ac_delim | |
4973 | htmldir!$htmldir$ac_delim | |
4974 | dvidir!$dvidir$ac_delim | |
4975 | pdfdir!$pdfdir$ac_delim | |
4976 | psdir!$psdir$ac_delim | |
4977 | libdir!$libdir$ac_delim | |
4978 | localedir!$localedir$ac_delim | |
4979 | mandir!$mandir$ac_delim | |
4980 | DEFS!$DEFS$ac_delim | |
4981 | ECHO_C!$ECHO_C$ac_delim | |
4982 | ECHO_N!$ECHO_N$ac_delim | |
4983 | ECHO_T!$ECHO_T$ac_delim | |
4984 | LIBS!$LIBS$ac_delim | |
4985 | build_alias!$build_alias$ac_delim | |
4986 | host_alias!$host_alias$ac_delim | |
4987 | target_alias!$target_alias$ac_delim | |
4988 | build!$build$ac_delim | |
4989 | build_cpu!$build_cpu$ac_delim | |
4990 | build_vendor!$build_vendor$ac_delim | |
4991 | build_os!$build_os$ac_delim | |
4992 | host!$host$ac_delim | |
4993 | host_cpu!$host_cpu$ac_delim | |
4994 | host_vendor!$host_vendor$ac_delim | |
4995 | host_os!$host_os$ac_delim | |
4996 | target!$target$ac_delim | |
4997 | target_cpu!$target_cpu$ac_delim | |
4998 | target_vendor!$target_vendor$ac_delim | |
4999 | target_os!$target_os$ac_delim | |
5000 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim | |
5001 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim | |
5002 | INSTALL_DATA!$INSTALL_DATA$ac_delim | |
5003 | am__isrc!$am__isrc$ac_delim | |
5004 | CYGPATH_W!$CYGPATH_W$ac_delim | |
5005 | PACKAGE!$PACKAGE$ac_delim | |
5006 | VERSION!$VERSION$ac_delim | |
5007 | ACLOCAL!$ACLOCAL$ac_delim | |
5008 | AUTOCONF!$AUTOCONF$ac_delim | |
5009 | AUTOMAKE!$AUTOMAKE$ac_delim | |
5010 | AUTOHEADER!$AUTOHEADER$ac_delim | |
5011 | MAKEINFO!$MAKEINFO$ac_delim | |
5012 | install_sh!$install_sh$ac_delim | |
5013 | STRIP!$STRIP$ac_delim | |
5014 | INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim | |
5015 | mkdir_p!$mkdir_p$ac_delim | |
5016 | AWK!$AWK$ac_delim | |
5017 | SET_MAKE!$SET_MAKE$ac_delim | |
5018 | am__leading_dot!$am__leading_dot$ac_delim | |
5019 | AMTAR!$AMTAR$ac_delim | |
5020 | am__tar!$am__tar$ac_delim | |
5021 | am__untar!$am__untar$ac_delim | |
5022 | CC!$CC$ac_delim | |
5023 | CFLAGS!$CFLAGS$ac_delim | |
5024 | LDFLAGS!$LDFLAGS$ac_delim | |
5025 | CPPFLAGS!$CPPFLAGS$ac_delim | |
5026 | ac_ct_CC!$ac_ct_CC$ac_delim | |
5027 | EXEEXT!$EXEEXT$ac_delim | |
5028 | OBJEXT!$OBJEXT$ac_delim | |
5029 | DEPDIR!$DEPDIR$ac_delim | |
5030 | am__include!$am__include$ac_delim | |
5031 | am__quote!$am__quote$ac_delim | |
5032 | AMDEP_TRUE!$AMDEP_TRUE$ac_delim | |
5033 | AMDEP_FALSE!$AMDEP_FALSE$ac_delim | |
5034 | AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim | |
5035 | CCDEPMODE!$CCDEPMODE$ac_delim | |
5036 | am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim | |
5037 | am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim | |
5038 | RANLIB!$RANLIB$ac_delim | |
5039 | MATHLIB!$MATHLIB$ac_delim | |
5040 | SDL_CONFIG!$SDL_CONFIG$ac_delim | |
5041 | SDL_CFLAGS!$SDL_CFLAGS$ac_delim | |
5042 | SDL_LIBS!$SDL_LIBS$ac_delim | |
5043 | LIBOBJS!$LIBOBJS$ac_delim | |
5044 | LTLIBOBJS!$LTLIBOBJS$ac_delim | |
5045 | _ACEOF | |
5046 | ||
5047 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 94; then | |
5048 | break | |
5049 | elif $ac_last_try; then | |
5050 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
5051 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
5052 | { (exit 1); exit 1; }; } | |
5053 | else | |
5054 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
5055 | fi | |
5056 | done | |
5057 | ||
5058 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | |
5059 | if test -n "$ac_eof"; then | |
5060 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | |
5061 | ac_eof=`expr $ac_eof + 1` | |
5062 | fi | |
5063 | ||
5064 | cat >>$CONFIG_STATUS <<_ACEOF | |
5065 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof | |
5066 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end | |
5067 | _ACEOF | |
5068 | sed ' | |
5069 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | |
5070 | s/^/s,@/; s/!/@,|#_!!_#|/ | |
5071 | :n | |
5072 | t n | |
5073 | s/'"$ac_delim"'$/,g/; t | |
5074 | s/$/\\/; p | |
5075 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
5076 | ' >>$CONFIG_STATUS <conf$$subs.sed | |
5077 | rm -f conf$$subs.sed | |
5078 | cat >>$CONFIG_STATUS <<_ACEOF | |
5079 | :end | |
5080 | s/|#_!!_#|//g | |
5081 | CEOF$ac_eof | |
5082 | _ACEOF | |
5083 | ||
5084 | ||
5085 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
5086 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
5087 | # trailing colons and then remove the whole line if VPATH becomes empty | |
5088 | # (actually we leave an empty line to preserve line numbers). | |
5089 | if test "x$srcdir" = x.; then | |
5090 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
5091 | s/:*\$(srcdir):*/:/ | |
5092 | s/:*\${srcdir}:*/:/ | |
5093 | s/:*@srcdir@:*/:/ | |
5094 | s/^\([^=]*=[ ]*\):*/\1/ | |
5095 | s/:*$// | |
5096 | s/^[^=]*=[ ]*$// | |
5097 | }' | |
5098 | fi | |
5099 | ||
5100 | cat >>$CONFIG_STATUS <<\_ACEOF | |
5101 | fi # test -n "$CONFIG_FILES" | |
5102 | ||
5103 | ||
5104 | for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS | |
5105 | do | |
5106 | case $ac_tag in | |
5107 | :[FHLC]) ac_mode=$ac_tag; continue;; | |
5108 | esac | |
5109 | case $ac_mode$ac_tag in | |
5110 | :[FHL]*:*);; | |
5111 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 | |
5112 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} | |
5113 | { (exit 1); exit 1; }; };; | |
5114 | :[FH]-) ac_tag=-:-;; | |
5115 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
5116 | esac | |
5117 | ac_save_IFS=$IFS | |
5118 | IFS=: | |
5119 | set x $ac_tag | |
5120 | IFS=$ac_save_IFS | |
5121 | shift | |
5122 | ac_file=$1 | |
5123 | shift | |
5124 | ||
5125 | case $ac_mode in | |
5126 | :L) ac_source=$1;; | |
5127 | :[FH]) | |
5128 | ac_file_inputs= | |
5129 | for ac_f | |
5130 | do | |
5131 | case $ac_f in | |
5132 | -) ac_f="$tmp/stdin";; | |
5133 | *) # Look for the file first in the build tree, then in the source tree | |
5134 | # (if the path is not absolute). The absolute path cannot be DOS-style, | |
5135 | # because $ac_f cannot contain `:'. | |
5136 | test -f "$ac_f" || | |
5137 | case $ac_f in | |
5138 | [\\/$]*) false;; | |
5139 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
5140 | esac || | |
5141 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | |
5142 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
5143 | { (exit 1); exit 1; }; };; | |
5144 | esac | |
5145 | ac_file_inputs="$ac_file_inputs $ac_f" | |
5146 | done | |
5147 | ||
5148 | # Let's still pretend it is `configure' which instantiates (i.e., don't | |
5149 | # use $as_me), people would be surprised to read: | |
5150 | # /* config.h. Generated by config.status. */ | |
5151 | configure_input="Generated from "`IFS=: | |
5152 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." | |
5153 | if test x"$ac_file" != x-; then | |
5154 | configure_input="$ac_file. $configure_input" | |
5155 | { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
5156 | echo "$as_me: creating $ac_file" >&6;} | |
5157 | fi | |
5158 | ||
5159 | case $ac_tag in | |
5160 | *:-:* | *:-) cat >"$tmp/stdin";; | |
5161 | esac | |
5162 | ;; | |
5163 | esac | |
5164 | ||
5165 | ac_dir=`$as_dirname -- "$ac_file" || | |
5166 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5167 | X"$ac_file" : 'X\(//\)[^/]' \| \ | |
5168 | X"$ac_file" : 'X\(//\)$' \| \ | |
5169 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
5170 | echo X"$ac_file" | | |
5171 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
5172 | s//\1/ | |
5173 | q | |
5174 | } | |
5175 | /^X\(\/\/\)[^/].*/{ | |
5176 | s//\1/ | |
5177 | q | |
5178 | } | |
5179 | /^X\(\/\/\)$/{ | |
5180 | s//\1/ | |
5181 | q | |
5182 | } | |
5183 | /^X\(\/\).*/{ | |
5184 | s//\1/ | |
5185 | q | |
5186 | } | |
5187 | s/.*/./; q'` | |
5188 | { as_dir="$ac_dir" | |
4780 | ||
5189 | 4781 | case $as_dir in #( |
5190 | 4782 | -*) as_dir=./$as_dir;; |
5191 | 4783 | esac |
5192 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
4784 | test -d "$as_dir" || eval $as_mkdir_p || { | |
5193 | 4785 | as_dirs= |
5194 | 4786 | while :; do |
5195 | 4787 | case $as_dir in #( |
5196 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( | |
4788 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
5197 | 4789 | *) as_qdir=$as_dir;; |
5198 | 4790 | esac |
5199 | 4791 | as_dirs="'$as_qdir' $as_dirs" |
5202 | 4794 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
5203 | 4795 | X"$as_dir" : 'X\(//\)$' \| \ |
5204 | 4796 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
5205 | echo X"$as_dir" | | |
4797 | $as_echo X"$as_dir" | | |
5206 | 4798 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
5207 | 4799 | s//\1/ |
5208 | 4800 | q |
5223 | 4815 | test -d "$as_dir" && break |
5224 | 4816 | done |
5225 | 4817 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
5226 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | |
5227 | echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
5228 | { (exit 1); exit 1; }; }; } | |
5229 | ac_builddir=. | |
5230 | ||
5231 | case "$ac_dir" in | |
5232 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
5233 | *) | |
5234 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
5235 | # A ".." for each directory in $ac_dir_suffix. | |
5236 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | |
5237 | case $ac_top_builddir_sub in | |
5238 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
5239 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
5240 | esac ;; | |
4818 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
4819 | ||
4820 | ||
4821 | } # as_fn_mkdir_p | |
4822 | if mkdir -p . 2>/dev/null; then | |
4823 | as_mkdir_p='mkdir -p "$as_dir"' | |
4824 | else | |
4825 | test -d ./-p && rmdir ./-p | |
4826 | as_mkdir_p=false | |
4827 | fi | |
4828 | ||
4829 | ||
4830 | # as_fn_executable_p FILE | |
4831 | # ----------------------- | |
4832 | # Test if FILE is an executable regular file. | |
4833 | as_fn_executable_p () | |
4834 | { | |
4835 | test -f "$1" && test -x "$1" | |
4836 | } # as_fn_executable_p | |
4837 | as_test_x='test -x' | |
4838 | as_executable_p=as_fn_executable_p | |
4839 | ||
4840 | # Sed expression to map a string onto a valid CPP name. | |
4841 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
4842 | ||
4843 | # Sed expression to map a string onto a valid variable name. | |
4844 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
4845 | ||
4846 | ||
4847 | exec 6>&1 | |
4848 | ## ----------------------------------- ## | |
4849 | ## Main body of $CONFIG_STATUS script. ## | |
4850 | ## ----------------------------------- ## | |
4851 | _ASEOF | |
4852 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
4853 | ||
4854 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
4855 | # Save the log message, to keep $0 and so on meaningful, and to | |
4856 | # report actual input values of CONFIG_FILES etc. instead of their | |
4857 | # values after options handling. | |
4858 | ac_log=" | |
4859 | This file was extended by $as_me, which was | |
4860 | generated by GNU Autoconf 2.69. Invocation command line was | |
4861 | ||
4862 | CONFIG_FILES = $CONFIG_FILES | |
4863 | CONFIG_HEADERS = $CONFIG_HEADERS | |
4864 | CONFIG_LINKS = $CONFIG_LINKS | |
4865 | CONFIG_COMMANDS = $CONFIG_COMMANDS | |
4866 | $ $0 $@ | |
4867 | ||
4868 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
4869 | " | |
4870 | ||
4871 | _ACEOF | |
4872 | ||
4873 | case $ac_config_files in *" | |
4874 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
5241 | 4875 | esac |
5242 | ac_abs_top_builddir=$ac_pwd | |
5243 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
5244 | # for backward compatibility: | |
5245 | ac_top_builddir=$ac_top_build_prefix | |
5246 | ||
5247 | case $srcdir in | |
5248 | .) # We are building in place. | |
5249 | ac_srcdir=. | |
5250 | ac_top_srcdir=$ac_top_builddir_sub | |
5251 | ac_abs_top_srcdir=$ac_pwd ;; | |
5252 | [\\/]* | ?:[\\/]* ) # Absolute name. | |
5253 | ac_srcdir=$srcdir$ac_dir_suffix; | |
5254 | ac_top_srcdir=$srcdir | |
5255 | ac_abs_top_srcdir=$srcdir ;; | |
5256 | *) # Relative name. | |
5257 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
5258 | ac_top_srcdir=$ac_top_build_prefix$srcdir | |
5259 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
5260 | esac | |
5261 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
5262 | ||
4876 | ||
4877 | ||
4878 | ||
4879 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
4880 | # Files that config.status was made for. | |
4881 | config_files="$ac_config_files" | |
4882 | config_commands="$ac_config_commands" | |
4883 | ||
4884 | _ACEOF | |
4885 | ||
4886 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
4887 | ac_cs_usage="\ | |
4888 | \`$as_me' instantiates files and other configuration actions | |
4889 | from templates according to the current configuration. Unless the files | |
4890 | and actions are specified as TAGs, all are instantiated by default. | |
4891 | ||
4892 | Usage: $0 [OPTION]... [TAG]... | |
4893 | ||
4894 | -h, --help print this help, then exit | |
4895 | -V, --version print version number and configuration settings, then exit | |
4896 | --config print configuration, then exit | |
4897 | -q, --quiet, --silent | |
4898 | do not print progress messages | |
4899 | -d, --debug don't remove temporary files | |
4900 | --recheck update $as_me by reconfiguring in the same conditions | |
4901 | --file=FILE[:TEMPLATE] | |
4902 | instantiate the configuration file FILE | |
4903 | ||
4904 | Configuration files: | |
4905 | $config_files | |
4906 | ||
4907 | Configuration commands: | |
4908 | $config_commands | |
4909 | ||
4910 | Report bugs to the package provider." | |
4911 | ||
4912 | _ACEOF | |
4913 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
4914 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
4915 | ac_cs_version="\\ | |
4916 | config.status | |
4917 | configured by $0, generated by GNU Autoconf 2.69, | |
4918 | with options \\"\$ac_cs_config\\" | |
4919 | ||
4920 | Copyright (C) 2012 Free Software Foundation, Inc. | |
4921 | This config.status script is free software; the Free Software Foundation | |
4922 | gives unlimited permission to copy, distribute and modify it." | |
4923 | ||
4924 | ac_pwd='$ac_pwd' | |
4925 | srcdir='$srcdir' | |
4926 | INSTALL='$INSTALL' | |
4927 | MKDIR_P='$MKDIR_P' | |
4928 | AWK='$AWK' | |
4929 | test -n "\$AWK" || AWK=awk | |
4930 | _ACEOF | |
4931 | ||
4932 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
4933 | # The default lists apply if the user does not specify any file. | |
4934 | ac_need_defaults=: | |
4935 | while test $# != 0 | |
4936 | do | |
4937 | case $1 in | |
4938 | --*=?*) | |
4939 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
4940 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
4941 | ac_shift=: | |
4942 | ;; | |
4943 | --*=) | |
4944 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
4945 | ac_optarg= | |
4946 | ac_shift=: | |
4947 | ;; | |
4948 | *) | |
4949 | ac_option=$1 | |
4950 | ac_optarg=$2 | |
4951 | ac_shift=shift | |
4952 | ;; | |
4953 | esac | |
4954 | ||
4955 | case $ac_option in | |
4956 | # Handling of the options. | |
4957 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
4958 | ac_cs_recheck=: ;; | |
4959 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
4960 | $as_echo "$ac_cs_version"; exit ;; | |
4961 | --config | --confi | --conf | --con | --co | --c ) | |
4962 | $as_echo "$ac_cs_config"; exit ;; | |
4963 | --debug | --debu | --deb | --de | --d | -d ) | |
4964 | debug=: ;; | |
4965 | --file | --fil | --fi | --f ) | |
4966 | $ac_shift | |
4967 | case $ac_optarg in | |
4968 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
4969 | '') as_fn_error $? "missing file argument" ;; | |
4970 | esac | |
4971 | as_fn_append CONFIG_FILES " '$ac_optarg'" | |
4972 | ac_need_defaults=false;; | |
4973 | --he | --h | --help | --hel | -h ) | |
4974 | $as_echo "$ac_cs_usage"; exit ;; | |
4975 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
4976 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
4977 | ac_cs_silent=: ;; | |
4978 | ||
4979 | # This is an error. | |
4980 | -*) as_fn_error $? "unrecognized option: \`$1' | |
4981 | Try \`$0 --help' for more information." ;; | |
4982 | ||
4983 | *) as_fn_append ac_config_targets " $1" | |
4984 | ac_need_defaults=false ;; | |
4985 | ||
4986 | esac | |
4987 | shift | |
4988 | done | |
4989 | ||
4990 | ac_configure_extra_args= | |
4991 | ||
4992 | if $ac_cs_silent; then | |
4993 | exec 6>/dev/null | |
4994 | ac_configure_extra_args="$ac_configure_extra_args --silent" | |
4995 | fi | |
4996 | ||
4997 | _ACEOF | |
4998 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
4999 | if \$ac_cs_recheck; then | |
5000 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
5001 | shift | |
5002 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
5003 | CONFIG_SHELL='$SHELL' | |
5004 | export CONFIG_SHELL | |
5005 | exec "\$@" | |
5006 | fi | |
5007 | ||
5008 | _ACEOF | |
5009 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5010 | exec 5>>config.log | |
5011 | { | |
5012 | echo | |
5013 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
5014 | ## Running $as_me. ## | |
5015 | _ASBOX | |
5016 | $as_echo "$ac_log" | |
5017 | } >&5 | |
5018 | ||
5019 | _ACEOF | |
5020 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5021 | # | |
5022 | # INIT-COMMANDS | |
5023 | # | |
5024 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | |
5025 | ||
5026 | _ACEOF | |
5027 | ||
5028 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5029 | ||
5030 | # Handling of arguments. | |
5031 | for ac_config_target in $ac_config_targets | |
5032 | do | |
5033 | case $ac_config_target in | |
5034 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | |
5035 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
5036 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | |
5037 | "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; | |
5038 | "data/gfx/Makefile") CONFIG_FILES="$CONFIG_FILES data/gfx/Makefile" ;; | |
5039 | "data/sound/Makefile") CONFIG_FILES="$CONFIG_FILES data/sound/Makefile" ;; | |
5040 | ||
5041 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
5042 | esac | |
5043 | done | |
5044 | ||
5045 | ||
5046 | # If the user did not use the arguments to specify the items to instantiate, | |
5047 | # then the envvar interface is used. Set only those that are not. | |
5048 | # We use the long form for the default assignment because of an extremely | |
5049 | # bizarre bug on SunOS 4.1.3. | |
5050 | if $ac_need_defaults; then | |
5051 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
5052 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | |
5053 | fi | |
5054 | ||
5055 | # Have a temporary directory for convenience. Make it in the build tree | |
5056 | # simply because there is no reason against having it here, and in addition, | |
5057 | # creating and moving files from /tmp can sometimes cause problems. | |
5058 | # Hook for its removal unless debugging. | |
5059 | # Note that there is a small window in which the directory will not be cleaned: | |
5060 | # after its creation but before its name has been assigned to `$tmp'. | |
5061 | $debug || | |
5062 | { | |
5063 | tmp= ac_tmp= | |
5064 | trap 'exit_status=$? | |
5065 | : "${ac_tmp:=$tmp}" | |
5066 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | |
5067 | ' 0 | |
5068 | trap 'as_fn_exit 1' 1 2 13 15 | |
5069 | } | |
5070 | # Create a (secure) tmp directory for tmp files. | |
5071 | ||
5072 | { | |
5073 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
5074 | test -d "$tmp" | |
5075 | } || | |
5076 | { | |
5077 | tmp=./conf$$-$RANDOM | |
5078 | (umask 077 && mkdir "$tmp") | |
5079 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | |
5080 | ac_tmp=$tmp | |
5081 | ||
5082 | # Set up the scripts for CONFIG_FILES section. | |
5083 | # No need to generate them if there are no CONFIG_FILES. | |
5084 | # This happens for instance with `./config.status config.h'. | |
5085 | if test -n "$CONFIG_FILES"; then | |
5086 | ||
5087 | ||
5088 | ac_cr=`echo X | tr X '\015'` | |
5089 | # On cygwin, bash can eat \r inside `` if the user requested igncr. | |
5090 | # But we know of no other shell where ac_cr would be empty at this | |
5091 | # point, so we can use a bashism as a fallback. | |
5092 | if test "x$ac_cr" = x; then | |
5093 | eval ac_cr=\$\'\\r\' | |
5094 | fi | |
5095 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
5096 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
5097 | ac_cs_awk_cr='\\r' | |
5098 | else | |
5099 | ac_cs_awk_cr=$ac_cr | |
5100 | fi | |
5101 | ||
5102 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | |
5103 | _ACEOF | |
5104 | ||
5105 | ||
5106 | { | |
5107 | echo "cat >conf$$subs.awk <<_ACEOF" && | |
5108 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
5109 | echo "_ACEOF" | |
5110 | } >conf$$subs.sh || | |
5111 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
5112 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | |
5113 | ac_delim='%!_!# ' | |
5114 | for ac_last_try in false false false false false :; do | |
5115 | . ./conf$$subs.sh || | |
5116 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
5117 | ||
5118 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
5119 | if test $ac_delim_n = $ac_delim_num; then | |
5120 | break | |
5121 | elif $ac_last_try; then | |
5122 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
5123 | else | |
5124 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
5125 | fi | |
5126 | done | |
5127 | rm -f conf$$subs.sh | |
5128 | ||
5129 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5130 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | |
5131 | _ACEOF | |
5132 | sed -n ' | |
5133 | h | |
5134 | s/^/S["/; s/!.*/"]=/ | |
5135 | p | |
5136 | g | |
5137 | s/^[^!]*!// | |
5138 | :repl | |
5139 | t repl | |
5140 | s/'"$ac_delim"'$// | |
5141 | t delim | |
5142 | :nl | |
5143 | h | |
5144 | s/\(.\{148\}\)..*/\1/ | |
5145 | t more1 | |
5146 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
5147 | p | |
5148 | n | |
5149 | b repl | |
5150 | :more1 | |
5151 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
5152 | p | |
5153 | g | |
5154 | s/.\{148\}// | |
5155 | t nl | |
5156 | :delim | |
5157 | h | |
5158 | s/\(.\{148\}\)..*/\1/ | |
5159 | t more2 | |
5160 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
5161 | p | |
5162 | b | |
5163 | :more2 | |
5164 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
5165 | p | |
5166 | g | |
5167 | s/.\{148\}// | |
5168 | t delim | |
5169 | ' <conf$$subs.awk | sed ' | |
5170 | /^[^""]/{ | |
5171 | N | |
5172 | s/\n// | |
5173 | } | |
5174 | ' >>$CONFIG_STATUS || ac_write_fail=1 | |
5175 | rm -f conf$$subs.awk | |
5176 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5177 | _ACAWK | |
5178 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | |
5179 | for (key in S) S_is_set[key] = 1 | |
5180 | FS = "" | |
5181 | ||
5182 | } | |
5183 | { | |
5184 | line = $ 0 | |
5185 | nfields = split(line, field, "@") | |
5186 | substed = 0 | |
5187 | len = length(field[1]) | |
5188 | for (i = 2; i < nfields; i++) { | |
5189 | key = field[i] | |
5190 | keylen = length(key) | |
5191 | if (S_is_set[key]) { | |
5192 | value = S[key] | |
5193 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
5194 | len += length(value) + length(field[++i]) | |
5195 | substed = 1 | |
5196 | } else | |
5197 | len += 1 + keylen | |
5198 | } | |
5199 | ||
5200 | print line | |
5201 | } | |
5202 | ||
5203 | _ACAWK | |
5204 | _ACEOF | |
5205 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5206 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
5207 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
5208 | else | |
5209 | cat | |
5210 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | |
5211 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | |
5212 | _ACEOF | |
5213 | ||
5214 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | |
5215 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | |
5216 | # trailing colons and then remove the whole line if VPATH becomes empty | |
5217 | # (actually we leave an empty line to preserve line numbers). | |
5218 | if test "x$srcdir" = x.; then | |
5219 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | |
5220 | h | |
5221 | s/// | |
5222 | s/^/:/ | |
5223 | s/[ ]*$/:/ | |
5224 | s/:\$(srcdir):/:/g | |
5225 | s/:\${srcdir}:/:/g | |
5226 | s/:@srcdir@:/:/g | |
5227 | s/^:*// | |
5228 | s/:*$// | |
5229 | x | |
5230 | s/\(=[ ]*\).*/\1/ | |
5231 | G | |
5232 | s/\n// | |
5233 | s/^[^=]*=[ ]*$// | |
5234 | }' | |
5235 | fi | |
5236 | ||
5237 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5238 | fi # test -n "$CONFIG_FILES" | |
5239 | ||
5240 | ||
5241 | eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" | |
5242 | shift | |
5243 | for ac_tag | |
5244 | do | |
5245 | case $ac_tag in | |
5246 | :[FHLC]) ac_mode=$ac_tag; continue;; | |
5247 | esac | |
5248 | case $ac_mode$ac_tag in | |
5249 | :[FHL]*:*);; | |
5250 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | |
5251 | :[FH]-) ac_tag=-:-;; | |
5252 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
5253 | esac | |
5254 | ac_save_IFS=$IFS | |
5255 | IFS=: | |
5256 | set x $ac_tag | |
5257 | IFS=$ac_save_IFS | |
5258 | shift | |
5259 | ac_file=$1 | |
5260 | shift | |
5263 | 5261 | |
5264 | 5262 | case $ac_mode in |
5265 | :F) | |
5266 | # | |
5267 | # CONFIG_FILE | |
5268 | # | |
5269 | ||
5270 | case $INSTALL in | |
5271 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | |
5272 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | |
5263 | :L) ac_source=$1;; | |
5264 | :[FH]) | |
5265 | ac_file_inputs= | |
5266 | for ac_f | |
5267 | do | |
5268 | case $ac_f in | |
5269 | -) ac_f="$ac_tmp/stdin";; | |
5270 | *) # Look for the file first in the build tree, then in the source tree | |
5271 | # (if the path is not absolute). The absolute path cannot be DOS-style, | |
5272 | # because $ac_f cannot contain `:'. | |
5273 | test -f "$ac_f" || | |
5274 | case $ac_f in | |
5275 | [\\/$]*) false;; | |
5276 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
5277 | esac || | |
5278 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | |
5279 | esac | |
5280 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | |
5281 | as_fn_append ac_file_inputs " '$ac_f'" | |
5282 | done | |
5283 | ||
5284 | # Let's still pretend it is `configure' which instantiates (i.e., don't | |
5285 | # use $as_me), people would be surprised to read: | |
5286 | # /* config.h. Generated by config.status. */ | |
5287 | configure_input='Generated from '` | |
5288 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
5289 | `' by configure.' | |
5290 | if test x"$ac_file" != x-; then | |
5291 | configure_input="$ac_file. $configure_input" | |
5292 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | |
5293 | $as_echo "$as_me: creating $ac_file" >&6;} | |
5294 | fi | |
5295 | # Neutralize special characters interpreted by sed in replacement strings. | |
5296 | case $configure_input in #( | |
5297 | *\&* | *\|* | *\\* ) | |
5298 | ac_sed_conf_input=`$as_echo "$configure_input" | | |
5299 | sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
5300 | *) ac_sed_conf_input=$configure_input;; | |
5301 | esac | |
5302 | ||
5303 | case $ac_tag in | |
5304 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ | |
5305 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | |
5306 | esac | |
5307 | ;; | |
5273 | 5308 | esac |
5274 | ac_MKDIR_P=$MKDIR_P | |
5275 | case $MKDIR_P in | |
5276 | [\\/$]* | ?:[\\/]* ) ;; | |
5277 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | |
5278 | esac | |
5279 | _ACEOF | |
5280 | ||
5281 | cat >>$CONFIG_STATUS <<\_ACEOF | |
5282 | # If the template does not know about datarootdir, expand it. | |
5283 | # FIXME: This hack should be removed a few years after 2.60. | |
5284 | ac_datarootdir_hack=; ac_datarootdir_seen= | |
5285 | ||
5286 | case `sed -n '/datarootdir/ { | |
5287 | p | |
5288 | q | |
5289 | } | |
5290 | /@datadir@/p | |
5291 | /@docdir@/p | |
5292 | /@infodir@/p | |
5293 | /@localedir@/p | |
5294 | /@mandir@/p | |
5295 | ' $ac_file_inputs` in | |
5296 | *datarootdir*) ac_datarootdir_seen=yes;; | |
5297 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
5298 | { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | |
5299 | echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | |
5300 | _ACEOF | |
5301 | cat >>$CONFIG_STATUS <<_ACEOF | |
5302 | ac_datarootdir_hack=' | |
5303 | s&@datadir@&$datadir&g | |
5304 | s&@docdir@&$docdir&g | |
5305 | s&@infodir@&$infodir&g | |
5306 | s&@localedir@&$localedir&g | |
5307 | s&@mandir@&$mandir&g | |
5308 | s&\\\${datarootdir}&$datarootdir&g' ;; | |
5309 | esac | |
5310 | _ACEOF | |
5311 | ||
5312 | # Neutralize VPATH when `$srcdir' = `.'. | |
5313 | # Shell code in configure.ac might set extrasub. | |
5314 | # FIXME: do we really want to maintain this feature? | |
5315 | cat >>$CONFIG_STATUS <<_ACEOF | |
5316 | sed "$ac_vpsub | |
5317 | $extrasub | |
5318 | _ACEOF | |
5319 | cat >>$CONFIG_STATUS <<\_ACEOF | |
5320 | :t | |
5321 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
5322 | s&@configure_input@&$configure_input&;t t | |
5323 | s&@top_builddir@&$ac_top_builddir_sub&;t t | |
5324 | s&@srcdir@&$ac_srcdir&;t t | |
5325 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | |
5326 | s&@top_srcdir@&$ac_top_srcdir&;t t | |
5327 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | |
5328 | s&@builddir@&$ac_builddir&;t t | |
5329 | s&@abs_builddir@&$ac_abs_builddir&;t t | |
5330 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | |
5331 | s&@INSTALL@&$ac_INSTALL&;t t | |
5332 | s&@MKDIR_P@&$ac_MKDIR_P&;t t | |
5333 | $ac_datarootdir_hack | |
5334 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out | |
5335 | ||
5336 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
5337 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | |
5338 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | |
5339 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
5340 | which seems to be undefined. Please make sure it is defined." >&5 | |
5341 | echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
5342 | which seems to be undefined. Please make sure it is defined." >&2;} | |
5343 | ||
5344 | rm -f "$tmp/stdin" | |
5345 | case $ac_file in | |
5346 | -) cat "$tmp/out"; rm -f "$tmp/out";; | |
5347 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; | |
5348 | esac | |
5349 | ;; | |
5350 | ||
5351 | ||
5352 | :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 | |
5353 | echo "$as_me: executing $ac_file commands" >&6;} | |
5354 | ;; | |
5355 | esac | |
5356 | ||
5357 | ||
5358 | case $ac_file$ac_mode in | |
5359 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do | |
5360 | # Strip MF so we end up with the name of the file. | |
5361 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
5362 | # Check whether this is an Automake generated Makefile or not. | |
5363 | # We used to match only the files named `Makefile.in', but | |
5364 | # some people rename them; so instead we look at the file content. | |
5365 | # Grep'ing the first line is not enough: some people post-process | |
5366 | # each Makefile.in and add a new line on top of each file to say so. | |
5367 | # Grep'ing the whole file is not good either: AIX grep has a line | |
5368 | # limit of 2048, but all sed's we know have understand at least 4000. | |
5369 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
5370 | dirpart=`$as_dirname -- "$mf" || | |
5371 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5372 | X"$mf" : 'X\(//\)[^/]' \| \ | |
5373 | X"$mf" : 'X\(//\)$' \| \ | |
5374 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || | |
5375 | echo X"$mf" | | |
5309 | ||
5310 | ac_dir=`$as_dirname -- "$ac_file" || | |
5311 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5312 | X"$ac_file" : 'X\(//\)[^/]' \| \ | |
5313 | X"$ac_file" : 'X\(//\)$' \| \ | |
5314 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
5315 | $as_echo X"$ac_file" | | |
5376 | 5316 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
5377 | 5317 | s//\1/ |
5378 | 5318 | q |
5390 | 5330 | q |
5391 | 5331 | } |
5392 | 5332 | s/.*/./; q'` |
5393 | else | |
5394 | continue | |
5395 | fi | |
5396 | # Extract the definition of DEPDIR, am__include, and am__quote | |
5397 | # from the Makefile without running `make'. | |
5398 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
5399 | test -z "$DEPDIR" && continue | |
5400 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
5401 | test -z "am__include" && continue | |
5402 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
5403 | # When using ansi2knr, U may be empty or an underscore; expand it | |
5404 | U=`sed -n 's/^U = //p' < "$mf"` | |
5405 | # Find all dependency output files, they are included files with | |
5406 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
5407 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
5408 | # expansion. | |
5409 | for file in `sed -n " | |
5410 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
5411 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
5412 | # Make sure the directory exists. | |
5413 | test -f "$dirpart/$file" && continue | |
5414 | fdir=`$as_dirname -- "$file" || | |
5415 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5416 | X"$file" : 'X\(//\)[^/]' \| \ | |
5417 | X"$file" : 'X\(//\)$' \| \ | |
5418 | X"$file" : 'X\(/\)' \| . 2>/dev/null || | |
5419 | echo X"$file" | | |
5333 | as_dir="$ac_dir"; as_fn_mkdir_p | |
5334 | ac_builddir=. | |
5335 | ||
5336 | case "$ac_dir" in | |
5337 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
5338 | *) | |
5339 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
5340 | # A ".." for each directory in $ac_dir_suffix. | |
5341 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
5342 | case $ac_top_builddir_sub in | |
5343 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
5344 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
5345 | esac ;; | |
5346 | esac | |
5347 | ac_abs_top_builddir=$ac_pwd | |
5348 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
5349 | # for backward compatibility: | |
5350 | ac_top_builddir=$ac_top_build_prefix | |
5351 | ||
5352 | case $srcdir in | |
5353 | .) # We are building in place. | |
5354 | ac_srcdir=. | |
5355 | ac_top_srcdir=$ac_top_builddir_sub | |
5356 | ac_abs_top_srcdir=$ac_pwd ;; | |
5357 | [\\/]* | ?:[\\/]* ) # Absolute name. | |
5358 | ac_srcdir=$srcdir$ac_dir_suffix; | |
5359 | ac_top_srcdir=$srcdir | |
5360 | ac_abs_top_srcdir=$srcdir ;; | |
5361 | *) # Relative name. | |
5362 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
5363 | ac_top_srcdir=$ac_top_build_prefix$srcdir | |
5364 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
5365 | esac | |
5366 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
5367 | ||
5368 | ||
5369 | case $ac_mode in | |
5370 | :F) | |
5371 | # | |
5372 | # CONFIG_FILE | |
5373 | # | |
5374 | ||
5375 | case $INSTALL in | |
5376 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | |
5377 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | |
5378 | esac | |
5379 | ac_MKDIR_P=$MKDIR_P | |
5380 | case $MKDIR_P in | |
5381 | [\\/$]* | ?:[\\/]* ) ;; | |
5382 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | |
5383 | esac | |
5384 | _ACEOF | |
5385 | ||
5386 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5387 | # If the template does not know about datarootdir, expand it. | |
5388 | # FIXME: This hack should be removed a few years after 2.60. | |
5389 | ac_datarootdir_hack=; ac_datarootdir_seen= | |
5390 | ac_sed_dataroot=' | |
5391 | /datarootdir/ { | |
5392 | p | |
5393 | q | |
5394 | } | |
5395 | /@datadir@/p | |
5396 | /@docdir@/p | |
5397 | /@infodir@/p | |
5398 | /@localedir@/p | |
5399 | /@mandir@/p' | |
5400 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | |
5401 | *datarootdir*) ac_datarootdir_seen=yes;; | |
5402 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
5403 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | |
5404 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | |
5405 | _ACEOF | |
5406 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5407 | ac_datarootdir_hack=' | |
5408 | s&@datadir@&$datadir&g | |
5409 | s&@docdir@&$docdir&g | |
5410 | s&@infodir@&$infodir&g | |
5411 | s&@localedir@&$localedir&g | |
5412 | s&@mandir@&$mandir&g | |
5413 | s&\\\${datarootdir}&$datarootdir&g' ;; | |
5414 | esac | |
5415 | _ACEOF | |
5416 | ||
5417 | # Neutralize VPATH when `$srcdir' = `.'. | |
5418 | # Shell code in configure.ac might set extrasub. | |
5419 | # FIXME: do we really want to maintain this feature? | |
5420 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5421 | ac_sed_extra="$ac_vpsub | |
5422 | $extrasub | |
5423 | _ACEOF | |
5424 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5425 | :t | |
5426 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
5427 | s|@configure_input@|$ac_sed_conf_input|;t t | |
5428 | s&@top_builddir@&$ac_top_builddir_sub&;t t | |
5429 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
5430 | s&@srcdir@&$ac_srcdir&;t t | |
5431 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | |
5432 | s&@top_srcdir@&$ac_top_srcdir&;t t | |
5433 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | |
5434 | s&@builddir@&$ac_builddir&;t t | |
5435 | s&@abs_builddir@&$ac_abs_builddir&;t t | |
5436 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | |
5437 | s&@INSTALL@&$ac_INSTALL&;t t | |
5438 | s&@MKDIR_P@&$ac_MKDIR_P&;t t | |
5439 | $ac_datarootdir_hack | |
5440 | " | |
5441 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | |
5442 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
5443 | ||
5444 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
5445 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | |
5446 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ | |
5447 | "$ac_tmp/out"`; test -z "$ac_out"; } && | |
5448 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
5449 | which seems to be undefined. Please make sure it is defined" >&5 | |
5450 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
5451 | which seems to be undefined. Please make sure it is defined" >&2;} | |
5452 | ||
5453 | rm -f "$ac_tmp/stdin" | |
5454 | case $ac_file in | |
5455 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | |
5456 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | |
5457 | esac \ | |
5458 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
5459 | ;; | |
5460 | ||
5461 | ||
5462 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | |
5463 | $as_echo "$as_me: executing $ac_file commands" >&6;} | |
5464 | ;; | |
5465 | esac | |
5466 | ||
5467 | ||
5468 | case $ac_file$ac_mode in | |
5469 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { | |
5470 | # Older Autoconf quotes --file arguments for eval, but not when files | |
5471 | # are listed without --file. Let's play safe and only enable the eval | |
5472 | # if we detect the quoting. | |
5473 | case $CONFIG_FILES in | |
5474 | *\'*) eval set x "$CONFIG_FILES" ;; | |
5475 | *) set x $CONFIG_FILES ;; | |
5476 | esac | |
5477 | shift | |
5478 | for mf | |
5479 | do | |
5480 | # Strip MF so we end up with the name of the file. | |
5481 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
5482 | # Check whether this is an Automake generated Makefile or not. | |
5483 | # We used to match only the files named 'Makefile.in', but | |
5484 | # some people rename them; so instead we look at the file content. | |
5485 | # Grep'ing the first line is not enough: some people post-process | |
5486 | # each Makefile.in and add a new line on top of each file to say so. | |
5487 | # Grep'ing the whole file is not good either: AIX grep has a line | |
5488 | # limit of 2048, but all sed's we know have understand at least 4000. | |
5489 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
5490 | dirpart=`$as_dirname -- "$mf" || | |
5491 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5492 | X"$mf" : 'X\(//\)[^/]' \| \ | |
5493 | X"$mf" : 'X\(//\)$' \| \ | |
5494 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || | |
5495 | $as_echo X"$mf" | | |
5420 | 5496 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
5421 | 5497 | s//\1/ |
5422 | 5498 | q |
5434 | 5510 | q |
5435 | 5511 | } |
5436 | 5512 | s/.*/./; q'` |
5437 | { as_dir=$dirpart/$fdir | |
5438 | case $as_dir in #( | |
5439 | -*) as_dir=./$as_dir;; | |
5440 | esac | |
5441 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
5442 | as_dirs= | |
5443 | while :; do | |
5444 | case $as_dir in #( | |
5445 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( | |
5446 | *) as_qdir=$as_dir;; | |
5447 | esac | |
5448 | as_dirs="'$as_qdir' $as_dirs" | |
5449 | as_dir=`$as_dirname -- "$as_dir" || | |
5450 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5451 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
5452 | X"$as_dir" : 'X\(//\)$' \| \ | |
5453 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
5454 | echo X"$as_dir" | | |
5513 | else | |
5514 | continue | |
5515 | fi | |
5516 | # Extract the definition of DEPDIR, am__include, and am__quote | |
5517 | # from the Makefile without running 'make'. | |
5518 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
5519 | test -z "$DEPDIR" && continue | |
5520 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
5521 | test -z "$am__include" && continue | |
5522 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
5523 | # Find all dependency output files, they are included files with | |
5524 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
5525 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
5526 | # expansion. | |
5527 | for file in `sed -n " | |
5528 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
5529 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
5530 | # Make sure the directory exists. | |
5531 | test -f "$dirpart/$file" && continue | |
5532 | fdir=`$as_dirname -- "$file" || | |
5533 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5534 | X"$file" : 'X\(//\)[^/]' \| \ | |
5535 | X"$file" : 'X\(//\)$' \| \ | |
5536 | X"$file" : 'X\(/\)' \| . 2>/dev/null || | |
5537 | $as_echo X"$file" | | |
5455 | 5538 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
5456 | 5539 | s//\1/ |
5457 | 5540 | q |
5469 | 5552 | q |
5470 | 5553 | } |
5471 | 5554 | s/.*/./; q'` |
5472 | test -d "$as_dir" && break | |
5555 | as_dir=$dirpart/$fdir; as_fn_mkdir_p | |
5556 | # echo "creating $dirpart/$file" | |
5557 | echo '# dummy' > "$dirpart/$file" | |
5473 | 5558 | done |
5474 | test -z "$as_dirs" || eval "mkdir $as_dirs" | |
5475 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | |
5476 | echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
5477 | { (exit 1); exit 1; }; }; } | |
5478 | # echo "creating $dirpart/$file" | |
5479 | echo '# dummy' > "$dirpart/$file" | |
5480 | 5559 | done |
5481 | done | |
5560 | } | |
5482 | 5561 | ;; |
5483 | 5562 | |
5484 | 5563 | esac |
5485 | 5564 | done # for ac_tag |
5486 | 5565 | |
5487 | 5566 | |
5488 | { (exit 0); exit 0; } | |
5567 | as_fn_exit 0 | |
5489 | 5568 | _ACEOF |
5490 | chmod +x $CONFIG_STATUS | |
5491 | 5569 | ac_clean_files=$ac_clean_files_save |
5570 | ||
5571 | test $ac_write_fail = 0 || | |
5572 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
5492 | 5573 | |
5493 | 5574 | |
5494 | 5575 | # configure is writing to config.log, and then calls config.status. |
5509 | 5590 | exec 5>>config.log |
5510 | 5591 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
5511 | 5592 | # would make configure fail if this is the last instruction. |
5512 | $ac_cs_success || { (exit 1); exit 1; } | |
5513 | fi | |
5514 | ||
5593 | $ac_cs_success || as_fn_exit 1 | |
5594 | fi | |
5595 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | |
5596 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | |
5597 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
5598 | fi | |
5599 |
0 | ######## Process this file with autoconf to produce a configure script. | |
1 | AC_INIT(README) | |
2 | ||
3 | ######## Detect the canonical host and target build environment | |
4 | AC_CANONICAL_HOST | |
5 | AC_CANONICAL_TARGET | |
6 | ||
7 | ######## Setup for automake | |
8 | NAME="bumprace" | |
9 | SDL_VERSION=1.1.5 | |
10 | AM_INIT_AUTOMAKE($NAME, 1.5.3) | |
11 | ||
12 | ######## Check for tools | |
13 | AC_PROG_CC | |
14 | AC_PROG_INSTALL | |
15 | AC_PROG_RANLIB | |
16 | ||
17 | ######## Check for compiler environment | |
18 | AC_C_CONST | |
19 | ||
20 | ######## Figure out which math library to use | |
21 | case "$target" in | |
22 | *-*-mingw32*) | |
23 | MATHLIB="" | |
24 | ;; | |
25 | *-*-beos*) | |
26 | MATHLIB="" | |
27 | ;; | |
28 | *) | |
29 | MATHLIB="-lm" | |
30 | AC_CHECK_LIB(m, main, , AC_MSG_ERROR(Your system is missing libm (mathlib)!)) | |
31 | ;; | |
32 | esac | |
33 | AC_SUBST(MATHLIB) | |
34 | ||
35 | ######## Check for SDL | |
36 | AM_PATH_SDL($SDL_VERSION, | |
37 | :, | |
38 | AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) | |
39 | ) | |
40 | ||
41 | ######## Check for other libs | |
42 | AC_CHECK_LIB(jpeg, main, , AC_MSG_ERROR(Your system is missing libjpeg!)) | |
43 | ||
44 | #Commented out because of a bug in the SuSE 6.2 | |
45 | #AC_CHECK_LIB(png, main, , AC_MSG_ERROR(Your system is missing libpng!)) | |
46 | ||
47 | AC_CHECK_LIB(SDL_mixer, main, SOUND="-lSDL_mixer";CFLAGS="$CFLAGS -DSOUND") | |
48 | AC_CHECK_LIB(SDL_image, main, , AC_MSG_ERROR(Your system is missing libSDL_image!)) | |
49 | ||
50 | ######## Set compiler flags and libraries | |
51 | CFLAGS="$CFLAGS $SDL_CFLAGS -DDATADIR=\\\"$datadir/bumprace\\\"" | |
52 | LIBS="$LIBS $SDL_LIBS -lSDL_image $SOUND -lz -lSDL" | |
53 | ||
54 | ######## Check for headers | |
55 | ||
56 | ||
57 | ######## Finally create all the generated files | |
58 | AC_OUTPUT([ | |
59 | Makefile | |
60 | src/Makefile | |
61 | data/Makefile | |
62 | data/gfx/Makefile | |
63 | data/sound/Makefile | |
64 | ]) |
0 | ######## Process this file with autoconf to produce a configure script. | |
1 | AC_INIT(README) | |
2 | ||
3 | ######## Detect the canonical host and target build environment | |
4 | AC_CANONICAL_HOST | |
5 | AC_CANONICAL_TARGET | |
6 | ||
7 | ######## Setup for automake | |
8 | NAME="bumprace" | |
9 | SDL_VERSION=1.1.5 | |
10 | AM_INIT_AUTOMAKE($NAME, 1.5.4) | |
11 | ||
12 | ######## Check for tools | |
13 | AC_PROG_CC | |
14 | AC_PROG_INSTALL | |
15 | AC_PROG_RANLIB | |
16 | ||
17 | ######## Check for compiler environment | |
18 | AC_C_CONST | |
19 | ||
20 | ######## Figure out which math library to use | |
21 | case "$target" in | |
22 | *-*-mingw32*) | |
23 | MATHLIB="" | |
24 | ;; | |
25 | *-*-beos*) | |
26 | MATHLIB="" | |
27 | ;; | |
28 | *) | |
29 | MATHLIB="-lm" | |
30 | AC_CHECK_LIB(m, main, , AC_MSG_ERROR(Your system is missing libm (mathlib)!)) | |
31 | ;; | |
32 | esac | |
33 | AC_SUBST(MATHLIB) | |
34 | ||
35 | ######## Check for SDL | |
36 | AM_PATH_SDL($SDL_VERSION, | |
37 | :, | |
38 | AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) | |
39 | ) | |
40 | ||
41 | ######## Check for other libs | |
42 | AC_CHECK_LIB(jpeg, main, , AC_MSG_ERROR(Your system is missing libjpeg!)) | |
43 | ||
44 | #Commented out because of a bug in the SuSE 6.2 | |
45 | #AC_CHECK_LIB(png, main, , AC_MSG_ERROR(Your system is missing libpng!)) | |
46 | ||
47 | AC_CHECK_LIB(SDL_mixer, main, SOUND="-lSDL_mixer";CFLAGS="$CFLAGS -DSOUND") | |
48 | AC_CHECK_LIB(SDL_image, main, , AC_MSG_ERROR(Your system is missing libSDL_image!)) | |
49 | ||
50 | ######## Set compiler flags and libraries | |
51 | CFLAGS="$CFLAGS $SDL_CFLAGS -DDATADIR=\\\"$datadir/bumprace\\\"" | |
52 | LIBS="$LIBS $SDL_LIBS -lSDL_image $SOUND -lz -lSDL" | |
53 | ||
54 | ######## Check for headers | |
55 | ||
56 | ||
57 | ######## Finally create all the generated files | |
58 | AC_OUTPUT([ | |
59 | Makefile | |
60 | src/Makefile | |
61 | data/Makefile | |
62 | data/gfx/Makefile | |
63 | ]) |
0 | # Makefile.in generated by automake 1.10.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.15 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |
4 | ||
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
7 | 7 | # with or without modifications, as long as this notice is preserved. |
14 | 14 | @SET_MAKE@ |
15 | 15 | |
16 | 16 | 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)) | |
17 | 72 | pkgdatadir = $(datadir)/@PACKAGE@ |
73 | pkgincludedir = $(includedir)/@PACKAGE@ | |
18 | 74 | pkglibdir = $(libdir)/@PACKAGE@ |
19 | pkgincludedir = $(includedir)/@PACKAGE@ | |
75 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
20 | 76 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
21 | 77 | install_sh_DATA = $(install_sh) -c -m 644 |
22 | 78 | install_sh_PROGRAM = $(install_sh) -c |
33 | 89 | host_triplet = @host@ |
34 | 90 | target_triplet = @target@ |
35 | 91 | subdir = data |
36 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
37 | 92 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
38 | 93 | am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ |
39 | $(top_srcdir)/configure.in | |
94 | $(top_srcdir)/configure.ac | |
40 | 95 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
41 | 96 | $(ACLOCAL_M4) |
97 | DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) | |
42 | 98 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
43 | 99 | 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 = | |
44 | 113 | SOURCES = |
45 | 114 | DIST_SOURCES = |
46 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | |
47 | html-recursive info-recursive install-data-recursive \ | |
48 | install-dvi-recursive install-exec-recursive \ | |
49 | install-html-recursive install-info-recursive \ | |
50 | install-pdf-recursive install-ps-recursive install-recursive \ | |
51 | installcheck-recursive installdirs-recursive pdf-recursive \ | |
52 | ps-recursive uninstall-recursive | |
115 | RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ | |
116 | ctags-recursive dvi-recursive html-recursive info-recursive \ | |
117 | install-data-recursive install-dvi-recursive \ | |
118 | install-exec-recursive install-html-recursive \ | |
119 | install-info-recursive install-pdf-recursive \ | |
120 | install-ps-recursive install-recursive installcheck-recursive \ | |
121 | installdirs-recursive pdf-recursive ps-recursive \ | |
122 | tags-recursive uninstall-recursive | |
123 | am__can_run_installinfo = \ | |
124 | case $$AM_UPDATE_INFO_DIR in \ | |
125 | n|no|NO) false;; \ | |
126 | *) (install-info --version) >/dev/null 2>&1;; \ | |
127 | esac | |
53 | 128 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
54 | 129 | am__vpath_adj = case $$p in \ |
55 | 130 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
56 | 131 | *) f=$$p;; \ |
57 | 132 | esac; |
58 | am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; | |
133 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | |
134 | am__install_max = 40 | |
135 | am__nobase_strip_setup = \ | |
136 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | |
137 | am__nobase_strip = \ | |
138 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | |
139 | am__nobase_list = $(am__nobase_strip_setup); \ | |
140 | for p in $$list; do echo "$$p $$p"; done | \ | |
141 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | |
142 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | |
143 | if (++n[$$2] == $(am__install_max)) \ | |
144 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | |
145 | END { for (dir in files) print dir, files[dir] }' | |
146 | am__base_list = \ | |
147 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | |
148 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | |
149 | am__uninstall_files_from_dir = { \ | |
150 | test -z "$$files" \ | |
151 | || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ | |
152 | || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ | |
153 | $(am__cd) "$$dir" && rm -f $$files; }; \ | |
154 | } | |
59 | 155 | am__installdirs = "$(DESTDIR)$(generaldir)" |
60 | generalDATA_INSTALL = $(INSTALL_DATA) | |
61 | 156 | DATA = $(general_DATA) |
62 | 157 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
63 | 158 | distclean-recursive maintainer-clean-recursive |
159 | am__recursive_targets = \ | |
160 | $(RECURSIVE_TARGETS) \ | |
161 | $(RECURSIVE_CLEAN_TARGETS) \ | |
162 | $(am__extra_recursive_targets) | |
163 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ | |
164 | distdir | |
165 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
166 | # Read a list of newline-separated strings from the standard input, | |
167 | # and print each of them once, without duplicates. Input order is | |
168 | # *not* preserved. | |
169 | am__uniquify_input = $(AWK) '\ | |
170 | BEGIN { nonempty = 0; } \ | |
171 | { items[$$0] = 1; nonempty = 1; } \ | |
172 | END { if (nonempty) { for (i in items) print i; }; } \ | |
173 | ' | |
174 | # Make sure the list of sources is unique. This is necessary because, | |
175 | # e.g., the same source file might be shared among _SOURCES variables | |
176 | # for different programs/libraries. | |
177 | am__define_uniq_tagged_files = \ | |
178 | list='$(am__tagged_files)'; \ | |
179 | unique=`for i in $$list; do \ | |
180 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
181 | done | $(am__uniquify_input)` | |
64 | 182 | ETAGS = etags |
65 | 183 | CTAGS = ctags |
66 | 184 | DIST_SUBDIRS = $(SUBDIRS) |
185 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/mkinstalldirs | |
67 | 186 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
187 | am__relativize = \ | |
188 | dir0=`pwd`; \ | |
189 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ | |
190 | sed_rest='s,^[^/]*/*,,'; \ | |
191 | sed_last='s,^.*/\([^/]*\)$$,\1,'; \ | |
192 | sed_butlast='s,/*[^/]*$$,,'; \ | |
193 | while test -n "$$dir1"; do \ | |
194 | first=`echo "$$dir1" | sed -e "$$sed_first"`; \ | |
195 | if test "$$first" != "."; then \ | |
196 | if test "$$first" = ".."; then \ | |
197 | dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ | |
198 | dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ | |
199 | else \ | |
200 | first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ | |
201 | if test "$$first2" = "$$first"; then \ | |
202 | dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ | |
203 | else \ | |
204 | dir2="../$$dir2"; \ | |
205 | fi; \ | |
206 | dir0="$$dir0"/"$$first"; \ | |
207 | fi; \ | |
208 | fi; \ | |
209 | dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ | |
210 | done; \ | |
211 | reldir="$$dir2" | |
68 | 212 | ACLOCAL = @ACLOCAL@ |
69 | 213 | AMTAR = @AMTAR@ |
214 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
70 | 215 | AUTOCONF = @AUTOCONF@ |
71 | 216 | AUTOHEADER = @AUTOHEADER@ |
72 | 217 | AUTOMAKE = @AUTOMAKE@ |
100 | 245 | PACKAGE_NAME = @PACKAGE_NAME@ |
101 | 246 | PACKAGE_STRING = @PACKAGE_STRING@ |
102 | 247 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
248 | PACKAGE_URL = @PACKAGE_URL@ | |
103 | 249 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
104 | 250 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
105 | 251 | RANLIB = @RANLIB@ |
152 | 298 | prefix = @prefix@ |
153 | 299 | program_transform_name = @program_transform_name@ |
154 | 300 | psdir = @psdir@ |
301 | runstatedir = @runstatedir@ | |
155 | 302 | sbindir = @sbindir@ |
156 | 303 | sharedstatedir = @sharedstatedir@ |
157 | 304 | srcdir = @srcdir@ |
161 | 308 | target_cpu = @target_cpu@ |
162 | 309 | target_os = @target_os@ |
163 | 310 | target_vendor = @target_vendor@ |
311 | top_build_prefix = @top_build_prefix@ | |
164 | 312 | top_builddir = @top_builddir@ |
165 | 313 | top_srcdir = @top_srcdir@ |
166 | SUBDIRS = gfx | |
314 | SUBDIRS = gfx sound | |
167 | 315 | generaldir = $(datadir)/@PACKAGE@ |
168 | 316 | general_DATA = |
169 | 317 | all: all-recursive |
173 | 321 | @for dep in $?; do \ |
174 | 322 | case '$(am__configure_deps)' in \ |
175 | 323 | *$$dep*) \ |
176 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ | |
177 | && exit 0; \ | |
324 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | |
325 | && { if test -f $@; then exit 0; else break; fi; }; \ | |
178 | 326 | exit 1;; \ |
179 | 327 | esac; \ |
180 | 328 | done; \ |
181 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/Makefile'; \ | |
182 | cd $(top_srcdir) && \ | |
183 | $(AUTOMAKE) --gnu data/Makefile | |
184 | .PRECIOUS: Makefile | |
329 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/Makefile'; \ | |
330 | $(am__cd) $(top_srcdir) && \ | |
331 | $(AUTOMAKE) --gnu data/Makefile | |
185 | 332 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
186 | 333 | @case '$?' in \ |
187 | 334 | *config.status*) \ |
198 | 345 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
199 | 346 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) |
200 | 347 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
348 | $(am__aclocal_m4_deps): | |
201 | 349 | install-generalDATA: $(general_DATA) |
202 | 350 | @$(NORMAL_INSTALL) |
203 | test -z "$(generaldir)" || $(MKDIR_P) "$(DESTDIR)$(generaldir)" | |
204 | @list='$(general_DATA)'; for p in $$list; do \ | |
351 | @list='$(general_DATA)'; test -n "$(generaldir)" || list=; \ | |
352 | if test -n "$$list"; then \ | |
353 | echo " $(MKDIR_P) '$(DESTDIR)$(generaldir)'"; \ | |
354 | $(MKDIR_P) "$(DESTDIR)$(generaldir)" || exit 1; \ | |
355 | fi; \ | |
356 | for p in $$list; do \ | |
205 | 357 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
206 | f=$(am__strip_dir) \ | |
207 | echo " $(generalDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(generaldir)/$$f'"; \ | |
208 | $(generalDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(generaldir)/$$f"; \ | |
358 | echo "$$d$$p"; \ | |
359 | done | $(am__base_list) | \ | |
360 | while read files; do \ | |
361 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(generaldir)'"; \ | |
362 | $(INSTALL_DATA) $$files "$(DESTDIR)$(generaldir)" || exit $$?; \ | |
209 | 363 | done |
210 | 364 | |
211 | 365 | uninstall-generalDATA: |
212 | 366 | @$(NORMAL_UNINSTALL) |
213 | @list='$(general_DATA)'; for p in $$list; do \ | |
214 | f=$(am__strip_dir) \ | |
215 | echo " rm -f '$(DESTDIR)$(generaldir)/$$f'"; \ | |
216 | rm -f "$(DESTDIR)$(generaldir)/$$f"; \ | |
217 | done | |
367 | @list='$(general_DATA)'; test -n "$(generaldir)" || list=; \ | |
368 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | |
369 | dir='$(DESTDIR)$(generaldir)'; $(am__uninstall_files_from_dir) | |
218 | 370 | |
219 | 371 | # This directory's subdirectories are mostly independent; you can cd |
220 | # into them and run `make' without going through this Makefile. | |
221 | # To change the values of `make' variables: instead of editing Makefiles, | |
222 | # (1) if the variable is set in `config.status', edit `config.status' | |
223 | # (which will cause the Makefiles to be regenerated when you run `make'); | |
224 | # (2) otherwise, pass the desired values on the `make' command line. | |
225 | $(RECURSIVE_TARGETS): | |
226 | @failcom='exit 1'; \ | |
227 | for f in x $$MAKEFLAGS; do \ | |
228 | case $$f in \ | |
229 | *=* | --[!k]*);; \ | |
230 | *k*) failcom='fail=yes';; \ | |
231 | esac; \ | |
232 | done; \ | |
372 | # into them and run 'make' without going through this Makefile. | |
373 | # To change the values of 'make' variables: instead of editing Makefiles, | |
374 | # (1) if the variable is set in 'config.status', edit 'config.status' | |
375 | # (which will cause the Makefiles to be regenerated when you run 'make'); | |
376 | # (2) otherwise, pass the desired values on the 'make' command line. | |
377 | $(am__recursive_targets): | |
378 | @fail=; \ | |
379 | if $(am__make_keepgoing); then \ | |
380 | failcom='fail=yes'; \ | |
381 | else \ | |
382 | failcom='exit 1'; \ | |
383 | fi; \ | |
233 | 384 | dot_seen=no; \ |
234 | 385 | target=`echo $@ | sed s/-recursive//`; \ |
235 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
386 | case "$@" in \ | |
387 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
388 | *) list='$(SUBDIRS)' ;; \ | |
389 | esac; \ | |
390 | for subdir in $$list; do \ | |
236 | 391 | echo "Making $$target in $$subdir"; \ |
237 | 392 | if test "$$subdir" = "."; then \ |
238 | 393 | dot_seen=yes; \ |
240 | 395 | else \ |
241 | 396 | local_target="$$target"; \ |
242 | 397 | fi; \ |
243 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
398 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
244 | 399 | || eval $$failcom; \ |
245 | 400 | done; \ |
246 | 401 | if test "$$dot_seen" = "no"; then \ |
247 | 402 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
248 | 403 | fi; test -z "$$fail" |
249 | 404 | |
250 | $(RECURSIVE_CLEAN_TARGETS): | |
251 | @failcom='exit 1'; \ | |
252 | for f in x $$MAKEFLAGS; do \ | |
253 | case $$f in \ | |
254 | *=* | --[!k]*);; \ | |
255 | *k*) failcom='fail=yes';; \ | |
256 | esac; \ | |
257 | done; \ | |
258 | dot_seen=no; \ | |
259 | case "$@" in \ | |
260 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
261 | *) list='$(SUBDIRS)' ;; \ | |
262 | esac; \ | |
263 | rev=''; for subdir in $$list; do \ | |
264 | if test "$$subdir" = "."; then :; else \ | |
265 | rev="$$subdir $$rev"; \ | |
266 | fi; \ | |
267 | done; \ | |
268 | rev="$$rev ."; \ | |
269 | target=`echo $@ | sed s/-recursive//`; \ | |
270 | for subdir in $$rev; do \ | |
271 | echo "Making $$target in $$subdir"; \ | |
272 | if test "$$subdir" = "."; then \ | |
273 | local_target="$$target-am"; \ | |
274 | else \ | |
275 | local_target="$$target"; \ | |
276 | fi; \ | |
277 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
278 | || eval $$failcom; \ | |
279 | done && test -z "$$fail" | |
280 | tags-recursive: | |
281 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
282 | test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | |
283 | done | |
284 | ctags-recursive: | |
285 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
286 | test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ | |
287 | done | |
288 | ||
289 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
290 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
291 | unique=`for i in $$list; do \ | |
292 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
293 | done | \ | |
294 | $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ | |
295 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
296 | mkid -fID $$unique | |
297 | tags: TAGS | |
298 | ||
299 | TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
300 | $(TAGS_FILES) $(LISP) | |
301 | tags=; \ | |
405 | ID: $(am__tagged_files) | |
406 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
407 | tags: tags-recursive | |
408 | TAGS: tags | |
409 | ||
410 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
411 | set x; \ | |
302 | 412 | here=`pwd`; \ |
303 | 413 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
304 | 414 | include_option=--etags-include; \ |
310 | 420 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
311 | 421 | if test "$$subdir" = .; then :; else \ |
312 | 422 | test ! -f $$subdir/TAGS || \ |
313 | tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ | |
423 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ | |
314 | 424 | fi; \ |
315 | 425 | done; \ |
316 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
317 | unique=`for i in $$list; do \ | |
318 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
319 | done | \ | |
320 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
321 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
322 | if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ | |
426 | $(am__define_uniq_tagged_files); \ | |
427 | shift; \ | |
428 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | |
323 | 429 | test -n "$$unique" || unique=$$empty_fix; \ |
324 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
325 | $$tags $$unique; \ | |
430 | if test $$# -gt 0; then \ | |
431 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
432 | "$$@" $$unique; \ | |
433 | else \ | |
434 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
435 | $$unique; \ | |
436 | fi; \ | |
326 | 437 | fi |
327 | ctags: CTAGS | |
328 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
329 | $(TAGS_FILES) $(LISP) | |
330 | tags=; \ | |
331 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
332 | unique=`for i in $$list; do \ | |
333 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
334 | done | \ | |
335 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
336 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
337 | test -z "$(CTAGS_ARGS)$$tags$$unique" \ | |
438 | ctags: ctags-recursive | |
439 | ||
440 | CTAGS: ctags | |
441 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
442 | $(am__define_uniq_tagged_files); \ | |
443 | test -z "$(CTAGS_ARGS)$$unique" \ | |
338 | 444 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
339 | $$tags $$unique | |
445 | $$unique | |
340 | 446 | |
341 | 447 | GTAGS: |
342 | 448 | here=`$(am__cd) $(top_builddir) && pwd` \ |
343 | && cd $(top_srcdir) \ | |
344 | && gtags -i $(GTAGS_ARGS) $$here | |
449 | && $(am__cd) $(top_srcdir) \ | |
450 | && gtags -i $(GTAGS_ARGS) "$$here" | |
451 | cscopelist: cscopelist-recursive | |
452 | ||
453 | cscopelist-am: $(am__tagged_files) | |
454 | list='$(am__tagged_files)'; \ | |
455 | case "$(srcdir)" in \ | |
456 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
457 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
458 | esac; \ | |
459 | for i in $$list; do \ | |
460 | if test -f "$$i"; then \ | |
461 | echo "$(subdir)/$$i"; \ | |
462 | else \ | |
463 | echo "$$sdir/$$i"; \ | |
464 | fi; \ | |
465 | done >> $(top_builddir)/cscope.files | |
345 | 466 | |
346 | 467 | distclean-tags: |
347 | 468 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
362 | 483 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
363 | 484 | if test -d $$d/$$file; then \ |
364 | 485 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
486 | if test -d "$(distdir)/$$file"; then \ | |
487 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
488 | fi; \ | |
365 | 489 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
366 | cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ | |
490 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
491 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
367 | 492 | fi; \ |
368 | cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ | |
493 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
369 | 494 | else \ |
370 | test -f $(distdir)/$$file \ | |
371 | || cp -p $$d/$$file $(distdir)/$$file \ | |
495 | test -f "$(distdir)/$$file" \ | |
496 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
372 | 497 | || exit 1; \ |
373 | 498 | fi; \ |
374 | 499 | done |
375 | list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | |
500 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | |
376 | 501 | if test "$$subdir" = .; then :; else \ |
377 | test -d "$(distdir)/$$subdir" \ | |
378 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | |
379 | || exit 1; \ | |
380 | distdir=`$(am__cd) $(distdir) && pwd`; \ | |
381 | top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ | |
382 | (cd $$subdir && \ | |
502 | $(am__make_dryrun) \ | |
503 | || test -d "$(distdir)/$$subdir" \ | |
504 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | |
505 | || exit 1; \ | |
506 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ | |
507 | $(am__relativize); \ | |
508 | new_distdir=$$reldir; \ | |
509 | dir1=$$subdir; dir2="$(top_distdir)"; \ | |
510 | $(am__relativize); \ | |
511 | new_top_distdir=$$reldir; \ | |
512 | echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ | |
513 | echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ | |
514 | ($(am__cd) $$subdir && \ | |
383 | 515 | $(MAKE) $(AM_MAKEFLAGS) \ |
384 | top_distdir="$$top_distdir" \ | |
385 | distdir="$$distdir/$$subdir" \ | |
516 | top_distdir="$$new_top_distdir" \ | |
517 | distdir="$$new_distdir" \ | |
386 | 518 | am__remove_distdir=: \ |
387 | 519 | am__skip_length_check=: \ |
520 | am__skip_mode_fix=: \ | |
388 | 521 | distdir) \ |
389 | 522 | || exit 1; \ |
390 | 523 | fi; \ |
407 | 540 | |
408 | 541 | installcheck: installcheck-recursive |
409 | 542 | install-strip: |
410 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
411 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
412 | `test -z '$(STRIP)' || \ | |
413 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
543 | if test -z '$(STRIP)'; then \ | |
544 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
545 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
546 | install; \ | |
547 | else \ | |
548 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
549 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
550 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | |
551 | fi | |
414 | 552 | mostlyclean-generic: |
415 | 553 | |
416 | 554 | clean-generic: |
417 | 555 | |
418 | 556 | distclean-generic: |
419 | 557 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
558 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
420 | 559 | |
421 | 560 | maintainer-clean-generic: |
422 | 561 | @echo "This command is intended for maintainers to use" |
435 | 574 | |
436 | 575 | html: html-recursive |
437 | 576 | |
577 | html-am: | |
578 | ||
438 | 579 | info: info-recursive |
439 | 580 | |
440 | 581 | info-am: |
443 | 584 | |
444 | 585 | install-dvi: install-dvi-recursive |
445 | 586 | |
587 | install-dvi-am: | |
588 | ||
446 | 589 | install-exec-am: |
447 | 590 | |
448 | 591 | install-html: install-html-recursive |
449 | 592 | |
593 | install-html-am: | |
594 | ||
450 | 595 | install-info: install-info-recursive |
451 | 596 | |
597 | install-info-am: | |
598 | ||
452 | 599 | install-man: |
453 | 600 | |
454 | 601 | install-pdf: install-pdf-recursive |
455 | 602 | |
603 | install-pdf-am: | |
604 | ||
456 | 605 | install-ps: install-ps-recursive |
606 | ||
607 | install-ps-am: | |
457 | 608 | |
458 | 609 | installcheck-am: |
459 | 610 | |
475 | 626 | |
476 | 627 | uninstall-am: uninstall-generalDATA |
477 | 628 | |
478 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ | |
479 | install-strip | |
480 | ||
481 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ | |
482 | all all-am check check-am clean clean-generic ctags \ | |
483 | ctags-recursive distclean distclean-generic distclean-tags \ | |
484 | distdir dvi dvi-am html html-am info info-am install \ | |
485 | install-am install-data install-data-am install-dvi \ | |
486 | install-dvi-am install-exec install-exec-am \ | |
487 | install-generalDATA install-html install-html-am install-info \ | |
488 | install-info-am install-man install-pdf install-pdf-am \ | |
489 | install-ps install-ps-am install-strip installcheck \ | |
490 | installcheck-am installdirs installdirs-am maintainer-clean \ | |
491 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ | |
492 | pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ | |
493 | uninstall-generalDATA | |
629 | .MAKE: $(am__recursive_targets) install-am install-strip | |
630 | ||
631 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ | |
632 | check-am clean clean-generic cscopelist-am ctags ctags-am \ | |
633 | distclean distclean-generic distclean-tags distdir dvi dvi-am \ | |
634 | html html-am info info-am install install-am install-data \ | |
635 | install-data-am install-dvi install-dvi-am install-exec \ | |
636 | install-exec-am install-generalDATA install-html \ | |
637 | install-html-am install-info install-info-am install-man \ | |
638 | install-pdf install-pdf-am install-ps install-ps-am \ | |
639 | install-strip installcheck installcheck-am installdirs \ | |
640 | installdirs-am maintainer-clean maintainer-clean-generic \ | |
641 | mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ | |
642 | tags-am uninstall uninstall-am uninstall-generalDATA | |
643 | ||
644 | .PRECIOUS: Makefile | |
645 | ||
494 | 646 | |
495 | 647 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
496 | 648 | # Otherwise a system limit (for SysV at least) may be exceeded. |
0 | # Makefile.in generated by automake 1.10.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.15 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |
4 | ||
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
7 | 7 | # with or without modifications, as long as this notice is preserved. |
14 | 14 | @SET_MAKE@ |
15 | 15 | |
16 | 16 | 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)) | |
17 | 72 | pkgdatadir = $(datadir)/@PACKAGE@ |
73 | pkgincludedir = $(includedir)/@PACKAGE@ | |
18 | 74 | pkglibdir = $(libdir)/@PACKAGE@ |
19 | pkgincludedir = $(includedir)/@PACKAGE@ | |
75 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
20 | 76 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
21 | 77 | install_sh_DATA = $(install_sh) -c -m 644 |
22 | 78 | install_sh_PROGRAM = $(install_sh) -c |
33 | 89 | host_triplet = @host@ |
34 | 90 | target_triplet = @target@ |
35 | 91 | subdir = data/gfx |
36 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
37 | 92 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
38 | 93 | am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ |
39 | $(top_srcdir)/configure.in | |
94 | $(top_srcdir)/configure.ac | |
40 | 95 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
41 | 96 | $(ACLOCAL_M4) |
97 | DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) | |
42 | 98 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
43 | 99 | 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 = | |
44 | 113 | SOURCES = |
45 | 114 | 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 | |
46 | 120 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
47 | 121 | am__vpath_adj = case $$p in \ |
48 | 122 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
49 | 123 | *) f=$$p;; \ |
50 | 124 | esac; |
51 | am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; | |
125 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | |
126 | am__install_max = 40 | |
127 | am__nobase_strip_setup = \ | |
128 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | |
129 | am__nobase_strip = \ | |
130 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | |
131 | am__nobase_list = $(am__nobase_strip_setup); \ | |
132 | for p in $$list; do echo "$$p $$p"; done | \ | |
133 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | |
134 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | |
135 | if (++n[$$2] == $(am__install_max)) \ | |
136 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | |
137 | END { for (dir in files) print dir, files[dir] }' | |
138 | am__base_list = \ | |
139 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | |
140 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | |
141 | am__uninstall_files_from_dir = { \ | |
142 | test -z "$$files" \ | |
143 | || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ | |
144 | || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ | |
145 | $(am__cd) "$$dir" && rm -f $$files; }; \ | |
146 | } | |
52 | 147 | am__installdirs = "$(DESTDIR)$(gfxdir)" |
53 | gfxDATA_INSTALL = $(INSTALL_DATA) | |
54 | 148 | DATA = $(gfx_DATA) |
149 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
150 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/mkinstalldirs | |
55 | 151 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
56 | 152 | ACLOCAL = @ACLOCAL@ |
57 | 153 | AMTAR = @AMTAR@ |
154 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
58 | 155 | AUTOCONF = @AUTOCONF@ |
59 | 156 | AUTOHEADER = @AUTOHEADER@ |
60 | 157 | AUTOMAKE = @AUTOMAKE@ |
88 | 185 | PACKAGE_NAME = @PACKAGE_NAME@ |
89 | 186 | PACKAGE_STRING = @PACKAGE_STRING@ |
90 | 187 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
188 | PACKAGE_URL = @PACKAGE_URL@ | |
91 | 189 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
92 | 190 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
93 | 191 | RANLIB = @RANLIB@ |
140 | 238 | prefix = @prefix@ |
141 | 239 | program_transform_name = @program_transform_name@ |
142 | 240 | psdir = @psdir@ |
241 | runstatedir = @runstatedir@ | |
143 | 242 | sbindir = @sbindir@ |
144 | 243 | sharedstatedir = @sharedstatedir@ |
145 | 244 | srcdir = @srcdir@ |
149 | 248 | target_cpu = @target_cpu@ |
150 | 249 | target_os = @target_os@ |
151 | 250 | target_vendor = @target_vendor@ |
251 | top_build_prefix = @top_build_prefix@ | |
152 | 252 | top_builddir = @top_builddir@ |
153 | 253 | top_srcdir = @top_srcdir@ |
154 | 254 | gfxdir = $(datadir)/@PACKAGE@/gfx |
191 | 291 | @for dep in $?; do \ |
192 | 292 | case '$(am__configure_deps)' in \ |
193 | 293 | *$$dep*) \ |
194 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ | |
195 | && exit 0; \ | |
294 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | |
295 | && { if test -f $@; then exit 0; else break; fi; }; \ | |
196 | 296 | exit 1;; \ |
197 | 297 | esac; \ |
198 | 298 | done; \ |
199 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/gfx/Makefile'; \ | |
200 | cd $(top_srcdir) && \ | |
201 | $(AUTOMAKE) --gnu data/gfx/Makefile | |
202 | .PRECIOUS: Makefile | |
299 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/gfx/Makefile'; \ | |
300 | $(am__cd) $(top_srcdir) && \ | |
301 | $(AUTOMAKE) --gnu data/gfx/Makefile | |
203 | 302 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
204 | 303 | @case '$?' in \ |
205 | 304 | *config.status*) \ |
216 | 315 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
217 | 316 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) |
218 | 317 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
318 | $(am__aclocal_m4_deps): | |
219 | 319 | install-gfxDATA: $(gfx_DATA) |
220 | 320 | @$(NORMAL_INSTALL) |
221 | test -z "$(gfxdir)" || $(MKDIR_P) "$(DESTDIR)$(gfxdir)" | |
222 | @list='$(gfx_DATA)'; for p in $$list; do \ | |
321 | @list='$(gfx_DATA)'; test -n "$(gfxdir)" || list=; \ | |
322 | if test -n "$$list"; then \ | |
323 | echo " $(MKDIR_P) '$(DESTDIR)$(gfxdir)'"; \ | |
324 | $(MKDIR_P) "$(DESTDIR)$(gfxdir)" || exit 1; \ | |
325 | fi; \ | |
326 | for p in $$list; do \ | |
223 | 327 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
224 | f=$(am__strip_dir) \ | |
225 | echo " $(gfxDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(gfxdir)/$$f'"; \ | |
226 | $(gfxDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(gfxdir)/$$f"; \ | |
328 | echo "$$d$$p"; \ | |
329 | done | $(am__base_list) | \ | |
330 | while read files; do \ | |
331 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gfxdir)'"; \ | |
332 | $(INSTALL_DATA) $$files "$(DESTDIR)$(gfxdir)" || exit $$?; \ | |
227 | 333 | done |
228 | 334 | |
229 | 335 | uninstall-gfxDATA: |
230 | 336 | @$(NORMAL_UNINSTALL) |
231 | @list='$(gfx_DATA)'; for p in $$list; do \ | |
232 | f=$(am__strip_dir) \ | |
233 | echo " rm -f '$(DESTDIR)$(gfxdir)/$$f'"; \ | |
234 | rm -f "$(DESTDIR)$(gfxdir)/$$f"; \ | |
235 | done | |
236 | tags: TAGS | |
237 | TAGS: | |
238 | ||
239 | ctags: CTAGS | |
240 | CTAGS: | |
337 | @list='$(gfx_DATA)'; test -n "$(gfxdir)" || list=; \ | |
338 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | |
339 | dir='$(DESTDIR)$(gfxdir)'; $(am__uninstall_files_from_dir) | |
340 | tags TAGS: | |
341 | ||
342 | ctags CTAGS: | |
343 | ||
344 | cscope cscopelist: | |
241 | 345 | |
242 | 346 | |
243 | 347 | distdir: $(DISTFILES) |
256 | 360 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
257 | 361 | if test -d $$d/$$file; then \ |
258 | 362 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
363 | if test -d "$(distdir)/$$file"; then \ | |
364 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
365 | fi; \ | |
259 | 366 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
260 | cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ | |
367 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
368 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
261 | 369 | fi; \ |
262 | cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ | |
370 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
263 | 371 | else \ |
264 | test -f $(distdir)/$$file \ | |
265 | || cp -p $$d/$$file $(distdir)/$$file \ | |
372 | test -f "$(distdir)/$$file" \ | |
373 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
266 | 374 | || exit 1; \ |
267 | 375 | fi; \ |
268 | 376 | done |
283 | 391 | |
284 | 392 | installcheck: installcheck-am |
285 | 393 | install-strip: |
286 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
287 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
288 | `test -z '$(STRIP)' || \ | |
289 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
394 | if test -z '$(STRIP)'; then \ | |
395 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
396 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
397 | install; \ | |
398 | else \ | |
399 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
400 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
401 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | |
402 | fi | |
290 | 403 | mostlyclean-generic: |
291 | 404 | |
292 | 405 | clean-generic: |
293 | 406 | |
294 | 407 | distclean-generic: |
295 | 408 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
409 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
296 | 410 | |
297 | 411 | maintainer-clean-generic: |
298 | 412 | @echo "This command is intended for maintainers to use" |
311 | 425 | |
312 | 426 | html: html-am |
313 | 427 | |
428 | html-am: | |
429 | ||
314 | 430 | info: info-am |
315 | 431 | |
316 | 432 | info-am: |
319 | 435 | |
320 | 436 | install-dvi: install-dvi-am |
321 | 437 | |
438 | install-dvi-am: | |
439 | ||
322 | 440 | install-exec-am: |
323 | 441 | |
324 | 442 | install-html: install-html-am |
325 | 443 | |
444 | install-html-am: | |
445 | ||
326 | 446 | install-info: install-info-am |
327 | 447 | |
448 | install-info-am: | |
449 | ||
328 | 450 | install-man: |
329 | 451 | |
330 | 452 | install-pdf: install-pdf-am |
331 | 453 | |
454 | install-pdf-am: | |
455 | ||
332 | 456 | install-ps: install-ps-am |
457 | ||
458 | install-ps-am: | |
333 | 459 | |
334 | 460 | installcheck-am: |
335 | 461 | |
353 | 479 | |
354 | 480 | .MAKE: install-am install-strip |
355 | 481 | |
356 | .PHONY: all all-am check check-am clean clean-generic distclean \ | |
357 | distclean-generic distdir dvi dvi-am html html-am info info-am \ | |
358 | install install-am install-data install-data-am install-dvi \ | |
359 | install-dvi-am install-exec install-exec-am install-gfxDATA \ | |
360 | install-html install-html-am install-info install-info-am \ | |
361 | install-man install-pdf install-pdf-am install-ps \ | |
362 | install-ps-am install-strip installcheck installcheck-am \ | |
363 | installdirs maintainer-clean maintainer-clean-generic \ | |
364 | mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ | |
365 | uninstall-am uninstall-gfxDATA | |
482 | .PHONY: all all-am check check-am clean clean-generic cscopelist-am \ | |
483 | ctags-am distclean distclean-generic distdir dvi dvi-am html \ | |
484 | html-am info info-am install install-am install-data \ | |
485 | install-data-am install-dvi install-dvi-am install-exec \ | |
486 | install-exec-am install-gfxDATA install-html install-html-am \ | |
487 | install-info install-info-am install-man install-pdf \ | |
488 | install-pdf-am install-ps install-ps-am install-strip \ | |
489 | installcheck installcheck-am installdirs maintainer-clean \ | |
490 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ | |
491 | pdf-am ps ps-am tags-am uninstall uninstall-am \ | |
492 | uninstall-gfxDATA | |
493 | ||
494 | .PRECIOUS: Makefile | |
495 | ||
366 | 496 | |
367 | 497 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
368 | 498 | # Otherwise a system limit (for SysV at least) may be exceeded. |
Binary diff not shown
Binary diff not shown
0 | ||
1 | sounddir=$(datadir)/@PACKAGE@/sound | |
2 | ||
3 | sound_DATA = Flying_me_softly.ogg Menu_Select_01.ogg explosion1.ogg Picked_Coin_Echo_2.ogg | |
4 | ||
5 | EXTRA_DIST = $(sound_DATA) |
0 | # Makefile.in generated by automake 1.15 from Makefile.am. | |
1 | # @configure_input@ | |
2 | ||
3 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |
4 | ||
5 | # This Makefile.in is free software; the Free Software Foundation | |
6 | # gives unlimited permission to copy and/or distribute it, | |
7 | # with or without modifications, as long as this notice is preserved. | |
8 | ||
9 | # This program is distributed in the hope that it will be useful, | |
10 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | |
11 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | |
12 | # PARTICULAR PURPOSE. | |
13 | ||
14 | @SET_MAKE@ | |
15 | ||
16 | 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)) | |
72 | pkgdatadir = $(datadir)/@PACKAGE@ | |
73 | pkgincludedir = $(includedir)/@PACKAGE@ | |
74 | pkglibdir = $(libdir)/@PACKAGE@ | |
75 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
76 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | |
77 | install_sh_DATA = $(install_sh) -c -m 644 | |
78 | install_sh_PROGRAM = $(install_sh) -c | |
79 | install_sh_SCRIPT = $(install_sh) -c | |
80 | INSTALL_HEADER = $(INSTALL_DATA) | |
81 | transform = $(program_transform_name) | |
82 | NORMAL_INSTALL = : | |
83 | PRE_INSTALL = : | |
84 | POST_INSTALL = : | |
85 | NORMAL_UNINSTALL = : | |
86 | PRE_UNINSTALL = : | |
87 | POST_UNINSTALL = : | |
88 | build_triplet = @build@ | |
89 | host_triplet = @host@ | |
90 | target_triplet = @target@ | |
91 | subdir = data/sound | |
92 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
93 | am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ | |
94 | $(top_srcdir)/configure.ac | |
95 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
96 | $(ACLOCAL_M4) | |
97 | DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) | |
98 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | |
99 | 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 = | |
113 | SOURCES = | |
114 | 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__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | |
121 | am__vpath_adj = case $$p in \ | |
122 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | |
123 | *) f=$$p;; \ | |
124 | esac; | |
125 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | |
126 | am__install_max = 40 | |
127 | am__nobase_strip_setup = \ | |
128 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | |
129 | am__nobase_strip = \ | |
130 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | |
131 | am__nobase_list = $(am__nobase_strip_setup); \ | |
132 | for p in $$list; do echo "$$p $$p"; done | \ | |
133 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | |
134 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | |
135 | if (++n[$$2] == $(am__install_max)) \ | |
136 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | |
137 | END { for (dir in files) print dir, files[dir] }' | |
138 | am__base_list = \ | |
139 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | |
140 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | |
141 | am__uninstall_files_from_dir = { \ | |
142 | test -z "$$files" \ | |
143 | || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ | |
144 | || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ | |
145 | $(am__cd) "$$dir" && rm -f $$files; }; \ | |
146 | } | |
147 | am__installdirs = "$(DESTDIR)$(sounddir)" | |
148 | DATA = $(sound_DATA) | |
149 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
150 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/mkinstalldirs | |
151 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | |
152 | ACLOCAL = @ACLOCAL@ | |
153 | AMTAR = @AMTAR@ | |
154 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
155 | AUTOCONF = @AUTOCONF@ | |
156 | AUTOHEADER = @AUTOHEADER@ | |
157 | AUTOMAKE = @AUTOMAKE@ | |
158 | AWK = @AWK@ | |
159 | CC = @CC@ | |
160 | CCDEPMODE = @CCDEPMODE@ | |
161 | CFLAGS = @CFLAGS@ | |
162 | CPPFLAGS = @CPPFLAGS@ | |
163 | CYGPATH_W = @CYGPATH_W@ | |
164 | DEFS = @DEFS@ | |
165 | DEPDIR = @DEPDIR@ | |
166 | ECHO_C = @ECHO_C@ | |
167 | ECHO_N = @ECHO_N@ | |
168 | ECHO_T = @ECHO_T@ | |
169 | EXEEXT = @EXEEXT@ | |
170 | INSTALL = @INSTALL@ | |
171 | INSTALL_DATA = @INSTALL_DATA@ | |
172 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
173 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
174 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
175 | LDFLAGS = @LDFLAGS@ | |
176 | LIBOBJS = @LIBOBJS@ | |
177 | LIBS = @LIBS@ | |
178 | LTLIBOBJS = @LTLIBOBJS@ | |
179 | MAKEINFO = @MAKEINFO@ | |
180 | MATHLIB = @MATHLIB@ | |
181 | MKDIR_P = @MKDIR_P@ | |
182 | OBJEXT = @OBJEXT@ | |
183 | PACKAGE = @PACKAGE@ | |
184 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
185 | PACKAGE_NAME = @PACKAGE_NAME@ | |
186 | PACKAGE_STRING = @PACKAGE_STRING@ | |
187 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
188 | PACKAGE_URL = @PACKAGE_URL@ | |
189 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
190 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
191 | RANLIB = @RANLIB@ | |
192 | SDL_CFLAGS = @SDL_CFLAGS@ | |
193 | SDL_CONFIG = @SDL_CONFIG@ | |
194 | SDL_LIBS = @SDL_LIBS@ | |
195 | SET_MAKE = @SET_MAKE@ | |
196 | SHELL = @SHELL@ | |
197 | STRIP = @STRIP@ | |
198 | VERSION = @VERSION@ | |
199 | abs_builddir = @abs_builddir@ | |
200 | abs_srcdir = @abs_srcdir@ | |
201 | abs_top_builddir = @abs_top_builddir@ | |
202 | abs_top_srcdir = @abs_top_srcdir@ | |
203 | ac_ct_CC = @ac_ct_CC@ | |
204 | am__include = @am__include@ | |
205 | am__leading_dot = @am__leading_dot@ | |
206 | am__quote = @am__quote@ | |
207 | am__tar = @am__tar@ | |
208 | am__untar = @am__untar@ | |
209 | bindir = @bindir@ | |
210 | build = @build@ | |
211 | build_alias = @build_alias@ | |
212 | build_cpu = @build_cpu@ | |
213 | build_os = @build_os@ | |
214 | build_vendor = @build_vendor@ | |
215 | builddir = @builddir@ | |
216 | datadir = @datadir@ | |
217 | datarootdir = @datarootdir@ | |
218 | docdir = @docdir@ | |
219 | dvidir = @dvidir@ | |
220 | exec_prefix = @exec_prefix@ | |
221 | host = @host@ | |
222 | host_alias = @host_alias@ | |
223 | host_cpu = @host_cpu@ | |
224 | host_os = @host_os@ | |
225 | host_vendor = @host_vendor@ | |
226 | htmldir = @htmldir@ | |
227 | includedir = @includedir@ | |
228 | infodir = @infodir@ | |
229 | install_sh = @install_sh@ | |
230 | libdir = @libdir@ | |
231 | libexecdir = @libexecdir@ | |
232 | localedir = @localedir@ | |
233 | localstatedir = @localstatedir@ | |
234 | mandir = @mandir@ | |
235 | mkdir_p = @mkdir_p@ | |
236 | oldincludedir = @oldincludedir@ | |
237 | pdfdir = @pdfdir@ | |
238 | prefix = @prefix@ | |
239 | program_transform_name = @program_transform_name@ | |
240 | psdir = @psdir@ | |
241 | runstatedir = @runstatedir@ | |
242 | sbindir = @sbindir@ | |
243 | sharedstatedir = @sharedstatedir@ | |
244 | srcdir = @srcdir@ | |
245 | sysconfdir = @sysconfdir@ | |
246 | target = @target@ | |
247 | target_alias = @target_alias@ | |
248 | target_cpu = @target_cpu@ | |
249 | target_os = @target_os@ | |
250 | target_vendor = @target_vendor@ | |
251 | top_build_prefix = @top_build_prefix@ | |
252 | top_builddir = @top_builddir@ | |
253 | top_srcdir = @top_srcdir@ | |
254 | sounddir = $(datadir)/@PACKAGE@/sound | |
255 | sound_DATA = Flying_me_softly.ogg Menu_Select_01.ogg explosion1.ogg Picked_Coin_Echo_2.ogg | |
256 | EXTRA_DIST = $(sound_DATA) | |
257 | all: all-am | |
258 | ||
259 | .SUFFIXES: | |
260 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | |
261 | @for dep in $?; do \ | |
262 | case '$(am__configure_deps)' in \ | |
263 | *$$dep*) \ | |
264 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | |
265 | && { if test -f $@; then exit 0; else break; fi; }; \ | |
266 | exit 1;; \ | |
267 | esac; \ | |
268 | done; \ | |
269 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/sound/Makefile'; \ | |
270 | $(am__cd) $(top_srcdir) && \ | |
271 | $(AUTOMAKE) --gnu data/sound/Makefile | |
272 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
273 | @case '$?' in \ | |
274 | *config.status*) \ | |
275 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | |
276 | *) \ | |
277 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | |
278 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | |
279 | esac; | |
280 | ||
281 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
282 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
283 | ||
284 | $(top_srcdir)/configure: $(am__configure_deps) | |
285 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
286 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | |
287 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
288 | $(am__aclocal_m4_deps): | |
289 | install-soundDATA: $(sound_DATA) | |
290 | @$(NORMAL_INSTALL) | |
291 | @list='$(sound_DATA)'; test -n "$(sounddir)" || list=; \ | |
292 | if test -n "$$list"; then \ | |
293 | echo " $(MKDIR_P) '$(DESTDIR)$(sounddir)'"; \ | |
294 | $(MKDIR_P) "$(DESTDIR)$(sounddir)" || exit 1; \ | |
295 | fi; \ | |
296 | for p in $$list; do \ | |
297 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | |
298 | echo "$$d$$p"; \ | |
299 | done | $(am__base_list) | \ | |
300 | while read files; do \ | |
301 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sounddir)'"; \ | |
302 | $(INSTALL_DATA) $$files "$(DESTDIR)$(sounddir)" || exit $$?; \ | |
303 | done | |
304 | ||
305 | uninstall-soundDATA: | |
306 | @$(NORMAL_UNINSTALL) | |
307 | @list='$(sound_DATA)'; test -n "$(sounddir)" || list=; \ | |
308 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | |
309 | dir='$(DESTDIR)$(sounddir)'; $(am__uninstall_files_from_dir) | |
310 | tags TAGS: | |
311 | ||
312 | ctags CTAGS: | |
313 | ||
314 | cscope cscopelist: | |
315 | ||
316 | ||
317 | distdir: $(DISTFILES) | |
318 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
319 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
320 | list='$(DISTFILES)'; \ | |
321 | dist_files=`for file in $$list; do echo $$file; done | \ | |
322 | sed -e "s|^$$srcdirstrip/||;t" \ | |
323 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
324 | case $$dist_files in \ | |
325 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
326 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
327 | sort -u` ;; \ | |
328 | esac; \ | |
329 | for file in $$dist_files; do \ | |
330 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | |
331 | if test -d $$d/$$file; then \ | |
332 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
333 | if test -d "$(distdir)/$$file"; then \ | |
334 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
335 | fi; \ | |
336 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | |
337 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
338 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
339 | fi; \ | |
340 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
341 | else \ | |
342 | test -f "$(distdir)/$$file" \ | |
343 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
344 | || exit 1; \ | |
345 | fi; \ | |
346 | done | |
347 | check-am: all-am | |
348 | check: check-am | |
349 | all-am: Makefile $(DATA) | |
350 | installdirs: | |
351 | for dir in "$(DESTDIR)$(sounddir)"; do \ | |
352 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | |
353 | done | |
354 | install: install-am | |
355 | install-exec: install-exec-am | |
356 | install-data: install-data-am | |
357 | uninstall: uninstall-am | |
358 | ||
359 | install-am: all-am | |
360 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
361 | ||
362 | installcheck: installcheck-am | |
363 | install-strip: | |
364 | if test -z '$(STRIP)'; then \ | |
365 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
366 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
367 | install; \ | |
368 | else \ | |
369 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
370 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
371 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | |
372 | fi | |
373 | mostlyclean-generic: | |
374 | ||
375 | clean-generic: | |
376 | ||
377 | distclean-generic: | |
378 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
379 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
380 | ||
381 | maintainer-clean-generic: | |
382 | @echo "This command is intended for maintainers to use" | |
383 | @echo "it deletes files that may require special tools to rebuild." | |
384 | clean: clean-am | |
385 | ||
386 | clean-am: clean-generic mostlyclean-am | |
387 | ||
388 | distclean: distclean-am | |
389 | -rm -f Makefile | |
390 | distclean-am: clean-am distclean-generic | |
391 | ||
392 | dvi: dvi-am | |
393 | ||
394 | dvi-am: | |
395 | ||
396 | html: html-am | |
397 | ||
398 | html-am: | |
399 | ||
400 | info: info-am | |
401 | ||
402 | info-am: | |
403 | ||
404 | install-data-am: install-soundDATA | |
405 | ||
406 | install-dvi: install-dvi-am | |
407 | ||
408 | install-dvi-am: | |
409 | ||
410 | install-exec-am: | |
411 | ||
412 | install-html: install-html-am | |
413 | ||
414 | install-html-am: | |
415 | ||
416 | install-info: install-info-am | |
417 | ||
418 | install-info-am: | |
419 | ||
420 | install-man: | |
421 | ||
422 | install-pdf: install-pdf-am | |
423 | ||
424 | install-pdf-am: | |
425 | ||
426 | install-ps: install-ps-am | |
427 | ||
428 | install-ps-am: | |
429 | ||
430 | installcheck-am: | |
431 | ||
432 | maintainer-clean: maintainer-clean-am | |
433 | -rm -f Makefile | |
434 | maintainer-clean-am: distclean-am maintainer-clean-generic | |
435 | ||
436 | mostlyclean: mostlyclean-am | |
437 | ||
438 | mostlyclean-am: mostlyclean-generic | |
439 | ||
440 | pdf: pdf-am | |
441 | ||
442 | pdf-am: | |
443 | ||
444 | ps: ps-am | |
445 | ||
446 | ps-am: | |
447 | ||
448 | uninstall-am: uninstall-soundDATA | |
449 | ||
450 | .MAKE: install-am install-strip | |
451 | ||
452 | .PHONY: all all-am check check-am clean clean-generic cscopelist-am \ | |
453 | ctags-am distclean distclean-generic distdir dvi dvi-am html \ | |
454 | html-am info info-am install install-am install-data \ | |
455 | install-data-am install-dvi install-dvi-am install-exec \ | |
456 | install-exec-am install-html install-html-am install-info \ | |
457 | install-info-am install-man install-pdf install-pdf-am \ | |
458 | install-ps install-ps-am install-soundDATA install-strip \ | |
459 | installcheck installcheck-am installdirs maintainer-clean \ | |
460 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ | |
461 | pdf-am ps ps-am tags-am uninstall uninstall-am \ | |
462 | uninstall-soundDATA | |
463 | ||
464 | .PRECIOUS: Makefile | |
465 | ||
466 | ||
467 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
468 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
469 | .NOEXPORT: |
Binary diff not shown
Binary diff not shown
Binary diff not shown
0 | bumprace (1.5.7-1) unstable; urgency=medium | |
1 | ||
2 | * new upstream version (closes: #916865) | |
3 | * spelling patches are included upstream | |
4 | ||
5 | -- Christian T. Steigies <cts@debian.org> Thu, 07 Feb 2019 22:28:46 +0100 | |
6 | ||
0 | 7 | bumprace (1.5.4-4) unstable; urgency=medium |
1 | 8 | |
2 | 9 | [ Ondřej Nový ] |
0 | spelling-mistakes | |
1 | more-spelling-corrections | |
2 | load-replaced-sound-files.patch | |
0 | # spelling-mistakes | |
1 | # more-spelling-corrections | |
2 | # load-replaced-sound-files.patch |
0 | #! /bin/sh | |
1 | # Common stub for a few missing GNU programs while installing. | |
2 | ||
3 | scriptversion=2006-05-10.23 | |
4 | ||
5 | # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 | |
6 | # Free Software Foundation, Inc. | |
7 | # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. | |
8 | ||
9 | # This program is free software; you can redistribute it and/or modify | |
10 | # it under the terms of the GNU General Public License as published by | |
11 | # the Free Software Foundation; either version 2, or (at your option) | |
12 | # any later version. | |
13 | ||
14 | # This program is distributed in the hope that it will be useful, | |
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | # GNU General Public License for more details. | |
18 | ||
19 | # You should have received a copy of the GNU General Public License | |
20 | # along with this program; if not, write to the Free Software | |
21 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | |
22 | # 02110-1301, USA. | |
23 | ||
24 | # As a special exception to the GNU General Public License, if you | |
25 | # distribute this file as part of a program that contains a | |
26 | # configuration script generated by Autoconf, you may include it under | |
27 | # the same distribution terms that you use for the rest of that program. | |
28 | ||
29 | if test $# -eq 0; then | |
30 | echo 1>&2 "Try \`$0 --help' for more information" | |
31 | exit 1 | |
32 | fi | |
33 | ||
34 | run=: | |
35 | sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' | |
36 | sed_minuso='s/.* -o \([^ ]*\).*/\1/p' | |
37 | ||
38 | # In the cases where this matters, `missing' is being run in the | |
39 | # srcdir already. | |
40 | if test -f configure.ac; then | |
41 | configure_ac=configure.ac | |
42 | else | |
43 | configure_ac=configure.in | |
44 | fi | |
45 | ||
46 | msg="missing on your system" | |
47 | ||
48 | case $1 in | |
49 | --run) | |
50 | # Try to run requested program, and just exit if it succeeds. | |
51 | run= | |
52 | shift | |
53 | "$@" && exit 0 | |
54 | # Exit code 63 means version mismatch. This often happens | |
55 | # when the user try to use an ancient version of a tool on | |
56 | # a file that requires a minimum version. In this case we | |
57 | # we should proceed has if the program had been absent, or | |
58 | # if --run hadn't been passed. | |
59 | if test $? = 63; then | |
60 | run=: | |
61 | msg="probably too old" | |
62 | fi | |
63 | ;; | |
64 | ||
65 | -h|--h|--he|--hel|--help) | |
66 | echo "\ | |
67 | $0 [OPTION]... PROGRAM [ARGUMENT]... | |
68 | ||
69 | Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an | |
70 | error status if there is no known handling for PROGRAM. | |
71 | ||
72 | Options: | |
73 | -h, --help display this help and exit | |
74 | -v, --version output version information and exit | |
75 | --run try to run the given command, and emulate it if it fails | |
76 | ||
77 | Supported PROGRAM values: | |
78 | aclocal touch file \`aclocal.m4' | |
79 | autoconf touch file \`configure' | |
80 | autoheader touch file \`config.h.in' | |
81 | autom4te touch the output file, or create a stub one | |
82 | automake touch all \`Makefile.in' files | |
83 | bison create \`y.tab.[ch]', if possible, from existing .[ch] | |
84 | flex create \`lex.yy.c', if possible, from existing .c | |
85 | help2man touch the output file | |
86 | lex create \`lex.yy.c', if possible, from existing .c | |
87 | makeinfo touch the output file | |
88 | tar try tar, gnutar, gtar, then tar without non-portable flags | |
89 | yacc create \`y.tab.[ch]', if possible, from existing .[ch] | |
90 | ||
91 | Send bug reports to <bug-automake@gnu.org>." | |
92 | exit $? | |
93 | ;; | |
94 | ||
95 | -v|--v|--ve|--ver|--vers|--versi|--versio|--version) | |
96 | echo "missing $scriptversion (GNU Automake)" | |
97 | exit $? | |
98 | ;; | |
99 | ||
100 | -*) | |
101 | echo 1>&2 "$0: Unknown \`$1' option" | |
102 | echo 1>&2 "Try \`$0 --help' for more information" | |
103 | exit 1 | |
104 | ;; | |
105 | ||
106 | esac | |
107 | ||
108 | # Now exit if we have it, but it failed. Also exit now if we | |
109 | # don't have it and --version was passed (most likely to detect | |
110 | # the program). | |
111 | case $1 in | |
112 | lex|yacc) | |
113 | # Not GNU programs, they don't have --version. | |
114 | ;; | |
115 | ||
116 | tar) | |
117 | if test -n "$run"; then | |
118 | echo 1>&2 "ERROR: \`tar' requires --run" | |
119 | exit 1 | |
120 | elif test "x$2" = "x--version" || test "x$2" = "x--help"; then | |
121 | exit 1 | |
122 | fi | |
123 | ;; | |
124 | ||
125 | *) | |
126 | if test -z "$run" && ($1 --version) > /dev/null 2>&1; then | |
127 | # We have it, but it failed. | |
128 | exit 1 | |
129 | elif test "x$2" = "x--version" || test "x$2" = "x--help"; then | |
130 | # Could not run --version or --help. This is probably someone | |
131 | # running `$TOOL --version' or `$TOOL --help' to check whether | |
132 | # $TOOL exists and not knowing $TOOL uses missing. | |
133 | exit 1 | |
134 | fi | |
135 | ;; | |
136 | esac | |
137 | ||
138 | # If it does not exist, or fails to run (possibly an outdated version), | |
139 | # try to emulate it. | |
140 | case $1 in | |
141 | aclocal*) | |
142 | echo 1>&2 "\ | |
143 | WARNING: \`$1' is $msg. You should only need it if | |
144 | you modified \`acinclude.m4' or \`${configure_ac}'. You might want | |
145 | to install the \`Automake' and \`Perl' packages. Grab them from | |
146 | any GNU archive site." | |
147 | touch aclocal.m4 | |
148 | ;; | |
149 | ||
150 | autoconf) | |
151 | echo 1>&2 "\ | |
152 | WARNING: \`$1' is $msg. You should only need it if | |
153 | you modified \`${configure_ac}'. You might want to install the | |
154 | \`Autoconf' and \`GNU m4' packages. Grab them from any GNU | |
155 | archive site." | |
156 | touch configure | |
157 | ;; | |
158 | ||
159 | autoheader) | |
160 | echo 1>&2 "\ | |
161 | WARNING: \`$1' is $msg. You should only need it if | |
162 | you modified \`acconfig.h' or \`${configure_ac}'. You might want | |
163 | to install the \`Autoconf' and \`GNU m4' packages. Grab them | |
164 | from any GNU archive site." | |
165 | files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` | |
166 | test -z "$files" && files="config.h" | |
167 | touch_files= | |
168 | for f in $files; do | |
169 | case $f in | |
170 | *:*) touch_files="$touch_files "`echo "$f" | | |
171 | sed -e 's/^[^:]*://' -e 's/:.*//'`;; | |
172 | *) touch_files="$touch_files $f.in";; | |
173 | esac | |
174 | done | |
175 | touch $touch_files | |
176 | ;; | |
177 | ||
178 | automake*) | |
179 | echo 1>&2 "\ | |
180 | WARNING: \`$1' is $msg. You should only need it if | |
181 | you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. | |
182 | You might want to install the \`Automake' and \`Perl' packages. | |
183 | Grab them from any GNU archive site." | |
184 | find . -type f -name Makefile.am -print | | |
185 | sed 's/\.am$/.in/' | | |
186 | while read f; do touch "$f"; done | |
187 | ;; | |
188 | ||
189 | autom4te) | |
190 | echo 1>&2 "\ | |
191 | WARNING: \`$1' is needed, but is $msg. | |
192 | You might have modified some files without having the | |
193 | proper tools for further handling them. | |
194 | You can get \`$1' as part of \`Autoconf' from any GNU | |
195 | archive site." | |
196 | ||
197 | file=`echo "$*" | sed -n "$sed_output"` | |
198 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` | |
199 | if test -f "$file"; then | |
200 | touch $file | |
201 | else | |
202 | test -z "$file" || exec >$file | |
203 | echo "#! /bin/sh" | |
204 | echo "# Created by GNU Automake missing as a replacement of" | |
205 | echo "# $ $@" | |
206 | echo "exit 0" | |
207 | chmod +x $file | |
208 | exit 1 | |
209 | fi | |
210 | ;; | |
211 | ||
212 | bison|yacc) | |
213 | echo 1>&2 "\ | |
214 | WARNING: \`$1' $msg. You should only need it if | |
215 | you modified a \`.y' file. You may need the \`Bison' package | |
216 | in order for those modifications to take effect. You can get | |
217 | \`Bison' from any GNU archive site." | |
218 | rm -f y.tab.c y.tab.h | |
219 | if test $# -ne 1; then | |
220 | eval LASTARG="\${$#}" | |
221 | case $LASTARG in | |
222 | *.y) | |
223 | SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` | |
224 | if test -f "$SRCFILE"; then | |
225 | cp "$SRCFILE" y.tab.c | |
226 | fi | |
227 | SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` | |
228 | if test -f "$SRCFILE"; then | |
229 | cp "$SRCFILE" y.tab.h | |
230 | fi | |
231 | ;; | |
232 | esac | |
233 | fi | |
234 | if test ! -f y.tab.h; then | |
235 | echo >y.tab.h | |
236 | fi | |
237 | if test ! -f y.tab.c; then | |
238 | echo 'main() { return 0; }' >y.tab.c | |
239 | fi | |
240 | ;; | |
241 | ||
242 | lex|flex) | |
243 | echo 1>&2 "\ | |
244 | WARNING: \`$1' is $msg. You should only need it if | |
245 | you modified a \`.l' file. You may need the \`Flex' package | |
246 | in order for those modifications to take effect. You can get | |
247 | \`Flex' from any GNU archive site." | |
248 | rm -f lex.yy.c | |
249 | if test $# -ne 1; then | |
250 | eval LASTARG="\${$#}" | |
251 | case $LASTARG in | |
252 | *.l) | |
253 | SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` | |
254 | if test -f "$SRCFILE"; then | |
255 | cp "$SRCFILE" lex.yy.c | |
256 | fi | |
257 | ;; | |
258 | esac | |
259 | fi | |
260 | if test ! -f lex.yy.c; then | |
261 | echo 'main() { return 0; }' >lex.yy.c | |
262 | fi | |
263 | ;; | |
264 | ||
265 | help2man) | |
266 | echo 1>&2 "\ | |
267 | WARNING: \`$1' is $msg. You should only need it if | |
268 | you modified a dependency of a manual page. You may need the | |
269 | \`Help2man' package in order for those modifications to take | |
270 | effect. You can get \`Help2man' from any GNU archive site." | |
271 | ||
272 | file=`echo "$*" | sed -n "$sed_output"` | |
273 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` | |
274 | if test -f "$file"; then | |
275 | touch $file | |
276 | else | |
277 | test -z "$file" || exec >$file | |
278 | echo ".ab help2man is required to generate this page" | |
279 | exit 1 | |
280 | fi | |
281 | ;; | |
282 | ||
283 | makeinfo) | |
284 | echo 1>&2 "\ | |
285 | WARNING: \`$1' is $msg. You should only need it if | |
286 | you modified a \`.texi' or \`.texinfo' file, or any other file | |
287 | indirectly affecting the aspect of the manual. The spurious | |
288 | call might also be the consequence of using a buggy \`make' (AIX, | |
289 | DU, IRIX). You might want to install the \`Texinfo' package or | |
290 | the \`GNU make' package. Grab either from any GNU archive site." | |
291 | # The file to touch is that specified with -o ... | |
292 | file=`echo "$*" | sed -n "$sed_output"` | |
293 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` | |
294 | if test -z "$file"; then | |
295 | # ... or it is the one specified with @setfilename ... | |
296 | infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` | |
297 | file=`sed -n ' | |
298 | /^@setfilename/{ | |
299 | s/.* \([^ ]*\) *$/\1/ | |
300 | p | |
301 | q | |
302 | }' $infile` | |
303 | # ... or it is derived from the source name (dir/f.texi becomes f.info) | |
304 | test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info | |
305 | fi | |
306 | # If the file does not exist, the user really needs makeinfo; | |
307 | # let's fail without touching anything. | |
308 | test -f $file || exit 1 | |
309 | touch $file | |
310 | ;; | |
311 | ||
312 | tar) | |
313 | shift | |
314 | ||
315 | # We have already tried tar in the generic part. | |
316 | # Look for gnutar/gtar before invocation to avoid ugly error | |
317 | # messages. | |
318 | if (gnutar --version > /dev/null 2>&1); then | |
319 | gnutar "$@" && exit 0 | |
320 | fi | |
321 | if (gtar --version > /dev/null 2>&1); then | |
322 | gtar "$@" && exit 0 | |
323 | fi | |
324 | firstarg="$1" | |
325 | if shift; then | |
326 | case $firstarg in | |
327 | *o*) | |
328 | firstarg=`echo "$firstarg" | sed s/o//` | |
329 | tar "$firstarg" "$@" && exit 0 | |
330 | ;; | |
331 | esac | |
332 | case $firstarg in | |
333 | *h*) | |
334 | firstarg=`echo "$firstarg" | sed s/h//` | |
335 | tar "$firstarg" "$@" && exit 0 | |
336 | ;; | |
337 | esac | |
338 | fi | |
339 | ||
340 | echo 1>&2 "\ | |
341 | WARNING: I can't seem to be able to run \`tar' with the given arguments. | |
342 | You may want to install GNU tar or Free paxutils, or check the | |
343 | command line arguments." | |
344 | exit 1 | |
345 | ;; | |
346 | ||
347 | *) | |
348 | echo 1>&2 "\ | |
349 | WARNING: \`$1' is needed, and is $msg. | |
350 | You might have modified some files without having the | |
351 | proper tools for further handling them. Check the \`README' file, | |
352 | it often tells you about the needed prerequisites for installing | |
353 | this package. You may also peek at any GNU archive site, in case | |
354 | some other package would contain this missing \`$1' program." | |
355 | exit 1 | |
356 | ;; | |
357 | esac | |
358 | ||
359 | exit 0 | |
360 | ||
361 | # Local variables: | |
362 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
363 | # time-stamp-start: "scriptversion=" | |
364 | # time-stamp-format: "%:y-%02m-%02d.%02H" | |
365 | # time-stamp-end: "$" | |
366 | # End: |
0 | # Makefile.in generated by automake 1.10.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.15 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |
4 | ||
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
7 | 7 | # with or without modifications, as long as this notice is preserved. |
14 | 14 | @SET_MAKE@ |
15 | 15 | |
16 | 16 | 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)) | |
17 | 72 | pkgdatadir = $(datadir)/@PACKAGE@ |
73 | pkgincludedir = $(includedir)/@PACKAGE@ | |
18 | 74 | pkglibdir = $(libdir)/@PACKAGE@ |
19 | pkgincludedir = $(includedir)/@PACKAGE@ | |
75 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
20 | 76 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
21 | 77 | install_sh_DATA = $(install_sh) -c -m 644 |
22 | 78 | install_sh_PROGRAM = $(install_sh) -c |
34 | 90 | target_triplet = @target@ |
35 | 91 | bin_PROGRAMS = bumprace$(EXEEXT) |
36 | 92 | subdir = src |
37 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
38 | 93 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
39 | 94 | am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ |
40 | $(top_srcdir)/configure.in | |
95 | $(top_srcdir)/configure.ac | |
41 | 96 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
42 | 97 | $(ACLOCAL_M4) |
98 | DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) | |
43 | 99 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
44 | 100 | CONFIG_CLEAN_FILES = |
101 | CONFIG_CLEAN_VPATH_FILES = | |
45 | 102 | am__installdirs = "$(DESTDIR)$(bindir)" |
46 | binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) | |
47 | 103 | PROGRAMS = $(bin_PROGRAMS) |
48 | 104 | am_bumprace_OBJECTS = bumprace.$(OBJEXT) gfx.$(OBJEXT) \ |
49 | 105 | particles.$(OBJEXT) menu.$(OBJEXT) options.$(OBJEXT) \ |
50 | 106 | font.$(OBJEXT) |
51 | 107 | bumprace_OBJECTS = $(am_bumprace_OBJECTS) |
52 | 108 | bumprace_LDADD = $(LDADD) |
109 | AM_V_P = $(am__v_P_@AM_V@) | |
110 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
111 | am__v_P_0 = false | |
112 | am__v_P_1 = : | |
113 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
114 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
115 | am__v_GEN_0 = @echo " GEN " $@; | |
116 | am__v_GEN_1 = | |
117 | AM_V_at = $(am__v_at_@AM_V@) | |
118 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
119 | am__v_at_0 = @ | |
120 | am__v_at_1 = | |
53 | 121 | DEFAULT_INCLUDES = -I.@am__isrc@ |
54 | 122 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
55 | 123 | am__depfiles_maybe = depfiles |
124 | am__mv = mv -f | |
56 | 125 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
57 | 126 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
127 | AM_V_CC = $(am__v_CC_@AM_V@) | |
128 | am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) | |
129 | am__v_CC_0 = @echo " CC " $@; | |
130 | am__v_CC_1 = | |
58 | 131 | CCLD = $(CC) |
59 | 132 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
133 | AM_V_CCLD = $(am__v_CCLD_@AM_V@) | |
134 | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) | |
135 | am__v_CCLD_0 = @echo " CCLD " $@; | |
136 | am__v_CCLD_1 = | |
60 | 137 | SOURCES = $(bumprace_SOURCES) |
61 | 138 | DIST_SOURCES = $(bumprace_SOURCES) |
139 | am__can_run_installinfo = \ | |
140 | case $$AM_UPDATE_INFO_DIR in \ | |
141 | n|no|NO) false;; \ | |
142 | *) (install-info --version) >/dev/null 2>&1;; \ | |
143 | esac | |
144 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
145 | # Read a list of newline-separated strings from the standard input, | |
146 | # and print each of them once, without duplicates. Input order is | |
147 | # *not* preserved. | |
148 | am__uniquify_input = $(AWK) '\ | |
149 | BEGIN { nonempty = 0; } \ | |
150 | { items[$$0] = 1; nonempty = 1; } \ | |
151 | END { if (nonempty) { for (i in items) print i; }; } \ | |
152 | ' | |
153 | # Make sure the list of sources is unique. This is necessary because, | |
154 | # e.g., the same source file might be shared among _SOURCES variables | |
155 | # for different programs/libraries. | |
156 | am__define_uniq_tagged_files = \ | |
157 | list='$(am__tagged_files)'; \ | |
158 | unique=`for i in $$list; do \ | |
159 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
160 | done | $(am__uniquify_input)` | |
62 | 161 | ETAGS = etags |
63 | 162 | CTAGS = ctags |
163 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \ | |
164 | $(top_srcdir)/mkinstalldirs | |
64 | 165 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
65 | 166 | ACLOCAL = @ACLOCAL@ |
66 | 167 | AMTAR = @AMTAR@ |
168 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
67 | 169 | AUTOCONF = @AUTOCONF@ |
68 | 170 | AUTOHEADER = @AUTOHEADER@ |
69 | 171 | AUTOMAKE = @AUTOMAKE@ |
97 | 199 | PACKAGE_NAME = @PACKAGE_NAME@ |
98 | 200 | PACKAGE_STRING = @PACKAGE_STRING@ |
99 | 201 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
202 | PACKAGE_URL = @PACKAGE_URL@ | |
100 | 203 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
101 | 204 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
102 | 205 | RANLIB = @RANLIB@ |
149 | 252 | prefix = @prefix@ |
150 | 253 | program_transform_name = @program_transform_name@ |
151 | 254 | psdir = @psdir@ |
255 | runstatedir = @runstatedir@ | |
152 | 256 | sbindir = @sbindir@ |
153 | 257 | sharedstatedir = @sharedstatedir@ |
154 | 258 | srcdir = @srcdir@ |
158 | 262 | target_cpu = @target_cpu@ |
159 | 263 | target_os = @target_os@ |
160 | 264 | target_vendor = @target_vendor@ |
265 | top_build_prefix = @top_build_prefix@ | |
161 | 266 | top_builddir = @top_builddir@ |
162 | 267 | top_srcdir = @top_srcdir@ |
163 | 268 | bumprace_SOURCES = bumprace.c \ |
174 | 279 | @for dep in $?; do \ |
175 | 280 | case '$(am__configure_deps)' in \ |
176 | 281 | *$$dep*) \ |
177 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ | |
178 | && exit 0; \ | |
282 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | |
283 | && { if test -f $@; then exit 0; else break; fi; }; \ | |
179 | 284 | exit 1;; \ |
180 | 285 | esac; \ |
181 | 286 | done; \ |
182 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ | |
183 | cd $(top_srcdir) && \ | |
184 | $(AUTOMAKE) --gnu src/Makefile | |
185 | .PRECIOUS: Makefile | |
287 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ | |
288 | $(am__cd) $(top_srcdir) && \ | |
289 | $(AUTOMAKE) --gnu src/Makefile | |
186 | 290 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
187 | 291 | @case '$?' in \ |
188 | 292 | *config.status*) \ |
199 | 303 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
200 | 304 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) |
201 | 305 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
306 | $(am__aclocal_m4_deps): | |
202 | 307 | install-binPROGRAMS: $(bin_PROGRAMS) |
203 | 308 | @$(NORMAL_INSTALL) |
204 | test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" | |
205 | @list='$(bin_PROGRAMS)'; for p in $$list; do \ | |
206 | p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ | |
207 | if test -f $$p \ | |
208 | ; then \ | |
209 | f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ | |
210 | echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ | |
211 | $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ | |
212 | else :; fi; \ | |
213 | done | |
309 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ | |
310 | if test -n "$$list"; then \ | |
311 | echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ | |
312 | $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ | |
313 | fi; \ | |
314 | for p in $$list; do echo "$$p $$p"; done | \ | |
315 | sed 's/$(EXEEXT)$$//' | \ | |
316 | while read p p1; do if test -f $$p \ | |
317 | ; then echo "$$p"; echo "$$p"; else :; fi; \ | |
318 | done | \ | |
319 | sed -e 'p;s,.*/,,;n;h' \ | |
320 | -e 's|.*|.|' \ | |
321 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ | |
322 | sed 'N;N;N;s,\n, ,g' | \ | |
323 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ | |
324 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | |
325 | if ($$2 == $$4) files[d] = files[d] " " $$1; \ | |
326 | else { print "f", $$3 "/" $$4, $$1; } } \ | |
327 | END { for (d in files) print "f", d, files[d] }' | \ | |
328 | while read type dir files; do \ | |
329 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | |
330 | test -z "$$files" || { \ | |
331 | echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ | |
332 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ | |
333 | } \ | |
334 | ; done | |
214 | 335 | |
215 | 336 | uninstall-binPROGRAMS: |
216 | 337 | @$(NORMAL_UNINSTALL) |
217 | @list='$(bin_PROGRAMS)'; for p in $$list; do \ | |
218 | f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ | |
219 | echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ | |
220 | rm -f "$(DESTDIR)$(bindir)/$$f"; \ | |
221 | done | |
338 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ | |
339 | files=`for p in $$list; do echo "$$p"; done | \ | |
340 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ | |
341 | -e 's/$$/$(EXEEXT)/' \ | |
342 | `; \ | |
343 | test -n "$$list" || exit 0; \ | |
344 | echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ | |
345 | cd "$(DESTDIR)$(bindir)" && rm -f $$files | |
222 | 346 | |
223 | 347 | clean-binPROGRAMS: |
224 | 348 | -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) |
225 | bumprace$(EXEEXT): $(bumprace_OBJECTS) $(bumprace_DEPENDENCIES) | |
349 | ||
350 | bumprace$(EXEEXT): $(bumprace_OBJECTS) $(bumprace_DEPENDENCIES) $(EXTRA_bumprace_DEPENDENCIES) | |
226 | 351 | @rm -f bumprace$(EXEEXT) |
227 | $(LINK) $(bumprace_OBJECTS) $(bumprace_LDADD) $(LIBS) | |
352 | $(AM_V_CCLD)$(LINK) $(bumprace_OBJECTS) $(bumprace_LDADD) $(LIBS) | |
228 | 353 | |
229 | 354 | mostlyclean-compile: |
230 | 355 | -rm -f *.$(OBJEXT) |
240 | 365 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/particles.Po@am__quote@ |
241 | 366 | |
242 | 367 | .c.o: |
243 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
244 | @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
245 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
368 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
369 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
370 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
246 | 371 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
247 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | |
372 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< | |
248 | 373 | |
249 | 374 | .c.obj: |
250 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
251 | @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
252 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
375 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
376 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
377 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
253 | 378 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
254 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | |
255 | ||
256 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
257 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
258 | unique=`for i in $$list; do \ | |
259 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
260 | done | \ | |
261 | $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ | |
262 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
263 | mkid -fID $$unique | |
264 | tags: TAGS | |
265 | ||
266 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
267 | $(TAGS_FILES) $(LISP) | |
268 | tags=; \ | |
379 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
380 | ||
381 | ID: $(am__tagged_files) | |
382 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
383 | tags: tags-am | |
384 | TAGS: tags | |
385 | ||
386 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
387 | set x; \ | |
269 | 388 | here=`pwd`; \ |
270 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
271 | unique=`for i in $$list; do \ | |
272 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
273 | done | \ | |
274 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
275 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
276 | if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ | |
389 | $(am__define_uniq_tagged_files); \ | |
390 | shift; \ | |
391 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | |
277 | 392 | test -n "$$unique" || unique=$$empty_fix; \ |
278 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
279 | $$tags $$unique; \ | |
393 | if test $$# -gt 0; then \ | |
394 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
395 | "$$@" $$unique; \ | |
396 | else \ | |
397 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
398 | $$unique; \ | |
399 | fi; \ | |
280 | 400 | fi |
281 | ctags: CTAGS | |
282 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
283 | $(TAGS_FILES) $(LISP) | |
284 | tags=; \ | |
285 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
286 | unique=`for i in $$list; do \ | |
287 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
288 | done | \ | |
289 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
290 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
291 | test -z "$(CTAGS_ARGS)$$tags$$unique" \ | |
401 | ctags: ctags-am | |
402 | ||
403 | CTAGS: ctags | |
404 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
405 | $(am__define_uniq_tagged_files); \ | |
406 | test -z "$(CTAGS_ARGS)$$unique" \ | |
292 | 407 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
293 | $$tags $$unique | |
408 | $$unique | |
294 | 409 | |
295 | 410 | GTAGS: |
296 | 411 | here=`$(am__cd) $(top_builddir) && pwd` \ |
297 | && cd $(top_srcdir) \ | |
298 | && gtags -i $(GTAGS_ARGS) $$here | |
412 | && $(am__cd) $(top_srcdir) \ | |
413 | && gtags -i $(GTAGS_ARGS) "$$here" | |
414 | cscopelist: cscopelist-am | |
415 | ||
416 | cscopelist-am: $(am__tagged_files) | |
417 | list='$(am__tagged_files)'; \ | |
418 | case "$(srcdir)" in \ | |
419 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
420 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
421 | esac; \ | |
422 | for i in $$list; do \ | |
423 | if test -f "$$i"; then \ | |
424 | echo "$(subdir)/$$i"; \ | |
425 | else \ | |
426 | echo "$$sdir/$$i"; \ | |
427 | fi; \ | |
428 | done >> $(top_builddir)/cscope.files | |
299 | 429 | |
300 | 430 | distclean-tags: |
301 | 431 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
316 | 446 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
317 | 447 | if test -d $$d/$$file; then \ |
318 | 448 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
449 | if test -d "$(distdir)/$$file"; then \ | |
450 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
451 | fi; \ | |
319 | 452 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
320 | cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ | |
453 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
454 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
321 | 455 | fi; \ |
322 | cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ | |
456 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
323 | 457 | else \ |
324 | test -f $(distdir)/$$file \ | |
325 | || cp -p $$d/$$file $(distdir)/$$file \ | |
458 | test -f "$(distdir)/$$file" \ | |
459 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
326 | 460 | || exit 1; \ |
327 | 461 | fi; \ |
328 | 462 | done |
343 | 477 | |
344 | 478 | installcheck: installcheck-am |
345 | 479 | install-strip: |
346 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
347 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
348 | `test -z '$(STRIP)' || \ | |
349 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
480 | if test -z '$(STRIP)'; then \ | |
481 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
482 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
483 | install; \ | |
484 | else \ | |
485 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
486 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
487 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | |
488 | fi | |
350 | 489 | mostlyclean-generic: |
351 | 490 | |
352 | 491 | clean-generic: |
353 | 492 | |
354 | 493 | distclean-generic: |
355 | 494 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
495 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
356 | 496 | |
357 | 497 | maintainer-clean-generic: |
358 | 498 | @echo "This command is intended for maintainers to use" |
373 | 513 | |
374 | 514 | html: html-am |
375 | 515 | |
516 | html-am: | |
517 | ||
376 | 518 | info: info-am |
377 | 519 | |
378 | 520 | info-am: |
381 | 523 | |
382 | 524 | install-dvi: install-dvi-am |
383 | 525 | |
526 | install-dvi-am: | |
527 | ||
384 | 528 | install-exec-am: install-binPROGRAMS |
385 | 529 | |
386 | 530 | install-html: install-html-am |
387 | 531 | |
532 | install-html-am: | |
533 | ||
388 | 534 | install-info: install-info-am |
389 | 535 | |
536 | install-info-am: | |
537 | ||
390 | 538 | install-man: |
391 | 539 | |
392 | 540 | install-pdf: install-pdf-am |
393 | 541 | |
542 | install-pdf-am: | |
543 | ||
394 | 544 | install-ps: install-ps-am |
545 | ||
546 | install-ps-am: | |
395 | 547 | |
396 | 548 | installcheck-am: |
397 | 549 | |
416 | 568 | |
417 | 569 | .MAKE: install-am install-strip |
418 | 570 | |
419 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ | |
420 | clean-generic ctags distclean distclean-compile \ | |
421 | distclean-generic distclean-tags distdir dvi dvi-am html \ | |
422 | html-am info info-am install install-am install-binPROGRAMS \ | |
423 | install-data install-data-am install-dvi install-dvi-am \ | |
424 | install-exec install-exec-am install-html install-html-am \ | |
425 | install-info install-info-am install-man install-pdf \ | |
426 | install-pdf-am install-ps install-ps-am install-strip \ | |
427 | installcheck installcheck-am installdirs maintainer-clean \ | |
428 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | |
429 | mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ | |
430 | uninstall-am uninstall-binPROGRAMS | |
571 | .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ | |
572 | clean-binPROGRAMS clean-generic cscopelist-am ctags ctags-am \ | |
573 | distclean distclean-compile distclean-generic distclean-tags \ | |
574 | distdir dvi dvi-am html html-am info info-am install \ | |
575 | install-am install-binPROGRAMS install-data install-data-am \ | |
576 | install-dvi install-dvi-am install-exec install-exec-am \ | |
577 | install-html install-html-am install-info install-info-am \ | |
578 | install-man install-pdf install-pdf-am install-ps \ | |
579 | install-ps-am install-strip installcheck installcheck-am \ | |
580 | installdirs maintainer-clean maintainer-clean-generic \ | |
581 | mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ | |
582 | ps ps-am tags tags-am uninstall uninstall-am \ | |
583 | uninstall-binPROGRAMS | |
584 | ||
585 | .PRECIOUS: Makefile | |
431 | 586 | |
432 | 587 | |
433 | 588 | #SUBDIRS = mixer |
589 | ||
434 | 590 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
435 | 591 | # Otherwise a system limit (for SysV at least) may be exceeded. |
436 | 592 | .NOEXPORT: |
18 | 18 | Cecilienstr. 14 |
19 | 19 | 12307 Berlin |
20 | 20 | GERMANY |
21 | karlb@gmx.net | |
21 | karl42@gmail.com | |
22 | 22 | */ |
23 | 23 | #include <stdio.h> |
24 | 24 | #include <stdlib.h> |
213 | 213 | user[p2].yspeed -= delta2_y; |
214 | 214 | } |
215 | 215 | |
216 | int extra_pressed(int pl) { | |
217 | return ( | |
218 | (keys[user[pl].extra] == SDL_PRESSED) || | |
219 | (playernum == 1 && ( | |
220 | // if single player, any ctrl-key will do | |
221 | (keys[user[0].extra] == SDL_PRESSED) || | |
222 | (keys[user[1].extra] == SDL_PRESSED) | |
223 | )) | |
224 | ); | |
225 | } | |
226 | ||
216 | 227 | void kollision() //calcualtes all collisions |
217 | 228 | { |
218 | 229 | Uint8 x,y,x2,y2,sticky; |
219 | 230 | SDL_Rect reblit_back; |
220 | if (( keys[user[pl].extra] == SDL_PRESSED )&&(user[pl].sticky_possible)) sticky=1; else sticky=0; | |
231 | ||
232 | if (extra_pressed(pl) && user[pl].sticky_possible) { | |
233 | sticky = 1; | |
234 | } else { | |
235 | sticky = 0; | |
236 | } | |
221 | 237 | |
222 | 238 | // handle collisions with other players |
223 | 239 | // TODO: does this belong here? |
391 | 407 | if ( keys[user[pl].left] == SDL_PRESSED ) { |
392 | 408 | user[pl].turn-=turn_speed; |
393 | 409 | } |
394 | if (( keys[user[pl].extra] == SDL_PRESSED )&&(user[pl].turbo_possible)) { | |
410 | if (extra_pressed(pl) && user[pl].turbo_possible) { | |
395 | 411 | thrust(turbo); |
396 | 412 | } |
397 | 413 | user[pl].realx=user[pl].realx+user[pl].xspeed/accel_speed; |
883 | 899 | puts(" [-f | --fullscreen] start in fullscreen mode (default)"); |
884 | 900 | puts(" [-w,| --windowed] start in windowed mode"); |
885 | 901 | puts(" [-s,| --nosound] start without sound"); |
886 | puts(" [-n,| --notfinal] no title screen (nice for develolopers)"); | |
887 | puts(" [-t,| --noparticles] turns of paticles. good for slow computers."); | |
888 | puts(" [-o,| --nofadeout] no fadeout after crash (for slow coputers)"); | |
889 | puts(" [ --precision] sets the precison of the collisions (default=10)"); | |
902 | puts(" [-n,| --notfinal] no title screen (nice for developers)"); | |
903 | puts(" [-t,| --noparticles] turns of particles. good for slow computers."); | |
904 | puts(" [-o,| --nofadeout] no fadeout after crash (for slow computers)"); | |
905 | puts(" [ --precision] sets the precision of the collisions (default=10)"); | |
890 | 906 | puts(" [-h,| --help] this text\n"); |
891 | 907 | |
892 | 908 | exit(0); |
1120 | 1136 | { |
1121 | 1137 | if ( SDL_Init(SDL_INIT_AUDIO) < 0 ) {ComplainAndExit();} |
1122 | 1138 | if (sound) { |
1123 | sprintf(text,"%s/sound/lizard.mod",DATAPATH); | |
1139 | sprintf(text,"%s/sound/Flying_me_softly.ogg",DATAPATH); | |
1124 | 1140 | music = Mix_LoadMUS(text); |
1125 | 1141 | if (music==NULL) { |
1126 | 1142 | printf("COULD NOT LOAD MUSIC\n"); |
1127 | 1143 | } |
1128 | sprintf(text,"%s/sound/%s",DATAPATH,"explode.wav"); | |
1144 | sprintf(text,"%s/sound/%s",DATAPATH,"explosion1.ogg"); | |
1129 | 1145 | explode_sound = Mix_LoadWAV_RW(SDL_RWFromFile(text, "rb"), 1); |
1130 | sprintf(text,"%s/sound/%s",DATAPATH,"winlevel.wav"); | |
1146 | sprintf(text,"%s/sound/%s",DATAPATH,"Picked_Coin_Echo_2.ogg"); | |
1131 | 1147 | winlevel_sound = Mix_LoadWAV_RW(SDL_RWFromFile(text, "rb"), 1); |
1132 | sprintf(text,"%s/sound/%s",DATAPATH,"whoosh.wav"); | |
1148 | sprintf(text,"%s/sound/%s",DATAPATH,"Menu_Select_01.ogg"); | |
1133 | 1149 | teleport_sound = Mix_LoadWAV_RW(SDL_RWFromFile(text, "rb"), 1); |
1134 | 1150 | } |
1135 | 1151 | } |
1204 | 1220 | else break; |
1205 | 1221 | } |
1206 | 1222 | } |
1207 | printf("** Racer selcted **\n"); | |
1223 | printf("** Racer selected **\n"); | |
1208 | 1224 | for (pl=0;pl<playernum;pl++) load_racer(); |
1209 | 1225 | printf("** Racer data loaded **\n"); |
1210 | 1226 | // set racer abilities |
42 | 42 | PutString(Screen, 80, 525, "Time bonus"); |
43 | 43 | |
44 | 44 | PutString(Screen, 350, 165, "Code:"); |
45 | PutString(Screen, 350, 180, "Karl Bartel (main code) <karlb@gmx.net>"); | |
45 | PutString(Screen, 350, 180, "Karl Bartel (main code) <karl42@gmail.com>"); | |
46 | 46 | PutString(Screen, 350, 195, "Lion Kimbro (particles) <SnowLion@sprynet.com>"); |
47 | 47 | PutString(Screen, 350, 220, "Graphics:"); |
48 | 48 | PutString(Screen, 350, 235, "Karl Bartel"); |
49 | 49 | PutString(Screen, 500, 220, "Background:"); |
50 | PutString(Screen, 500, 235, "tozzie (www.tozzie-designs.com)"); | |
50 | PutString(Screen, 500, 235, "Sweetie187"); | |
51 | 51 | |
52 | 52 | PutString(Screen, 350, 265, "Packaging:"); |
53 | 53 | PutString(Screen, 350, 280, "Christian T. Steigies (debian)"), |
54 | 54 | |
55 | 55 | PutString(Screen, 350, 305, "Music:"); |
56 | PutString(Screen, 350, 320, "The Lizard King (www.itv.se/~a1055/frames.html)"); | |
56 | PutString(Screen, 350, 320, "Alexandr Zhelanov"); | |
57 | PutString(Screen, 350, 335, "(soundcloud.com/alexandr-zhelanov)"); | |
57 | 58 | |
58 | 59 | PutString(Screen, 350, 365, "Sound Effects:"); |
59 | PutString(Screen, 350, 380, "grabbed from ClanBomber"); | |
60 | PutString(Screen, 350, 380, "Retimer, NenadSimic, Little Robot Sound Factory"); | |
60 | 61 | PutString(Screen, 350, 405, "Levels:"); |
61 | 62 | PutString(Screen, 350, 420, "Karl Bartel"); |
62 | 63 | PutString(Screen, 350, 435, "Stephan <emailme@enthralling.com>"); |