Codebase list bumprace / ecd4e73
Import Upstream version 1.5.3 Christian T. Steigies 5 years ago
21 changed file(s) with 7382 addition(s) and 3434 deletion(s). Raw diff Collapse all Expand all
0 ----------------------------------< CREDITS >-----------------------------------
0 ====== CODE ======
11
22 Graphics and code by KARL BARTEL:
33 E-mail: karlb@gmx.net
66 Particle code, ideas and other support by LION KIMBRO:
77 E-mail: SnowLion@sprynet.com
88
9 The music was written by THE LIZARD KING
10 E-mail: gustaf.grefberg@pp.itv.se
11 Homepage: http://www.itv.se/~a1055/frames.html
12
139 Some levels by STEPHAN:
1410 E-mail: emailme@enthralling.com
1511 Second level set by MEHDI YOUSFI-MONOD
1612 E-mail: tuxmym@gmail.com
1713
14 ====== ARTWORK ======
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
21
1822 Background image by TOZZIE:
1923 Homepage: http://www.tozzie-designs.com/
24 Files: back2.jpg
25 License: free to use, modify and redistribute
26
27 Sound effects:
28 Copied from an old version of the game Clanbomber
29 Files: explode.wav whoosh.wav winlevel.wav
30 License: GPL
0 Version 1.5.3
1 -fixed keyboard input after crash/timeout combination (thanks Bas Wijnen)
2 -added more info to AUTHORS file
3
04 Version 1.5.2
15 -new background picture (thanks tozzie!)
26 -players collide in two player mode (thanks Christoph Sommer)
0 Installation Instructions
1 *************************
2
3 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
4 2006 Free Software Foundation, Inc.
5
6 This file is free documentation; the Free Software Foundation gives
7 unlimited permission to copy, distribute and modify it.
8
09 Basic Installation
110 ==================
211
3 These are generic installation instructions.
12 Briefly, the shell commands `./configure; make; make install' should
13 configure, build, and install this package. The following
14 more-detailed instructions are generic; see the `README' file for
15 instructions specific to this package.
416
517 The `configure' shell script attempts to guess correct values for
618 various system-dependent variables used during compilation. It uses
719 those values to create a `Makefile' in each directory of the package.
820 It may also create one or more `.h' files containing system-dependent
921 definitions. Finally, it creates a shell script `config.status' that
10 you can run in the future to recreate the current configuration, a file
11 `config.cache' that saves the results of its tests to speed up
12 reconfiguring, and a file `config.log' containing compiler output
13 (useful mainly for debugging `configure').
22 you can run in the future to recreate the current configuration, and a
23 file `config.log' containing compiler output (useful mainly for
24 debugging `configure').
25
26 It can also use an optional file (typically called `config.cache'
27 and enabled with `--cache-file=config.cache' or simply `-C') that saves
28 the results of its tests to speed up reconfiguring. Caching is
29 disabled by default to prevent problems with accidental use of stale
30 cache files.
1431
1532 If you need to do unusual things to compile the package, please try
1633 to figure out how `configure' could check whether to do them, and mail
1734 diffs or instructions to the address given in the `README' so they can
18 be considered for the next release. If at some point `config.cache'
19 contains results you don't want to keep, you may remove or edit it.
20
21 The file `configure.in' is used to create `configure' by a program
22 called `autoconf'. You only need `configure.in' if you want to change
23 it or regenerate `configure' using a newer version of `autoconf'.
35 be considered for the next release. If you are using the cache, and at
36 some point `config.cache' contains results you don't want to keep, you
37 may remove or edit it.
38
39 The file `configure.ac' (or `configure.in') is used to create
40 `configure' by a program called `autoconf'. You need `configure.ac' if
41 you want to change it or regenerate `configure' using a newer version
42 of `autoconf'.
2443
2544 The simplest way to compile this package is:
2645
2746 1. `cd' to the directory containing the package's source code and type
28 `./configure' to configure the package for your system. If you're
29 using `csh' on an old version of System V, you might need to type
30 `sh ./configure' instead to prevent `csh' from trying to execute
31 `configure' itself.
32
33 Running `configure' takes awhile. While running, it prints some
34 messages telling which features it is checking for.
47 `./configure' to configure the package for your system.
48
49 Running `configure' might take a while. While running, it prints
50 some messages telling which features it is checking for.
3551
3652 2. Type `make' to compile the package.
3753
5369 Compilers and Options
5470 =====================
5571
56 Some systems require unusual options for compilation or linking that
57 the `configure' script does not know about. You can give `configure'
58 initial values for variables by setting them in the environment. Using
59 a Bourne-compatible shell, you can do that on the command line like
60 this:
61 CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
62
63 Or on systems that have the `env' program, you can do it like this:
64 env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
72 Some systems require unusual options for compilation or linking that the
73 `configure' script does not know about. Run `./configure --help' for
74 details on some of the pertinent environment variables.
75
76 You can give `configure' initial values for configuration parameters
77 by setting variables in the command line or in the environment. Here
78 is an example:
79
80 ./configure CC=c99 CFLAGS=-g LIBS=-lposix
81
82 *Note Defining Variables::, for more details.
6583
6684 Compiling For Multiple Architectures
6785 ====================================
6886
69 You can compile the package for more than one kind of computer at the
87 You can compile the package for more than one kind of computer at the
7088 same time, by placing the object files for each architecture in their
71 own directory. To do this, you must use a version of `make' that
72 supports the `VPATH' variable, such as GNU `make'. `cd' to the
89 own directory. To do this, you can use GNU `make'. `cd' to the
7390 directory where you want the object files and executables to go and run
7491 the `configure' script. `configure' automatically checks for the
7592 source code in the directory that `configure' is in and in `..'.
7693
77 If you have to use a `make' that does not supports the `VPATH'
78 variable, you have to compile the package for one architecture at a time
79 in the source code directory. After you have installed the package for
80 one architecture, use `make distclean' before reconfiguring for another
81 architecture.
94 With a non-GNU `make', it is safer to compile the package for one
95 architecture at a time in the source code directory. After you have
96 installed the package for one architecture, use `make distclean' before
97 reconfiguring for another architecture.
8298
8399 Installation Names
84100 ==================
85101
86 By default, `make install' will install the package's files in
87 `/usr/local/bin', `/usr/local/man', etc. You can specify an
88 installation prefix other than `/usr/local' by giving `configure' the
89 option `--prefix=PATH'.
102 By default, `make install' installs the package's commands under
103 `/usr/local/bin', include files under `/usr/local/include', etc. You
104 can specify an installation prefix other than `/usr/local' by giving
105 `configure' the option `--prefix=PREFIX'.
90106
91107 You can specify separate installation prefixes for
92108 architecture-specific files and architecture-independent files. If you
93 give `configure' the option `--exec-prefix=PATH', the package will use
94 PATH as the prefix for installing programs and libraries.
95 Documentation and other data files will still use the regular prefix.
109 pass the option `--exec-prefix=PREFIX' to `configure', the package uses
110 PREFIX as the prefix for installing programs and libraries.
111 Documentation and other data files still use the regular prefix.
96112
97113 In addition, if you use an unusual directory layout you can give
98 options like `--bindir=PATH' to specify different values for particular
114 options like `--bindir=DIR' to specify different values for particular
99115 kinds of files. Run `configure --help' for a list of the directories
100116 you can set and what kinds of files go in them.
101117
106122 Optional Features
107123 =================
108124
109 Some packages pay attention to `--enable-FEATURE' options to
125 Some packages pay attention to `--enable-FEATURE' options to
110126 `configure', where FEATURE indicates an optional part of the package.
111127 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
112128 is something like `gnu-as' or `x' (for the X Window System). The
121137 Specifying the System Type
122138 ==========================
123139
124 There may be some features `configure' can not figure out
125 automatically, but needs to determine by the type of host the package
126 will run on. Usually `configure' can figure that out, but if it prints
127 a message saying it can not guess the host type, give it the
128 `--host=TYPE' option. TYPE can either be a short name for the system
129 type, such as `sun4', or a canonical name with three fields:
140 There may be some features `configure' cannot figure out automatically,
141 but needs to determine by the type of machine the package will run on.
142 Usually, assuming the package is built to be run on the _same_
143 architectures, `configure' can figure that out, but if it prints a
144 message saying it cannot guess the machine type, give it the
145 `--build=TYPE' option. TYPE can either be a short name for the system
146 type, such as `sun4', or a canonical name which has the form:
147
130148 CPU-COMPANY-SYSTEM
131149
132 See the file `config.sub' for the possible values of each field. If
150 where SYSTEM can have one of these forms:
151
152 OS KERNEL-OS
153
154 See the file `config.sub' for the possible values of each field. If
133155 `config.sub' isn't included in this package, then this package doesn't
134 need to know the host type.
135
136 If you are building compiler tools for cross-compiling, you can also
137 use the `--target=TYPE' option to select the type of system they will
138 produce code for and the `--build=TYPE' option to select the type of
139 system on which you are compiling the package.
156 need to know the machine type.
157
158 If you are _building_ compiler tools for cross-compiling, you should
159 use the option `--target=TYPE' to select the type of system they will
160 produce code for.
161
162 If you want to _use_ a cross compiler, that generates code for a
163 platform different from the build platform, you should specify the
164 "host" platform (i.e., that on which the generated programs will
165 eventually be run) with `--host=TYPE'.
140166
141167 Sharing Defaults
142168 ================
143169
144 If you want to set default values for `configure' scripts to share,
145 you can create a site shell script called `config.site' that gives
146 default values for variables like `CC', `cache_file', and `prefix'.
170 If you want to set default values for `configure' scripts to share, you
171 can create a site shell script called `config.site' that gives default
172 values for variables like `CC', `cache_file', and `prefix'.
147173 `configure' looks for `PREFIX/share/config.site' if it exists, then
148174 `PREFIX/etc/config.site' if it exists. Or, you can set the
149175 `CONFIG_SITE' environment variable to the location of the site script.
150176 A warning: not all `configure' scripts look for a site script.
151177
152 Operation Controls
178 Defining Variables
153179 ==================
154180
155 `configure' recognizes the following options to control how it
156 operates.
181 Variables not defined in a site shell script can be set in the
182 environment passed to `configure'. However, some packages may run
183 configure again during the build, and the customized values of these
184 variables may be lost. In order to avoid this problem, you should set
185 them in the `configure' command line, using `VAR=value'. For example:
186
187 ./configure CC=/usr/local2/bin/gcc
188
189 causes the specified `gcc' to be used as the C compiler (unless it is
190 overridden in the site shell script).
191
192 Unfortunately, this technique does not work for `CONFIG_SHELL' due to
193 an Autoconf bug. Until the bug is fixed you can use this workaround:
194
195 CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
196
197 `configure' Invocation
198 ======================
199
200 `configure' recognizes the following options to control how it operates.
201
202 `--help'
203 `-h'
204 Print a summary of the options to `configure', and exit.
205
206 `--version'
207 `-V'
208 Print the version of Autoconf used to generate the `configure'
209 script, and exit.
157210
158211 `--cache-file=FILE'
159 Use and save the results of the tests in FILE instead of
160 `./config.cache'. Set FILE to `/dev/null' to disable caching, for
161 debugging `configure'.
162
163 `--help'
164 Print a summary of the options to `configure', and exit.
212 Enable the cache: use and save the results of the tests in FILE,
213 traditionally `config.cache'. FILE defaults to `/dev/null' to
214 disable caching.
215
216 `--config-cache'
217 `-C'
218 Alias for `--cache-file=config.cache'.
165219
166220 `--quiet'
167221 `--silent'
174228 Look for the package's source code in directory DIR. Usually
175229 `configure' can determine that directory automatically.
176230
177 `--version'
178 Print the version of Autoconf used to generate the `configure'
179 script, and exit.
180
181 `configure' also accepts some other, not widely useful, options.
231 `configure' also accepts some other, not widely useful, options. Run
232 `configure --help' for more details.
233
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
0 # Makefile.in generated by automake 1.10 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
35 # This Makefile.in is free software; the Free Software Foundation
46 # gives unlimited permission to copy and/or distribute it,
57 # with or without modifications, as long as this notice is preserved.
911 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1012 # PARTICULAR PURPOSE.
1113
12
13 SHELL = @SHELL@
14
15 srcdir = @srcdir@
16 top_srcdir = @top_srcdir@
14 @SET_MAKE@
1715 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
3616 pkgdatadir = $(datadir)/@PACKAGE@
3717 pkglibdir = $(libdir)/@PACKAGE@
3818 pkgincludedir = $(includedir)/@PACKAGE@
39
40 top_builddir = .
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
47 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
19 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
20 install_sh_DATA = $(install_sh) -c -m 644
21 install_sh_PROGRAM = $(install_sh) -c
22 install_sh_SCRIPT = $(install_sh) -c
23 INSTALL_HEADER = $(INSTALL_DATA)
24 transform = $(program_transform_name)
5325 NORMAL_INSTALL = :
5426 PRE_INSTALL = :
5527 POST_INSTALL = :
5628 NORMAL_UNINSTALL = :
5729 PRE_UNINSTALL = :
5830 POST_UNINSTALL = :
59 host_alias = @host_alias@
31 build_triplet = @build@
6032 host_triplet = @host@
33 target_triplet = @target@
34 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 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
41 $(top_srcdir)/configure.in
42 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
43 $(ACLOCAL_M4)
44 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
45 configure.lineno config.status.lineno
46 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
47 CONFIG_CLEAN_FILES =
48 SOURCES =
49 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
57 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
58 distclean-recursive maintainer-clean-recursive
59 ETAGS = etags
60 CTAGS = ctags
61 DIST_SUBDIRS = $(SUBDIRS)
62 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
63 top_distdir = $(distdir)
64 am__remove_distdir = \
65 { test ! -d $(distdir) \
66 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
67 && rm -fr $(distdir); }; }
68 DIST_ARCHIVES = $(distdir).tar.gz
69 GZIP_ENV = --best
70 distuninstallcheck_listfiles = find . -type f -print
71 distcleancheck_listfiles = find . -type f -print
72 ACLOCAL = @ACLOCAL@
73 AMTAR = @AMTAR@
74 AUTOCONF = @AUTOCONF@
75 AUTOHEADER = @AUTOHEADER@
76 AUTOMAKE = @AUTOMAKE@
77 AWK = @AWK@
6178 CC = @CC@
79 CCDEPMODE = @CCDEPMODE@
80 CFLAGS = @CFLAGS@
81 CPPFLAGS = @CPPFLAGS@
82 CYGPATH_W = @CYGPATH_W@
83 DEFS = @DEFS@
84 DEPDIR = @DEPDIR@
85 ECHO_C = @ECHO_C@
86 ECHO_N = @ECHO_N@
87 ECHO_T = @ECHO_T@
88 EXEEXT = @EXEEXT@
89 INSTALL = @INSTALL@
90 INSTALL_DATA = @INSTALL_DATA@
91 INSTALL_PROGRAM = @INSTALL_PROGRAM@
92 INSTALL_SCRIPT = @INSTALL_SCRIPT@
93 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
94 LDFLAGS = @LDFLAGS@
95 LIBOBJS = @LIBOBJS@
96 LIBS = @LIBS@
97 LTLIBOBJS = @LTLIBOBJS@
6298 MAKEINFO = @MAKEINFO@
6399 MATHLIB = @MATHLIB@
100 MKDIR_P = @MKDIR_P@
101 OBJEXT = @OBJEXT@
64102 PACKAGE = @PACKAGE@
103 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
104 PACKAGE_NAME = @PACKAGE_NAME@
105 PACKAGE_STRING = @PACKAGE_STRING@
106 PACKAGE_TARNAME = @PACKAGE_TARNAME@
107 PACKAGE_VERSION = @PACKAGE_VERSION@
108 PATH_SEPARATOR = @PATH_SEPARATOR@
65109 RANLIB = @RANLIB@
66110 SDL_CFLAGS = @SDL_CFLAGS@
67111 SDL_CONFIG = @SDL_CONFIG@
68112 SDL_LIBS = @SDL_LIBS@
113 SET_MAKE = @SET_MAKE@
114 SHELL = @SHELL@
115 STRIP = @STRIP@
69116 VERSION = @VERSION@
70
117 abs_builddir = @abs_builddir@
118 abs_srcdir = @abs_srcdir@
119 abs_top_builddir = @abs_top_builddir@
120 abs_top_srcdir = @abs_top_srcdir@
121 ac_ct_CC = @ac_ct_CC@
122 am__include = @am__include@
123 am__leading_dot = @am__leading_dot@
124 am__quote = @am__quote@
125 am__tar = @am__tar@
126 am__untar = @am__untar@
127 bindir = @bindir@
128 build = @build@
129 build_alias = @build_alias@
130 build_cpu = @build_cpu@
131 build_os = @build_os@
132 build_vendor = @build_vendor@
133 builddir = @builddir@
134 datadir = @datadir@
135 datarootdir = @datarootdir@
136 docdir = @docdir@
137 dvidir = @dvidir@
138 exec_prefix = @exec_prefix@
139 host = @host@
140 host_alias = @host_alias@
141 host_cpu = @host_cpu@
142 host_os = @host_os@
143 host_vendor = @host_vendor@
144 htmldir = @htmldir@
145 includedir = @includedir@
146 infodir = @infodir@
147 install_sh = @install_sh@
148 libdir = @libdir@
149 libexecdir = @libexecdir@
150 localedir = @localedir@
151 localstatedir = @localstatedir@
152 mandir = @mandir@
153 mkdir_p = @mkdir_p@
154 oldincludedir = @oldincludedir@
155 pdfdir = @pdfdir@
156 prefix = @prefix@
157 program_transform_name = @program_transform_name@
158 psdir = @psdir@
159 sbindir = @sbindir@
160 sharedstatedir = @sharedstatedir@
161 srcdir = @srcdir@
162 sysconfdir = @sysconfdir@
163 target = @target@
164 target_alias = @target_alias@
165 target_cpu = @target_cpu@
166 target_os = @target_os@
167 target_vendor = @target_vendor@
168 top_builddir = @top_builddir@
169 top_srcdir = @top_srcdir@
71170 SUBDIRS = data src
72
73171 EXTRA_DIST = FAQ macosx
74
75172 distdir = $(PACKAGE)-$(VERSION)
76 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
77 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
78 CONFIG_CLEAN_FILES =
79 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
80 Makefile.in NEWS acinclude.m4 aclocal.m4 config.guess config.sub \
81 configure configure.in install-sh missing mkinstalldirs
82
83
84 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
85
86 TAR = tar
87 GZIP_ENV = --best
88 all: all-redirect
173 all: all-recursive
174
89175 .SUFFIXES:
90 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
91 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
92
93 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
94 cd $(top_builddir) \
95 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
96
97 $(ACLOCAL_M4): configure.in acinclude.m4
98 cd $(srcdir) && $(ACLOCAL)
99
100 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
176 am--refresh:
177 @:
178 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
179 @for dep in $?; do \
180 case '$(am__configure_deps)' in \
181 *$$dep*) \
182 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
183 cd $(srcdir) && $(AUTOMAKE) --gnu \
184 && exit 0; \
185 exit 1;; \
186 esac; \
187 done; \
188 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
189 cd $(top_srcdir) && \
190 $(AUTOMAKE) --gnu Makefile
191 .PRECIOUS: Makefile
192 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
193 @case '$?' in \
194 *config.status*) \
195 echo ' $(SHELL) ./config.status'; \
196 $(SHELL) ./config.status;; \
197 *) \
198 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
199 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
200 esac;
201
202 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
101203 $(SHELL) ./config.status --recheck
102 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
204
205 $(top_srcdir)/configure: $(am__configure_deps)
103206 cd $(srcdir) && $(AUTOCONF)
207 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
208 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
104209
105210 # This directory's subdirectories are mostly independent; you can cd
106211 # into them and run `make' without going through this Makefile.
108213 # (1) if the variable is set in `config.status', edit `config.status'
109214 # (which will cause the Makefiles to be regenerated when you run `make');
110215 # (2) otherwise, pass the desired values on the `make' command line.
111
112 @SET_MAKE@
113
114 all-recursive install-data-recursive install-exec-recursive \
115 installdirs-recursive install-recursive uninstall-recursive \
116 check-recursive installcheck-recursive info-recursive dvi-recursive:
117 @set fnord $(MAKEFLAGS); amf=$$2; \
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; \
118224 dot_seen=no; \
119225 target=`echo $@ | sed s/-recursive//`; \
120226 list='$(SUBDIRS)'; for subdir in $$list; do \
126232 local_target="$$target"; \
127233 fi; \
128234 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
129 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
235 || eval $$failcom; \
130236 done; \
131237 if test "$$dot_seen" = "no"; then \
132238 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
133239 fi; test -z "$$fail"
134240
135 mostlyclean-recursive clean-recursive distclean-recursive \
136 maintainer-clean-recursive:
137 @set fnord $(MAKEFLAGS); amf=$$2; \
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; \
138249 dot_seen=no; \
139 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
140 rev="$$subdir $$rev"; \
141 test "$$subdir" != "." || dot_seen=yes; \
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; \
142258 done; \
143 test "$$dot_seen" = "no" && rev=". $$rev"; \
259 rev="$$rev ."; \
144260 target=`echo $@ | sed s/-recursive//`; \
145261 for subdir in $$rev; do \
146262 echo "Making $$target in $$subdir"; \
150266 local_target="$$target"; \
151267 fi; \
152268 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
153 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
269 || eval $$failcom; \
154270 done && test -z "$$fail"
155271 tags-recursive:
156272 list='$(SUBDIRS)'; for subdir in $$list; do \
157273 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
158274 done
159
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; } \
286 END { for (i in files) print i; }'`; \
287 mkid -fID $$unique
160288 tags: TAGS
161289
162 ID: $(HEADERS) $(SOURCES) $(LISP)
163 list='$(SOURCES) $(HEADERS)'; \
164 unique=`for i in $$list; do echo $$i; done | \
165 awk ' { files[$$0] = 1; } \
166 END { for (i in files) print i; }'`; \
167 here=`pwd` && cd $(srcdir) \
168 && mkid -f$$here/ID $$unique $(LISP)
169
170 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
290 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
291 $(TAGS_FILES) $(LISP)
171292 tags=; \
172293 here=`pwd`; \
294 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
295 include_option=--etags-include; \
296 empty_fix=.; \
297 else \
298 include_option=--include; \
299 empty_fix=; \
300 fi; \
173301 list='$(SUBDIRS)'; for subdir in $$list; do \
174 if test "$$subdir" = .; then :; else \
175 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
176 fi; \
302 if test "$$subdir" = .; then :; else \
303 test ! -f $$subdir/TAGS || \
304 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
305 fi; \
177306 done; \
178 list='$(SOURCES) $(HEADERS)'; \
179 unique=`for i in $$list; do echo $$i; done | \
180 awk ' { files[$$0] = 1; } \
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; } \
181312 END { for (i in files) print i; }'`; \
182 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
183 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
184
185 mostlyclean-tags:
186
187 clean-tags:
313 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
314 test -n "$$unique" || unique=$$empty_fix; \
315 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
316 $$tags $$unique; \
317 fi
318 ctags: CTAGS
319 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
320 $(TAGS_FILES) $(LISP)
321 tags=; \
322 here=`pwd`; \
323 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
324 unique=`for i in $$list; do \
325 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
326 done | \
327 $(AWK) ' { files[$$0] = 1; } \
328 END { for (i in files) print i; }'`; \
329 test -z "$(CTAGS_ARGS)$$tags$$unique" \
330 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
331 $$tags $$unique
332
333 GTAGS:
334 here=`$(am__cd) $(top_builddir) && pwd` \
335 && cd $(top_srcdir) \
336 && gtags -i $(GTAGS_ARGS) $$here
188337
189338 distclean-tags:
190 -rm -f TAGS ID
191
192 maintainer-clean-tags:
193 top_distdir = $(distdir)
339 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
340
341 distdir: $(DISTFILES)
342 $(am__remove_distdir)
343 test -d $(distdir) || mkdir $(distdir)
344 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
345 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
346 list='$(DISTFILES)'; \
347 dist_files=`for file in $$list; do echo $$file; done | \
348 sed -e "s|^$$srcdirstrip/||;t" \
349 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
350 case $$dist_files in \
351 */*) $(MKDIR_P) `echo "$$dist_files" | \
352 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
353 sort -u` ;; \
354 esac; \
355 for file in $$dist_files; do \
356 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
357 if test -d $$d/$$file; then \
358 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
359 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
360 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
361 fi; \
362 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
363 else \
364 test -f $(distdir)/$$file \
365 || cp -p $$d/$$file $(distdir)/$$file \
366 || exit 1; \
367 fi; \
368 done
369 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
370 if test "$$subdir" = .; then :; else \
371 test -d "$(distdir)/$$subdir" \
372 || $(MKDIR_P) "$(distdir)/$$subdir" \
373 || exit 1; \
374 distdir=`$(am__cd) $(distdir) && pwd`; \
375 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
376 (cd $$subdir && \
377 $(MAKE) $(AM_MAKEFLAGS) \
378 top_distdir="$$top_distdir" \
379 distdir="$$distdir/$$subdir" \
380 am__remove_distdir=: \
381 am__skip_length_check=: \
382 distdir) \
383 || exit 1; \
384 fi; \
385 done
386 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
387 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
388 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
389 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
390 || chmod -R a+r $(distdir)
391 dist-gzip: distdir
392 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
393 $(am__remove_distdir)
394
395 dist-bzip2: distdir
396 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
397 $(am__remove_distdir)
398
399 dist-tarZ: distdir
400 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
401 $(am__remove_distdir)
402
403 dist-shar: distdir
404 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
405 $(am__remove_distdir)
406
407 dist-zip: distdir
408 -rm -f $(distdir).zip
409 zip -rq $(distdir).zip $(distdir)
410 $(am__remove_distdir)
411
412 dist dist-all: distdir
413 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
414 $(am__remove_distdir)
194415
195416 # This target untars the dist file and tries a VPATH configuration. Then
196417 # it guarantees that the distribution is self-contained by making another
197418 # tarfile.
198419 distcheck: dist
199 -rm -rf $(distdir)
200 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
201 mkdir $(distdir)/=build
202 mkdir $(distdir)/=inst
203 dc_install_base=`cd $(distdir)/=inst && pwd`; \
204 cd $(distdir)/=build \
205 && ../configure --srcdir=.. --prefix=$$dc_install_base \
420 case '$(DIST_ARCHIVES)' in \
421 *.tar.gz*) \
422 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
423 *.tar.bz2*) \
424 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
425 *.tar.Z*) \
426 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
427 *.shar.gz*) \
428 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
429 *.zip*) \
430 unzip $(distdir).zip ;;\
431 esac
432 chmod -R a-w $(distdir); chmod a+w $(distdir)
433 mkdir $(distdir)/_build
434 mkdir $(distdir)/_inst
435 chmod a-w $(distdir)
436 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
437 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
438 && cd $(distdir)/_build \
439 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
440 $(DISTCHECK_CONFIGURE_FLAGS) \
206441 && $(MAKE) $(AM_MAKEFLAGS) \
207442 && $(MAKE) $(AM_MAKEFLAGS) dvi \
208443 && $(MAKE) $(AM_MAKEFLAGS) check \
209444 && $(MAKE) $(AM_MAKEFLAGS) install \
210445 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
211 && $(MAKE) $(AM_MAKEFLAGS) dist
212 -rm -rf $(distdir)
213 @banner="$(distdir).tar.gz is ready for distribution"; \
214 dashes=`echo "$$banner" | sed s/./=/g`; \
215 echo "$$dashes"; \
216 echo "$$banner"; \
217 echo "$$dashes"
218 dist: distdir
219 -chmod -R a+r $(distdir)
220 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
221 -rm -rf $(distdir)
222 dist-all: distdir
223 -chmod -R a+r $(distdir)
224 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
225 -rm -rf $(distdir)
226 distdir: $(DISTFILES)
227 -rm -rf $(distdir)
228 mkdir $(distdir)
229 -chmod 777 $(distdir)
230 @for file in $(DISTFILES); do \
231 d=$(srcdir); \
232 if test -d $$d/$$file; then \
233 cp -pr $$d/$$file $(distdir)/$$file; \
234 else \
235 test -f $(distdir)/$$file \
236 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
237 || cp -p $$d/$$file $(distdir)/$$file || :; \
238 fi; \
239 done
240 for subdir in $(SUBDIRS); do \
241 if test "$$subdir" = .; then :; else \
242 test -d $(distdir)/$$subdir \
243 || mkdir $(distdir)/$$subdir \
244 || exit 1; \
245 chmod 777 $(distdir)/$$subdir; \
246 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
247 || exit 1; \
248 fi; \
249 done
250 info-am:
251 info: info-recursive
252 dvi-am:
253 dvi: dvi-recursive
446 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
447 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
448 distuninstallcheck \
449 && chmod -R a-w "$$dc_install_base" \
450 && ({ \
451 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
452 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
453 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
454 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
455 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
456 } || { rm -rf "$$dc_destdir"; exit 1; }) \
457 && rm -rf "$$dc_destdir" \
458 && $(MAKE) $(AM_MAKEFLAGS) dist \
459 && rm -rf $(DIST_ARCHIVES) \
460 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
461 $(am__remove_distdir)
462 @(echo "$(distdir) archives ready for distribution: "; \
463 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
464 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
465 distuninstallcheck:
466 @cd $(distuninstallcheck_dir) \
467 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
468 || { echo "ERROR: files left after uninstall:" ; \
469 if test -n "$(DESTDIR)"; then \
470 echo " (check DESTDIR support)"; \
471 fi ; \
472 $(distuninstallcheck_listfiles) ; \
473 exit 1; } >&2
474 distcleancheck: distclean
475 @if test '$(srcdir)' = . ; then \
476 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
477 exit 1 ; \
478 fi
479 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
480 || { echo "ERROR: files left in build directory after distclean:" ; \
481 $(distcleancheck_listfiles) ; \
482 exit 1; } >&2
254483 check-am: all-am
255484 check: check-recursive
256 installcheck-am:
257 installcheck: installcheck-recursive
258 install-exec-am:
485 all-am: Makefile
486 installdirs: installdirs-recursive
487 installdirs-am:
488 install: install-recursive
259489 install-exec: install-exec-recursive
260
261 install-data-am:
262490 install-data: install-data-recursive
491 uninstall: uninstall-recursive
263492
264493 install-am: all-am
265494 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
266 install: install-recursive
495
496 installcheck: installcheck-recursive
497 install-strip:
498 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
499 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
500 `test -z '$(STRIP)' || \
501 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
502 mostlyclean-generic:
503
504 clean-generic:
505
506 distclean-generic:
507 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
508
509 maintainer-clean-generic:
510 @echo "This command is intended for maintainers to use"
511 @echo "it deletes files that may require special tools to rebuild."
512 clean: clean-recursive
513
514 clean-am: clean-generic mostlyclean-am
515
516 distclean: distclean-recursive
517 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
518 -rm -f Makefile
519 distclean-am: clean-am distclean-generic distclean-tags
520
521 dvi: dvi-recursive
522
523 dvi-am:
524
525 html: html-recursive
526
527 info: info-recursive
528
529 info-am:
530
531 install-data-am:
532
533 install-dvi: install-dvi-recursive
534
535 install-exec-am:
536
537 install-html: install-html-recursive
538
539 install-info: install-info-recursive
540
541 install-man:
542
543 install-pdf: install-pdf-recursive
544
545 install-ps: install-ps-recursive
546
547 installcheck-am:
548
549 maintainer-clean: maintainer-clean-recursive
550 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
551 -rm -rf $(top_srcdir)/autom4te.cache
552 -rm -f Makefile
553 maintainer-clean-am: distclean-am maintainer-clean-generic
554
555 mostlyclean: mostlyclean-recursive
556
557 mostlyclean-am: mostlyclean-generic
558
559 pdf: pdf-recursive
560
561 pdf-am:
562
563 ps: ps-recursive
564
565 ps-am:
566
267567 uninstall-am:
268 uninstall: uninstall-recursive
269 all-am: Makefile
270 all-redirect: all-recursive
271 install-strip:
272 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
273 installdirs: installdirs-recursive
274 installdirs-am:
275
276
277 mostlyclean-generic:
278
279 clean-generic:
280
281 distclean-generic:
282 -rm -f Makefile $(CONFIG_CLEAN_FILES)
283 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
284
285 maintainer-clean-generic:
286 mostlyclean-am: mostlyclean-tags mostlyclean-generic
287
288 mostlyclean: mostlyclean-recursive
289
290 clean-am: clean-tags clean-generic mostlyclean-am
291
292 clean: clean-recursive
293
294 distclean-am: distclean-tags distclean-generic clean-am
295
296 distclean: distclean-recursive
297 -rm -f config.status
298
299 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
300 distclean-am
301 @echo "This command is intended for maintainers to use;"
302 @echo "it deletes files that may require special tools to rebuild."
303
304 maintainer-clean: maintainer-clean-recursive
305 -rm -f config.status
306
307 .PHONY: install-data-recursive uninstall-data-recursive \
308 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
309 uninstalldirs-recursive all-recursive check-recursive \
310 installcheck-recursive info-recursive dvi-recursive \
311 mostlyclean-recursive distclean-recursive clean-recursive \
312 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
313 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
314 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
315 install-exec install-data-am install-data install-am install \
316 uninstall-am uninstall all-redirect all-am all installdirs-am \
317 installdirs mostlyclean-generic distclean-generic clean-generic \
318 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
319
568
569 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
570 install-strip
571
572 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
573 all all-am am--refresh check check-am clean clean-generic \
574 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
575 dist-shar dist-tarZ dist-zip distcheck distclean \
576 distclean-generic distclean-tags distcleancheck distdir \
577 distuninstallcheck dvi dvi-am html html-am info info-am \
578 install install-am install-data install-data-am install-dvi \
579 install-dvi-am install-exec install-exec-am install-html \
580 install-html-am install-info install-info-am install-man \
581 install-pdf install-pdf-am install-ps install-ps-am \
582 install-strip installcheck installcheck-am installdirs \
583 installdirs-am maintainer-clean maintainer-clean-generic \
584 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
585 tags-recursive uninstall uninstall-am
320586
321587 # Tell versions [3.59,3.63) of GNU make to not export all variables.
322588 # Otherwise a system limit (for SysV at least) may be exceeded.
0 dnl aclocal.m4 generated automatically by aclocal 1.4-p6
1
2 dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
6
7 dnl This program is distributed in the hope that it will be useful,
8 dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
9 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10 dnl PARTICULAR PURPOSE.
11
12 # Configure paths for SDL
13 # Sam Lantinga 9/21/99
14 # stolen from Manish Singh
15 # stolen back from Frank Belew
16 # stolen from Manish Singh
17 # Shamelessly stolen from Owen Taylor
18
19 dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
20 dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
21 dnl
22 AC_DEFUN(AM_PATH_SDL,
23 [dnl
24 dnl Get the cflags and libraries from the sdl-config script
25 dnl
26 AC_ARG_WITH(sdl-prefix,[ --with-sdl-prefix=PFX Prefix where SDL is installed (optional)],
27 sdl_prefix="$withval", sdl_prefix="")
28 AC_ARG_WITH(sdl-exec-prefix,[ --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)],
29 sdl_exec_prefix="$withval", sdl_exec_prefix="")
30 AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run a test SDL program],
31 , enable_sdltest=yes)
32
33 if test x$sdl_exec_prefix != x ; then
34 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
35 if test x${SDL_CONFIG+set} != xset ; then
36 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
37 fi
38 fi
39 if test x$sdl_prefix != x ; then
40 sdl_args="$sdl_args --prefix=$sdl_prefix"
41 if test x${SDL_CONFIG+set} != xset ; then
42 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43 fi
44 fi
45
46 AC_REQUIRE([AC_CANONICAL_TARGET])
47 AC_PATH_PROG(SDL_CONFIG, sdl-config, no)
48 min_sdl_version=ifelse([$1], ,0.11.0,$1)
49 AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
50 no_sdl=""
51 if test "$SDL_CONFIG" = "no" ; then
52 no_sdl=yes
53 else
54 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
55 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
56
57 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
58 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
59 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
60 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
61 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
62 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
63 if test "x$enable_sdltest" = "xyes" ; then
64 ac_save_CFLAGS="$CFLAGS"
65 ac_save_LIBS="$LIBS"
66 CFLAGS="$CFLAGS $SDL_CFLAGS"
67 LIBS="$LIBS $SDL_LIBS"
68 dnl
69 dnl Now check if the installed SDL is sufficiently new. (Also sanity
70 dnl checks the results of sdl-config to some extent
71 dnl
72 rm -f conf.sdltest
73 AC_TRY_RUN([
74 #include <stdio.h>
75 #include <stdlib.h>
76 #include <string.h>
77 #include "SDL.h"
78
79 char*
80 my_strdup (char *str)
81 {
82 char *new_str;
83
84 if (str)
85 {
86 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
87 strcpy (new_str, str);
88 }
89 else
90 new_str = NULL;
91
92 return new_str;
93 }
94
95 int main (int argc, char *argv[])
96 {
97 int major, minor, micro;
98 char *tmp_version;
99
100 /* This hangs on some systems (?)
101 system ("touch conf.sdltest");
102 */
103 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
104
105 /* HP/UX 9 (%@#!) writes to sscanf strings */
106 tmp_version = my_strdup("$min_sdl_version");
107 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
108 printf("%s, bad version string\n", "$min_sdl_version");
109 exit(1);
110 }
111
112 if (($sdl_major_version > major) ||
113 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
114 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
115 {
116 return 0;
117 }
118 else
119 {
120 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
121 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
122 printf("*** best to upgrade to the required version.\n");
123 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
124 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
125 printf("*** config.cache before re-running configure\n");
126 return 1;
127 }
128 }
129
130 ],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
131 CFLAGS="$ac_save_CFLAGS"
132 LIBS="$ac_save_LIBS"
133 fi
134 fi
135 if test "x$no_sdl" = x ; then
136 AC_MSG_RESULT(yes)
137 ifelse([$2], , :, [$2])
138 else
139 AC_MSG_RESULT(no)
140 if test "$SDL_CONFIG" = "no" ; then
141 echo "*** The sdl-config script installed by SDL could not be found"
142 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
143 echo "*** your path, or set the SDL_CONFIG environment variable to the"
144 echo "*** full path to sdl-config."
145 else
146 if test -f conf.sdltest ; then
147 :
148 else
149 echo "*** Could not run SDL test program, checking why..."
150 CFLAGS="$CFLAGS $SDL_CFLAGS"
151 LIBS="$LIBS $SDL_LIBS"
152 AC_TRY_LINK([
153 #include <stdio.h>
154 #include "SDL.h"
155
156 int main(int argc, char *argv[])
157 { return 0; }
158 #undef main
159 #define main K_and_R_C_main
160 ], [ return 0; ],
161 [ echo "*** The test program compiled, but did not run. This usually means"
162 echo "*** that the run-time linker is not finding SDL or finding the wrong"
163 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
164 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
165 echo "*** to the installed location Also, make sure you have run ldconfig if that"
166 echo "*** is required on your system"
167 echo "***"
168 echo "*** If you have an old version installed, it is best to remove it, although"
169 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
170 [ echo "*** The test program failed to compile or link. See the file config.log for the"
171 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
172 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
173 echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ])
174 CFLAGS="$ac_save_CFLAGS"
175 LIBS="$ac_save_LIBS"
176 fi
177 fi
178 SDL_CFLAGS=""
179 SDL_LIBS=""
180 ifelse([$3], , :, [$3])
181 fi
182 AC_SUBST(SDL_CFLAGS)
183 AC_SUBST(SDL_LIBS)
184 rm -f conf.sdltest
185 ])
186
187 # Do all the work for Automake. This macro actually does too much --
188 # some checks are only needed if your package does certain things.
189 # But this isn't really a big deal.
190
191 # serial 1
192
193 dnl Usage:
194 dnl AM_INIT_AUTOMAKE(package,version, [no-define])
195
196 AC_DEFUN([AM_INIT_AUTOMAKE],
197 [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
198 AC_REQUIRE([AC_PROG_INSTALL])
199 PACKAGE=[$1]
200 AC_SUBST(PACKAGE)
201 VERSION=[$2]
202 AC_SUBST(VERSION)
203 dnl test to see if srcdir already configured
204 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
205 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
206 fi
207 ifelse([$3],,
208 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
209 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
210 AC_REQUIRE([AM_SANITY_CHECK])
211 AC_REQUIRE([AC_ARG_PROGRAM])
212 dnl FIXME This is truly gross.
213 missing_dir=`cd $ac_aux_dir && pwd`
214 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir)
215 AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
216 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir)
217 AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
218 AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
219 AC_REQUIRE([AC_PROG_MAKE_SET])])
220
221 # Copyright 2002 Free Software Foundation, Inc.
222
223 # This program is free software; you can redistribute it and/or modify
224 # it under the terms of the GNU General Public License as published by
225 # the Free Software Foundation; either version 2, or (at your option)
226 # any later version.
0 # generated automatically by aclocal 1.10 -*- Autoconf -*-
1
2 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 # 2005, 2006 Free Software Foundation, Inc.
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
2277
2288 # This program is distributed in the hope that it will be useful,
229 # but WITHOUT ANY WARRANTY; without even the implied warranty of
230 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
231 # GNU General Public License for more details.
232
233 # You should have received a copy of the GNU General Public License
234 # along with this program; if not, write to the Free Software
235 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13 m4_if(m4_PACKAGE_VERSION, [2.61],,
14 [m4_fatal([this file was generated for autoconf 2.61.
15 You have another version of autoconf. If you want to use that,
16 you should regenerate the build system entirely.], [63])])
17
18 # Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
19 #
20 # This file is free software; the Free Software Foundation
21 # gives unlimited permission to copy and/or distribute it,
22 # with or without modifications, as long as this notice is preserved.
23623
23724 # AM_AUTOMAKE_VERSION(VERSION)
23825 # ----------------------------
23926 # Automake X.Y traces this macro to ensure aclocal.m4 has been
24027 # generated from the m4 files accompanying Automake X.Y.
241 AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"])
28 # (This private macro should not be called outside this file.)
29 AC_DEFUN([AM_AUTOMAKE_VERSION],
30 [am__api_version='1.10'
31 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
32 dnl require some minimum version. Point them to the right macro.
33 m4_if([$1], [1.10], [],
34 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
35 ])
36
37 # _AM_AUTOCONF_VERSION(VERSION)
38 # -----------------------------
39 # aclocal traces this macro to find the Autoconf version.
40 # This is a private macro too. Using m4_define simplifies
41 # the logic in aclocal, which can simply ignore this definition.
42 m4_define([_AM_AUTOCONF_VERSION], [])
24243
24344 # AM_SET_CURRENT_AUTOMAKE_VERSION
24445 # -------------------------------
245 # Call AM_AUTOMAKE_VERSION so it can be traced.
46 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
24647 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
24748 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
248 [AM_AUTOMAKE_VERSION([1.4-p6])])
249
250 #
251 # Check to make sure that the build environment is sane.
252 #
253
49 [AM_AUTOMAKE_VERSION([1.10])dnl
50 _AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
51
52 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
53
54 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
55 #
56 # This file is free software; the Free Software Foundation
57 # gives unlimited permission to copy and/or distribute it,
58 # with or without modifications, as long as this notice is preserved.
59
60 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
61 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
62 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
63 #
64 # Of course, Automake must honor this variable whenever it calls a
65 # tool from the auxiliary directory. The problem is that $srcdir (and
66 # therefore $ac_aux_dir as well) can be either absolute or relative,
67 # depending on how configure is run. This is pretty annoying, since
68 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
69 # source directory, any form will work fine, but in subdirectories a
70 # relative path needs to be adjusted first.
71 #
72 # $ac_aux_dir/missing
73 # fails when called from a subdirectory if $ac_aux_dir is relative
74 # $top_srcdir/$ac_aux_dir/missing
75 # fails if $ac_aux_dir is absolute,
76 # fails when called from a subdirectory in a VPATH build with
77 # a relative $ac_aux_dir
78 #
79 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
80 # are both prefixed by $srcdir. In an in-source build this is usually
81 # harmless because $srcdir is `.', but things will broke when you
82 # start a VPATH build or use an absolute $srcdir.
83 #
84 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
85 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
86 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
87 # and then we would define $MISSING as
88 # MISSING="\${SHELL} $am_aux_dir/missing"
89 # This will work as long as MISSING is not called from configure, because
90 # unfortunately $(top_srcdir) has no meaning in configure.
91 # However there are other variables, like CC, which are often used in
92 # configure, and could therefore not use this "fixed" $ac_aux_dir.
93 #
94 # Another solution, used here, is to always expand $ac_aux_dir to an
95 # absolute PATH. The drawback is that using absolute paths prevent a
96 # configured tree to be moved without reconfiguration.
97
98 AC_DEFUN([AM_AUX_DIR_EXPAND],
99 [dnl Rely on autoconf to set up CDPATH properly.
100 AC_PREREQ([2.50])dnl
101 # expand $ac_aux_dir to an absolute path
102 am_aux_dir=`cd $ac_aux_dir && pwd`
103 ])
104
105 # AM_CONDITIONAL -*- Autoconf -*-
106
107 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
108 # Free Software Foundation, Inc.
109 #
110 # This file is free software; the Free Software Foundation
111 # gives unlimited permission to copy and/or distribute it,
112 # with or without modifications, as long as this notice is preserved.
113
114 # serial 8
115
116 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
117 # -------------------------------------
118 # Define a conditional.
119 AC_DEFUN([AM_CONDITIONAL],
120 [AC_PREREQ(2.52)dnl
121 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
122 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
123 AC_SUBST([$1_TRUE])dnl
124 AC_SUBST([$1_FALSE])dnl
125 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
126 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
127 if $2; then
128 $1_TRUE=
129 $1_FALSE='#'
130 else
131 $1_TRUE='#'
132 $1_FALSE=
133 fi
134 AC_CONFIG_COMMANDS_PRE(
135 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
136 AC_MSG_ERROR([[conditional "$1" was never defined.
137 Usually this means the macro was only invoked conditionally.]])
138 fi])])
139
140 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
141 # Free Software Foundation, Inc.
142 #
143 # This file is free software; the Free Software Foundation
144 # gives unlimited permission to copy and/or distribute it,
145 # with or without modifications, as long as this notice is preserved.
146
147 # serial 9
148
149 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
150 # written in clear, in which case automake, when reading aclocal.m4,
151 # will think it sees a *use*, and therefore will trigger all it's
152 # C support machinery. Also note that it means that autoscan, seeing
153 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
154
155
156 # _AM_DEPENDENCIES(NAME)
157 # ----------------------
158 # See how the compiler implements dependency checking.
159 # NAME is "CC", "CXX", "GCJ", or "OBJC".
160 # We try a few techniques and use that to set a single cache variable.
161 #
162 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
163 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
164 # dependency, and given that the user is not expected to run this macro,
165 # just rely on AC_PROG_CC.
166 AC_DEFUN([_AM_DEPENDENCIES],
167 [AC_REQUIRE([AM_SET_DEPDIR])dnl
168 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
169 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
170 AC_REQUIRE([AM_DEP_TRACK])dnl
171
172 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
173 [$1], CXX, [depcc="$CXX" am_compiler_list=],
174 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
175 [$1], UPC, [depcc="$UPC" am_compiler_list=],
176 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
177 [depcc="$$1" am_compiler_list=])
178
179 AC_CACHE_CHECK([dependency style of $depcc],
180 [am_cv_$1_dependencies_compiler_type],
181 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
182 # We make a subdir and do the tests there. Otherwise we can end up
183 # making bogus files that we don't know about and never remove. For
184 # instance it was reported that on HP-UX the gcc test will end up
185 # making a dummy file named `D' -- because `-MD' means `put the output
186 # in D'.
187 mkdir conftest.dir
188 # Copy depcomp to subdir because otherwise we won't find it if we're
189 # using a relative directory.
190 cp "$am_depcomp" conftest.dir
191 cd conftest.dir
192 # We will build objects and dependencies in a subdirectory because
193 # it helps to detect inapplicable dependency modes. For instance
194 # both Tru64's cc and ICC support -MD to output dependencies as a
195 # side effect of compilation, but ICC will put the dependencies in
196 # the current directory while Tru64 will put them in the object
197 # directory.
198 mkdir sub
199
200 am_cv_$1_dependencies_compiler_type=none
201 if test "$am_compiler_list" = ""; then
202 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
203 fi
204 for depmode in $am_compiler_list; do
205 # Setup a source with many dependencies, because some compilers
206 # like to wrap large dependency lists on column 80 (with \), and
207 # we should not choose a depcomp mode which is confused by this.
208 #
209 # We need to recreate these files for each test, as the compiler may
210 # overwrite some of them when testing with obscure command lines.
211 # This happens at least with the AIX C compiler.
212 : > sub/conftest.c
213 for i in 1 2 3 4 5 6; do
214 echo '#include "conftst'$i'.h"' >> sub/conftest.c
215 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
216 # Solaris 8's {/usr,}/bin/sh.
217 touch sub/conftst$i.h
218 done
219 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
220
221 case $depmode in
222 nosideeffect)
223 # after this tag, mechanisms are not by side-effect, so they'll
224 # only be used when explicitly requested
225 if test "x$enable_dependency_tracking" = xyes; then
226 continue
227 else
228 break
229 fi
230 ;;
231 none) break ;;
232 esac
233 # We check with `-c' and `-o' for the sake of the "dashmstdout"
234 # mode. It turns out that the SunPro C++ compiler does not properly
235 # handle `-M -o', and we need to detect this.
236 if depmode=$depmode \
237 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
238 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
239 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
240 >/dev/null 2>conftest.err &&
241 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
242 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
243 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
244 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
245 # icc doesn't choke on unknown options, it will just issue warnings
246 # or remarks (even with -Werror). So we grep stderr for any message
247 # that says an option was ignored or not supported.
248 # When given -MP, icc 7.0 and 7.1 complain thusly:
249 # icc: Command line warning: ignoring option '-M'; no argument required
250 # The diagnosis changed in icc 8.0:
251 # icc: Command line remark: option '-MP' not supported
252 if (grep 'ignoring option' conftest.err ||
253 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
254 am_cv_$1_dependencies_compiler_type=$depmode
255 break
256 fi
257 fi
258 done
259
260 cd ..
261 rm -rf conftest.dir
262 else
263 am_cv_$1_dependencies_compiler_type=none
264 fi
265 ])
266 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
267 AM_CONDITIONAL([am__fastdep$1], [
268 test "x$enable_dependency_tracking" != xno \
269 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
270 ])
271
272
273 # AM_SET_DEPDIR
274 # -------------
275 # Choose a directory name for dependency files.
276 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
277 AC_DEFUN([AM_SET_DEPDIR],
278 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
279 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
280 ])
281
282
283 # AM_DEP_TRACK
284 # ------------
285 AC_DEFUN([AM_DEP_TRACK],
286 [AC_ARG_ENABLE(dependency-tracking,
287 [ --disable-dependency-tracking speeds up one-time build
288 --enable-dependency-tracking do not reject slow dependency extractors])
289 if test "x$enable_dependency_tracking" != xno; then
290 am_depcomp="$ac_aux_dir/depcomp"
291 AMDEPBACKSLASH='\'
292 fi
293 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
294 AC_SUBST([AMDEPBACKSLASH])dnl
295 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
296 ])
297
298 # Generate code to set up dependency tracking. -*- Autoconf -*-
299
300 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
301 # Free Software Foundation, Inc.
302 #
303 # This file is free software; the Free Software Foundation
304 # gives unlimited permission to copy and/or distribute it,
305 # with or without modifications, as long as this notice is preserved.
306
307 #serial 3
308
309 # _AM_OUTPUT_DEPENDENCY_COMMANDS
310 # ------------------------------
311 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
312 [for mf in $CONFIG_FILES; do
313 # Strip MF so we end up with the name of the file.
314 mf=`echo "$mf" | sed -e 's/:.*$//'`
315 # Check whether this is an Automake generated Makefile or not.
316 # We used to match only the files named `Makefile.in', but
317 # some people rename them; so instead we look at the file content.
318 # Grep'ing the first line is not enough: some people post-process
319 # each Makefile.in and add a new line on top of each file to say so.
320 # Grep'ing the whole file is not good either: AIX grep has a line
321 # limit of 2048, but all sed's we know have understand at least 4000.
322 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
323 dirpart=`AS_DIRNAME("$mf")`
324 else
325 continue
326 fi
327 # Extract the definition of DEPDIR, am__include, and am__quote
328 # from the Makefile without running `make'.
329 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
330 test -z "$DEPDIR" && continue
331 am__include=`sed -n 's/^am__include = //p' < "$mf"`
332 test -z "am__include" && continue
333 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
334 # When using ansi2knr, U may be empty or an underscore; expand it
335 U=`sed -n 's/^U = //p' < "$mf"`
336 # Find all dependency output files, they are included files with
337 # $(DEPDIR) in their names. We invoke sed twice because it is the
338 # simplest approach to changing $(DEPDIR) to its actual value in the
339 # expansion.
340 for file in `sed -n "
341 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
342 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
343 # Make sure the directory exists.
344 test -f "$dirpart/$file" && continue
345 fdir=`AS_DIRNAME(["$file"])`
346 AS_MKDIR_P([$dirpart/$fdir])
347 # echo "creating $dirpart/$file"
348 echo '# dummy' > "$dirpart/$file"
349 done
350 done
351 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
352
353
354 # AM_OUTPUT_DEPENDENCY_COMMANDS
355 # -----------------------------
356 # This macro should only be invoked once -- use via AC_REQUIRE.
357 #
358 # This code is only required when automatic dependency tracking
359 # is enabled. FIXME. This creates each `.P' file that we will
360 # need in order to bootstrap the dependency handling code.
361 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
362 [AC_CONFIG_COMMANDS([depfiles],
363 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
364 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
365 ])
366
367 # Do all the work for Automake. -*- Autoconf -*-
368
369 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
370 # 2005, 2006 Free Software Foundation, Inc.
371 #
372 # This file is free software; the Free Software Foundation
373 # gives unlimited permission to copy and/or distribute it,
374 # with or without modifications, as long as this notice is preserved.
375
376 # serial 12
377
378 # This macro actually does too much. Some checks are only needed if
379 # your package does certain things. But this isn't really a big deal.
380
381 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
382 # AM_INIT_AUTOMAKE([OPTIONS])
383 # -----------------------------------------------
384 # The call with PACKAGE and VERSION arguments is the old style
385 # call (pre autoconf-2.50), which is being phased out. PACKAGE
386 # and VERSION should now be passed to AC_INIT and removed from
387 # the call to AM_INIT_AUTOMAKE.
388 # We support both call styles for the transition. After
389 # the next Automake release, Autoconf can make the AC_INIT
390 # arguments mandatory, and then we can depend on a new Autoconf
391 # release and drop the old call support.
392 AC_DEFUN([AM_INIT_AUTOMAKE],
393 [AC_PREREQ([2.60])dnl
394 dnl Autoconf wants to disallow AM_ names. We explicitly allow
395 dnl the ones we care about.
396 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
397 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
398 AC_REQUIRE([AC_PROG_INSTALL])dnl
399 if test "`cd $srcdir && pwd`" != "`pwd`"; then
400 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
401 # is not polluted with repeated "-I."
402 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
403 # test to see if srcdir already configured
404 if test -f $srcdir/config.status; then
405 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
406 fi
407 fi
408
409 # test whether we have cygpath
410 if test -z "$CYGPATH_W"; then
411 if (cygpath --version) >/dev/null 2>/dev/null; then
412 CYGPATH_W='cygpath -w'
413 else
414 CYGPATH_W=echo
415 fi
416 fi
417 AC_SUBST([CYGPATH_W])
418
419 # Define the identity of the package.
420 dnl Distinguish between old-style and new-style calls.
421 m4_ifval([$2],
422 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
423 AC_SUBST([PACKAGE], [$1])dnl
424 AC_SUBST([VERSION], [$2])],
425 [_AM_SET_OPTIONS([$1])dnl
426 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
427 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
428 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
429 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
430 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
431
432 _AM_IF_OPTION([no-define],,
433 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
434 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
435
436 # Some tools Automake needs.
437 AC_REQUIRE([AM_SANITY_CHECK])dnl
438 AC_REQUIRE([AC_ARG_PROGRAM])dnl
439 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
440 AM_MISSING_PROG(AUTOCONF, autoconf)
441 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
442 AM_MISSING_PROG(AUTOHEADER, autoheader)
443 AM_MISSING_PROG(MAKEINFO, makeinfo)
444 AM_PROG_INSTALL_SH
445 AM_PROG_INSTALL_STRIP
446 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
447 # We need awk for the "check" target. The system "awk" is bad on
448 # some platforms.
449 AC_REQUIRE([AC_PROG_AWK])dnl
450 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
451 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
452 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
453 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
454 [_AM_PROG_TAR([v7])])])
455 _AM_IF_OPTION([no-dependencies],,
456 [AC_PROVIDE_IFELSE([AC_PROG_CC],
457 [_AM_DEPENDENCIES(CC)],
458 [define([AC_PROG_CC],
459 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
460 AC_PROVIDE_IFELSE([AC_PROG_CXX],
461 [_AM_DEPENDENCIES(CXX)],
462 [define([AC_PROG_CXX],
463 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
464 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
465 [_AM_DEPENDENCIES(OBJC)],
466 [define([AC_PROG_OBJC],
467 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
468 ])
469 ])
470
471
472 # When config.status generates a header, we must update the stamp-h file.
473 # This file resides in the same directory as the config header
474 # that is generated. The stamp files are numbered to have different names.
475
476 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
477 # loop where config.status creates the headers, so we can generate
478 # our stamp files there.
479 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
480 [# Compute $1's index in $config_headers.
481 _am_stamp_count=1
482 for _am_header in $config_headers :; do
483 case $_am_header in
484 $1 | $1:* )
485 break ;;
486 * )
487 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
488 esac
489 done
490 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
491
492 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
493 #
494 # This file is free software; the Free Software Foundation
495 # gives unlimited permission to copy and/or distribute it,
496 # with or without modifications, as long as this notice is preserved.
497
498 # AM_PROG_INSTALL_SH
499 # ------------------
500 # Define $install_sh.
501 AC_DEFUN([AM_PROG_INSTALL_SH],
502 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
503 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
504 AC_SUBST(install_sh)])
505
506 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
507 #
508 # This file is free software; the Free Software Foundation
509 # gives unlimited permission to copy and/or distribute it,
510 # with or without modifications, as long as this notice is preserved.
511
512 # serial 2
513
514 # Check whether the underlying file-system supports filenames
515 # with a leading dot. For instance MS-DOS doesn't.
516 AC_DEFUN([AM_SET_LEADING_DOT],
517 [rm -rf .tst 2>/dev/null
518 mkdir .tst 2>/dev/null
519 if test -d .tst; then
520 am__leading_dot=.
521 else
522 am__leading_dot=_
523 fi
524 rmdir .tst 2>/dev/null
525 AC_SUBST([am__leading_dot])])
526
527 # Check to see how 'make' treats includes. -*- Autoconf -*-
528
529 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
530 #
531 # This file is free software; the Free Software Foundation
532 # gives unlimited permission to copy and/or distribute it,
533 # with or without modifications, as long as this notice is preserved.
534
535 # serial 3
536
537 # AM_MAKE_INCLUDE()
538 # -----------------
539 # Check to see how make treats includes.
540 AC_DEFUN([AM_MAKE_INCLUDE],
541 [am_make=${MAKE-make}
542 cat > confinc << 'END'
543 am__doit:
544 @echo done
545 .PHONY: am__doit
546 END
547 # If we don't find an include directive, just comment out the code.
548 AC_MSG_CHECKING([for style of include used by $am_make])
549 am__include="#"
550 am__quote=
551 _am_result=none
552 # First try GNU make style include.
553 echo "include confinc" > confmf
554 # We grep out `Entering directory' and `Leaving directory'
555 # messages which can occur if `w' ends up in MAKEFLAGS.
556 # In particular we don't look at `^make:' because GNU make might
557 # be invoked under some other name (usually "gmake"), in which
558 # case it prints its new name instead of `make'.
559 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
560 am__include=include
561 am__quote=
562 _am_result=GNU
563 fi
564 # Now try BSD make style include.
565 if test "$am__include" = "#"; then
566 echo '.include "confinc"' > confmf
567 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
568 am__include=.include
569 am__quote="\""
570 _am_result=BSD
571 fi
572 fi
573 AC_SUBST([am__include])
574 AC_SUBST([am__quote])
575 AC_MSG_RESULT([$_am_result])
576 rm -f confinc confmf
577 ])
578
579 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
580
581 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
582 # Free Software Foundation, Inc.
583 #
584 # This file is free software; the Free Software Foundation
585 # gives unlimited permission to copy and/or distribute it,
586 # with or without modifications, as long as this notice is preserved.
587
588 # serial 5
589
590 # AM_MISSING_PROG(NAME, PROGRAM)
591 # ------------------------------
592 AC_DEFUN([AM_MISSING_PROG],
593 [AC_REQUIRE([AM_MISSING_HAS_RUN])
594 $1=${$1-"${am_missing_run}$2"}
595 AC_SUBST($1)])
596
597
598 # AM_MISSING_HAS_RUN
599 # ------------------
600 # Define MISSING if not defined so far and test if it supports --run.
601 # If it does, set am_missing_run to use it, otherwise, to nothing.
602 AC_DEFUN([AM_MISSING_HAS_RUN],
603 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
604 AC_REQUIRE_AUX_FILE([missing])dnl
605 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
606 # Use eval to expand $SHELL
607 if eval "$MISSING --run true"; then
608 am_missing_run="$MISSING --run "
609 else
610 am_missing_run=
611 AC_MSG_WARN([`missing' script is too old or missing])
612 fi
613 ])
614
615 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
616 #
617 # This file is free software; the Free Software Foundation
618 # gives unlimited permission to copy and/or distribute it,
619 # with or without modifications, as long as this notice is preserved.
620
621 # AM_PROG_MKDIR_P
622 # ---------------
623 # Check for `mkdir -p'.
624 AC_DEFUN([AM_PROG_MKDIR_P],
625 [AC_PREREQ([2.60])dnl
626 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
627 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
628 dnl while keeping a definition of mkdir_p for backward compatibility.
629 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
630 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
631 dnl Makefile.ins that do not define MKDIR_P, so we do our own
632 dnl adjustment using top_builddir (which is defined more often than
633 dnl MKDIR_P).
634 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
635 case $mkdir_p in
636 [[\\/$]]* | ?:[[\\/]]*) ;;
637 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
638 esac
639 ])
640
641 # Helper functions for option handling. -*- Autoconf -*-
642
643 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
644 #
645 # This file is free software; the Free Software Foundation
646 # gives unlimited permission to copy and/or distribute it,
647 # with or without modifications, as long as this notice is preserved.
648
649 # serial 3
650
651 # _AM_MANGLE_OPTION(NAME)
652 # -----------------------
653 AC_DEFUN([_AM_MANGLE_OPTION],
654 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
655
656 # _AM_SET_OPTION(NAME)
657 # ------------------------------
658 # Set option NAME. Presently that only means defining a flag for this option.
659 AC_DEFUN([_AM_SET_OPTION],
660 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
661
662 # _AM_SET_OPTIONS(OPTIONS)
663 # ----------------------------------
664 # OPTIONS is a space-separated list of Automake options.
665 AC_DEFUN([_AM_SET_OPTIONS],
666 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
667
668 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
669 # -------------------------------------------
670 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
671 AC_DEFUN([_AM_IF_OPTION],
672 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
673
674 # Check to make sure that the build environment is sane. -*- Autoconf -*-
675
676 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
677 # Free Software Foundation, Inc.
678 #
679 # This file is free software; the Free Software Foundation
680 # gives unlimited permission to copy and/or distribute it,
681 # with or without modifications, as long as this notice is preserved.
682
683 # serial 4
684
685 # AM_SANITY_CHECK
686 # ---------------
254687 AC_DEFUN([AM_SANITY_CHECK],
255688 [AC_MSG_CHECKING([whether build environment is sane])
256689 # Just in case
257690 sleep 1
258 echo timestamp > conftestfile
691 echo timestamp > conftest.file
259692 # Do `set' in a subshell so we don't clobber the current shell's
260693 # arguments. Must try -L first in case configure is actually a
261694 # symlink; some systems play weird games with the mod time of symlinks
262695 # (eg FreeBSD returns the mod time of the symlink's containing
263696 # directory).
264697 if (
265 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
266 if test "[$]*" = "X"; then
698 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
699 if test "$[*]" = "X"; then
267700 # -L didn't work.
268 set X `ls -t $srcdir/configure conftestfile`
701 set X `ls -t $srcdir/configure conftest.file`
269702 fi
270 if test "[$]*" != "X $srcdir/configure conftestfile" \
271 && test "[$]*" != "X conftestfile $srcdir/configure"; then
703 rm -f conftest.file
704 if test "$[*]" != "X $srcdir/configure conftest.file" \
705 && test "$[*]" != "X conftest.file $srcdir/configure"; then
272706
273707 # If neither matched, then we have a broken ls. This can happen
274708 # if, for instance, CONFIG_SHELL is bash and it inherits a
278712 alias in your environment])
279713 fi
280714
281 test "[$]2" = conftestfile
715 test "$[2]" = conftest.file
282716 )
283717 then
284718 # Ok.
287721 AC_MSG_ERROR([newly created file is older than distributed files!
288722 Check your system clock])
289723 fi
290 rm -f conftest*
291724 AC_MSG_RESULT(yes)])
292725
293 dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
294 dnl The program must properly implement --version.
295 AC_DEFUN([AM_MISSING_PROG],
296 [AC_MSG_CHECKING(for working $2)
297 # Run test in a subshell; some versions of sh will print an error if
298 # an executable is not found, even if stderr is redirected.
299 # Redirect stdin to placate older versions of autoconf. Sigh.
300 if ($2 --version) < /dev/null > /dev/null 2>&1; then
301 $1=$2
302 AC_MSG_RESULT(found)
303 else
304 $1="$3/missing $2"
305 AC_MSG_RESULT(missing)
306 fi
307 AC_SUBST($1)])
308
726 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
727 #
728 # This file is free software; the Free Software Foundation
729 # gives unlimited permission to copy and/or distribute it,
730 # with or without modifications, as long as this notice is preserved.
731
732 # AM_PROG_INSTALL_STRIP
733 # ---------------------
734 # One issue with vendor `install' (even GNU) is that you can't
735 # specify the program used to strip binaries. This is especially
736 # annoying in cross-compiling environments, where the build's strip
737 # is unlikely to handle the host's binaries.
738 # Fortunately install-sh will honor a STRIPPROG variable, so we
739 # always use install-sh in `make install-strip', and initialize
740 # STRIPPROG with the value of the STRIP variable (set by the user).
741 AC_DEFUN([AM_PROG_INSTALL_STRIP],
742 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
743 # Installed binaries are usually stripped using `strip' when the user
744 # run `make install-strip'. However `strip' might not be the right
745 # tool to use in cross-compilation environments, therefore Automake
746 # will honor the `STRIP' environment variable to overrule this program.
747 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
748 if test "$cross_compiling" != no; then
749 AC_CHECK_TOOL([STRIP], [strip], :)
750 fi
751 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
752 AC_SUBST([INSTALL_STRIP_PROGRAM])])
753
754 # Copyright (C) 2006 Free Software Foundation, Inc.
755 #
756 # This file is free software; the Free Software Foundation
757 # gives unlimited permission to copy and/or distribute it,
758 # with or without modifications, as long as this notice is preserved.
759
760 # _AM_SUBST_NOTMAKE(VARIABLE)
761 # ---------------------------
762 # Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
763 # This macro is traced by Automake.
764 AC_DEFUN([_AM_SUBST_NOTMAKE])
765
766 # Check how to create a tarball. -*- Autoconf -*-
767
768 # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
769 #
770 # This file is free software; the Free Software Foundation
771 # gives unlimited permission to copy and/or distribute it,
772 # with or without modifications, as long as this notice is preserved.
773
774 # serial 2
775
776 # _AM_PROG_TAR(FORMAT)
777 # --------------------
778 # Check how to create a tarball in format FORMAT.
779 # FORMAT should be one of `v7', `ustar', or `pax'.
780 #
781 # Substitute a variable $(am__tar) that is a command
782 # writing to stdout a FORMAT-tarball containing the directory
783 # $tardir.
784 # tardir=directory && $(am__tar) > result.tar
785 #
786 # Substitute a variable $(am__untar) that extract such
787 # a tarball read from stdin.
788 # $(am__untar) < result.tar
789 AC_DEFUN([_AM_PROG_TAR],
790 [# Always define AMTAR for backward compatibility.
791 AM_MISSING_PROG([AMTAR], [tar])
792 m4_if([$1], [v7],
793 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
794 [m4_case([$1], [ustar],, [pax],,
795 [m4_fatal([Unknown tar format])])
796 AC_MSG_CHECKING([how to create a $1 tar archive])
797 # Loop over all known methods to create a tar archive until one works.
798 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
799 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
800 # Do not fold the above two line into one, because Tru64 sh and
801 # Solaris sh will not grok spaces in the rhs of `-'.
802 for _am_tool in $_am_tools
803 do
804 case $_am_tool in
805 gnutar)
806 for _am_tar in tar gnutar gtar;
807 do
808 AM_RUN_LOG([$_am_tar --version]) && break
809 done
810 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
811 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
812 am__untar="$_am_tar -xf -"
813 ;;
814 plaintar)
815 # Must skip GNU tar: if it does not support --format= it doesn't create
816 # ustar tarball either.
817 (tar --version) >/dev/null 2>&1 && continue
818 am__tar='tar chf - "$$tardir"'
819 am__tar_='tar chf - "$tardir"'
820 am__untar='tar xf -'
821 ;;
822 pax)
823 am__tar='pax -L -x $1 -w "$$tardir"'
824 am__tar_='pax -L -x $1 -w "$tardir"'
825 am__untar='pax -r'
826 ;;
827 cpio)
828 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
829 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
830 am__untar='cpio -i -H $1 -d'
831 ;;
832 none)
833 am__tar=false
834 am__tar_=false
835 am__untar=false
836 ;;
837 esac
838
839 # If the value was cached, stop now. We just wanted to have am__tar
840 # and am__untar set.
841 test -n "${am_cv_prog_tar_$1}" && break
842
843 # tar/untar a dummy directory, and stop if the command works
844 rm -rf conftest.dir
845 mkdir conftest.dir
846 echo GrepMe > conftest.dir/file
847 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
848 rm -rf conftest.dir
849 if test -s conftest.tar; then
850 AM_RUN_LOG([$am__untar <conftest.tar])
851 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
852 fi
853 done
854 rm -rf conftest.dir
855
856 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
857 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
858 AC_SUBST([am__tar])
859 AC_SUBST([am__untar])
860 ]) # _AM_PROG_TAR
861
862 m4_include([acinclude.m4])
00 #! /bin/sh
11 # Attempt to guess a canonical system name.
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4
5 timestamp='2005-07-08'
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
4 # Inc.
5
6 timestamp='2006-07-02'
67
78 # This file is free software; you can redistribute it and/or modify it
89 # under the terms of the GNU General Public License as published by
105106 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
106107 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
107108 : ${TMPDIR=/tmp} ;
108 { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
109 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
109110 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
110111 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
111112 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
205206 *:ekkoBSD:*:*)
206207 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
207208 exit ;;
209 *:SolidBSD:*:*)
210 echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
211 exit ;;
208212 macppc:MirBSD:*:*)
209 echo powerppc-unknown-mirbsd${UNAME_RELEASE}
213 echo powerpc-unknown-mirbsd${UNAME_RELEASE}
210214 exit ;;
211215 *:MirBSD:*:*)
212216 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
763767 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
764768 exit ;;
765769 *:FreeBSD:*:*)
766 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
770 case ${UNAME_MACHINE} in
771 pc98)
772 echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
773 amd64)
774 echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
775 *)
776 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
777 esac
767778 exit ;;
768779 i*:CYGWIN*:*)
769780 echo ${UNAME_MACHINE}-pc-cygwin
778789 i*:PW*:*)
779790 echo ${UNAME_MACHINE}-pc-pw32
780791 exit ;;
781 x86:Interix*:[34]*)
782 echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
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}
783797 exit ;;
784798 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
785799 echo i${UNAME_MACHINE}-pc-mks
793807 i*:UWIN*:*)
794808 echo ${UNAME_MACHINE}-pc-uwin
795809 exit ;;
796 amd64:CYGWIN*:*:*)
810 amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
797811 echo x86_64-unknown-cygwin
798812 exit ;;
799813 p*:CYGWIN*:*)
814828 echo ${UNAME_MACHINE}-pc-minix
815829 exit ;;
816830 arm*:Linux:*:*)
831 echo ${UNAME_MACHINE}-unknown-linux-gnu
832 exit ;;
833 avr32*:Linux:*:*)
817834 echo ${UNAME_MACHINE}-unknown-linux-gnu
818835 exit ;;
819836 cris:Linux:*:*)
850867 #endif
851868 #endif
852869 EOF
853 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
870 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
871 /^CPU/{
872 s: ::g
873 p
874 }'`"
854875 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
855876 ;;
856877 mips64:Linux:*:*)
869890 #endif
870891 #endif
871892 EOF
872 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
893 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
894 /^CPU/{
895 s: ::g
896 p
897 }'`"
873898 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
874899 ;;
875900 or32:Linux:*:*)
917942 exit ;;
918943 sparc:Linux:*:* | sparc64:Linux:*:*)
919944 echo ${UNAME_MACHINE}-unknown-linux-gnu
945 exit ;;
946 vax:Linux:*:*)
947 echo ${UNAME_MACHINE}-dec-linux-gnu
920948 exit ;;
921949 x86_64:Linux:*:*)
922950 echo x86_64-unknown-linux-gnu
963991 LIBC=gnulibc1
964992 # endif
965993 #else
966 #ifdef __INTEL_COMPILER
994 #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
967995 LIBC=gnu
968996 #else
969997 LIBC=gnuaout
9731001 LIBC=dietlibc
9741002 #endif
9751003 EOF
976 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
1004 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
1005 /^LIBC/{
1006 s: ::g
1007 p
1008 }'`"
9771009 test x"${LIBC}" != x && {
9781010 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
9791011 exit
11841216 *:Darwin:*:*)
11851217 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
11861218 case $UNAME_PROCESSOR in
1187 *86) UNAME_PROCESSOR=i686 ;;
11881219 unknown) UNAME_PROCESSOR=powerpc ;;
11891220 esac
11901221 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
12621293 exit ;;
12631294 i*86:skyos:*:*)
12641295 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1296 exit ;;
1297 i*86:rdos:*:*)
1298 echo ${UNAME_MACHINE}-pc-rdos
12651299 exit ;;
12661300 esac
12671301
00 #! /bin/sh
11 # Configuration validation subroutine script.
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4
5 timestamp='2005-07-08'
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
4 # Inc.
5
6 timestamp='2006-07-02'
67
78 # This file is (in principle) common to ALL GNU software.
89 # The presence of a machine in this file suggests that SOME GNU software
118119 # Here we must recognize all the valid KERNEL-OS combinations.
119120 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120121 case $maybe_os in
121 nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
122 kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
122 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
123 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
124 storm-chaos* | os2-emx* | rtmk-nova*)
123125 os=-$maybe_os
124126 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
125127 ;;
170172 -hiux*)
171173 os=-hiuxwe2
172174 ;;
175 -sco6)
176 os=-sco5v6
177 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
178 ;;
173179 -sco5)
174180 os=-sco3.2v5
175181 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
183189 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
184190 ;;
185191 -sco3.2v[4-9]*)
192 # Don't forget version if it is 3.2v4 or newer.
193 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
194 ;;
195 -sco5v6*)
186196 # Don't forget version if it is 3.2v4 or newer.
187197 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
188198 ;;
230240 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
231241 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
232242 | am33_2.0 \
233 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
243 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
234244 | bfin \
235245 | c4x | clipper \
236246 | d10v | d30v | dlx | dsp16xx \
238248 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
239249 | i370 | i860 | i960 | ia64 \
240250 | ip2k | iq2000 \
241 | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
251 | m32c | m32r | m32rle | m68000 | m68k | m88k \
252 | maxq | mb | microblaze | mcore \
242253 | mips | mipsbe | mipseb | mipsel | mipsle \
243254 | mips16 \
244255 | mips64 | mips64el \
256267 | mipsisa64sr71k | mipsisa64sr71kel \
257268 | mipstx39 | mipstx39el \
258269 | mn10200 | mn10300 \
259 | ms1 \
270 | mt \
260271 | msp430 \
272 | nios | nios2 \
261273 | ns16k | ns32k \
262274 | or32 \
263275 | pdp10 | pdp11 | pj | pjl \
264276 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
265277 | pyramid \
266 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
278 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
267279 | sh64 | sh64le \
268 | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
269 | sparcv8 | sparcv9 | sparcv9b \
270 | strongarm \
280 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
281 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
282 | spu | strongarm \
271283 | tahoe | thumb | tic4x | tic80 | tron \
272284 | v850 | v850e \
273285 | we32k \
275287 | z8k)
276288 basic_machine=$basic_machine-unknown
277289 ;;
278 m32c)
279 basic_machine=$basic_machine-unknown
280 ;;
281290 m6811 | m68hc11 | m6812 | m68hc12)
282291 # Motorola 68HC11/12.
283292 basic_machine=$basic_machine-unknown
284293 os=-none
285294 ;;
286295 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
296 ;;
297 ms1)
298 basic_machine=mt-unknown
287299 ;;
288300
289301 # We use `pc' rather than `unknown'
304316 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
305317 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
306318 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
307 | avr-* \
319 | avr-* | avr32-* \
308320 | bfin-* | bs2000-* \
309321 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
310322 | clipper-* | craynv-* | cydra-* \
315327 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
316328 | i*86-* | i860-* | i960-* | ia64-* \
317329 | ip2k-* | iq2000-* \
318 | m32r-* | m32rle-* \
330 | m32c-* | m32r-* | m32rle-* \
319331 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
320332 | m88110-* | m88k-* | maxq-* | mcore-* \
321333 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
335347 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
336348 | mipstx39-* | mipstx39el-* \
337349 | mmix-* \
338 | ms1-* \
350 | mt-* \
339351 | msp430-* \
352 | nios-* | nios2-* \
340353 | none-* | np1-* | ns16k-* | ns32k-* \
341354 | orion-* \
342355 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
343356 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
344357 | pyramid-* \
345358 | romp-* | rs6000-* \
346 | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
359 | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
347360 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
348 | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
361 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
349362 | sparclite-* \
350 | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
363 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
351364 | tahoe-* | thumb-* \
352365 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
353366 | tron-* \
358371 | ymp-* \
359372 | z8k-*)
360373 ;;
361 m32c-*)
362 ;;
363374 # Recognize the various machine names and aliases which stand
364375 # for a CPU type and a company and sometimes even an OS.
365376 386bsd)
694705 msdos)
695706 basic_machine=i386-pc
696707 os=-msdos
708 ;;
709 ms1-*)
710 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
697711 ;;
698712 mvs)
699713 basic_machine=i370-ibm
802816 pc532 | pc532-*)
803817 basic_machine=ns32k-pc532
804818 ;;
819 pc98)
820 basic_machine=i386-pc
821 ;;
822 pc98-*)
823 basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
824 ;;
805825 pentium | p5 | k5 | k6 | nexgen | viac3)
806826 basic_machine=i586-pc
807827 ;;
857877 pw32)
858878 basic_machine=i586-unknown
859879 os=-pw32
880 ;;
881 rdos)
882 basic_machine=i386-pc
883 os=-rdos
860884 ;;
861885 rom68k)
862886 basic_machine=m68k-rom68k
11001124 sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
11011125 basic_machine=sh-unknown
11021126 ;;
1103 sparc | sparcv8 | sparcv9 | sparcv9b)
1127 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
11041128 basic_machine=sparc-sun
11051129 ;;
11061130 cydra)
11731197 | -aos* \
11741198 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
11751199 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1176 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1200 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1201 | -openbsd* | -solidbsd* \
11771202 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
11781203 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
11791204 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
11801205 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
11811206 | -chorusos* | -chorusrdb* \
11821207 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1183 | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1208 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1209 | -uxpv* | -beos* | -mpeix* | -udk* \
11841210 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
11851211 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
11861212 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
11871213 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
11881214 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
11891215 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1190 | -skyos* | -haiku*)
1216 | -skyos* | -haiku* | -rdos* | -toppers*)
11911217 # Remember, each alternative MUST END IN *, to match a version number.
11921218 ;;
11931219 -qnx*)
13391365 # system, and we'll never get to this point.
13401366
13411367 case $basic_machine in
1368 spu-*)
1369 os=-elf
1370 ;;
13421371 *-acorn)
13431372 os=-riscix1.2
13441373 ;;
13481377 arm*-semi)
13491378 os=-aout
13501379 ;;
1351 c4x-* | tic4x-*)
1352 os=-coff
1353 ;;
1380 c4x-* | tic4x-*)
1381 os=-coff
1382 ;;
13541383 # This must come before the *-dec entry.
13551384 pdp10-*)
13561385 os=-tops20
+2911
-1777
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.59.
2 # Generated by GNU Autoconf 2.61.
33 #
4 # Copyright (C) 2003 Free Software Foundation, Inc.
4 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
56 # This configure script is free software; the Free Software Foundation
67 # gives unlimited permission to copy, distribute and modify it.
78 ## --------------------- ##
89 ## M4sh Initialization. ##
910 ## --------------------- ##
1011
11 # Be Bourne compatible
12 # Be more Bourne compatible
13 DUALCASE=1; export DUALCASE # for MKS sh
1214 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1315 emulate sh
1416 NULLCMD=:
1517 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1618 # is contrary to our usage. Disable this feature.
1719 alias -g '${1+"$@"}'='"$@"'
18 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
19 set -o posix
20 fi
21 DUALCASE=1; export DUALCASE # for MKS sh
22
23 # Support unset when possible.
24 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25 as_unset=unset
26 else
27 as_unset=false
28 fi
29
30
31 # Work around bugs in pre-3.0 UWIN ksh.
32 $as_unset ENV MAIL MAILPATH
33 PS1='$ '
34 PS2='> '
35 PS4='+ '
36
37 # NLS nuisances.
38 for as_var in \
39 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41 LC_TELEPHONE LC_TIME
42 do
43 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44 eval $as_var=C; export $as_var
45 else
46 $as_unset $as_var
47 fi
48 done
49
50 # Required to use basename.
51 if expr a : '\(a\)' >/dev/null 2>&1; then
52 as_expr=expr
53 else
54 as_expr=false
55 fi
56
57 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
58 as_basename=basename
59 else
60 as_basename=false
61 fi
62
63
64 # Name of the executable.
65 as_me=`$as_basename "$0" ||
66 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
67 X"$0" : 'X\(//\)$' \| \
68 X"$0" : 'X\(/\)$' \| \
69 . : '\(.\)' 2>/dev/null ||
70 echo X/"$0" |
71 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
72 /^X\/\(\/\/\)$/{ s//\1/; q; }
73 /^X\/\(\/\).*/{ s//\1/; q; }
74 s/.*/./; q'`
75
76
77 # PATH needs CR, and LINENO needs CR and PATH.
20 setopt NO_GLOB_SUBST
21 else
22 case `(set -o) 2>/dev/null` in
23 *posix*) set -o posix ;;
24 esac
25
26 fi
27
28
29
30
31 # PATH needs CR
7832 # Avoid depending upon Character Ranges.
7933 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8034 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9549 rm -f conf$$.sh
9650 fi
9751
98
99 as_lineno_1=$LINENO
100 as_lineno_2=$LINENO
101 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
102 test "x$as_lineno_1" != "x$as_lineno_2" &&
103 test "x$as_lineno_3" = "x$as_lineno_2" || {
104 # Find who we are. Look in the path if we contain no path at all
105 # relative or not.
106 case $0 in
107 *[\\/]* ) as_myself=$0 ;;
108 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
57 fi
58
59
60 # IFS
61 # We need space, tab and new line, in precisely that order. Quoting is
62 # there to prevent editors from complaining about space-tab.
63 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
64 # splitting by setting IFS to empty value.)
65 as_nl='
66 '
67 IFS=" "" $as_nl"
68
69 # Find who we are. Look in the path if we contain no directory separator.
70 case $0 in
71 *[\\/]* ) as_myself=$0 ;;
72 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10973 for as_dir in $PATH
11074 do
11175 IFS=$as_save_IFS
11276 test -z "$as_dir" && as_dir=.
11377 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11478 done
115
116 ;;
117 esac
118 # We did not find ourselves, most probably we were run as `sh COMMAND'
119 # in which case we are not to be found in the path.
120 if test "x$as_myself" = x; then
121 as_myself=$0
79 IFS=$as_save_IFS
80
81 ;;
82 esac
83 # We did not find ourselves, most probably we were run as `sh COMMAND'
84 # in which case we are not to be found in the path.
85 if test "x$as_myself" = x; then
86 as_myself=$0
87 fi
88 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
96 done
97 PS1='$ '
98 PS2='> '
99 PS4='+ '
100
101 # 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
106 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
109 else
110 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
122111 fi
123 if test ! -f "$as_myself"; then
124 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
125 { (exit 1); exit 1; }; }
126 fi
127 case $CONFIG_SHELL in
128 '')
112 done
113
114 # Required to use basename.
115 if expr a : '\(a\)' >/dev/null 2>&1 &&
116 test "X`expr 00001 : '.*\(...\)'`" = X001; then
117 as_expr=expr
118 else
119 as_expr=false
120 fi
121
122 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
123 as_basename=basename
124 else
125 as_basename=false
126 fi
127
128
129 # Name of the executable.
130 as_me=`$as_basename -- "$0" ||
131 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
132 X"$0" : 'X\(//\)$' \| \
133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 echo X/"$0" |
135 sed '/^.*\/\([^/][^/]*\)\/*$/{
136 s//\1/
137 q
138 }
139 /^X\/\(\/\/\)$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\).*/{
144 s//\1/
145 q
146 }
147 s/.*/./; q'`
148
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=
129220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
130221 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131222 do
132223 IFS=$as_save_IFS
133224 test -z "$as_dir" && as_dir=.
134 for as_base in sh bash ksh sh5; do
135 case $as_dir in
225 case $as_dir in
136226 /*)
137 if ("$as_dir/$as_base" -c '
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 (
138327 as_lineno_1=$LINENO
139328 as_lineno_2=$LINENO
140 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
141329 test "x$as_lineno_1" != "x$as_lineno_2" &&
142 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
143 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
144 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
145 CONFIG_SHELL=$as_dir/$as_base
146 export CONFIG_SHELL
147 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
148 fi;;
149 esac
150 done
151 done
152 ;;
153 esac
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" || {
154426
155427 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
156428 # uniformly replaced by the line number. The first 'sed' inserts a
157 # line-number line before each line; the second 'sed' does the real
158 # work. The second script uses 'N' to pair each line-number line
159 # with the numbered line, and appends trailing '-' during
160 # substitution so that $LINENO is not a special case at line end.
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.
161434 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
162 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
163 sed '=' <$as_myself |
435 # scripts with optimization help from Paolo Bonzini. Blame Lee
436 # E. McMahon (1931-1989) for sed's syntax. :-)
437 sed -n '
438 p
439 /[$]LINENO/=
440 ' <$as_myself |
164441 sed '
442 s/[$]LINENO.*/&-/
443 t lineno
444 b
445 :lineno
165446 N
166 s,$,-,
167 : loop
168 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
447 :loop
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
169449 t loop
170 s,-$,,
171 s,^['$as_cr_digits']*\n,,
450 s/-\n.*//
172451 ' >$as_me.lineno &&
173 chmod +x $as_me.lineno ||
452 chmod +x "$as_me.lineno" ||
174453 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
175454 { (exit 1); exit 1; }; }
176455
177456 # Don't try to exec as it changes $[0], causing all sort of problems
178457 # (the dirname of $[0] is not the place where we might find the
179 # original and so on. Autoconf is especially sensible to this).
180 . ./$as_me.lineno
458 # original and so on. Autoconf is especially sensitive to this).
459 . "./$as_me.lineno"
181460 # Exit status is that of the last command.
182461 exit
183462 }
184463
185464
186 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
187 *c*,-n*) ECHO_N= ECHO_C='
188 ' ECHO_T=' ' ;;
189 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
190 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
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 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in
473 -n*)
474 case `echo 'x\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
476 *) ECHO_C='\c';;
477 esac;;
478 *)
479 ECHO_N='-n';;
191480 esac
192481
193 if expr a : '\(a\)' >/dev/null 2>&1; then
482 if expr a : '\(a\)' >/dev/null 2>&1 &&
483 test "X`expr 00001 : '.*\(...\)'`" = X001; then
194484 as_expr=expr
195485 else
196486 as_expr=false
197487 fi
198488
199489 rm -f conf$$ conf$$.exe conf$$.file
490 if test -d conf$$.dir; then
491 rm -f conf$$.dir/conf$$.file
492 else
493 rm -f conf$$.dir
494 mkdir conf$$.dir
495 fi
200496 echo >conf$$.file
201497 if ln -s conf$$.file conf$$ 2>/dev/null; then
202 # We could just check for DJGPP; but this test a) works b) is more generic
203 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
204 if test -f conf$$.exe; then
205 # Don't use ln at all; we don't have any links
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 ||
206504 as_ln_s='cp -p'
207 else
208 as_ln_s='ln -s'
209 fi
210505 elif ln conf$$.file conf$$ 2>/dev/null; then
211506 as_ln_s=ln
212507 else
213508 as_ln_s='cp -p'
214509 fi
215 rm -f conf$$ conf$$.exe conf$$.file
510 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
511 rmdir conf$$.dir 2>/dev/null
216512
217513 if mkdir -p . 2>/dev/null; then
218514 as_mkdir_p=:
221517 as_mkdir_p=false
222518 fi
223519
224 as_executable_p="test -f"
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
225542
226543 # Sed expression to map a string onto a valid CPP name.
227544 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230547 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
231548
232549
233 # IFS
234 # We need space, tab and new line, in precisely that order.
235 as_nl='
236 '
237 IFS=" $as_nl"
238
239 # CDPATH.
240 $as_unset CDPATH
241
550
551 exec 7<&0 </dev/null 6>&1
242552
243553 # Name of the host.
244554 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245555 # so uname gets run too.
246556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
247557
248 exec 6>&1
249
250558 #
251559 # Initializations.
252560 #
253561 ac_default_prefix=/usr/local
562 ac_clean_files=
254563 ac_config_libobj_dir=.
564 LIBOBJS=
255565 cross_compiling=no
256566 subdirs=
257567 MFLAGS=
258568 MAKEFLAGS=
259569 SHELL=${CONFIG_SHELL-/bin/sh}
260
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
265570
266571 # Identity of this package.
267572 PACKAGE_NAME=
271576 PACKAGE_BUGREPORT=
272577
273578 ac_unique_file="README"
274 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB MATHLIB SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBOBJS LTLIBOBJS'
579 ac_subst_vars='SHELL
580 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'
275673 ac_subst_files=''
674 ac_precious_vars='build_alias
675 host_alias
676 target_alias
677 CC
678 CFLAGS
679 LDFLAGS
680 LIBS
681 CPPFLAGS'
682
276683
277684 # Initialize some variables set by options.
278685 ac_init_help=
299706 # and all the variables that are supposed to be based on exec_prefix
300707 # by default will actually change.
301708 # Use braces instead of parens because sh, perl, etc. also accept them.
709 # (The list follows the same order as the GNU Coding Standards.)
302710 bindir='${exec_prefix}/bin'
303711 sbindir='${exec_prefix}/sbin'
304712 libexecdir='${exec_prefix}/libexec'
305 datadir='${prefix}/share'
713 datarootdir='${prefix}/share'
714 datadir='${datarootdir}'
306715 sysconfdir='${prefix}/etc'
307716 sharedstatedir='${prefix}/com'
308717 localstatedir='${prefix}/var'
309 libdir='${exec_prefix}/lib'
310718 includedir='${prefix}/include'
311719 oldincludedir='/usr/include'
312 infodir='${prefix}/info'
313 mandir='${prefix}/man'
720 docdir='${datarootdir}/doc/${PACKAGE}'
721 infodir='${datarootdir}/info'
722 htmldir='${docdir}'
723 dvidir='${docdir}'
724 pdfdir='${docdir}'
725 psdir='${docdir}'
726 libdir='${exec_prefix}/lib'
727 localedir='${datarootdir}/locale'
728 mandir='${datarootdir}/man'
314729
315730 ac_prev=
731 ac_dashdash=
316732 for ac_option
317733 do
318734 # If the previous option needs an argument, assign it.
319735 if test -n "$ac_prev"; then
320 eval "$ac_prev=\$ac_option"
736 eval $ac_prev=\$ac_option
321737 ac_prev=
322738 continue
323739 fi
324740
325 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
741 case $ac_option in
742 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
743 *) ac_optarg=yes ;;
744 esac
326745
327746 # Accept the important Cygnus configure options, so we can diagnose typos.
328747
329 case $ac_option in
748 case $ac_dashdash$ac_option in
749 --)
750 ac_dashdash=yes ;;
330751
331752 -bindir | --bindir | --bindi | --bind | --bin | --bi)
332753 ac_prev=bindir ;;
348769 --config-cache | -C)
349770 cache_file=config.cache ;;
350771
351 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
772 -datadir | --datadir | --datadi | --datad)
352773 ac_prev=datadir ;;
353 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
354 | --da=*)
774 -datadir=* | --datadir=* | --datadi=* | --datad=*)
355775 datadir=$ac_optarg ;;
776
777 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
778 | --dataroo | --dataro | --datar)
779 ac_prev=datarootdir ;;
780 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
781 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
782 datarootdir=$ac_optarg ;;
356783
357784 -disable-* | --disable-*)
358785 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
359786 # Reject names that are not valid shell variable names.
360 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
787 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
361788 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
362789 { (exit 1); exit 1; }; }
363 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
364 eval "enable_$ac_feature=no" ;;
790 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
791 eval enable_$ac_feature=no ;;
792
793 -docdir | --docdir | --docdi | --doc | --do)
794 ac_prev=docdir ;;
795 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
796 docdir=$ac_optarg ;;
797
798 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
799 ac_prev=dvidir ;;
800 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
801 dvidir=$ac_optarg ;;
365802
366803 -enable-* | --enable-*)
367804 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
368805 # Reject names that are not valid shell variable names.
369 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
806 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
370807 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
371808 { (exit 1); exit 1; }; }
372 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
373 case $ac_option in
374 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
375 *) ac_optarg=yes ;;
376 esac
377 eval "enable_$ac_feature='$ac_optarg'" ;;
809 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
810 eval enable_$ac_feature=\$ac_optarg ;;
378811
379812 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
380813 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
401834 -host=* | --host=* | --hos=* | --ho=*)
402835 host_alias=$ac_optarg ;;
403836
837 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
838 ac_prev=htmldir ;;
839 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
840 | --ht=*)
841 htmldir=$ac_optarg ;;
842
404843 -includedir | --includedir | --includedi | --included | --include \
405844 | --includ | --inclu | --incl | --inc)
406845 ac_prev=includedir ;;
425864 | --libexe=* | --libex=* | --libe=*)
426865 libexecdir=$ac_optarg ;;
427866
867 -localedir | --localedir | --localedi | --localed | --locale)
868 ac_prev=localedir ;;
869 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
870 localedir=$ac_optarg ;;
871
428872 -localstatedir | --localstatedir | --localstatedi | --localstated \
429 | --localstate | --localstat | --localsta | --localst \
430 | --locals | --local | --loca | --loc | --lo)
873 | --localstate | --localstat | --localsta | --localst | --locals)
431874 ac_prev=localstatedir ;;
432875 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
433 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
434 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
876 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
435877 localstatedir=$ac_optarg ;;
436878
437879 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
496938 | --progr-tra=* | --program-tr=* | --program-t=*)
497939 program_transform_name=$ac_optarg ;;
498940
941 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
942 ac_prev=pdfdir ;;
943 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
944 pdfdir=$ac_optarg ;;
945
946 -psdir | --psdir | --psdi | --psd | --ps)
947 ac_prev=psdir ;;
948 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
949 psdir=$ac_optarg ;;
950
499951 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
500952 | -silent | --silent | --silen | --sile | --sil)
501953 silent=yes ;;
5481000 -with-* | --with-*)
5491001 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
5501002 # Reject names that are not valid shell variable names.
551 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1003 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
5521004 { echo "$as_me: error: invalid package name: $ac_package" >&2
5531005 { (exit 1); exit 1; }; }
554 ac_package=`echo $ac_package| sed 's/-/_/g'`
555 case $ac_option in
556 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
557 *) ac_optarg=yes ;;
558 esac
559 eval "with_$ac_package='$ac_optarg'" ;;
1006 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1007 eval with_$ac_package=\$ac_optarg ;;
5601008
5611009 -without-* | --without-*)
5621010 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
5631011 # Reject names that are not valid shell variable names.
564 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1012 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
5651013 { echo "$as_me: error: invalid package name: $ac_package" >&2
5661014 { (exit 1); exit 1; }; }
567 ac_package=`echo $ac_package | sed 's/-/_/g'`
568 eval "with_$ac_package=no" ;;
1015 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1016 eval with_$ac_package=no ;;
5691017
5701018 --x)
5711019 # Obsolete; use --with-x.
5961044 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
5971045 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
5981046 { (exit 1); exit 1; }; }
599 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
600 eval "$ac_envvar='$ac_optarg'"
1047 eval $ac_envvar=\$ac_optarg
6011048 export $ac_envvar ;;
6021049
6031050 *)
6171064 { (exit 1); exit 1; }; }
6181065 fi
6191066
620 # Be sure to have absolute paths.
621 for ac_var in exec_prefix prefix
1067 # Be sure to have absolute directory names.
1068 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1069 datadir sysconfdir sharedstatedir localstatedir includedir \
1070 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1071 libdir localedir mandir
6221072 do
623 eval ac_val=$`echo $ac_var`
1073 eval ac_val=\$$ac_var
6241074 case $ac_val in
625 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
626 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
627 { (exit 1); exit 1; }; };;
1075 [\\/$]* | ?:[\\/]* ) continue;;
1076 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
6281077 esac
629 done
630
631 # Be sure to have absolute paths.
632 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
633 localstatedir libdir includedir oldincludedir infodir mandir
634 do
635 eval ac_val=$`echo $ac_var`
636 case $ac_val in
637 [\\/$]* | ?:[\\/]* ) ;;
638 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
639 { (exit 1); exit 1; }; };;
640 esac
1078 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1079 { (exit 1); exit 1; }; }
6411080 done
6421081
6431082 # There might be people who depend on the old broken behavior: `$host'
6641103 test "$silent" = yes && exec 6>/dev/null
6651104
6661105
1106 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1107 ac_ls_di=`ls -di .` &&
1108 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; }; }
1111 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; }; }
1114
1115
6671116 # Find the source files, if location was not specified.
6681117 if test -z "$srcdir"; then
6691118 ac_srcdir_defaulted=yes
670 # Try the directory containing this script, then its parent.
671 ac_confdir=`(dirname "$0") 2>/dev/null ||
1119 # Try the directory containing this script, then the parent directory.
1120 ac_confdir=`$as_dirname -- "$0" ||
6721121 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6731122 X"$0" : 'X\(//\)[^/]' \| \
6741123 X"$0" : 'X\(//\)$' \| \
675 X"$0" : 'X\(/\)' \| \
676 . : '\(.\)' 2>/dev/null ||
1124 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6771125 echo X"$0" |
678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
680 /^X\(\/\/\)$/{ s//\1/; q; }
681 /^X\(\/\).*/{ s//\1/; q; }
682 s/.*/./; q'`
1126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1127 s//\1/
1128 q
1129 }
1130 /^X\(\/\/\)[^/].*/{
1131 s//\1/
1132 q
1133 }
1134 /^X\(\/\/\)$/{
1135 s//\1/
1136 q
1137 }
1138 /^X\(\/\).*/{
1139 s//\1/
1140 q
1141 }
1142 s/.*/./; q'`
6831143 srcdir=$ac_confdir
684 if test ! -r $srcdir/$ac_unique_file; then
1144 if test ! -r "$srcdir/$ac_unique_file"; then
6851145 srcdir=..
6861146 fi
6871147 else
6881148 ac_srcdir_defaulted=no
6891149 fi
690 if test ! -r $srcdir/$ac_unique_file; then
691 if test "$ac_srcdir_defaulted" = yes; then
692 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1150 if test ! -r "$srcdir/$ac_unique_file"; then
1151 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1152 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
6931153 { (exit 1); exit 1; }; }
694 else
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1154 fi
1155 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1156 ac_abs_confdir=`(
1157 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
6961158 { (exit 1); exit 1; }; }
697 fi
698 fi
699 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
700 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
701 { (exit 1); exit 1; }; }
702 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
703 ac_env_build_alias_set=${build_alias+set}
704 ac_env_build_alias_value=$build_alias
705 ac_cv_env_build_alias_set=${build_alias+set}
706 ac_cv_env_build_alias_value=$build_alias
707 ac_env_host_alias_set=${host_alias+set}
708 ac_env_host_alias_value=$host_alias
709 ac_cv_env_host_alias_set=${host_alias+set}
710 ac_cv_env_host_alias_value=$host_alias
711 ac_env_target_alias_set=${target_alias+set}
712 ac_env_target_alias_value=$target_alias
713 ac_cv_env_target_alias_set=${target_alias+set}
714 ac_cv_env_target_alias_value=$target_alias
715 ac_env_CC_set=${CC+set}
716 ac_env_CC_value=$CC
717 ac_cv_env_CC_set=${CC+set}
718 ac_cv_env_CC_value=$CC
719 ac_env_CFLAGS_set=${CFLAGS+set}
720 ac_env_CFLAGS_value=$CFLAGS
721 ac_cv_env_CFLAGS_set=${CFLAGS+set}
722 ac_cv_env_CFLAGS_value=$CFLAGS
723 ac_env_LDFLAGS_set=${LDFLAGS+set}
724 ac_env_LDFLAGS_value=$LDFLAGS
725 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_cv_env_LDFLAGS_value=$LDFLAGS
727 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
728 ac_env_CPPFLAGS_value=$CPPFLAGS
729 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1159 pwd)`
1160 # When building in place, set srcdir=.
1161 if test "$ac_abs_confdir" = "$ac_pwd"; then
1162 srcdir=.
1163 fi
1164 # Remove unnecessary trailing slashes from srcdir.
1165 # Double slashes in file names in object file debugging info
1166 # mess up M-x gdb in Emacs.
1167 case $srcdir in
1168 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1169 esac
1170 for ac_var in $ac_precious_vars; do
1171 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1172 eval ac_env_${ac_var}_value=\$${ac_var}
1173 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1174 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1175 done
7311176
7321177 #
7331178 # Report the --help message.
7561201 -n, --no-create do not create output files
7571202 --srcdir=DIR find the sources in DIR [configure dir or \`..']
7581203
759 _ACEOF
760
761 cat <<_ACEOF
7621204 Installation directories:
7631205 --prefix=PREFIX install architecture-independent files in PREFIX
7641206 [$ac_default_prefix]
7761218 --bindir=DIR user executables [EPREFIX/bin]
7771219 --sbindir=DIR system admin executables [EPREFIX/sbin]
7781220 --libexecdir=DIR program executables [EPREFIX/libexec]
779 --datadir=DIR read-only architecture-independent data [PREFIX/share]
7801221 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
7811222 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
7821223 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
7831224 --libdir=DIR object code libraries [EPREFIX/lib]
7841225 --includedir=DIR C header files [PREFIX/include]
7851226 --oldincludedir=DIR C header files for non-gcc [/usr/include]
786 --infodir=DIR info documentation [PREFIX/info]
787 --mandir=DIR man documentation [PREFIX/man]
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]
7881237 _ACEOF
7891238
7901239 cat <<\_ACEOF
8081257 Optional Features:
8091258 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
8101259 --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
8111262 --disable-sdltest Do not try to compile and run a test SDL program
8121263
8131264 Optional Packages:
8211272 CFLAGS C compiler flags
8221273 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
8231274 nonstandard directory <lib dir>
824 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
825 headers in a nonstandard directory <include dir>
1275 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
1277 you have headers in a nonstandard directory <include dir>
8261278
8271279 Use these variables to override the choices made by `configure' or to help
8281280 it to find libraries and programs with nonstandard names/locations.
8291281
8301282 _ACEOF
1283 ac_status=$?
8311284 fi
8321285
8331286 if test "$ac_init_help" = "recursive"; then
8341287 # If there are subdirs, report their specific --help.
835 ac_popdir=`pwd`
8361288 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
837 test -d $ac_dir || continue
1289 test -d "$ac_dir" || continue
8381290 ac_builddir=.
8391291
840 if test "$ac_dir" != .; then
1292 case "$ac_dir" in
1293 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1294 *)
8411295 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
842 # A "../" for each directory in $ac_dir_suffix.
843 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
844 else
845 ac_dir_suffix= ac_top_builddir=
846 fi
1296 # A ".." for each directory in $ac_dir_suffix.
1297 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1298 case $ac_top_builddir_sub in
1299 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1300 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1301 esac ;;
1302 esac
1303 ac_abs_top_builddir=$ac_pwd
1304 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1305 # for backward compatibility:
1306 ac_top_builddir=$ac_top_build_prefix
8471307
8481308 case $srcdir in
849 .) # No --srcdir option. We are building in place.
1309 .) # We are building in place.
8501310 ac_srcdir=.
851 if test -z "$ac_top_builddir"; then
852 ac_top_srcdir=.
853 else
854 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
855 fi ;;
856 [\\/]* | ?:[\\/]* ) # Absolute path.
1311 ac_top_srcdir=$ac_top_builddir_sub
1312 ac_abs_top_srcdir=$ac_pwd ;;
1313 [\\/]* | ?:[\\/]* ) # Absolute name.
8571314 ac_srcdir=$srcdir$ac_dir_suffix;
858 ac_top_srcdir=$srcdir ;;
859 *) # Relative path.
860 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
861 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1315 ac_top_srcdir=$srcdir
1316 ac_abs_top_srcdir=$srcdir ;;
1317 *) # Relative name.
1318 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1319 ac_top_srcdir=$ac_top_build_prefix$srcdir
1320 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8621321 esac
863
864 # Do not use `cd foo && pwd` to compute absolute paths, because
865 # the directories may not exist.
866 case `pwd` in
867 .) ac_abs_builddir="$ac_dir";;
868 *)
869 case "$ac_dir" in
870 .) ac_abs_builddir=`pwd`;;
871 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
872 *) ac_abs_builddir=`pwd`/"$ac_dir";;
873 esac;;
874 esac
875 case $ac_abs_builddir in
876 .) ac_abs_top_builddir=${ac_top_builddir}.;;
877 *)
878 case ${ac_top_builddir}. in
879 .) ac_abs_top_builddir=$ac_abs_builddir;;
880 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
881 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
882 esac;;
883 esac
884 case $ac_abs_builddir in
885 .) ac_abs_srcdir=$ac_srcdir;;
886 *)
887 case $ac_srcdir in
888 .) ac_abs_srcdir=$ac_abs_builddir;;
889 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
890 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
891 esac;;
892 esac
893 case $ac_abs_builddir in
894 .) ac_abs_top_srcdir=$ac_top_srcdir;;
895 *)
896 case $ac_top_srcdir in
897 .) ac_abs_top_srcdir=$ac_abs_builddir;;
898 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
899 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
900 esac;;
901 esac
902
903 cd $ac_dir
904 # Check for guested configure; otherwise get Cygnus style configure.
905 if test -f $ac_srcdir/configure.gnu; then
906 echo
907 $SHELL $ac_srcdir/configure.gnu --help=recursive
908 elif test -f $ac_srcdir/configure; then
909 echo
910 $SHELL $ac_srcdir/configure --help=recursive
911 elif test -f $ac_srcdir/configure.ac ||
912 test -f $ac_srcdir/configure.in; then
913 echo
914 $ac_configure --help
1322 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1323
1324 cd "$ac_dir" || { ac_status=$?; continue; }
1325 # Check for guested configure.
1326 if test -f "$ac_srcdir/configure.gnu"; then
1327 echo &&
1328 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1329 elif test -f "$ac_srcdir/configure"; then
1330 echo &&
1331 $SHELL "$ac_srcdir/configure" --help=recursive
9151332 else
9161333 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
917 fi
918 cd "$ac_popdir"
1334 fi || ac_status=$?
1335 cd "$ac_pwd" || { ac_status=$?; break; }
9191336 done
9201337 fi
9211338
922 test -n "$ac_init_help" && exit 0
1339 test -n "$ac_init_help" && exit $ac_status
9231340 if $ac_init_version; then
9241341 cat <<\_ACEOF
925
926 Copyright (C) 2003 Free Software Foundation, Inc.
1342 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.
9271347 This configure script is free software; the Free Software Foundation
9281348 gives unlimited permission to copy, distribute and modify it.
9291349 _ACEOF
930 exit 0
931 fi
932 exec 5>config.log
933 cat >&5 <<_ACEOF
1350 exit
1351 fi
1352 cat >config.log <<_ACEOF
9341353 This file contains any messages produced by compilers while
9351354 running configure, to aid debugging if configure makes a mistake.
9361355
9371356 It was created by $as_me, which was
938 generated by GNU Autoconf 2.59. Invocation command line was
1357 generated by GNU Autoconf 2.61. Invocation command line was
9391358
9401359 $ $0 $@
9411360
9421361 _ACEOF
1362 exec 5>>config.log
9431363 {
9441364 cat <<_ASUNAME
9451365 ## --------- ##
9581378 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
9591379 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
9601380 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
961 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1381 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
9621382 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
9631383 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
9641384 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
9721392 test -z "$as_dir" && as_dir=.
9731393 echo "PATH: $as_dir"
9741394 done
1395 IFS=$as_save_IFS
9751396
9761397 } >&5
9771398
9931414 ac_configure_args=
9941415 ac_configure_args0=
9951416 ac_configure_args1=
996 ac_sep=
9971417 ac_must_keep_next=false
9981418 for ac_pass in 1 2
9991419 do
10041424 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10051425 | -silent | --silent | --silen | --sile | --sil)
10061426 continue ;;
1007 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1427 *\'*)
10081428 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10091429 esac
10101430 case $ac_pass in
10261446 -* ) ac_must_keep_next=true ;;
10271447 esac
10281448 fi
1029 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1030 # Get rid of the leading space.
1031 ac_sep=" "
1449 ac_configure_args="$ac_configure_args '$ac_arg'"
10321450 ;;
10331451 esac
10341452 done
10391457 # When interrupted or exit'd, cleanup temporary files, and complete
10401458 # config.log. We remove comments because anyway the quotes in there
10411459 # would cause problems or look ugly.
1042 # WARNING: Be sure not to use single quotes in there, as some shells,
1043 # such as our DU 5.0 friend, will then `close' the trap.
1460 # WARNING: Use '\'' to represent an apostrophe within the trap.
1461 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
10441462 trap 'exit_status=$?
10451463 # Save into config.log some information that might help in debugging.
10461464 {
10531471 _ASBOX
10541472 echo
10551473 # The following way of writing the cache mishandles newlines in values,
1056 {
1474 (
1475 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1476 eval ac_val=\$$ac_var
1477 case $ac_val in #(
1478 *${as_nl}*)
1479 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;} ;;
1482 esac
1483 case $ac_var in #(
1484 _ | IFS | as_nl) ;; #(
1485 *) $as_unset $ac_var ;;
1486 esac ;;
1487 esac
1488 done
10571489 (set) 2>&1 |
1058 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1059 *ac_space=\ *)
1490 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1491 *${as_nl}ac_space=\ *)
10601492 sed -n \
1061 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1062 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1493 "s/'\''/'\''\\\\'\'''\''/g;
1494 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1495 ;; #(
1496 *)
1497 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10631498 ;;
1064 *)
1065 sed -n \
1066 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1067 ;;
1068 esac;
1069 }
1499 esac |
1500 sort
1501 )
10701502 echo
10711503
10721504 cat <<\_ASBOX
10771509 echo
10781510 for ac_var in $ac_subst_vars
10791511 do
1080 eval ac_val=$`echo $ac_var`
1081 echo "$ac_var='"'"'$ac_val'"'"'"
1512 eval ac_val=\$$ac_var
1513 case $ac_val in
1514 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1515 esac
1516 echo "$ac_var='\''$ac_val'\''"
10821517 done | sort
10831518 echo
10841519
10851520 if test -n "$ac_subst_files"; then
10861521 cat <<\_ASBOX
1087 ## ------------- ##
1088 ## Output files. ##
1089 ## ------------- ##
1522 ## ------------------- ##
1523 ## File substitutions. ##
1524 ## ------------------- ##
10901525 _ASBOX
10911526 echo
10921527 for ac_var in $ac_subst_files
10931528 do
1094 eval ac_val=$`echo $ac_var`
1095 echo "$ac_var='"'"'$ac_val'"'"'"
1529 eval ac_val=\$$ac_var
1530 case $ac_val in
1531 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1532 esac
1533 echo "$ac_var='\''$ac_val'\''"
10961534 done | sort
10971535 echo
10981536 fi
11041542 ## ----------- ##
11051543 _ASBOX
11061544 echo
1107 sed "/^$/d" confdefs.h | sort
1545 cat confdefs.h
11081546 echo
11091547 fi
11101548 test "$ac_signal" != 0 &&
11111549 echo "$as_me: caught signal $ac_signal"
11121550 echo "$as_me: exit $exit_status"
11131551 } >&5
1114 rm -f core *.core &&
1115 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1552 rm -f core *.core core.conftest.* &&
1553 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
11161554 exit $exit_status
1117 ' 0
1555 ' 0
11181556 for ac_signal in 1 2 13 15; do
11191557 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
11201558 done
11211559 ac_signal=0
11221560
11231561 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1124 rm -rf conftest* confdefs.h
1125 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1126 echo >confdefs.h
1562 rm -f -r conftest* confdefs.h
11271563
11281564 # Predefined preprocessor variables.
11291565
11541590
11551591 # Let the site file select an alternate cache file if it wants to.
11561592 # Prefer explicitly selected file to automatically selected ones.
1157 if test -z "$CONFIG_SITE"; then
1158 if test "x$prefix" != xNONE; then
1159 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1160 else
1161 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1162 fi
1163 fi
1164 for ac_site_file in $CONFIG_SITE; do
1593 if test -n "$CONFIG_SITE"; then
1594 set x "$CONFIG_SITE"
1595 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
1603 do
11651604 if test -r "$ac_site_file"; then
11661605 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
11671606 echo "$as_me: loading site script $ac_site_file" >&6;}
11771616 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
11781617 echo "$as_me: loading cache $cache_file" >&6;}
11791618 case $cache_file in
1180 [\\/]* | ?:[\\/]* ) . $cache_file;;
1181 *) . ./$cache_file;;
1619 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1620 *) . "./$cache_file";;
11821621 esac
11831622 fi
11841623 else
11901629 # Check that the precious variables saved in the cache have kept the same
11911630 # value.
11921631 ac_cache_corrupted=false
1193 for ac_var in `(set) 2>&1 |
1194 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1632 for ac_var in $ac_precious_vars; do
11951633 eval ac_old_set=\$ac_cv_env_${ac_var}_set
11961634 eval ac_new_set=\$ac_env_${ac_var}_set
1197 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1198 eval ac_new_val="\$ac_env_${ac_var}_value"
1635 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1636 eval ac_new_val=\$ac_env_${ac_var}_value
11991637 case $ac_old_set,$ac_new_set in
12001638 set,)
12011639 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
12201658 # Pass precious variables to config.status.
12211659 if test "$ac_new_set" = set; then
12221660 case $ac_new_val in
1223 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1224 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1661 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
12251662 *) ac_arg=$ac_var=$ac_new_val ;;
12261663 esac
12271664 case " $ac_configure_args " in
12381675 { (exit 1); exit 1; }; }
12391676 fi
12401677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
12411694 ac_ext=c
12421695 ac_cpp='$CPP $CPPFLAGS'
12431696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12461699
12471700
12481701
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
12661702 ######## Detect the canonical host and target build environment
12671703 ac_aux_dir=
1268 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1269 if test -f $ac_dir/install-sh; then
1704 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1705 if test -f "$ac_dir/install-sh"; then
12701706 ac_aux_dir=$ac_dir
12711707 ac_install_sh="$ac_aux_dir/install-sh -c"
12721708 break
1273 elif test -f $ac_dir/install.sh; then
1709 elif test -f "$ac_dir/install.sh"; then
12741710 ac_aux_dir=$ac_dir
12751711 ac_install_sh="$ac_aux_dir/install.sh -c"
12761712 break
1277 elif test -f $ac_dir/shtool; then
1713 elif test -f "$ac_dir/shtool"; then
12781714 ac_aux_dir=$ac_dir
12791715 ac_install_sh="$ac_aux_dir/shtool install -c"
12801716 break
12811717 fi
12821718 done
12831719 if test -z "$ac_aux_dir"; then
1284 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1285 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
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;}
12861722 { (exit 1); exit 1; }; }
12871723 fi
1288 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1289 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1290 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1724
1725 # These three variables are undocumented and unsupported,
1726 # and are intended to be withdrawn in a future Autoconf release.
1727 # They can cause serious problems if a builder's source tree is in a directory
1728 # whose full name contains unusual characters.
1729 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1730 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1731 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1732
12911733
12921734 # Make sure we can run config.sub.
1293 $ac_config_sub sun4 >/dev/null 2>&1 ||
1294 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1295 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1735 $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;}
12961738 { (exit 1); exit 1; }; }
12971739
1298 echo "$as_me:$LINENO: checking build system type" >&5
1299 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1740 { echo "$as_me:$LINENO: checking build system type" >&5
1741 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
13001742 if test "${ac_cv_build+set}" = set; then
13011743 echo $ECHO_N "(cached) $ECHO_C" >&6
13021744 else
1303 ac_cv_build_alias=$build_alias
1304 test -z "$ac_cv_build_alias" &&
1305 ac_cv_build_alias=`$ac_config_guess`
1306 test -z "$ac_cv_build_alias" &&
1745 ac_build_alias=$build_alias
1746 test "x$ac_build_alias" = x &&
1747 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1748 test "x$ac_build_alias" = x &&
13071749 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
13081750 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
13091751 { (exit 1); exit 1; }; }
1310 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1311 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1312 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1752 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;}
13131755 { (exit 1); exit 1; }; }
13141756
13151757 fi
1316 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1317 echo "${ECHO_T}$ac_cv_build" >&6
1758 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1759 echo "${ECHO_T}$ac_cv_build" >&6; }
1760 case $ac_cv_build in
1761 *-*-*) ;;
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; }; };;
1765 esac
13181766 build=$ac_cv_build
1319 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1320 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1321 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1322
1323
1324 echo "$as_me:$LINENO: checking host system type" >&5
1325 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1767 ac_save_IFS=$IFS; IFS='-'
1768 set x $ac_cv_build
1769 shift
1770 build_cpu=$1
1771 build_vendor=$2
1772 shift; shift
1773 # Remember, the first character of IFS is used to create $*,
1774 # except with old shells:
1775 build_os=$*
1776 IFS=$ac_save_IFS
1777 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1778
1779
1780 { echo "$as_me:$LINENO: checking host system type" >&5
1781 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
13261782 if test "${ac_cv_host+set}" = set; then
13271783 echo $ECHO_N "(cached) $ECHO_C" >&6
13281784 else
1329 ac_cv_host_alias=$host_alias
1330 test -z "$ac_cv_host_alias" &&
1331 ac_cv_host_alias=$ac_cv_build_alias
1332 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1333 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1334 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1785 if test "x$host_alias" = x; then
1786 ac_cv_host=$ac_cv_build
1787 else
1788 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;}
13351791 { (exit 1); exit 1; }; }
1336
1337 fi
1338 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1339 echo "${ECHO_T}$ac_cv_host" >&6
1792 fi
1793
1794 fi
1795 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1796 echo "${ECHO_T}$ac_cv_host" >&6; }
1797 case $ac_cv_host in
1798 *-*-*) ;;
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; }; };;
1802 esac
13401803 host=$ac_cv_host
1341 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1342 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1343 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1344
1345
1346 echo "$as_me:$LINENO: checking target system type" >&5
1347 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1804 ac_save_IFS=$IFS; IFS='-'
1805 set x $ac_cv_host
1806 shift
1807 host_cpu=$1
1808 host_vendor=$2
1809 shift; shift
1810 # Remember, the first character of IFS is used to create $*,
1811 # except with old shells:
1812 host_os=$*
1813 IFS=$ac_save_IFS
1814 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1815
1816
1817 { echo "$as_me:$LINENO: checking target system type" >&5
1818 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
13481819 if test "${ac_cv_target+set}" = set; then
13491820 echo $ECHO_N "(cached) $ECHO_C" >&6
13501821 else
1351 ac_cv_target_alias=$target_alias
1352 test "x$ac_cv_target_alias" = "x" &&
1353 ac_cv_target_alias=$ac_cv_host_alias
1354 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1355 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1356 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1822 if test "x$target_alias" = x; then
1823 ac_cv_target=$ac_cv_host
1824 else
1825 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;}
13571828 { (exit 1); exit 1; }; }
1358
1359 fi
1360 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1361 echo "${ECHO_T}$ac_cv_target" >&6
1829 fi
1830
1831 fi
1832 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1833 echo "${ECHO_T}$ac_cv_target" >&6; }
1834 case $ac_cv_target in
1835 *-*-*) ;;
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; }; };;
1839 esac
13621840 target=$ac_cv_target
1363 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1364 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1365 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1841 ac_save_IFS=$IFS; IFS='-'
1842 set x $ac_cv_target
1843 shift
1844 target_cpu=$1
1845 target_vendor=$2
1846 shift; shift
1847 # Remember, the first character of IFS is used to create $*,
1848 # except with old shells:
1849 target_os=$*
1850 IFS=$ac_save_IFS
1851 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
13661852
13671853
13681854 # The aliases save the names the user supplied, while $host etc.
13751861 ######## Setup for automake
13761862 NAME="bumprace"
13771863 SDL_VERSION=1.1.5
1378 am__api_version="1.4"
1864 am__api_version='1.10'
1865
13791866 # Find a good install program. We prefer a C program (faster),
13801867 # so one script is as good as another. But avoid the broken or
13811868 # incompatible versions:
13891876 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13901877 # OS/2's system install, which has a completely different semantic
13911878 # ./install, which can be erroneously created by make from ./install.sh.
1392 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1393 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
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; }
13941881 if test -z "$INSTALL"; then
13951882 if test "${ac_cv_path_install+set}" = set; then
13961883 echo $ECHO_N "(cached) $ECHO_C" >&6
14121899 # by default.
14131900 for ac_prog in ginstall scoinst install; do
14141901 for ac_exec_ext in '' $ac_executable_extensions; do
1415 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1902 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
14161903 if test $ac_prog = install &&
14171904 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14181905 # AIX install. It has an incompatible calling convention.
14311918 ;;
14321919 esac
14331920 done
1921 IFS=$as_save_IFS
14341922
14351923
14361924 fi
14371925 if test "${ac_cv_path_install+set}" = set; then
14381926 INSTALL=$ac_cv_path_install
14391927 else
1440 # As a last resort, use the slow shell script. We don't cache a
1441 # path for INSTALL within a source directory, because that will
1928 # As a last resort, use the slow shell script. Don't cache a
1929 # value for INSTALL within a source directory, because that will
14421930 # break other packages using the cache if that directory is
1443 # removed, or if the path is relative.
1931 # removed, or if the value is a relative name.
14441932 INSTALL=$ac_install_sh
14451933 fi
14461934 fi
1447 echo "$as_me:$LINENO: result: $INSTALL" >&5
1448 echo "${ECHO_T}$INSTALL" >&6
1935 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1936 echo "${ECHO_T}$INSTALL" >&6; }
14491937
14501938 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14511939 # It thinks the first close brace ends the variable substitution.
14551943
14561944 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14571945
1458 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1459 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
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; }
14601948 # Just in case
14611949 sleep 1
1462 echo timestamp > conftestfile
1950 echo timestamp > conftest.file
14631951 # Do `set' in a subshell so we don't clobber the current shell's
14641952 # arguments. Must try -L first in case configure is actually a
14651953 # symlink; some systems play weird games with the mod time of symlinks
14661954 # (eg FreeBSD returns the mod time of the symlink's containing
14671955 # directory).
14681956 if (
1469 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1957 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
14701958 if test "$*" = "X"; then
14711959 # -L didn't work.
1472 set X `ls -t $srcdir/configure conftestfile`
1960 set X `ls -t $srcdir/configure conftest.file`
14731961 fi
1474 if test "$*" != "X $srcdir/configure conftestfile" \
1475 && test "$*" != "X conftestfile $srcdir/configure"; then
1962 rm -f conftest.file
1963 if test "$*" != "X $srcdir/configure conftest.file" \
1964 && test "$*" != "X conftest.file $srcdir/configure"; then
14761965
14771966 # If neither matched, then we have a broken ls. This can happen
14781967 # if, for instance, CONFIG_SHELL is bash and it inherits a
14851974 { (exit 1); exit 1; }; }
14861975 fi
14871976
1488 test "$2" = conftestfile
1977 test "$2" = conftest.file
14891978 )
14901979 then
14911980 # Ok.
14971986 Check your system clock" >&2;}
14981987 { (exit 1); exit 1; }; }
14991988 fi
1500 rm -f conftest*
1501 echo "$as_me:$LINENO: result: yes" >&5
1502 echo "${ECHO_T}yes" >&6
1989 { echo "$as_me:$LINENO: result: yes" >&5
1990 echo "${ECHO_T}yes" >&6; }
15031991 test "$program_prefix" != NONE &&
1504 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1992 program_transform_name="s&^&$program_prefix&;$program_transform_name"
15051993 # Use a double $ so make ignores it.
15061994 test "$program_suffix" != NONE &&
1507 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1995 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
15081996 # Double any \ or $. echo might interpret backslashes.
15091997 # By default was `s,x,x', remove it if useless.
15101998 cat <<\_ACEOF >conftest.sed
15111999 s/[\\$]/&&/g;s/;s,x,x,$//
15122000 _ACEOF
15132001 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1514 rm conftest.sed
1515
1516 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1517 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1518 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1519 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
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"
2008 # Use eval to expand $SHELL
2009 if eval "$MISSING --run true"; then
2010 am_missing_run="$MISSING --run "
2011 else
2012 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; }
2019 if test -z "$MKDIR_P"; then
2020 if test "${ac_cv_path_mkdir+set}" = set; then
15202021 echo $ECHO_N "(cached) $ECHO_C" >&6
15212022 else
2023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2024 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2025 do
2026 IFS=$as_save_IFS
2027 test -z "$as_dir" && as_dir=.
2028 for ac_prog in mkdir gmkdir; do
2029 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
2031 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2032 'mkdir (GNU coreutils) '* | \
2033 'mkdir (coreutils) '* | \
2034 'mkdir (fileutils) '4.1*)
2035 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2036 break 3;;
2037 esac
2038 done
2039 done
2040 done
2041 IFS=$as_save_IFS
2042
2043 fi
2044
2045 if test "${ac_cv_path_mkdir+set}" = set; then
2046 MKDIR_P="$ac_cv_path_mkdir -p"
2047 else
2048 # As a last resort, use the slow shell script. Don't cache a
2049 # value for MKDIR_P within a source directory, because that will
2050 # break other packages using the cache if that directory is
2051 # removed, or if the value is a relative name.
2052 test -d ./--version && rmdir ./--version
2053 MKDIR_P="$ac_install_sh -d"
2054 fi
2055 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
2064
2065 for ac_prog in gawk mawk nawk awk
2066 do
2067 # Extract the first word of "$ac_prog", so it can be a program name with args.
2068 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
2073 else
2074 if test -n "$AWK"; then
2075 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2076 else
2077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078 for as_dir in $PATH
2079 do
2080 IFS=$as_save_IFS
2081 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
2084 ac_cv_prog_AWK="$ac_prog"
2085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2086 break 2
2087 fi
2088 done
2089 done
2090 IFS=$as_save_IFS
2091
2092 fi
2093 fi
2094 AWK=$ac_cv_prog_AWK
2095 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; }
2101 fi
2102
2103
2104 test -n "$AWK" && break
2105 done
2106
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
2112 else
15222113 cat >conftest.make <<\_ACEOF
2114 SHELL = /bin/sh
15232115 all:
1524 @echo 'ac_maketemp="$(MAKE)"'
2116 @echo '@@@%%%=$(MAKE)=@@@%%%'
15252117 _ACEOF
15262118 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1527 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1528 if test -n "$ac_maketemp"; then
1529 eval ac_cv_prog_make_${ac_make}_set=yes
1530 else
1531 eval ac_cv_prog_make_${ac_make}_set=no
1532 fi
2119 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2120 *@@@%%%=?*=@@@%%%*)
2121 eval ac_cv_prog_make_${ac_make}_set=yes;;
2122 *)
2123 eval ac_cv_prog_make_${ac_make}_set=no;;
2124 esac
15332125 rm -f conftest.make
15342126 fi
1535 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1536 echo "$as_me:$LINENO: result: yes" >&5
1537 echo "${ECHO_T}yes" >&6
2127 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; }
15382130 SET_MAKE=
15392131 else
1540 echo "$as_me:$LINENO: result: no" >&5
1541 echo "${ECHO_T}no" >&6
2132 { echo "$as_me:$LINENO: result: no" >&5
2133 echo "${ECHO_T}no" >&6; }
15422134 SET_MAKE="MAKE=${MAKE-make}"
15432135 fi
15442136
1545
1546 PACKAGE=$NAME
1547
1548 VERSION=1.5.2
1549
1550 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1551 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2137 rm -rf .tst 2>/dev/null
2138 mkdir .tst 2>/dev/null
2139 if test -d .tst; then
2140 am__leading_dot=.
2141 else
2142 am__leading_dot=_
2143 fi
2144 rmdir .tst 2>/dev/null
2145
2146 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2147 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2148 # is not polluted with repeated "-I."
2149 am__isrc=' -I$(srcdir)'
2150 # test to see if srcdir already configured
2151 if test -f $srcdir/config.status; then
2152 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
15522153 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
15532154 { (exit 1); exit 1; }; }
1554 fi
2155 fi
2156 fi
2157
2158 # test whether we have cygpath
2159 if test -z "$CYGPATH_W"; then
2160 if (cygpath --version) >/dev/null 2>/dev/null; then
2161 CYGPATH_W='cygpath -w'
2162 else
2163 CYGPATH_W=echo
2164 fi
2165 fi
2166
2167
2168 # Define the identity of the package.
2169 PACKAGE=$NAME
2170 VERSION=1.5.3
2171
15552172
15562173 cat >>confdefs.h <<_ACEOF
15572174 #define PACKAGE "$PACKAGE"
15622179 #define VERSION "$VERSION"
15632180 _ACEOF
15642181
1565
1566
1567 missing_dir=`cd $ac_aux_dir && pwd`
1568 echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1569 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
1570 # Run test in a subshell; some versions of sh will print an error if
1571 # an executable is not found, even if stderr is redirected.
1572 # Redirect stdin to placate older versions of autoconf. Sigh.
1573 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1574 ACLOCAL=aclocal-${am__api_version}
1575 echo "$as_me:$LINENO: result: found" >&5
1576 echo "${ECHO_T}found" >&6
1577 else
1578 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1579 echo "$as_me:$LINENO: result: missing" >&5
1580 echo "${ECHO_T}missing" >&6
1581 fi
1582
1583 echo "$as_me:$LINENO: checking for working autoconf" >&5
1584 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1585 # Run test in a subshell; some versions of sh will print an error if
1586 # an executable is not found, even if stderr is redirected.
1587 # Redirect stdin to placate older versions of autoconf. Sigh.
1588 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1589 AUTOCONF=autoconf
1590 echo "$as_me:$LINENO: result: found" >&5
1591 echo "${ECHO_T}found" >&6
1592 else
1593 AUTOCONF="$missing_dir/missing autoconf"
1594 echo "$as_me:$LINENO: result: missing" >&5
1595 echo "${ECHO_T}missing" >&6
1596 fi
1597
1598 echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1599 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
1600 # Run test in a subshell; some versions of sh will print an error if
1601 # an executable is not found, even if stderr is redirected.
1602 # Redirect stdin to placate older versions of autoconf. Sigh.
1603 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1604 AUTOMAKE=automake-${am__api_version}
1605 echo "$as_me:$LINENO: result: found" >&5
1606 echo "${ECHO_T}found" >&6
1607 else
1608 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1609 echo "$as_me:$LINENO: result: missing" >&5
1610 echo "${ECHO_T}missing" >&6
1611 fi
1612
1613 echo "$as_me:$LINENO: checking for working autoheader" >&5
1614 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1615 # Run test in a subshell; some versions of sh will print an error if
1616 # an executable is not found, even if stderr is redirected.
1617 # Redirect stdin to placate older versions of autoconf. Sigh.
1618 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1619 AUTOHEADER=autoheader
1620 echo "$as_me:$LINENO: result: found" >&5
1621 echo "${ECHO_T}found" >&6
1622 else
1623 AUTOHEADER="$missing_dir/missing autoheader"
1624 echo "$as_me:$LINENO: result: missing" >&5
1625 echo "${ECHO_T}missing" >&6
1626 fi
1627
1628 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1629 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1630 # Run test in a subshell; some versions of sh will print an error if
1631 # an executable is not found, even if stderr is redirected.
1632 # Redirect stdin to placate older versions of autoconf. Sigh.
1633 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1634 MAKEINFO=makeinfo
1635 echo "$as_me:$LINENO: result: found" >&5
1636 echo "${ECHO_T}found" >&6
1637 else
1638 MAKEINFO="$missing_dir/missing makeinfo"
1639 echo "$as_me:$LINENO: result: missing" >&5
1640 echo "${ECHO_T}missing" >&6
1641 fi
2182 # Some tools Automake needs.
2183
2184 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2185
2186
2187 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2188
2189
2190 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2191
2192
2193 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2194
2195
2196 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2197
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
2226 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
16422314
16432315
16442316
16512323 if test -n "$ac_tool_prefix"; then
16522324 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16532325 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1654 echo "$as_me:$LINENO: checking for $ac_word" >&5
1655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16562328 if test "${ac_cv_prog_CC+set}" = set; then
16572329 echo $ECHO_N "(cached) $ECHO_C" >&6
16582330 else
16652337 IFS=$as_save_IFS
16662338 test -z "$as_dir" && as_dir=.
16672339 for ac_exec_ext in '' $ac_executable_extensions; do
1668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16692341 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16702342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16712343 break 2
16722344 fi
16732345 done
16742346 done
2347 IFS=$as_save_IFS
16752348
16762349 fi
16772350 fi
16782351 CC=$ac_cv_prog_CC
16792352 if test -n "$CC"; then
1680 echo "$as_me:$LINENO: result: $CC" >&5
1681 echo "${ECHO_T}$CC" >&6
1682 else
1683 echo "$as_me:$LINENO: result: no" >&5
1684 echo "${ECHO_T}no" >&6
1685 fi
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; }
2358 fi
2359
16862360
16872361 fi
16882362 if test -z "$ac_cv_prog_CC"; then
16892363 ac_ct_CC=$CC
16902364 # Extract the first word of "gcc", so it can be a program name with args.
16912365 set dummy gcc; ac_word=$2
1692 echo "$as_me:$LINENO: checking for $ac_word" >&5
1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16942368 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16952369 echo $ECHO_N "(cached) $ECHO_C" >&6
16962370 else
17032377 IFS=$as_save_IFS
17042378 test -z "$as_dir" && as_dir=.
17052379 for ac_exec_ext in '' $ac_executable_extensions; do
1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17072381 ac_cv_prog_ac_ct_CC="gcc"
17082382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17092383 break 2
17102384 fi
17112385 done
17122386 done
2387 IFS=$as_save_IFS
17132388
17142389 fi
17152390 fi
17162391 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17172392 if test -n "$ac_ct_CC"; then
1718 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1719 echo "${ECHO_T}$ac_ct_CC" >&6
1720 else
1721 echo "$as_me:$LINENO: result: no" >&5
1722 echo "${ECHO_T}no" >&6
1723 fi
1724
1725 CC=$ac_ct_CC
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; }
2398 fi
2399
2400 if test "x$ac_ct_CC" = x; then
2401 CC=""
2402 else
2403 case $cross_compiling:$ac_tool_warned in
2404 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;}
2411 ac_tool_warned=yes ;;
2412 esac
2413 CC=$ac_ct_CC
2414 fi
17262415 else
17272416 CC="$ac_cv_prog_CC"
17282417 fi
17292418
17302419 if test -z "$CC"; then
1731 if test -n "$ac_tool_prefix"; then
1732 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2420 if test -n "$ac_tool_prefix"; then
2421 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
17332422 set dummy ${ac_tool_prefix}cc; ac_word=$2
1734 echo "$as_me:$LINENO: checking for $ac_word" >&5
1735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17362425 if test "${ac_cv_prog_CC+set}" = set; then
17372426 echo $ECHO_N "(cached) $ECHO_C" >&6
17382427 else
17452434 IFS=$as_save_IFS
17462435 test -z "$as_dir" && as_dir=.
17472436 for ac_exec_ext in '' $ac_executable_extensions; do
1748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17492438 ac_cv_prog_CC="${ac_tool_prefix}cc"
17502439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17512440 break 2
17522441 fi
17532442 done
17542443 done
2444 IFS=$as_save_IFS
17552445
17562446 fi
17572447 fi
17582448 CC=$ac_cv_prog_CC
17592449 if test -n "$CC"; then
1760 echo "$as_me:$LINENO: result: $CC" >&5
1761 echo "${ECHO_T}$CC" >&6
1762 else
1763 echo "$as_me:$LINENO: result: no" >&5
1764 echo "${ECHO_T}no" >&6
1765 fi
1766
1767 fi
1768 if test -z "$ac_cv_prog_CC"; then
1769 ac_ct_CC=$CC
1770 # Extract the first word of "cc", so it can be a program name with args.
1771 set dummy cc; ac_word=$2
1772 echo "$as_me:$LINENO: checking for $ac_word" >&5
1773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1774 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 else
1777 if test -n "$ac_ct_CC"; then
1778 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1779 else
1780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1781 for as_dir in $PATH
1782 do
1783 IFS=$as_save_IFS
1784 test -z "$as_dir" && as_dir=.
1785 for ac_exec_ext in '' $ac_executable_extensions; do
1786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1787 ac_cv_prog_ac_ct_CC="cc"
1788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1789 break 2
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; }
2455 fi
2456
2457
17902458 fi
1791 done
1792 done
1793
1794 fi
1795 fi
1796 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1797 if test -n "$ac_ct_CC"; then
1798 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1799 echo "${ECHO_T}$ac_ct_CC" >&6
1800 else
1801 echo "$as_me:$LINENO: result: no" >&5
1802 echo "${ECHO_T}no" >&6
1803 fi
1804
1805 CC=$ac_ct_CC
1806 else
1807 CC="$ac_cv_prog_CC"
1808 fi
1809
18102459 fi
18112460 if test -z "$CC"; then
18122461 # Extract the first word of "cc", so it can be a program name with args.
18132462 set dummy cc; ac_word=$2
1814 echo "$as_me:$LINENO: checking for $ac_word" >&5
1815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18162465 if test "${ac_cv_prog_CC+set}" = set; then
18172466 echo $ECHO_N "(cached) $ECHO_C" >&6
18182467 else
18262475 IFS=$as_save_IFS
18272476 test -z "$as_dir" && as_dir=.
18282477 for ac_exec_ext in '' $ac_executable_extensions; do
1829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18302479 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
18312480 ac_prog_rejected=yes
18322481 continue
18372486 fi
18382487 done
18392488 done
2489 IFS=$as_save_IFS
18402490
18412491 if test $ac_prog_rejected = yes; then
18422492 # We found a bogon in the path, so make sure we never use it.
18542504 fi
18552505 CC=$ac_cv_prog_CC
18562506 if test -n "$CC"; then
1857 echo "$as_me:$LINENO: result: $CC" >&5
1858 echo "${ECHO_T}$CC" >&6
1859 else
1860 echo "$as_me:$LINENO: result: no" >&5
1861 echo "${ECHO_T}no" >&6
1862 fi
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; }
2512 fi
2513
18632514
18642515 fi
18652516 if test -z "$CC"; then
18662517 if test -n "$ac_tool_prefix"; then
1867 for ac_prog in cl
2518 for ac_prog in cl.exe
18682519 do
18692520 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18702521 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1871 echo "$as_me:$LINENO: checking for $ac_word" >&5
1872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18732524 if test "${ac_cv_prog_CC+set}" = set; then
18742525 echo $ECHO_N "(cached) $ECHO_C" >&6
18752526 else
18822533 IFS=$as_save_IFS
18832534 test -z "$as_dir" && as_dir=.
18842535 for ac_exec_ext in '' $ac_executable_extensions; do
1885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18862537 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
18872538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18882539 break 2
18892540 fi
18902541 done
18912542 done
2543 IFS=$as_save_IFS
18922544
18932545 fi
18942546 fi
18952547 CC=$ac_cv_prog_CC
18962548 if test -n "$CC"; then
1897 echo "$as_me:$LINENO: result: $CC" >&5
1898 echo "${ECHO_T}$CC" >&6
1899 else
1900 echo "$as_me:$LINENO: result: no" >&5
1901 echo "${ECHO_T}no" >&6
1902 fi
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; }
2554 fi
2555
19032556
19042557 test -n "$CC" && break
19052558 done
19062559 fi
19072560 if test -z "$CC"; then
19082561 ac_ct_CC=$CC
1909 for ac_prog in cl
2562 for ac_prog in cl.exe
19102563 do
19112564 # Extract the first word of "$ac_prog", so it can be a program name with args.
19122565 set dummy $ac_prog; ac_word=$2
1913 echo "$as_me:$LINENO: checking for $ac_word" >&5
1914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2566 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19152568 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
19162569 echo $ECHO_N "(cached) $ECHO_C" >&6
19172570 else
19242577 IFS=$as_save_IFS
19252578 test -z "$as_dir" && as_dir=.
19262579 for ac_exec_ext in '' $ac_executable_extensions; do
1927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19282581 ac_cv_prog_ac_ct_CC="$ac_prog"
19292582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19302583 break 2
19312584 fi
19322585 done
19332586 done
2587 IFS=$as_save_IFS
19342588
19352589 fi
19362590 fi
19372591 ac_ct_CC=$ac_cv_prog_ac_ct_CC
19382592 if test -n "$ac_ct_CC"; then
1939 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1940 echo "${ECHO_T}$ac_ct_CC" >&6
1941 else
1942 echo "$as_me:$LINENO: result: no" >&5
1943 echo "${ECHO_T}no" >&6
1944 fi
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; }
2598 fi
2599
19452600
19462601 test -n "$ac_ct_CC" && break
19472602 done
19482603
1949 CC=$ac_ct_CC
2604 if test "x$ac_ct_CC" = x; then
2605 CC=""
2606 else
2607 case $cross_compiling:$ac_tool_warned in
2608 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;}
2615 ac_tool_warned=yes ;;
2616 esac
2617 CC=$ac_ct_CC
2618 fi
19502619 fi
19512620
19522621 fi
19592628 { (exit 1); exit 1; }; }
19602629
19612630 # Provide some information about the compiler.
1962 echo "$as_me:$LINENO:" \
1963 "checking for C compiler version" >&5
2631 echo "$as_me:$LINENO: checking for C compiler version" >&5
19642632 ac_compiler=`set X $ac_compile; echo $2`
1965 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1966 (eval $ac_compiler --version </dev/null >&5) 2>&5
2633 { (ac_try="$ac_compiler --version >&5"
2634 case "(($ac_try" in
2635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2636 *) ac_try_echo=$ac_try;;
2637 esac
2638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2639 (eval "$ac_compiler --version >&5") 2>&5
19672640 ac_status=$?
19682641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692642 (exit $ac_status); }
1970 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1971 (eval $ac_compiler -v </dev/null >&5) 2>&5
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
19722650 ac_status=$?
19732651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742652 (exit $ac_status); }
1975 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1976 (eval $ac_compiler -V </dev/null >&5) 2>&5
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
19772660 ac_status=$?
19782661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792662 (exit $ac_status); }
19982681 # Try to create an executable without -o first, disregard a.out.
19992682 # It will help us diagnose broken compilers, and finding out an intuition
20002683 # of exeext.
2001 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2002 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
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; }
20032686 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2004 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2005 (eval $ac_link_default) 2>&5
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.
2696 ac_rmfiles=
2697 for ac_file in $ac_files
2698 do
2699 case $ac_file in
2700 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2701 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2702 esac
2703 done
2704 rm -f $ac_rmfiles
2705
2706 if { (ac_try="$ac_link_default"
2707 case "(($ac_try" in
2708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2709 *) ac_try_echo=$ac_try;;
2710 esac
2711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2712 (eval "$ac_link_default") 2>&5
20062713 ac_status=$?
20072714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082715 (exit $ac_status); }; then
2009 # Find the output, starting from the most likely. This scheme is
2010 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2011 # resort.
2012
2013 # Be careful to initialize this variable, since it used to be cached.
2014 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2015 ac_cv_exeext=
2016 # b.out is created by i960 compilers.
2017 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2716 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2717 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2718 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2719 # so that the user can short-circuit this test for compilers unknown to
2720 # Autoconf.
2721 for ac_file in $ac_files ''
20182722 do
20192723 test -f "$ac_file" || continue
20202724 case $ac_file in
2021 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2022 ;;
2023 conftest.$ac_ext )
2024 # This is the source file.
2725 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
20252726 ;;
20262727 [ab].out )
20272728 # We found the default executable, but exeext='' is most
20282729 # certainly right.
20292730 break;;
20302731 *.* )
2031 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2032 # FIXME: I believe we export ac_cv_exeext for Libtool,
2033 # but it would be cool to find out if it's true. Does anybody
2034 # maintain Libtool? --akim.
2035 export ac_cv_exeext
2732 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2733 then :; else
2734 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2735 fi
2736 # We set ac_cv_exeext here because the later test for it is not
2737 # safe: cross compilers may not add the suffix if given an `-o'
2738 # argument, so we may need to know it at that point already.
2739 # Even if this section looks crufty: it has the advantage of
2740 # actually working.
20362741 break;;
20372742 * )
20382743 break;;
20392744 esac
20402745 done
2041 else
2746 test "$ac_cv_exeext" = no && ac_cv_exeext=
2747
2748 else
2749 ac_file=''
2750 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
20422755 echo "$as_me: failed program was:" >&5
20432756 sed 's/^/| /' conftest.$ac_ext >&5
20442757
20502763 fi
20512764
20522765 ac_exeext=$ac_cv_exeext
2053 echo "$as_me:$LINENO: result: $ac_file" >&5
2054 echo "${ECHO_T}$ac_file" >&6
2055
2056 # Check the compiler produces executables we can run. If not, either
2766
2767 # Check that the compiler produces executables we can run. If not, either
20572768 # the compiler is broken, or we cross compile.
2058 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2059 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
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; }
20602771 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
20612772 # If not cross compiling, check that we can run a simple program.
20622773 if test "$cross_compiling" != yes; then
20632774 if { ac_try='./$ac_file'
2064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2065 (eval $ac_try) 2>&5
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
20662781 ac_status=$?
20672782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682783 (exit $ac_status); }; }; then
20812796 fi
20822797 fi
20832798 fi
2084 echo "$as_me:$LINENO: result: yes" >&5
2085 echo "${ECHO_T}yes" >&6
2799 { echo "$as_me:$LINENO: result: yes" >&5
2800 echo "${ECHO_T}yes" >&6; }
20862801
20872802 rm -f a.out a.exe conftest$ac_cv_exeext b.out
20882803 ac_clean_files=$ac_clean_files_save
2089 # Check the compiler produces executables we can run. If not, either
2804 # Check that the compiler produces executables we can run. If not, either
20902805 # the compiler is broken, or we cross compile.
2091 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2092 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2093 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2094 echo "${ECHO_T}$cross_compiling" >&6
2095
2096 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2097 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2099 (eval $ac_link) 2>&5
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"
2814 case "(($ac_try" in
2815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2816 *) ac_try_echo=$ac_try;;
2817 esac
2818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2819 (eval "$ac_link") 2>&5
21002820 ac_status=$?
21012821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022822 (exit $ac_status); }; then
21072827 for ac_file in conftest.exe conftest conftest.*; do
21082828 test -f "$ac_file" || continue
21092829 case $ac_file in
2110 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2830 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
21112831 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2112 export ac_cv_exeext
21132832 break;;
21142833 * ) break;;
21152834 esac
21232842 fi
21242843
21252844 rm -f conftest$ac_cv_exeext
2126 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2127 echo "${ECHO_T}$ac_cv_exeext" >&6
2845 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2846 echo "${ECHO_T}$ac_cv_exeext" >&6; }
21282847
21292848 rm -f conftest.$ac_ext
21302849 EXEEXT=$ac_cv_exeext
21312850 ac_exeext=$EXEEXT
2132 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2133 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
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; }
21342853 if test "${ac_cv_objext+set}" = set; then
21352854 echo $ECHO_N "(cached) $ECHO_C" >&6
21362855 else
21502869 }
21512870 _ACEOF
21522871 rm -f conftest.o conftest.obj
2153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2154 (eval $ac_compile) 2>&5
2872 if { (ac_try="$ac_compile"
2873 case "(($ac_try" in
2874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875 *) ac_try_echo=$ac_try;;
2876 esac
2877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2878 (eval "$ac_compile") 2>&5
21552879 ac_status=$?
21562880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572881 (exit $ac_status); }; then
2158 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2882 for ac_file in conftest.o conftest.obj conftest.*; do
2883 test -f "$ac_file" || continue;
21592884 case $ac_file in
2160 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2885 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
21612886 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
21622887 break;;
21632888 esac
21752900
21762901 rm -f conftest.$ac_cv_objext conftest.$ac_ext
21772902 fi
2178 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2179 echo "${ECHO_T}$ac_cv_objext" >&6
2903 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2904 echo "${ECHO_T}$ac_cv_objext" >&6; }
21802905 OBJEXT=$ac_cv_objext
21812906 ac_objext=$OBJEXT
2182 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2183 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
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; }
21842909 if test "${ac_cv_c_compiler_gnu+set}" = set; then
21852910 echo $ECHO_N "(cached) $ECHO_C" >&6
21862911 else
22032928 }
22042929 _ACEOF
22052930 rm -f conftest.$ac_objext
2206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2207 (eval $ac_compile) 2>conftest.er1
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
22082938 ac_status=$?
22092939 grep -v '^ *+' conftest.er1 >conftest.err
22102940 rm -f conftest.er1
22112941 cat conftest.err >&5
22122942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); } &&
2214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2216 (eval $ac_try) 2>&5
2217 ac_status=$?
2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219 (exit $ac_status); }; } &&
2220 { ac_try='test -s conftest.$ac_objext'
2221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2222 (eval $ac_try) 2>&5
2223 ac_status=$?
2224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225 (exit $ac_status); }; }; then
2943 (exit $ac_status); } && {
2944 test -z "$ac_c_werror_flag" ||
2945 test ! -s conftest.err
2946 } && test -s conftest.$ac_objext; then
22262947 ac_compiler_gnu=yes
22272948 else
22282949 echo "$as_me: failed program was:" >&5
22292950 sed 's/^/| /' conftest.$ac_ext >&5
22302951
2231 ac_compiler_gnu=no
2232 fi
2233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2952 ac_compiler_gnu=no
2953 fi
2954
2955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22342956 ac_cv_c_compiler_gnu=$ac_compiler_gnu
22352957
22362958 fi
2237 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2238 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2959 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2960 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
22392961 GCC=`test $ac_compiler_gnu = yes && echo yes`
22402962 ac_test_CFLAGS=${CFLAGS+set}
22412963 ac_save_CFLAGS=$CFLAGS
2242 CFLAGS="-g"
2243 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2244 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2964 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2965 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
22452966 if test "${ac_cv_prog_cc_g+set}" = set; then
22462967 echo $ECHO_N "(cached) $ECHO_C" >&6
22472968 else
2248 cat >conftest.$ac_ext <<_ACEOF
2969 ac_save_c_werror_flag=$ac_c_werror_flag
2970 ac_c_werror_flag=yes
2971 ac_cv_prog_cc_g=no
2972 CFLAGS="-g"
2973 cat >conftest.$ac_ext <<_ACEOF
22492974 /* confdefs.h. */
22502975 _ACEOF
22512976 cat confdefs.h >>conftest.$ac_ext
22612986 }
22622987 _ACEOF
22632988 rm -f conftest.$ac_objext
2264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2265 (eval $ac_compile) 2>conftest.er1
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
22662996 ac_status=$?
22672997 grep -v '^ *+' conftest.er1 >conftest.err
22682998 rm -f conftest.er1
22692999 cat conftest.err >&5
22703000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); } &&
2272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2274 (eval $ac_try) 2>&5
2275 ac_status=$?
2276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277 (exit $ac_status); }; } &&
2278 { ac_try='test -s conftest.$ac_objext'
2279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2280 (eval $ac_try) 2>&5
2281 ac_status=$?
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); }; }; then
3001 (exit $ac_status); } && {
3002 test -z "$ac_c_werror_flag" ||
3003 test ! -s conftest.err
3004 } && test -s conftest.$ac_objext; then
22843005 ac_cv_prog_cc_g=yes
22853006 else
22863007 echo "$as_me: failed program was:" >&5
22873008 sed 's/^/| /' conftest.$ac_ext >&5
22883009
2289 ac_cv_prog_cc_g=no
2290 fi
2291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2292 fi
2293 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2294 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
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
3016 /* end confdefs.h. */
3017
3018 int
3019 main ()
3020 {
3021
3022 ;
3023 return 0;
3024 }
3025 _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
3049 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
3055 /* end confdefs.h. */
3056
3057 int
3058 main ()
3059 {
3060
3061 ;
3062 return 0;
3063 }
3064 _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
3082 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
3090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3091 fi
3092
3093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3094 fi
3095
3096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3097 ac_c_werror_flag=$ac_save_c_werror_flag
3098 fi
3099 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3100 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
22953101 if test "$ac_test_CFLAGS" = set; then
22963102 CFLAGS=$ac_save_CFLAGS
22973103 elif test $ac_cv_prog_cc_g = yes; then
23073113 CFLAGS=
23083114 fi
23093115 fi
2310 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2311 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2312 if test "${ac_cv_prog_cc_stdc+set}" = set; then
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
23133119 echo $ECHO_N "(cached) $ECHO_C" >&6
23143120 else
2315 ac_cv_prog_cc_stdc=no
3121 ac_cv_prog_cc_c89=no
23163122 ac_save_CC=$CC
23173123 cat >conftest.$ac_ext <<_ACEOF
23183124 /* confdefs.h. */
23463152 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
23473153 function prototypes and stuff, but not '\xHH' hex character constants.
23483154 These don't provoke an error unfortunately, instead are silently treated
2349 as 'x'. The following induces an error, until -std1 is added to get
3155 as 'x'. The following induces an error, until -std is added to get
23503156 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
23513157 array size at least. It's necessary to write '\x00'==0 to get something
2352 that's true only with -std1. */
3158 that's true only with -std. */
23533159 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3160
3161 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3162 inside strings and character constants. */
3163 #define FOO(x) 'x'
3164 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
23543165
23553166 int test (int i, double x);
23563167 struct s1 {int (*f) (int a);};
23663177 return 0;
23673178 }
23683179 _ACEOF
2369 # Don't try gcc -ansi; that turns off useful extensions and
2370 # breaks some systems' header files.
2371 # AIX -qlanglvl=ansi
2372 # Ultrix and OSF/1 -std1
2373 # HP-UX 10.20 and later -Ae
2374 # HP-UX older versions -Aa -D_HPUX_SOURCE
2375 # SVR4 -Xc -D__EXTENSIONS__
2376 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3180 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3181 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
23773182 do
23783183 CC="$ac_save_CC $ac_arg"
23793184 rm -f conftest.$ac_objext
2380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2381 (eval $ac_compile) 2>conftest.er1
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
23823192 ac_status=$?
23833193 grep -v '^ *+' conftest.er1 >conftest.err
23843194 rm -f conftest.er1
23853195 cat conftest.err >&5
23863196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); } &&
2388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2390 (eval $ac_try) 2>&5
2391 ac_status=$?
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); }; } &&
2394 { ac_try='test -s conftest.$ac_objext'
2395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2396 (eval $ac_try) 2>&5
2397 ac_status=$?
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 (exit $ac_status); }; }; then
2400 ac_cv_prog_cc_stdc=$ac_arg
2401 break
3197 (exit $ac_status); } && {
3198 test -z "$ac_c_werror_flag" ||
3199 test ! -s conftest.err
3200 } && test -s conftest.$ac_objext; then
3201 ac_cv_prog_cc_c89=$ac_arg
24023202 else
24033203 echo "$as_me: failed program was:" >&5
24043204 sed 's/^/| /' conftest.$ac_ext >&5
24053205
2406 fi
2407 rm -f conftest.err conftest.$ac_objext
3206
3207 fi
3208
3209 rm -f core conftest.err conftest.$ac_objext
3210 test "x$ac_cv_prog_cc_c89" != "xno" && break
24083211 done
2409 rm -f conftest.$ac_ext conftest.$ac_objext
3212 rm -f conftest.$ac_ext
24103213 CC=$ac_save_CC
24113214
24123215 fi
2413
2414 case "x$ac_cv_prog_cc_stdc" in
2415 x|xno)
2416 echo "$as_me:$LINENO: result: none needed" >&5
2417 echo "${ECHO_T}none needed" >&6 ;;
3216 # AC_CACHE_VAL
3217 case "x$ac_cv_prog_cc_c89" in
3218 x)
3219 { echo "$as_me:$LINENO: result: none needed" >&5
3220 echo "${ECHO_T}none needed" >&6; } ;;
3221 xno)
3222 { echo "$as_me:$LINENO: result: unsupported" >&5
3223 echo "${ECHO_T}unsupported" >&6; } ;;
24183224 *)
2419 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2420 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2421 CC="$CC $ac_cv_prog_cc_stdc" ;;
3225 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; } ;;
24223228 esac
24233229
2424 # Some people use a C++ compiler to compile C. Since we use `exit',
2425 # in C++ we need to declare it. In case someone uses the same compiler
2426 # for both compiling C and C++ we need to have the C++ compiler decide
2427 # the declaration of exit, since it's the most demanding environment.
2428 cat >conftest.$ac_ext <<_ACEOF
2429 #ifndef __cplusplus
2430 choke me
2431 #endif
2432 _ACEOF
2433 rm -f conftest.$ac_objext
2434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2435 (eval $ac_compile) 2>conftest.er1
2436 ac_status=$?
2437 grep -v '^ *+' conftest.er1 >conftest.err
2438 rm -f conftest.er1
2439 cat conftest.err >&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); } &&
2442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2444 (eval $ac_try) 2>&5
2445 ac_status=$?
2446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447 (exit $ac_status); }; } &&
2448 { ac_try='test -s conftest.$ac_objext'
2449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2450 (eval $ac_try) 2>&5
2451 ac_status=$?
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); }; }; then
2454 for ac_declaration in \
2455 '' \
2456 'extern "C" void std::exit (int) throw (); using std::exit;' \
2457 'extern "C" void std::exit (int); using std::exit;' \
2458 'extern "C" void exit (int) throw ();' \
2459 'extern "C" void exit (int);' \
2460 'void exit (int);'
2461 do
2462 cat >conftest.$ac_ext <<_ACEOF
2463 /* confdefs.h. */
2464 _ACEOF
2465 cat confdefs.h >>conftest.$ac_ext
2466 cat >>conftest.$ac_ext <<_ACEOF
2467 /* end confdefs.h. */
2468 $ac_declaration
2469 #include <stdlib.h>
2470 int
2471 main ()
2472 {
2473 exit (42);
2474 ;
2475 return 0;
2476 }
2477 _ACEOF
2478 rm -f conftest.$ac_objext
2479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2480 (eval $ac_compile) 2>conftest.er1
2481 ac_status=$?
2482 grep -v '^ *+' conftest.er1 >conftest.err
2483 rm -f conftest.er1
2484 cat conftest.err >&5
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); } &&
2487 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2489 (eval $ac_try) 2>&5
2490 ac_status=$?
2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 (exit $ac_status); }; } &&
2493 { ac_try='test -s conftest.$ac_objext'
2494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2495 (eval $ac_try) 2>&5
2496 ac_status=$?
2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498 (exit $ac_status); }; }; then
2499 :
2500 else
2501 echo "$as_me: failed program was:" >&5
2502 sed 's/^/| /' conftest.$ac_ext >&5
2503
2504 continue
2505 fi
2506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2507 cat >conftest.$ac_ext <<_ACEOF
2508 /* confdefs.h. */
2509 _ACEOF
2510 cat confdefs.h >>conftest.$ac_ext
2511 cat >>conftest.$ac_ext <<_ACEOF
2512 /* end confdefs.h. */
2513 $ac_declaration
2514 int
2515 main ()
2516 {
2517 exit (42);
2518 ;
2519 return 0;
2520 }
2521 _ACEOF
2522 rm -f conftest.$ac_objext
2523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2524 (eval $ac_compile) 2>conftest.er1
2525 ac_status=$?
2526 grep -v '^ *+' conftest.er1 >conftest.err
2527 rm -f conftest.er1
2528 cat conftest.err >&5
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530 (exit $ac_status); } &&
2531 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2533 (eval $ac_try) 2>&5
2534 ac_status=$?
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); }; } &&
2537 { ac_try='test -s conftest.$ac_objext'
2538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2539 (eval $ac_try) 2>&5
2540 ac_status=$?
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }; }; then
2543 break
2544 else
2545 echo "$as_me: failed program was:" >&5
2546 sed 's/^/| /' conftest.$ac_ext >&5
2547
2548 fi
2549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2550 done
2551 rm -f conftest*
2552 if test -n "$ac_declaration"; then
2553 echo '#ifdef __cplusplus' >>confdefs.h
2554 echo $ac_declaration >>confdefs.h
2555 echo '#endif' >>confdefs.h
2556 fi
2557
2558 else
2559 echo "$as_me: failed program was:" >&5
2560 sed 's/^/| /' conftest.$ac_ext >&5
2561
2562 fi
2563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3230
25643231 ac_ext=c
25653232 ac_cpp='$CPP $CPPFLAGS'
25663233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25673234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25683235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3236 DEPDIR="${am__leading_dot}deps"
3237
3238 ac_config_commands="$ac_config_commands depfiles"
3239
3240
3241 am_make=${MAKE-make}
3242 cat > confinc << 'END'
3243 am__doit:
3244 @echo done
3245 .PHONY: am__doit
3246 END
3247 # 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; }
3250 am__include="#"
3251 am__quote=
3252 _am_result=none
3253 # First try GNU make style include.
3254 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
3265 # Now try BSD make style include.
3266 if test "$am__include" = "#"; then
3267 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; }
3278 rm -f confinc confmf
3279
3280 # Check whether --enable-dependency-tracking was given.
3281 if test "${enable_dependency_tracking+set}" = set; then
3282 enableval=$enable_dependency_tracking;
3283 fi
3284
3285 if test "x$enable_dependency_tracking" != xno; then
3286 am_depcomp="$ac_aux_dir/depcomp"
3287 AMDEPBACKSLASH='\'
3288 fi
3289 if test "x$enable_dependency_tracking" != xno; then
3290 AMDEP_TRUE=
3291 AMDEP_FALSE='#'
3292 else
3293 AMDEP_TRUE='#'
3294 AMDEP_FALSE=
3295 fi
3296
3297
3298
3299 depcc="$CC" am_compiler_list=
3300
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
3305 else
3306 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3307 # We make a subdir and do the tests there. Otherwise we can end up
3308 # making bogus files that we don't know about and never remove. For
3309 # 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'.
3312 mkdir conftest.dir
3313 # Copy depcomp to subdir because otherwise we won't find it if we're
3314 # using a relative directory.
3315 cp "$am_depcomp" conftest.dir
3316 cd conftest.dir
3317 # We will build objects and dependencies in a subdirectory because
3318 # it helps to detect inapplicable dependency modes. For instance
3319 # both Tru64's cc and ICC support -MD to output dependencies as a
3320 # side effect of compilation, but ICC will put the dependencies in
3321 # the current directory while Tru64 will put them in the object
3322 # directory.
3323 mkdir sub
3324
3325 am_cv_CC_dependencies_compiler_type=none
3326 if test "$am_compiler_list" = ""; then
3327 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3328 fi
3329 for depmode in $am_compiler_list; do
3330 # Setup a source with many dependencies, because some compilers
3331 # like to wrap large dependency lists on column 80 (with \), and
3332 # we should not choose a depcomp mode which is confused by this.
3333 #
3334 # We need to recreate these files for each test, as the compiler may
3335 # overwrite some of them when testing with obscure command lines.
3336 # This happens at least with the AIX C compiler.
3337 : > sub/conftest.c
3338 for i in 1 2 3 4 5 6; do
3339 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
3343 done
3344 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3345
3346 case $depmode in
3347 nosideeffect)
3348 # after this tag, mechanisms are not by side-effect, so they'll
3349 # only be used when explicitly requested
3350 if test "x$enable_dependency_tracking" = xyes; then
3351 continue
3352 else
3353 break
3354 fi
3355 ;;
3356 none) break ;;
3357 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 if depmode=$depmode \
3362 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3363 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3364 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3365 >/dev/null 2>conftest.err &&
3366 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3367 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3368 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3369 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3370 # icc doesn't choke on unknown options, it will just issue warnings
3371 # or remarks (even with -Werror). So we grep stderr for any message
3372 # that says an option was ignored or not supported.
3373 # When given -MP, icc 7.0 and 7.1 complain thusly:
3374 # icc: Command line warning: ignoring option '-M'; no argument required
3375 # The diagnosis changed in icc 8.0:
3376 # icc: Command line remark: option '-MP' not supported
3377 if (grep 'ignoring option' conftest.err ||
3378 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3379 am_cv_CC_dependencies_compiler_type=$depmode
3380 break
3381 fi
3382 fi
3383 done
3384
3385 cd ..
3386 rm -rf conftest.dir
3387 else
3388 am_cv_CC_dependencies_compiler_type=none
3389 fi
3390
3391 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; }
3394 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3395
3396 if
3397 test "x$enable_dependency_tracking" != xno \
3398 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3399 am__fastdepCC_TRUE=
3400 am__fastdepCC_FALSE='#'
3401 else
3402 am__fastdepCC_TRUE='#'
3403 am__fastdepCC_FALSE=
3404 fi
3405
25693406
25703407 # Find a good install program. We prefer a C program (faster),
25713408 # so one script is as good as another. But avoid the broken or
25803417 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
25813418 # OS/2's system install, which has a completely different semantic
25823419 # ./install, which can be erroneously created by make from ./install.sh.
2583 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2584 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
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; }
25853422 if test -z "$INSTALL"; then
25863423 if test "${ac_cv_path_install+set}" = set; then
25873424 echo $ECHO_N "(cached) $ECHO_C" >&6
26033440 # by default.
26043441 for ac_prog in ginstall scoinst install; do
26053442 for ac_exec_ext in '' $ac_executable_extensions; do
2606 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3443 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
26073444 if test $ac_prog = install &&
26083445 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
26093446 # AIX install. It has an incompatible calling convention.
26223459 ;;
26233460 esac
26243461 done
3462 IFS=$as_save_IFS
26253463
26263464
26273465 fi
26283466 if test "${ac_cv_path_install+set}" = set; then
26293467 INSTALL=$ac_cv_path_install
26303468 else
2631 # As a last resort, use the slow shell script. We don't cache a
2632 # path for INSTALL within a source directory, because that will
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
26333471 # break other packages using the cache if that directory is
2634 # removed, or if the path is relative.
3472 # removed, or if the value is a relative name.
26353473 INSTALL=$ac_install_sh
26363474 fi
26373475 fi
2638 echo "$as_me:$LINENO: result: $INSTALL" >&5
2639 echo "${ECHO_T}$INSTALL" >&6
3476 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3477 echo "${ECHO_T}$INSTALL" >&6; }
26403478
26413479 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
26423480 # It thinks the first close brace ends the variable substitution.
26493487 if test -n "$ac_tool_prefix"; then
26503488 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
26513489 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2652 echo "$as_me:$LINENO: checking for $ac_word" >&5
2653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26543492 if test "${ac_cv_prog_RANLIB+set}" = set; then
26553493 echo $ECHO_N "(cached) $ECHO_C" >&6
26563494 else
26633501 IFS=$as_save_IFS
26643502 test -z "$as_dir" && as_dir=.
26653503 for ac_exec_ext in '' $ac_executable_extensions; do
2666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26673505 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
26683506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26693507 break 2
26703508 fi
26713509 done
26723510 done
3511 IFS=$as_save_IFS
26733512
26743513 fi
26753514 fi
26763515 RANLIB=$ac_cv_prog_RANLIB
26773516 if test -n "$RANLIB"; then
2678 echo "$as_me:$LINENO: result: $RANLIB" >&5
2679 echo "${ECHO_T}$RANLIB" >&6
2680 else
2681 echo "$as_me:$LINENO: result: no" >&5
2682 echo "${ECHO_T}no" >&6
2683 fi
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; }
3522 fi
3523
26843524
26853525 fi
26863526 if test -z "$ac_cv_prog_RANLIB"; then
26873527 ac_ct_RANLIB=$RANLIB
26883528 # Extract the first word of "ranlib", so it can be a program name with args.
26893529 set dummy ranlib; ac_word=$2
2690 echo "$as_me:$LINENO: checking for $ac_word" >&5
2691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26923532 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
26933533 echo $ECHO_N "(cached) $ECHO_C" >&6
26943534 else
27013541 IFS=$as_save_IFS
27023542 test -z "$as_dir" && as_dir=.
27033543 for ac_exec_ext in '' $ac_executable_extensions; do
2704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27053545 ac_cv_prog_ac_ct_RANLIB="ranlib"
27063546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27073547 break 2
27083548 fi
27093549 done
27103550 done
2711
2712 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3551 IFS=$as_save_IFS
3552
27133553 fi
27143554 fi
27153555 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
27163556 if test -n "$ac_ct_RANLIB"; then
2717 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2718 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2719 else
2720 echo "$as_me:$LINENO: result: no" >&5
2721 echo "${ECHO_T}no" >&6
2722 fi
2723
2724 RANLIB=$ac_ct_RANLIB
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; }
3562 fi
3563
3564 if test "x$ac_ct_RANLIB" = x; then
3565 RANLIB=":"
3566 else
3567 case $cross_compiling:$ac_tool_warned in
3568 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;}
3575 ac_tool_warned=yes ;;
3576 esac
3577 RANLIB=$ac_ct_RANLIB
3578 fi
27253579 else
27263580 RANLIB="$ac_cv_prog_RANLIB"
27273581 fi
27293583
27303584 ######## Check for compiler environment
27313585
2732 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
2733 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
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; }
27343588 if test "${ac_cv_c_const+set}" = set; then
27353589 echo $ECHO_N "(cached) $ECHO_C" >&6
27363590 else
27483602 #ifndef __cplusplus
27493603 /* Ultrix mips cc rejects this. */
27503604 typedef int charset[2];
2751 const charset x;
3605 const charset cs;
27523606 /* SunOS 4.1.1 cc rejects this. */
2753 char const *const *ccp;
2754 char **p;
3607 char const *const *pcpcc;
3608 char **ppc;
27553609 /* NEC SVR4.0.2 mips cc rejects this. */
27563610 struct point {int x, y;};
27573611 static struct point const zero = {0,0};
27603614 an arm of an if-expression whose if-part is not a constant
27613615 expression */
27623616 const char *g = "string";
2763 ccp = &g + (g ? g-g : 0);
3617 pcpcc = &g + (g ? g-g : 0);
27643618 /* HPUX 7.0 cc rejects these. */
2765 ++ccp;
2766 p = (char**) ccp;
2767 ccp = (char const *const *) p;
3619 ++pcpcc;
3620 ppc = (char**) pcpcc;
3621 pcpcc = (char const *const *) ppc;
27683622 { /* SCO 3.2v4 cc rejects this. */
27693623 char *t;
27703624 char const *s = 0 ? (char *) 0 : (char const *) 0;
27713625
27723626 *t++ = 0;
3627 if (s) return 0;
27733628 }
27743629 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
27753630 int x[] = {25, 17};
27883643 }
27893644 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
27903645 const int foo = 10;
3646 if (!foo) return 0;
27913647 }
3648 return !cs[0] && !zero.x;
27923649 #endif
27933650
27943651 ;
27963653 }
27973654 _ACEOF
27983655 rm -f conftest.$ac_objext
2799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2800 (eval $ac_compile) 2>conftest.er1
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
28013663 ac_status=$?
28023664 grep -v '^ *+' conftest.er1 >conftest.err
28033665 rm -f conftest.er1
28043666 cat conftest.err >&5
28053667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); } &&
2807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2809 (eval $ac_try) 2>&5
2810 ac_status=$?
2811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812 (exit $ac_status); }; } &&
2813 { ac_try='test -s conftest.$ac_objext'
2814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2815 (eval $ac_try) 2>&5
2816 ac_status=$?
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); }; }; then
3668 (exit $ac_status); } && {
3669 test -z "$ac_c_werror_flag" ||
3670 test ! -s conftest.err
3671 } && test -s conftest.$ac_objext; then
28193672 ac_cv_c_const=yes
28203673 else
28213674 echo "$as_me: failed program was:" >&5
28223675 sed 's/^/| /' conftest.$ac_ext >&5
28233676
2824 ac_cv_c_const=no
2825 fi
2826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2827 fi
2828 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
2829 echo "${ECHO_T}$ac_cv_c_const" >&6
3677 ac_cv_c_const=no
3678 fi
3679
3680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3681 fi
3682 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3683 echo "${ECHO_T}$ac_cv_c_const" >&6; }
28303684 if test $ac_cv_c_const = no; then
28313685
28323686 cat >>confdefs.h <<\_ACEOF
28473701 *)
28483702 MATHLIB="-lm"
28493703
2850 echo "$as_me:$LINENO: checking for main in -lm" >&5
2851 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
3704 { echo "$as_me:$LINENO: checking for main in -lm" >&5
3705 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
28523706 if test "${ac_cv_lib_m_main+set}" = set; then
28533707 echo $ECHO_N "(cached) $ECHO_C" >&6
28543708 else
28653719 int
28663720 main ()
28673721 {
2868 main ();
3722 return main ();
28693723 ;
28703724 return 0;
28713725 }
28723726 _ACEOF
28733727 rm -f conftest.$ac_objext conftest$ac_exeext
2874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2875 (eval $ac_link) 2>conftest.er1
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
28763735 ac_status=$?
28773736 grep -v '^ *+' conftest.er1 >conftest.err
28783737 rm -f conftest.er1
28793738 cat conftest.err >&5
28803739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); } &&
2882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2884 (eval $ac_try) 2>&5
2885 ac_status=$?
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }; } &&
2888 { ac_try='test -s conftest$ac_exeext'
2889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2890 (eval $ac_try) 2>&5
2891 ac_status=$?
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }; }; then
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
28943745 ac_cv_lib_m_main=yes
28953746 else
28963747 echo "$as_me: failed program was:" >&5
28973748 sed 's/^/| /' conftest.$ac_ext >&5
28983749
2899 ac_cv_lib_m_main=no
2900 fi
2901 rm -f conftest.err conftest.$ac_objext \
3750 ac_cv_lib_m_main=no
3751 fi
3752
3753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29023754 conftest$ac_exeext conftest.$ac_ext
29033755 LIBS=$ac_check_lib_save_LIBS
29043756 fi
2905 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
2906 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
3757 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
3758 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
29073759 if test $ac_cv_lib_m_main = yes; then
29083760 cat >>confdefs.h <<_ACEOF
29093761 #define HAVE_LIBM 1
29233775
29243776 ######## Check for SDL
29253777
2926 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
3778 # Check whether --with-sdl-prefix was given.
29273779 if test "${with_sdl_prefix+set}" = set; then
2928 withval="$with_sdl_prefix"
2929 sdl_prefix="$withval"
3780 withval=$with_sdl_prefix; sdl_prefix="$withval"
29303781 else
29313782 sdl_prefix=""
2932 fi;
2933
2934 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
3783 fi
3784
3785
3786 # Check whether --with-sdl-exec-prefix was given.
29353787 if test "${with_sdl_exec_prefix+set}" = set; then
2936 withval="$with_sdl_exec_prefix"
2937 sdl_exec_prefix="$withval"
3788 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
29383789 else
29393790 sdl_exec_prefix=""
2940 fi;
2941 # Check whether --enable-sdltest or --disable-sdltest was given.
3791 fi
3792
3793 # Check whether --enable-sdltest was given.
29423794 if test "${enable_sdltest+set}" = set; then
2943 enableval="$enable_sdltest"
2944
3795 enableval=$enable_sdltest;
29453796 else
29463797 enable_sdltest=yes
2947 fi;
3798 fi
3799
29483800
29493801 if test x$sdl_exec_prefix != x ; then
29503802 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
29623814
29633815 # Extract the first word of "sdl-config", so it can be a program name with args.
29643816 set dummy sdl-config; ac_word=$2
2965 echo "$as_me:$LINENO: checking for $ac_word" >&5
2966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29673819 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
29683820 echo $ECHO_N "(cached) $ECHO_C" >&6
29693821 else
29783830 IFS=$as_save_IFS
29793831 test -z "$as_dir" && as_dir=.
29803832 for ac_exec_ext in '' $ac_executable_extensions; do
2981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29823834 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29833835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29843836 break 2
29853837 fi
29863838 done
29873839 done
3840 IFS=$as_save_IFS
29883841
29893842 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
29903843 ;;
29913844 esac
29923845 fi
29933846 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
2994
29953847 if test -n "$SDL_CONFIG"; then
2996 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
2997 echo "${ECHO_T}$SDL_CONFIG" >&6
2998 else
2999 echo "$as_me:$LINENO: result: no" >&5
3000 echo "${ECHO_T}no" >&6
3001 fi
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; }
3853 fi
3854
30023855
30033856 min_sdl_version=$SDL_VERSION
3004 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
3005 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
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; }
30063859 no_sdl=""
30073860 if test "$SDL_CONFIG" = "no" ; then
30083861 no_sdl=yes
30913944
30923945 _ACEOF
30933946 rm -f conftest$ac_exeext
3094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3095 (eval $ac_link) 2>&5
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
30963954 ac_status=$?
30973955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30983956 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3100 (eval $ac_try) 2>&5
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
31013963 ac_status=$?
31023964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033965 (exit $ac_status); }; }; then
31103972 ( exit $ac_status )
31113973 no_sdl=yes
31123974 fi
3113 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3114 fi
3975 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3976 fi
3977
3978
31153979 CFLAGS="$ac_save_CFLAGS"
31163980 LIBS="$ac_save_LIBS"
31173981 fi
31183982 fi
31193983 if test "x$no_sdl" = x ; then
3120 echo "$as_me:$LINENO: result: yes" >&5
3121 echo "${ECHO_T}yes" >&6
3984 { echo "$as_me:$LINENO: result: yes" >&5
3985 echo "${ECHO_T}yes" >&6; }
31223986 :
31233987 else
3124 echo "$as_me:$LINENO: result: no" >&5
3125 echo "${ECHO_T}no" >&6
3988 { echo "$as_me:$LINENO: result: no" >&5
3989 echo "${ECHO_T}no" >&6; }
31263990 if test "$SDL_CONFIG" = "no" ; then
31273991 echo "*** The sdl-config script installed by SDL could not be found"
31283992 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
31594023 }
31604024 _ACEOF
31614025 rm -f conftest.$ac_objext conftest$ac_exeext
3162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3163 (eval $ac_link) 2>conftest.er1
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
31644033 ac_status=$?
31654034 grep -v '^ *+' conftest.er1 >conftest.err
31664035 rm -f conftest.er1
31674036 cat conftest.err >&5
31684037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); } &&
3170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3172 (eval $ac_try) 2>&5
3173 ac_status=$?
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); }; } &&
3176 { ac_try='test -s conftest$ac_exeext'
3177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3178 (eval $ac_try) 2>&5
3179 ac_status=$?
3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); }; }; then
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
31824043 echo "*** The test program compiled, but did not run. This usually means"
31834044 echo "*** that the run-time linker is not finding SDL or finding the wrong"
31844045 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
31924053 echo "$as_me: failed program was:" >&5
31934054 sed 's/^/| /' conftest.$ac_ext >&5
31944055
3195 echo "*** The test program failed to compile or link. See the file config.log for the"
4056 echo "*** The test program failed to compile or link. See the file config.log for the"
31964057 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
31974058 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
31984059 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
31994060 fi
3200 rm -f conftest.err conftest.$ac_objext \
4061
4062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32014063 conftest$ac_exeext conftest.$ac_ext
32024064 CFLAGS="$ac_save_CFLAGS"
32034065 LIBS="$ac_save_LIBS"
32174079
32184080 ######## Check for other libs
32194081
3220 echo "$as_me:$LINENO: checking for main in -ljpeg" >&5
3221 echo $ECHO_N "checking for main in -ljpeg... $ECHO_C" >&6
4082 { echo "$as_me:$LINENO: checking for main in -ljpeg" >&5
4083 echo $ECHO_N "checking for main in -ljpeg... $ECHO_C" >&6; }
32224084 if test "${ac_cv_lib_jpeg_main+set}" = set; then
32234085 echo $ECHO_N "(cached) $ECHO_C" >&6
32244086 else
32354097 int
32364098 main ()
32374099 {
3238 main ();
4100 return main ();
32394101 ;
32404102 return 0;
32414103 }
32424104 _ACEOF
32434105 rm -f conftest.$ac_objext conftest$ac_exeext
3244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3245 (eval $ac_link) 2>conftest.er1
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
32464113 ac_status=$?
32474114 grep -v '^ *+' conftest.er1 >conftest.err
32484115 rm -f conftest.er1
32494116 cat conftest.err >&5
32504117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 (exit $ac_status); } &&
3252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3254 (eval $ac_try) 2>&5
3255 ac_status=$?
3256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); }; } &&
3258 { ac_try='test -s conftest$ac_exeext'
3259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3260 (eval $ac_try) 2>&5
3261 ac_status=$?
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); }; }; then
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
32644123 ac_cv_lib_jpeg_main=yes
32654124 else
32664125 echo "$as_me: failed program was:" >&5
32674126 sed 's/^/| /' conftest.$ac_ext >&5
32684127
3269 ac_cv_lib_jpeg_main=no
3270 fi
3271 rm -f conftest.err conftest.$ac_objext \
4128 ac_cv_lib_jpeg_main=no
4129 fi
4130
4131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32724132 conftest$ac_exeext conftest.$ac_ext
32734133 LIBS=$ac_check_lib_save_LIBS
32744134 fi
3275 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_main" >&5
3276 echo "${ECHO_T}$ac_cv_lib_jpeg_main" >&6
4135 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_main" >&5
4136 echo "${ECHO_T}$ac_cv_lib_jpeg_main" >&6; }
32774137 if test $ac_cv_lib_jpeg_main = yes; then
32784138 cat >>confdefs.h <<_ACEOF
32794139 #define HAVE_LIBJPEG 1
32914151 #Commented out because of a bug in the SuSE 6.2
32924152 #AC_CHECK_LIB(png, main, , AC_MSG_ERROR(Your system is missing libpng!))
32934153
3294 echo "$as_me:$LINENO: checking for main in -lSDL_mixer" >&5
3295 echo $ECHO_N "checking for main in -lSDL_mixer... $ECHO_C" >&6
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; }
32964156 if test "${ac_cv_lib_SDL_mixer_main+set}" = set; then
32974157 echo $ECHO_N "(cached) $ECHO_C" >&6
32984158 else
33094169 int
33104170 main ()
33114171 {
3312 main ();
4172 return main ();
33134173 ;
33144174 return 0;
33154175 }
33164176 _ACEOF
33174177 rm -f conftest.$ac_objext conftest$ac_exeext
3318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3319 (eval $ac_link) 2>conftest.er1
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
33204185 ac_status=$?
33214186 grep -v '^ *+' conftest.er1 >conftest.err
33224187 rm -f conftest.er1
33234188 cat conftest.err >&5
33244189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); } &&
3326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3328 (eval $ac_try) 2>&5
3329 ac_status=$?
3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331 (exit $ac_status); }; } &&
3332 { ac_try='test -s conftest$ac_exeext'
3333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3334 (eval $ac_try) 2>&5
3335 ac_status=$?
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); }; }; then
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
33384195 ac_cv_lib_SDL_mixer_main=yes
33394196 else
33404197 echo "$as_me: failed program was:" >&5
33414198 sed 's/^/| /' conftest.$ac_ext >&5
33424199
3343 ac_cv_lib_SDL_mixer_main=no
3344 fi
3345 rm -f conftest.err conftest.$ac_objext \
4200 ac_cv_lib_SDL_mixer_main=no
4201 fi
4202
4203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33464204 conftest$ac_exeext conftest.$ac_ext
33474205 LIBS=$ac_check_lib_save_LIBS
33484206 fi
3349 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_main" >&5
3350 echo "${ECHO_T}$ac_cv_lib_SDL_mixer_main" >&6
4207 { echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_main" >&5
4208 echo "${ECHO_T}$ac_cv_lib_SDL_mixer_main" >&6; }
33514209 if test $ac_cv_lib_SDL_mixer_main = yes; then
33524210 SOUND="-lSDL_mixer";CFLAGS="$CFLAGS -DSOUND"
33534211 fi
33544212
33554213
3356 echo "$as_me:$LINENO: checking for main in -lSDL_image" >&5
3357 echo $ECHO_N "checking for main in -lSDL_image... $ECHO_C" >&6
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; }
33584216 if test "${ac_cv_lib_SDL_image_main+set}" = set; then
33594217 echo $ECHO_N "(cached) $ECHO_C" >&6
33604218 else
33714229 int
33724230 main ()
33734231 {
3374 main ();
4232 return main ();
33754233 ;
33764234 return 0;
33774235 }
33784236 _ACEOF
33794237 rm -f conftest.$ac_objext conftest$ac_exeext
3380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3381 (eval $ac_link) 2>conftest.er1
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
33824245 ac_status=$?
33834246 grep -v '^ *+' conftest.er1 >conftest.err
33844247 rm -f conftest.er1
33854248 cat conftest.err >&5
33864249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387 (exit $ac_status); } &&
3388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3390 (eval $ac_try) 2>&5
3391 ac_status=$?
3392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); }; } &&
3394 { ac_try='test -s conftest$ac_exeext'
3395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3396 (eval $ac_try) 2>&5
3397 ac_status=$?
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); }; }; then
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
34004255 ac_cv_lib_SDL_image_main=yes
34014256 else
34024257 echo "$as_me: failed program was:" >&5
34034258 sed 's/^/| /' conftest.$ac_ext >&5
34044259
3405 ac_cv_lib_SDL_image_main=no
3406 fi
3407 rm -f conftest.err conftest.$ac_objext \
4260 ac_cv_lib_SDL_image_main=no
4261 fi
4262
4263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34084264 conftest$ac_exeext conftest.$ac_ext
34094265 LIBS=$ac_check_lib_save_LIBS
34104266 fi
3411 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_image_main" >&5
3412 echo "${ECHO_T}$ac_cv_lib_SDL_image_main" >&6
4267 { echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_image_main" >&5
4268 echo "${ECHO_T}$ac_cv_lib_SDL_image_main" >&6; }
34134269 if test $ac_cv_lib_SDL_image_main = yes; then
34144270 cat >>confdefs.h <<_ACEOF
34154271 #define HAVE_LIBSDL_IMAGE 1
34324288
34334289
34344290 ######## Finally create all the generated files
3435 ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile data/gfx/Makefile data/sound/Makefile"
4291 ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile data/gfx/Makefile data/sound/Makefile"
4292
34364293 cat >confcache <<\_ACEOF
34374294 # This file is a shell script that caches the results of configure
34384295 # tests run on this system so they can be shared between configure
34514308
34524309 # The following way of writing the cache mishandles newlines in values,
34534310 # but we know of no workaround that is simple, portable, and efficient.
3454 # So, don't put newlines in cache variables' values.
4311 # So, we kill variables containing newlines.
34554312 # Ultrix sh set writes to stderr and can't be redirected directly,
34564313 # and sets the high bit in the cache file unless we assign to the vars.
3457 {
4314 (
4315 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4316 eval ac_val=\$$ac_var
4317 case $ac_val in #(
4318 *${as_nl}*)
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;} ;;
4322 esac
4323 case $ac_var in #(
4324 _ | IFS | as_nl) ;; #(
4325 *) $as_unset $ac_var ;;
4326 esac ;;
4327 esac
4328 done
4329
34584330 (set) 2>&1 |
3459 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3460 *ac_space=\ *)
4331 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4332 *${as_nl}ac_space=\ *)
34614333 # `set' does not quote correctly, so add quotes (double-quote
34624334 # substitution turns \\\\ into \\, and sed turns \\ into \).
34634335 sed -n \
34644336 "s/'/'\\\\''/g;
34654337 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3466 ;;
4338 ;; #(
34674339 *)
34684340 # `set' quotes correctly as required by POSIX, so do not add quotes.
3469 sed -n \
3470 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4341 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
34714342 ;;
3472 esac;
3473 } |
4343 esac |
4344 sort
4345 ) |
34744346 sed '
4347 /^ac_cv_env_/b end
34754348 t clear
3476 : clear
4349 :clear
34774350 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34784351 t end
3479 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3480 : end' >>confcache
3481 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3482 if test -w $cache_file; then
3483 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4352 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4353 :end' >>confcache
4354 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4355 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;}
34844359 cat confcache >$cache_file
34854360 else
3486 echo "not updating unwritable cache $cache_file"
4361 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4362 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
34874363 fi
34884364 fi
34894365 rm -f confcache
34914367 test "x$prefix" = xNONE && prefix=$ac_default_prefix
34924368 # Let make expand exec_prefix.
34934369 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3494
3495 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3496 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3497 # trailing colons and then remove the whole line if VPATH becomes empty
3498 # (actually we leave an empty line to preserve line numbers).
3499 if test "x$srcdir" = x.; then
3500 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3501 s/:*\$(srcdir):*/:/;
3502 s/:*\${srcdir}:*/:/;
3503 s/:*@srcdir@:*/:/;
3504 s/^\([^=]*=[ ]*\):*/\1/;
3505 s/:*$//;
3506 s/^[^=]*=[ ]*$//;
3507 }'
3508 fi
35094370
35104371 # Transform confdefs.h into DEFS.
35114372 # Protect against shell expansion while executing Makefile rules.
35124373 # Protect against Makefile macro expansion.
35134374 #
35144375 # If the first sed substitution is executed (which looks for macros that
3515 # take arguments), then we branch to the quote section. Otherwise,
4376 # take arguments), then branch to the quote section. Otherwise,
35164377 # look for a macro that doesn't take arguments.
3517 cat >confdef2opt.sed <<\_ACEOF
4378 ac_script='
35184379 t clear
3519 : clear
3520 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4380 :clear
4381 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
35214382 t quote
3522 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4383 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
35234384 t quote
3524 d
3525 : quote
3526 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3527 s,\[,\\&,g
3528 s,\],\\&,g
3529 s,\$,$$,g
3530 p
3531 _ACEOF
3532 # We use echo to avoid assuming a particular line-breaking character.
3533 # The extra dot is to prevent the shell from consuming trailing
3534 # line-breaks from the sub-command output. A line-break within
3535 # single-quotes doesn't work because, if this script is created in a
3536 # platform that uses two characters for line-breaks (e.g., DOS), tr
3537 # would break.
3538 ac_LF_and_DOT=`echo; echo .`
3539 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3540 rm -f confdef2opt.sed
4385 b any
4386 :quote
4387 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4388 s/\[/\\&/g
4389 s/\]/\\&/g
4390 s/\$/$$/g
4391 H
4392 :any
4393 ${
4394 g
4395 s/^\n//
4396 s/\n/ /g
4397 p
4398 }
4399 '
4400 DEFS=`sed -n "$ac_script" confdefs.h`
35414401
35424402
35434403 ac_libobjs=
35444404 ac_ltlibobjs=
35454405 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
35464406 # 1. Remove the extension, and $U if already installed.
3547 ac_i=`echo "$ac_i" |
3548 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3549 # 2. Add them.
3550 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3551 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4407 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4408 ac_i=`echo "$ac_i" | sed "$ac_script"`
4409 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4410 # 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'
35524413 done
35534414 LIBOBJS=$ac_libobjs
35544415
35554416 LTLIBOBJS=$ac_ltlibobjs
35564417
35574418
4419 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; }; }
4425 fi
4426 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
35584433
35594434 : ${CONFIG_STATUS=./config.status}
35604435 ac_clean_files_save=$ac_clean_files
35794454 ## M4sh Initialization. ##
35804455 ## --------------------- ##
35814456
3582 # Be Bourne compatible
4457 # Be more Bourne compatible
4458 DUALCASE=1; export DUALCASE # for MKS sh
35834459 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35844460 emulate sh
35854461 NULLCMD=:
35864462 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35874463 # is contrary to our usage. Disable this feature.
35884464 alias -g '${1+"$@"}'='"$@"'
3589 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3590 set -o posix
3591 fi
3592 DUALCASE=1; export DUALCASE # for MKS sh
3593
3594 # Support unset when possible.
3595 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3596 as_unset=unset
3597 else
3598 as_unset=false
3599 fi
3600
3601
3602 # Work around bugs in pre-3.0 UWIN ksh.
3603 $as_unset ENV MAIL MAILPATH
3604 PS1='$ '
3605 PS2='> '
3606 PS4='+ '
3607
3608 # NLS nuisances.
3609 for as_var in \
3610 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3611 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3612 LC_TELEPHONE LC_TIME
3613 do
3614 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3615 eval $as_var=C; export $as_var
3616 else
3617 $as_unset $as_var
3618 fi
3619 done
3620
3621 # Required to use basename.
3622 if expr a : '\(a\)' >/dev/null 2>&1; then
3623 as_expr=expr
3624 else
3625 as_expr=false
3626 fi
3627
3628 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3629 as_basename=basename
3630 else
3631 as_basename=false
3632 fi
3633
3634
3635 # Name of the executable.
3636 as_me=`$as_basename "$0" ||
3637 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3638 X"$0" : 'X\(//\)$' \| \
3639 X"$0" : 'X\(/\)$' \| \
3640 . : '\(.\)' 2>/dev/null ||
3641 echo X/"$0" |
3642 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3643 /^X\/\(\/\/\)$/{ s//\1/; q; }
3644 /^X\/\(\/\).*/{ s//\1/; q; }
3645 s/.*/./; q'`
3646
3647
3648 # PATH needs CR, and LINENO needs CR and PATH.
4465 setopt NO_GLOB_SUBST
4466 else
4467 case `(set -o) 2>/dev/null` in
4468 *posix*) set -o posix ;;
4469 esac
4470
4471 fi
4472
4473
4474
4475
4476 # PATH needs CR
36494477 # Avoid depending upon Character Ranges.
36504478 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36514479 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36664494 rm -f conf$$.sh
36674495 fi
36684496
3669
3670 as_lineno_1=$LINENO
3671 as_lineno_2=$LINENO
3672 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3673 test "x$as_lineno_1" != "x$as_lineno_2" &&
3674 test "x$as_lineno_3" = "x$as_lineno_2" || {
3675 # Find who we are. Look in the path if we contain no path at all
3676 # relative or not.
3677 case $0 in
3678 *[\\/]* ) as_myself=$0 ;;
3679 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
4502 fi
4503
4504
4505 # IFS
4506 # We need space, tab and new line, in precisely that order. Quoting is
4507 # there to prevent editors from complaining about space-tab.
4508 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4509 # splitting by setting IFS to empty value.)
4510 as_nl='
4511 '
4512 IFS=" "" $as_nl"
4513
4514 # Find who we are. Look in the path if we contain no directory separator.
4515 case $0 in
4516 *[\\/]* ) as_myself=$0 ;;
4517 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36804518 for as_dir in $PATH
36814519 do
36824520 IFS=$as_save_IFS
36834521 test -z "$as_dir" && as_dir=.
36844522 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
36854523 done
3686
3687 ;;
3688 esac
3689 # We did not find ourselves, most probably we were run as `sh COMMAND'
3690 # in which case we are not to be found in the path.
3691 if test "x$as_myself" = x; then
3692 as_myself=$0
4524 IFS=$as_save_IFS
4525
4526 ;;
4527 esac
4528 # We did not find ourselves, most probably we were run as `sh COMMAND'
4529 # in which case we are not to be found in the path.
4530 if test "x$as_myself" = x; then
4531 as_myself=$0
4532 fi
4533 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
4541 done
4542 PS1='$ '
4543 PS2='> '
4544 PS4='+ '
4545
4546 # 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
36934556 fi
3694 if test ! -f "$as_myself"; then
3695 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3696 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3697 { (exit 1); exit 1; }; }
3698 fi
3699 case $CONFIG_SHELL in
3700 '')
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3703 do
3704 IFS=$as_save_IFS
3705 test -z "$as_dir" && as_dir=.
3706 for as_base in sh bash ksh sh5; do
3707 case $as_dir in
3708 /*)
3709 if ("$as_dir/$as_base" -c '
4557 done
4558
4559 # Required to use basename.
4560 if expr a : '\(a\)' >/dev/null 2>&1 &&
4561 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4562 as_expr=expr
4563 else
4564 as_expr=false
4565 fi
4566
4567 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4568 as_basename=basename
4569 else
4570 as_basename=false
4571 fi
4572
4573
4574 # Name of the executable.
4575 as_me=`$as_basename -- "$0" ||
4576 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4577 X"$0" : 'X\(//\)$' \| \
4578 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4579 echo X/"$0" |
4580 sed '/^.*\/\([^/][^/]*\)\/*$/{
4581 s//\1/
4582 q
4583 }
4584 /^X\/\(\/\/\)$/{
4585 s//\1/
4586 q
4587 }
4588 /^X\/\(\/\).*/{
4589 s//\1/
4590 q
4591 }
4592 s/.*/./; q'`
4593
4594 # CDPATH.
4595 $as_unset CDPATH
4596
4597
4598
37104599 as_lineno_1=$LINENO
37114600 as_lineno_2=$LINENO
3712 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
37134601 test "x$as_lineno_1" != "x$as_lineno_2" &&
3714 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3715 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3716 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3717 CONFIG_SHELL=$as_dir/$as_base
3718 export CONFIG_SHELL
3719 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3720 fi;;
3721 esac
3722 done
3723 done
3724 ;;
3725 esac
4602 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
37264603
37274604 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
37284605 # uniformly replaced by the line number. The first 'sed' inserts a
3729 # line-number line before each line; the second 'sed' does the real
3730 # work. The second script uses 'N' to pair each line-number line
3731 # with the numbered line, and appends trailing '-' during
3732 # substitution so that $LINENO is not a special case at line end.
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.
37334611 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3734 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3735 sed '=' <$as_myself |
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 |
37364618 sed '
4619 s/[$]LINENO.*/&-/
4620 t lineno
4621 b
4622 :lineno
37374623 N
3738 s,$,-,
3739 : loop
3740 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4624 :loop
4625 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
37414626 t loop
3742 s,-$,,
3743 s,^['$as_cr_digits']*\n,,
4627 s/-\n.*//
37444628 ' >$as_me.lineno &&
3745 chmod +x $as_me.lineno ||
3746 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3747 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4629 chmod +x "$as_me.lineno" ||
4630 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
37484631 { (exit 1); exit 1; }; }
37494632
37504633 # Don't try to exec as it changes $[0], causing all sort of problems
37514634 # (the dirname of $[0] is not the place where we might find the
3752 # original and so on. Autoconf is especially sensible to this).
3753 . ./$as_me.lineno
4635 # original and so on. Autoconf is especially sensitive to this).
4636 . "./$as_me.lineno"
37544637 # Exit status is that of the last command.
37554638 exit
37564639 }
37574640
37584641
3759 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3760 *c*,-n*) ECHO_N= ECHO_C='
3761 ' ECHO_T=' ' ;;
3762 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3763 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
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
4647
4648 ECHO_C= ECHO_N= ECHO_T=
4649 case `echo -n x` in
4650 -n*)
4651 case `echo 'x\c'` in
4652 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4653 *) ECHO_C='\c';;
4654 esac;;
4655 *)
4656 ECHO_N='-n';;
37644657 esac
37654658
3766 if expr a : '\(a\)' >/dev/null 2>&1; then
4659 if expr a : '\(a\)' >/dev/null 2>&1 &&
4660 test "X`expr 00001 : '.*\(...\)'`" = X001; then
37674661 as_expr=expr
37684662 else
37694663 as_expr=false
37704664 fi
37714665
37724666 rm -f conf$$ conf$$.exe conf$$.file
4667 if test -d conf$$.dir; then
4668 rm -f conf$$.dir/conf$$.file
4669 else
4670 rm -f conf$$.dir
4671 mkdir conf$$.dir
4672 fi
37734673 echo >conf$$.file
37744674 if ln -s conf$$.file conf$$ 2>/dev/null; then
3775 # We could just check for DJGPP; but this test a) works b) is more generic
3776 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3777 if test -f conf$$.exe; then
3778 # Don't use ln at all; we don't have any links
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 ||
37794681 as_ln_s='cp -p'
3780 else
3781 as_ln_s='ln -s'
3782 fi
37834682 elif ln conf$$.file conf$$ 2>/dev/null; then
37844683 as_ln_s=ln
37854684 else
37864685 as_ln_s='cp -p'
37874686 fi
3788 rm -f conf$$ conf$$.exe conf$$.file
4687 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4688 rmdir conf$$.dir 2>/dev/null
37894689
37904690 if mkdir -p . 2>/dev/null; then
37914691 as_mkdir_p=:
37944694 as_mkdir_p=false
37954695 fi
37964696
3797 as_executable_p="test -f"
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
37984719
37994720 # Sed expression to map a string onto a valid CPP name.
38004721 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
38034724 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
38044725
38054726
3806 # IFS
3807 # We need space, tab and new line, in precisely that order.
3808 as_nl='
3809 '
3810 IFS=" $as_nl"
3811
3812 # CDPATH.
3813 $as_unset CDPATH
3814
38154727 exec 6>&1
38164728
3817 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4729 # Save the log message, to keep $[0] and so on meaningful, and to
38184730 # report actual input values of CONFIG_FILES etc. instead of their
3819 # values after options handling. Logging --version etc. is OK.
3820 exec 5>>config.log
3821 {
3822 echo
3823 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3824 ## Running $as_me. ##
3825 _ASBOX
3826 } >&5
3827 cat >&5 <<_CSEOF
3828
4731 # values after options handling.
4732 ac_log="
38294733 This file was extended by $as_me, which was
3830 generated by GNU Autoconf 2.59. Invocation command line was
4734 generated by GNU Autoconf 2.61. Invocation command line was
38314735
38324736 CONFIG_FILES = $CONFIG_FILES
38334737 CONFIG_HEADERS = $CONFIG_HEADERS
38354739 CONFIG_COMMANDS = $CONFIG_COMMANDS
38364740 $ $0 $@
38374741
3838 _CSEOF
3839 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3840 echo >&5
3841 _ACEOF
3842
4742 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4743 "
4744
4745 _ACEOF
4746
4747 cat >>$CONFIG_STATUS <<_ACEOF
38434748 # Files that config.status was made for.
3844 if test -n "$ac_config_files"; then
3845 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3846 fi
3847
3848 if test -n "$ac_config_headers"; then
3849 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3850 fi
3851
3852 if test -n "$ac_config_links"; then
3853 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3854 fi
3855
3856 if test -n "$ac_config_commands"; then
3857 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3858 fi
4749 config_files="$ac_config_files"
4750 config_commands="$ac_config_commands"
4751
4752 _ACEOF
38594753
38604754 cat >>$CONFIG_STATUS <<\_ACEOF
3861
38624755 ac_cs_usage="\
38634756 \`$as_me' instantiates files from templates according to the
38644757 current configuration.
38664759 Usage: $0 [OPTIONS] [FILE]...
38674760
38684761 -h, --help print this help, then exit
3869 -V, --version print version number, then exit
4762 -V, --version print version number and configuration settings, then exit
38704763 -q, --quiet do not print progress messages
38714764 -d, --debug don't remove temporary files
38724765 --recheck update $as_me by reconfiguring in the same conditions
38764769 Configuration files:
38774770 $config_files
38784771
4772 Configuration commands:
4773 $config_commands
4774
38794775 Report bugs to <bug-autoconf@gnu.org>."
3880 _ACEOF
3881
4776
4777 _ACEOF
38824778 cat >>$CONFIG_STATUS <<_ACEOF
38834779 ac_cs_version="\\
38844780 config.status
3885 configured by $0, generated by GNU Autoconf 2.59,
3886 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3887
3888 Copyright (C) 2003 Free Software Foundation, Inc.
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.
38894785 This config.status script is free software; the Free Software Foundation
38904786 gives unlimited permission to copy, distribute and modify it."
3891 srcdir=$srcdir
3892 INSTALL="$INSTALL"
4787
4788 ac_pwd='$ac_pwd'
4789 srcdir='$srcdir'
4790 INSTALL='$INSTALL'
4791 MKDIR_P='$MKDIR_P'
38934792 _ACEOF
38944793
38954794 cat >>$CONFIG_STATUS <<\_ACEOF
39004799 do
39014800 case $1 in
39024801 --*=*)
3903 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3904 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4802 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4803 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
39054804 ac_shift=:
39064805 ;;
3907 -*)
4806 *)
39084807 ac_option=$1
39094808 ac_optarg=$2
39104809 ac_shift=shift
39114810 ;;
3912 *) # This is not an option, so the user has probably given explicit
3913 # arguments.
3914 ac_option=$1
3915 ac_need_defaults=false;;
39164811 esac
39174812
39184813 case $ac_option in
39194814 # Handling of the options.
3920 _ACEOF
3921 cat >>$CONFIG_STATUS <<\_ACEOF
39224815 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
39234816 ac_cs_recheck=: ;;
3924 --version | --vers* | -V )
3925 echo "$ac_cs_version"; exit 0 ;;
3926 --he | --h)
3927 # Conflict between --help and --header
3928 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3929 Try \`$0 --help' for more information." >&5
3930 echo "$as_me: error: ambiguous option: $1
3931 Try \`$0 --help' for more information." >&2;}
3932 { (exit 1); exit 1; }; };;
3933 --help | --hel | -h )
3934 echo "$ac_cs_usage"; exit 0 ;;
3935 --debug | --d* | -d )
4817 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4818 echo "$ac_cs_version"; exit ;;
4819 --debug | --debu | --deb | --de | --d | -d )
39364820 debug=: ;;
39374821 --file | --fil | --fi | --f )
39384822 $ac_shift
39394823 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
39404824 ac_need_defaults=false;;
3941 --header | --heade | --head | --hea )
3942 $ac_shift
3943 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3944 ac_need_defaults=false;;
4825 --he | --h | --help | --hel | -h )
4826 echo "$ac_cs_usage"; exit ;;
39454827 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
39464828 | -silent | --silent | --silen | --sile | --sil | --si | --s)
39474829 ac_cs_silent=: ;;
39484830
39494831 # This is an error.
3950 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3951 Try \`$0 --help' for more information." >&5
3952 echo "$as_me: error: unrecognized option: $1
3953 Try \`$0 --help' for more information." >&2;}
4832 -*) { echo "$as_me: error: unrecognized option: $1
4833 Try \`$0 --help' for more information." >&2
39544834 { (exit 1); exit 1; }; } ;;
39554835
3956 *) ac_config_targets="$ac_config_targets $1" ;;
4836 *) ac_config_targets="$ac_config_targets $1"
4837 ac_need_defaults=false ;;
39574838
39584839 esac
39594840 shift
39694850 _ACEOF
39704851 cat >>$CONFIG_STATUS <<_ACEOF
39714852 if \$ac_cs_recheck; then
3972 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3973 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3974 fi
3975
3976 _ACEOF
3977
3978
3979
3980
3981
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
39824860 cat >>$CONFIG_STATUS <<\_ACEOF
4861 exec 5>>config.log
4862 {
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.
39834882 for ac_config_target in $ac_config_targets
39844883 do
3985 case "$ac_config_target" in
3986 # Handling of arguments.
3987 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3988 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3989 "data/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
3990 "data/gfx/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/gfx/Makefile" ;;
3991 "data/sound/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/sound/Makefile" ;;
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 "data/sound/Makefile") CONFIG_FILES="$CONFIG_FILES data/sound/Makefile" ;;
4891
39924892 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
39934893 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
39944894 { (exit 1); exit 1; }; };;
39954895 esac
39964896 done
4897
39974898
39984899 # If the user did not use the arguments to specify the items to instantiate,
39994900 # then the envvar interface is used. Set only those that are not.
40014902 # bizarre bug on SunOS 4.1.3.
40024903 if $ac_need_defaults; then
40034904 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4905 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
40044906 fi
40054907
40064908 # Have a temporary directory for convenience. Make it in the build tree
4007 # simply because there is no reason to put it here, and in addition,
4909 # simply because there is no reason against having it here, and in addition,
40084910 # creating and moving files from /tmp can sometimes cause problems.
4009 # Create a temporary directory, and hook for its removal unless debugging.
4911 # Hook for its removal unless debugging.
4912 # Note that there is a small window in which the directory will not be cleaned:
4913 # after its creation but before its name has been assigned to `$tmp'.
40104914 $debug ||
40114915 {
4012 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4916 tmp=
4917 trap 'exit_status=$?
4918 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4919 ' 0
40134920 trap '{ (exit 1); exit 1; }' 1 2 13 15
40144921 }
4015
40164922 # Create a (secure) tmp directory for tmp files.
40174923
40184924 {
4019 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4925 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
40204926 test -n "$tmp" && test -d "$tmp"
40214927 } ||
40224928 {
4023 tmp=./confstat$$-$RANDOM
4024 (umask 077 && mkdir $tmp)
4929 tmp=./conf$$-$RANDOM
4930 (umask 077 && mkdir "$tmp")
40254931 } ||
40264932 {
40274933 echo "$me: cannot create a temporary directory in ." >&2
40284934 { (exit 1); exit 1; }
40294935 }
40304936
4031 _ACEOF
4032
4033 cat >>$CONFIG_STATUS <<_ACEOF
4034
40354937 #
4036 # CONFIG_FILES section.
4938 # Set up the sed scripts for CONFIG_FILES section.
40374939 #
40384940
40394941 # No need to generate the scripts if there are no CONFIG_FILES.
40404942 # This happens for instance when ./config.status config.h
4041 if test -n "\$CONFIG_FILES"; then
4042 # Protect against being on the right side of a sed subst in config.status.
4043 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4044 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4045 s,@SHELL@,$SHELL,;t t
4046 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4047 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4048 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4049 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4050 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4051 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4052 s,@exec_prefix@,$exec_prefix,;t t
4053 s,@prefix@,$prefix,;t t
4054 s,@program_transform_name@,$program_transform_name,;t t
4055 s,@bindir@,$bindir,;t t
4056 s,@sbindir@,$sbindir,;t t
4057 s,@libexecdir@,$libexecdir,;t t
4058 s,@datadir@,$datadir,;t t
4059 s,@sysconfdir@,$sysconfdir,;t t
4060 s,@sharedstatedir@,$sharedstatedir,;t t
4061 s,@localstatedir@,$localstatedir,;t t
4062 s,@libdir@,$libdir,;t t
4063 s,@includedir@,$includedir,;t t
4064 s,@oldincludedir@,$oldincludedir,;t t
4065 s,@infodir@,$infodir,;t t
4066 s,@mandir@,$mandir,;t t
4067 s,@build_alias@,$build_alias,;t t
4068 s,@host_alias@,$host_alias,;t t
4069 s,@target_alias@,$target_alias,;t t
4070 s,@DEFS@,$DEFS,;t t
4071 s,@ECHO_C@,$ECHO_C,;t t
4072 s,@ECHO_N@,$ECHO_N,;t t
4073 s,@ECHO_T@,$ECHO_T,;t t
4074 s,@LIBS@,$LIBS,;t t
4075 s,@build@,$build,;t t
4076 s,@build_cpu@,$build_cpu,;t t
4077 s,@build_vendor@,$build_vendor,;t t
4078 s,@build_os@,$build_os,;t t
4079 s,@host@,$host,;t t
4080 s,@host_cpu@,$host_cpu,;t t
4081 s,@host_vendor@,$host_vendor,;t t
4082 s,@host_os@,$host_os,;t t
4083 s,@target@,$target,;t t
4084 s,@target_cpu@,$target_cpu,;t t
4085 s,@target_vendor@,$target_vendor,;t t
4086 s,@target_os@,$target_os,;t t
4087 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4088 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4089 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4090 s,@PACKAGE@,$PACKAGE,;t t
4091 s,@VERSION@,$VERSION,;t t
4092 s,@ACLOCAL@,$ACLOCAL,;t t
4093 s,@AUTOCONF@,$AUTOCONF,;t t
4094 s,@AUTOMAKE@,$AUTOMAKE,;t t
4095 s,@AUTOHEADER@,$AUTOHEADER,;t t
4096 s,@MAKEINFO@,$MAKEINFO,;t t
4097 s,@SET_MAKE@,$SET_MAKE,;t t
4098 s,@CC@,$CC,;t t
4099 s,@CFLAGS@,$CFLAGS,;t t
4100 s,@LDFLAGS@,$LDFLAGS,;t t
4101 s,@CPPFLAGS@,$CPPFLAGS,;t t
4102 s,@ac_ct_CC@,$ac_ct_CC,;t t
4103 s,@EXEEXT@,$EXEEXT,;t t
4104 s,@OBJEXT@,$OBJEXT,;t t
4105 s,@RANLIB@,$RANLIB,;t t
4106 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4107 s,@MATHLIB@,$MATHLIB,;t t
4108 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
4109 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
4110 s,@SDL_LIBS@,$SDL_LIBS,;t t
4111 s,@LIBOBJS@,$LIBOBJS,;t t
4112 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4113 CEOF
4114
4115 _ACEOF
4116
4117 cat >>$CONFIG_STATUS <<\_ACEOF
4118 # Split the substitutions into bite-sized pieces for seds with
4119 # small command number limits, like on Digital OSF/1 and HP-UX.
4120 ac_max_sed_lines=48
4121 ac_sed_frag=1 # Number of current file.
4122 ac_beg=1 # First line for current file.
4123 ac_end=$ac_max_sed_lines # Line after last line for current file.
4124 ac_more_lines=:
4125 ac_sed_cmds=
4126 while $ac_more_lines; do
4127 if test $ac_beg -gt 1; then
4128 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4129 else
4130 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4943 if test -n "$CONFIG_FILES"; then
4944
4945 _ACEOF
4946
4947
4948
4949 ac_delim='%!_!# '
4950 for ac_last_try in false false false false false :; do
4951 cat >conf$$subs.sed <<_ACEOF
4952 SHELL!$SHELL$ac_delim
4953 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4954 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4955 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4956 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4957 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4958 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4959 exec_prefix!$exec_prefix$ac_delim
4960 prefix!$prefix$ac_delim
4961 program_transform_name!$program_transform_name$ac_delim
4962 bindir!$bindir$ac_delim
4963 sbindir!$sbindir$ac_delim
4964 libexecdir!$libexecdir$ac_delim
4965 datarootdir!$datarootdir$ac_delim
4966 datadir!$datadir$ac_delim
4967 sysconfdir!$sysconfdir$ac_delim
4968 sharedstatedir!$sharedstatedir$ac_delim
4969 localstatedir!$localstatedir$ac_delim
4970 includedir!$includedir$ac_delim
4971 oldincludedir!$oldincludedir$ac_delim
4972 docdir!$docdir$ac_delim
4973 infodir!$infodir$ac_delim
4974 htmldir!$htmldir$ac_delim
4975 dvidir!$dvidir$ac_delim
4976 pdfdir!$pdfdir$ac_delim
4977 psdir!$psdir$ac_delim
4978 libdir!$libdir$ac_delim
4979 localedir!$localedir$ac_delim
4980 mandir!$mandir$ac_delim
4981 DEFS!$DEFS$ac_delim
4982 ECHO_C!$ECHO_C$ac_delim
4983 ECHO_N!$ECHO_N$ac_delim
4984 ECHO_T!$ECHO_T$ac_delim
4985 LIBS!$LIBS$ac_delim
4986 build_alias!$build_alias$ac_delim
4987 host_alias!$host_alias$ac_delim
4988 target_alias!$target_alias$ac_delim
4989 build!$build$ac_delim
4990 build_cpu!$build_cpu$ac_delim
4991 build_vendor!$build_vendor$ac_delim
4992 build_os!$build_os$ac_delim
4993 host!$host$ac_delim
4994 host_cpu!$host_cpu$ac_delim
4995 host_vendor!$host_vendor$ac_delim
4996 host_os!$host_os$ac_delim
4997 target!$target$ac_delim
4998 target_cpu!$target_cpu$ac_delim
4999 target_vendor!$target_vendor$ac_delim
5000 target_os!$target_os$ac_delim
5001 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5002 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5003 INSTALL_DATA!$INSTALL_DATA$ac_delim
5004 am__isrc!$am__isrc$ac_delim
5005 CYGPATH_W!$CYGPATH_W$ac_delim
5006 PACKAGE!$PACKAGE$ac_delim
5007 VERSION!$VERSION$ac_delim
5008 ACLOCAL!$ACLOCAL$ac_delim
5009 AUTOCONF!$AUTOCONF$ac_delim
5010 AUTOMAKE!$AUTOMAKE$ac_delim
5011 AUTOHEADER!$AUTOHEADER$ac_delim
5012 MAKEINFO!$MAKEINFO$ac_delim
5013 install_sh!$install_sh$ac_delim
5014 STRIP!$STRIP$ac_delim
5015 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5016 mkdir_p!$mkdir_p$ac_delim
5017 AWK!$AWK$ac_delim
5018 SET_MAKE!$SET_MAKE$ac_delim
5019 am__leading_dot!$am__leading_dot$ac_delim
5020 AMTAR!$AMTAR$ac_delim
5021 am__tar!$am__tar$ac_delim
5022 am__untar!$am__untar$ac_delim
5023 CC!$CC$ac_delim
5024 CFLAGS!$CFLAGS$ac_delim
5025 LDFLAGS!$LDFLAGS$ac_delim
5026 CPPFLAGS!$CPPFLAGS$ac_delim
5027 ac_ct_CC!$ac_ct_CC$ac_delim
5028 EXEEXT!$EXEEXT$ac_delim
5029 OBJEXT!$OBJEXT$ac_delim
5030 DEPDIR!$DEPDIR$ac_delim
5031 am__include!$am__include$ac_delim
5032 am__quote!$am__quote$ac_delim
5033 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5034 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5035 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5036 CCDEPMODE!$CCDEPMODE$ac_delim
5037 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5038 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5039 RANLIB!$RANLIB$ac_delim
5040 MATHLIB!$MATHLIB$ac_delim
5041 SDL_CONFIG!$SDL_CONFIG$ac_delim
5042 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
5043 SDL_LIBS!$SDL_LIBS$ac_delim
5044 LIBOBJS!$LIBOBJS$ac_delim
5045 LTLIBOBJS!$LTLIBOBJS$ac_delim
5046 _ACEOF
5047
5048 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 94; then
5049 break
5050 elif $ac_last_try; then
5051 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5052 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5053 { (exit 1); exit 1; }; }
5054 else
5055 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5056 fi
5057 done
5058
5059 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5060 if test -n "$ac_eof"; then
5061 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5062 ac_eof=`expr $ac_eof + 1`
5063 fi
5064
5065 cat >>$CONFIG_STATUS <<_ACEOF
5066 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5067 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5068 _ACEOF
5069 sed '
5070 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5071 s/^/s,@/; s/!/@,|#_!!_#|/
5072 :n
5073 t n
5074 s/'"$ac_delim"'$/,g/; t
5075 s/$/\\/; p
5076 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5077 ' >>$CONFIG_STATUS <conf$$subs.sed
5078 rm -f conf$$subs.sed
5079 cat >>$CONFIG_STATUS <<_ACEOF
5080 :end
5081 s/|#_!!_#|//g
5082 CEOF$ac_eof
5083 _ACEOF
5084
5085
5086 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5087 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5088 # trailing colons and then remove the whole line if VPATH becomes empty
5089 # (actually we leave an empty line to preserve line numbers).
5090 if test "x$srcdir" = x.; then
5091 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5092 s/:*\$(srcdir):*/:/
5093 s/:*\${srcdir}:*/:/
5094 s/:*@srcdir@:*/:/
5095 s/^\([^=]*=[ ]*\):*/\1/
5096 s/:*$//
5097 s/^[^=]*=[ ]*$//
5098 }'
5099 fi
5100
5101 cat >>$CONFIG_STATUS <<\_ACEOF
5102 fi # test -n "$CONFIG_FILES"
5103
5104
5105 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
5106 do
5107 case $ac_tag in
5108 :[FHLC]) ac_mode=$ac_tag; continue;;
5109 esac
5110 case $ac_mode$ac_tag in
5111 :[FHL]*:*);;
5112 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5113 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5114 { (exit 1); exit 1; }; };;
5115 :[FH]-) ac_tag=-:-;;
5116 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5117 esac
5118 ac_save_IFS=$IFS
5119 IFS=:
5120 set x $ac_tag
5121 IFS=$ac_save_IFS
5122 shift
5123 ac_file=$1
5124 shift
5125
5126 case $ac_mode in
5127 :L) ac_source=$1;;
5128 :[FH])
5129 ac_file_inputs=
5130 for ac_f
5131 do
5132 case $ac_f in
5133 -) ac_f="$tmp/stdin";;
5134 *) # Look for the file first in the build tree, then in the source tree
5135 # (if the path is not absolute). The absolute path cannot be DOS-style,
5136 # because $ac_f cannot contain `:'.
5137 test -f "$ac_f" ||
5138 case $ac_f in
5139 [\\/$]*) false;;
5140 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5141 esac ||
5142 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5143 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5144 { (exit 1); exit 1; }; };;
5145 esac
5146 ac_file_inputs="$ac_file_inputs $ac_f"
5147 done
5148
5149 # Let's still pretend it is `configure' which instantiates (i.e., don't
5150 # use $as_me), people would be surprised to read:
5151 # /* config.h. Generated by config.status. */
5152 configure_input="Generated from "`IFS=:
5153 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5154 if test x"$ac_file" != x-; then
5155 configure_input="$ac_file. $configure_input"
5156 { echo "$as_me:$LINENO: creating $ac_file" >&5
5157 echo "$as_me: creating $ac_file" >&6;}
41315158 fi
4132 if test ! -s $tmp/subs.frag; then
4133 ac_more_lines=false
4134 else
4135 # The purpose of the label and of the branching condition is to
4136 # speed up the sed processing (if there are no `@' at all, there
4137 # is no need to browse any of the substitutions).
4138 # These are the two extra sed commands mentioned above.
4139 (echo ':t
4140 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4141 if test -z "$ac_sed_cmds"; then
4142 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4143 else
4144 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4145 fi
4146 ac_sed_frag=`expr $ac_sed_frag + 1`
4147 ac_beg=$ac_end
4148 ac_end=`expr $ac_end + $ac_max_sed_lines`
4149 fi
4150 done
4151 if test -z "$ac_sed_cmds"; then
4152 ac_sed_cmds=cat
4153 fi
4154 fi # test -n "$CONFIG_FILES"
4155
4156 _ACEOF
4157 cat >>$CONFIG_STATUS <<\_ACEOF
4158 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4159 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4160 case $ac_file in
4161 - | *:- | *:-:* ) # input from stdin
4162 cat >$tmp/stdin
4163 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4164 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4165 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4166 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4167 * ) ac_file_in=$ac_file.in ;;
5159
5160 case $ac_tag in
5161 *:-:* | *:-) cat >"$tmp/stdin";;
5162 esac
5163 ;;
41685164 esac
41695165
4170 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4171 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5166 ac_dir=`$as_dirname -- "$ac_file" ||
41725167 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41735168 X"$ac_file" : 'X\(//\)[^/]' \| \
41745169 X"$ac_file" : 'X\(//\)$' \| \
4175 X"$ac_file" : 'X\(/\)' \| \
4176 . : '\(.\)' 2>/dev/null ||
5170 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
41775171 echo X"$ac_file" |
4178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4179 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4180 /^X\(\/\/\)$/{ s//\1/; q; }
4181 /^X\(\/\).*/{ s//\1/; q; }
4182 s/.*/./; q'`
4183 { if $as_mkdir_p; then
4184 mkdir -p "$ac_dir"
4185 else
4186 as_dir="$ac_dir"
5172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5173 s//\1/
5174 q
5175 }
5176 /^X\(\/\/\)[^/].*/{
5177 s//\1/
5178 q
5179 }
5180 /^X\(\/\/\)$/{
5181 s//\1/
5182 q
5183 }
5184 /^X\(\/\).*/{
5185 s//\1/
5186 q
5187 }
5188 s/.*/./; q'`
5189 { as_dir="$ac_dir"
5190 case $as_dir in #(
5191 -*) as_dir=./$as_dir;;
5192 esac
5193 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
41875194 as_dirs=
4188 while test ! -d "$as_dir"; do
4189 as_dirs="$as_dir $as_dirs"
4190 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5195 while :; do
5196 case $as_dir in #(
5197 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5198 *) as_qdir=$as_dir;;
5199 esac
5200 as_dirs="'$as_qdir' $as_dirs"
5201 as_dir=`$as_dirname -- "$as_dir" ||
41915202 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41925203 X"$as_dir" : 'X\(//\)[^/]' \| \
41935204 X"$as_dir" : 'X\(//\)$' \| \
4194 X"$as_dir" : 'X\(/\)' \| \
4195 . : '\(.\)' 2>/dev/null ||
5205 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41965206 echo X"$as_dir" |
4197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4198 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4199 /^X\(\/\/\)$/{ s//\1/; q; }
4200 /^X\(\/\).*/{ s//\1/; q; }
4201 s/.*/./; q'`
5207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5208 s//\1/
5209 q
5210 }
5211 /^X\(\/\/\)[^/].*/{
5212 s//\1/
5213 q
5214 }
5215 /^X\(\/\/\)$/{
5216 s//\1/
5217 q
5218 }
5219 /^X\(\/\).*/{
5220 s//\1/
5221 q
5222 }
5223 s/.*/./; q'`
5224 test -d "$as_dir" && break
42025225 done
4203 test ! -n "$as_dirs" || mkdir $as_dirs
4204 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4205 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5226 test -z "$as_dirs" || eval "mkdir $as_dirs"
5227 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5228 echo "$as_me: error: cannot create directory $as_dir" >&2;}
42065229 { (exit 1); exit 1; }; }; }
4207
42085230 ac_builddir=.
42095231
4210 if test "$ac_dir" != .; then
5232 case "$ac_dir" in
5233 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5234 *)
42115235 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4212 # A "../" for each directory in $ac_dir_suffix.
4213 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4214 else
4215 ac_dir_suffix= ac_top_builddir=
4216 fi
5236 # A ".." for each directory in $ac_dir_suffix.
5237 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5238 case $ac_top_builddir_sub in
5239 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5240 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5241 esac ;;
5242 esac
5243 ac_abs_top_builddir=$ac_pwd
5244 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5245 # for backward compatibility:
5246 ac_top_builddir=$ac_top_build_prefix
42175247
42185248 case $srcdir in
4219 .) # No --srcdir option. We are building in place.
5249 .) # We are building in place.
42205250 ac_srcdir=.
4221 if test -z "$ac_top_builddir"; then
4222 ac_top_srcdir=.
4223 else
4224 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4225 fi ;;
4226 [\\/]* | ?:[\\/]* ) # Absolute path.
5251 ac_top_srcdir=$ac_top_builddir_sub
5252 ac_abs_top_srcdir=$ac_pwd ;;
5253 [\\/]* | ?:[\\/]* ) # Absolute name.
42275254 ac_srcdir=$srcdir$ac_dir_suffix;
4228 ac_top_srcdir=$srcdir ;;
4229 *) # Relative path.
4230 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4231 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5255 ac_top_srcdir=$srcdir
5256 ac_abs_top_srcdir=$srcdir ;;
5257 *) # Relative name.
5258 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5259 ac_top_srcdir=$ac_top_build_prefix$srcdir
5260 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42325261 esac
4233
4234 # Do not use `cd foo && pwd` to compute absolute paths, because
4235 # the directories may not exist.
4236 case `pwd` in
4237 .) ac_abs_builddir="$ac_dir";;
4238 *)
4239 case "$ac_dir" in
4240 .) ac_abs_builddir=`pwd`;;
4241 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4242 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4243 esac;;
4244 esac
4245 case $ac_abs_builddir in
4246 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4247 *)
4248 case ${ac_top_builddir}. in
4249 .) ac_abs_top_builddir=$ac_abs_builddir;;
4250 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4251 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4252 esac;;
4253 esac
4254 case $ac_abs_builddir in
4255 .) ac_abs_srcdir=$ac_srcdir;;
4256 *)
4257 case $ac_srcdir in
4258 .) ac_abs_srcdir=$ac_abs_builddir;;
4259 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4260 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4261 esac;;
4262 esac
4263 case $ac_abs_builddir in
4264 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4265 *)
4266 case $ac_top_srcdir in
4267 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4268 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4269 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4270 esac;;
4271 esac
4272
5262 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5263
5264
5265 case $ac_mode in
5266 :F)
5267 #
5268 # CONFIG_FILE
5269 #
42735270
42745271 case $INSTALL in
42755272 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4276 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5273 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42775274 esac
4278
4279 # Let's still pretend it is `configure' which instantiates (i.e., don't
4280 # use $as_me), people would be surprised to read:
4281 # /* config.h. Generated by config.status. */
4282 if test x"$ac_file" = x-; then
4283 configure_input=
4284 else
4285 configure_input="$ac_file. "
4286 fi
4287 configure_input=$configure_input"Generated from `echo $ac_file_in |
4288 sed 's,.*/,,'` by configure."
4289
4290 # First look for the input files in the build tree, otherwise in the
4291 # src tree.
4292 ac_file_inputs=`IFS=:
4293 for f in $ac_file_in; do
4294 case $f in
4295 -) echo $tmp/stdin ;;
4296 [\\/$]*)
4297 # Absolute (can't be DOS-style, as IFS=:)
4298 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4299 echo "$as_me: error: cannot find input file: $f" >&2;}
4300 { (exit 1); exit 1; }; }
4301 echo "$f";;
4302 *) # Relative
4303 if test -f "$f"; then
4304 # Build tree
4305 echo "$f"
4306 elif test -f "$srcdir/$f"; then
4307 # Source tree
4308 echo "$srcdir/$f"
4309 else
4310 # /dev/null tree
4311 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4312 echo "$as_me: error: cannot find input file: $f" >&2;}
4313 { (exit 1); exit 1; }; }
4314 fi;;
4315 esac
4316 done` || { (exit 1); exit 1; }
4317
4318 if test x"$ac_file" != x-; then
4319 { echo "$as_me:$LINENO: creating $ac_file" >&5
4320 echo "$as_me: creating $ac_file" >&6;}
4321 rm -f "$ac_file"
4322 fi
4323 _ACEOF
5275 ac_MKDIR_P=$MKDIR_P
5276 case $MKDIR_P in
5277 [\\/$]* | ?:[\\/]* ) ;;
5278 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5279 esac
5280 _ACEOF
5281
5282 cat >>$CONFIG_STATUS <<\_ACEOF
5283 # If the template does not know about datarootdir, expand it.
5284 # FIXME: This hack should be removed a few years after 2.60.
5285 ac_datarootdir_hack=; ac_datarootdir_seen=
5286
5287 case `sed -n '/datarootdir/ {
5288 p
5289 q
5290 }
5291 /@datadir@/p
5292 /@docdir@/p
5293 /@infodir@/p
5294 /@localedir@/p
5295 /@mandir@/p
5296 ' $ac_file_inputs` in
5297 *datarootdir*) ac_datarootdir_seen=yes;;
5298 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5299 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5300 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5301 _ACEOF
5302 cat >>$CONFIG_STATUS <<_ACEOF
5303 ac_datarootdir_hack='
5304 s&@datadir@&$datadir&g
5305 s&@docdir@&$docdir&g
5306 s&@infodir@&$infodir&g
5307 s&@localedir@&$localedir&g
5308 s&@mandir@&$mandir&g
5309 s&\\\${datarootdir}&$datarootdir&g' ;;
5310 esac
5311 _ACEOF
5312
5313 # Neutralize VPATH when `$srcdir' = `.'.
5314 # Shell code in configure.ac might set extrasub.
5315 # FIXME: do we really want to maintain this feature?
43245316 cat >>$CONFIG_STATUS <<_ACEOF
43255317 sed "$ac_vpsub
43265318 $extrasub
43285320 cat >>$CONFIG_STATUS <<\_ACEOF
43295321 :t
43305322 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4331 s,@configure_input@,$configure_input,;t t
4332 s,@srcdir@,$ac_srcdir,;t t
4333 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4334 s,@top_srcdir@,$ac_top_srcdir,;t t
4335 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4336 s,@builddir@,$ac_builddir,;t t
4337 s,@abs_builddir@,$ac_abs_builddir,;t t
4338 s,@top_builddir@,$ac_top_builddir,;t t
4339 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4340 s,@INSTALL@,$ac_INSTALL,;t t
4341 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4342 rm -f $tmp/stdin
4343 if test x"$ac_file" != x-; then
4344 mv $tmp/out $ac_file
5323 s&@configure_input@&$configure_input&;t t
5324 s&@top_builddir@&$ac_top_builddir_sub&;t t
5325 s&@srcdir@&$ac_srcdir&;t t
5326 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5327 s&@top_srcdir@&$ac_top_srcdir&;t t
5328 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5329 s&@builddir@&$ac_builddir&;t t
5330 s&@abs_builddir@&$ac_abs_builddir&;t t
5331 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5332 s&@INSTALL@&$ac_INSTALL&;t t
5333 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5334 $ac_datarootdir_hack
5335 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5336
5337 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5338 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5339 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5340 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5341 which seems to be undefined. Please make sure it is defined." >&5
5342 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5343 which seems to be undefined. Please make sure it is defined." >&2;}
5344
5345 rm -f "$tmp/stdin"
5346 case $ac_file in
5347 -) cat "$tmp/out"; rm -f "$tmp/out";;
5348 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5349 esac
5350 ;;
5351
5352
5353 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5354 echo "$as_me: executing $ac_file commands" >&6;}
5355 ;;
5356 esac
5357
5358
5359 case $ac_file$ac_mode in
5360 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5361 # Strip MF so we end up with the name of the file.
5362 mf=`echo "$mf" | sed -e 's/:.*$//'`
5363 # Check whether this is an Automake generated Makefile or not.
5364 # We used to match only the files named `Makefile.in', but
5365 # some people rename them; so instead we look at the file content.
5366 # Grep'ing the first line is not enough: some people post-process
5367 # each Makefile.in and add a new line on top of each file to say so.
5368 # Grep'ing the whole file is not good either: AIX grep has a line
5369 # limit of 2048, but all sed's we know have understand at least 4000.
5370 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
5371 dirpart=`$as_dirname -- "$mf" ||
5372 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5373 X"$mf" : 'X\(//\)[^/]' \| \
5374 X"$mf" : 'X\(//\)$' \| \
5375 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5376 echo X"$mf" |
5377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5378 s//\1/
5379 q
5380 }
5381 /^X\(\/\/\)[^/].*/{
5382 s//\1/
5383 q
5384 }
5385 /^X\(\/\/\)$/{
5386 s//\1/
5387 q
5388 }
5389 /^X\(\/\).*/{
5390 s//\1/
5391 q
5392 }
5393 s/.*/./; q'`
43455394 else
4346 cat $tmp/out
4347 rm -f $tmp/out
5395 continue
43485396 fi
4349
5397 # Extract the definition of DEPDIR, am__include, and am__quote
5398 # from the Makefile without running `make'.
5399 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5400 test -z "$DEPDIR" && continue
5401 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5402 test -z "am__include" && continue
5403 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5404 # When using ansi2knr, U may be empty or an underscore; expand it
5405 U=`sed -n 's/^U = //p' < "$mf"`
5406 # Find all dependency output files, they are included files with
5407 # $(DEPDIR) in their names. We invoke sed twice because it is the
5408 # simplest approach to changing $(DEPDIR) to its actual value in the
5409 # expansion.
5410 for file in `sed -n "
5411 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5412 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5413 # Make sure the directory exists.
5414 test -f "$dirpart/$file" && continue
5415 fdir=`$as_dirname -- "$file" ||
5416 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5417 X"$file" : 'X\(//\)[^/]' \| \
5418 X"$file" : 'X\(//\)$' \| \
5419 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5420 echo X"$file" |
5421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5422 s//\1/
5423 q
5424 }
5425 /^X\(\/\/\)[^/].*/{
5426 s//\1/
5427 q
5428 }
5429 /^X\(\/\/\)$/{
5430 s//\1/
5431 q
5432 }
5433 /^X\(\/\).*/{
5434 s//\1/
5435 q
5436 }
5437 s/.*/./; q'`
5438 { as_dir=$dirpart/$fdir
5439 case $as_dir in #(
5440 -*) as_dir=./$as_dir;;
5441 esac
5442 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5443 as_dirs=
5444 while :; do
5445 case $as_dir in #(
5446 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5447 *) as_qdir=$as_dir;;
5448 esac
5449 as_dirs="'$as_qdir' $as_dirs"
5450 as_dir=`$as_dirname -- "$as_dir" ||
5451 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5452 X"$as_dir" : 'X\(//\)[^/]' \| \
5453 X"$as_dir" : 'X\(//\)$' \| \
5454 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5455 echo X"$as_dir" |
5456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5457 s//\1/
5458 q
5459 }
5460 /^X\(\/\/\)[^/].*/{
5461 s//\1/
5462 q
5463 }
5464 /^X\(\/\/\)$/{
5465 s//\1/
5466 q
5467 }
5468 /^X\(\/\).*/{
5469 s//\1/
5470 q
5471 }
5472 s/.*/./; q'`
5473 test -d "$as_dir" && break
5474 done
5475 test -z "$as_dirs" || eval "mkdir $as_dirs"
5476 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5477 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5478 { (exit 1); exit 1; }; }; }
5479 # echo "creating $dirpart/$file"
5480 echo '# dummy' > "$dirpart/$file"
5481 done
43505482 done
4351 _ACEOF
4352
4353 cat >>$CONFIG_STATUS <<\_ACEOF
5483 ;;
5484
5485 esac
5486 done # for ac_tag
5487
43545488
43555489 { (exit 0); exit 0; }
43565490 _ACEOF
77 ######## Setup for automake
88 NAME="bumprace"
99 SDL_VERSION=1.1.5
10 AM_INIT_AUTOMAKE($NAME, 1.5.2)
10 AM_INIT_AUTOMAKE($NAME, 1.5.3)
1111
1212 ######## Check for tools
1313 AC_PROG_CC
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
0 # Makefile.in generated by automake 1.10 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
35 # This Makefile.in is free software; the Free Software Foundation
46 # gives unlimited permission to copy and/or distribute it,
57 # with or without modifications, as long as this notice is preserved.
911 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1012 # PARTICULAR PURPOSE.
1113
12
13 SHELL = @SHELL@
14
15 srcdir = @srcdir@
16 top_srcdir = @top_srcdir@
14 @SET_MAKE@
15
1716 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
3617 pkgdatadir = $(datadir)/@PACKAGE@
3718 pkglibdir = $(libdir)/@PACKAGE@
3819 pkgincludedir = $(includedir)/@PACKAGE@
39
40 top_builddir = ..
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
47 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
20 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
21 install_sh_DATA = $(install_sh) -c -m 644
22 install_sh_PROGRAM = $(install_sh) -c
23 install_sh_SCRIPT = $(install_sh) -c
24 INSTALL_HEADER = $(INSTALL_DATA)
25 transform = $(program_transform_name)
5326 NORMAL_INSTALL = :
5427 PRE_INSTALL = :
5528 POST_INSTALL = :
5629 NORMAL_UNINSTALL = :
5730 PRE_UNINSTALL = :
5831 POST_UNINSTALL = :
59 host_alias = @host_alias@
32 build_triplet = @build@
6033 host_triplet = @host@
34 target_triplet = @target@
35 subdir = data
36 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
37 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
38 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
39 $(top_srcdir)/configure.in
40 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
41 $(ACLOCAL_M4)
42 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
43 CONFIG_CLEAN_FILES =
44 SOURCES =
45 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
53 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
54 am__vpath_adj = case $$p in \
55 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
56 *) f=$$p;; \
57 esac;
58 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
59 am__installdirs = "$(DESTDIR)$(generaldir)"
60 generalDATA_INSTALL = $(INSTALL_DATA)
61 DATA = $(general_DATA)
62 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
63 distclean-recursive maintainer-clean-recursive
64 ETAGS = etags
65 CTAGS = ctags
66 DIST_SUBDIRS = $(SUBDIRS)
67 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
68 ACLOCAL = @ACLOCAL@
69 AMTAR = @AMTAR@
70 AUTOCONF = @AUTOCONF@
71 AUTOHEADER = @AUTOHEADER@
72 AUTOMAKE = @AUTOMAKE@
73 AWK = @AWK@
6174 CC = @CC@
75 CCDEPMODE = @CCDEPMODE@
76 CFLAGS = @CFLAGS@
77 CPPFLAGS = @CPPFLAGS@
78 CYGPATH_W = @CYGPATH_W@
79 DEFS = @DEFS@
80 DEPDIR = @DEPDIR@
81 ECHO_C = @ECHO_C@
82 ECHO_N = @ECHO_N@
83 ECHO_T = @ECHO_T@
84 EXEEXT = @EXEEXT@
85 INSTALL = @INSTALL@
86 INSTALL_DATA = @INSTALL_DATA@
87 INSTALL_PROGRAM = @INSTALL_PROGRAM@
88 INSTALL_SCRIPT = @INSTALL_SCRIPT@
89 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
90 LDFLAGS = @LDFLAGS@
91 LIBOBJS = @LIBOBJS@
92 LIBS = @LIBS@
93 LTLIBOBJS = @LTLIBOBJS@
6294 MAKEINFO = @MAKEINFO@
6395 MATHLIB = @MATHLIB@
96 MKDIR_P = @MKDIR_P@
97 OBJEXT = @OBJEXT@
6498 PACKAGE = @PACKAGE@
99 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
100 PACKAGE_NAME = @PACKAGE_NAME@
101 PACKAGE_STRING = @PACKAGE_STRING@
102 PACKAGE_TARNAME = @PACKAGE_TARNAME@
103 PACKAGE_VERSION = @PACKAGE_VERSION@
104 PATH_SEPARATOR = @PATH_SEPARATOR@
65105 RANLIB = @RANLIB@
66106 SDL_CFLAGS = @SDL_CFLAGS@
67107 SDL_CONFIG = @SDL_CONFIG@
68108 SDL_LIBS = @SDL_LIBS@
109 SET_MAKE = @SET_MAKE@
110 SHELL = @SHELL@
111 STRIP = @STRIP@
69112 VERSION = @VERSION@
70
113 abs_builddir = @abs_builddir@
114 abs_srcdir = @abs_srcdir@
115 abs_top_builddir = @abs_top_builddir@
116 abs_top_srcdir = @abs_top_srcdir@
117 ac_ct_CC = @ac_ct_CC@
118 am__include = @am__include@
119 am__leading_dot = @am__leading_dot@
120 am__quote = @am__quote@
121 am__tar = @am__tar@
122 am__untar = @am__untar@
123 bindir = @bindir@
124 build = @build@
125 build_alias = @build_alias@
126 build_cpu = @build_cpu@
127 build_os = @build_os@
128 build_vendor = @build_vendor@
129 builddir = @builddir@
130 datadir = @datadir@
131 datarootdir = @datarootdir@
132 docdir = @docdir@
133 dvidir = @dvidir@
134 exec_prefix = @exec_prefix@
135 host = @host@
136 host_alias = @host_alias@
137 host_cpu = @host_cpu@
138 host_os = @host_os@
139 host_vendor = @host_vendor@
140 htmldir = @htmldir@
141 includedir = @includedir@
142 infodir = @infodir@
143 install_sh = @install_sh@
144 libdir = @libdir@
145 libexecdir = @libexecdir@
146 localedir = @localedir@
147 localstatedir = @localstatedir@
148 mandir = @mandir@
149 mkdir_p = @mkdir_p@
150 oldincludedir = @oldincludedir@
151 pdfdir = @pdfdir@
152 prefix = @prefix@
153 program_transform_name = @program_transform_name@
154 psdir = @psdir@
155 sbindir = @sbindir@
156 sharedstatedir = @sharedstatedir@
157 srcdir = @srcdir@
158 sysconfdir = @sysconfdir@
159 target = @target@
160 target_alias = @target_alias@
161 target_cpu = @target_cpu@
162 target_os = @target_os@
163 target_vendor = @target_vendor@
164 top_builddir = @top_builddir@
165 top_srcdir = @top_srcdir@
71166 SUBDIRS = gfx sound
72
73167 generaldir = $(datadir)/@PACKAGE@
74
75168 general_DATA =
76 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
77 CONFIG_CLEAN_FILES =
78 DATA = $(general_DATA)
79
80 DIST_COMMON = Makefile.am Makefile.in
81
82
83 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
84
85 TAR = tar
86 GZIP_ENV = --best
87 all: all-redirect
169 all: all-recursive
170
88171 .SUFFIXES:
89 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
90 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps data/Makefile
91
92 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
93 cd $(top_builddir) \
94 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
95
96
172 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
173 @for dep in $?; do \
174 case '$(am__configure_deps)' in \
175 *$$dep*) \
176 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
177 && exit 0; \
178 exit 1;; \
179 esac; \
180 done; \
181 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/Makefile'; \
182 cd $(top_srcdir) && \
183 $(AUTOMAKE) --gnu data/Makefile
184 .PRECIOUS: Makefile
185 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
186 @case '$?' in \
187 *config.status*) \
188 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
189 *) \
190 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
191 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
192 esac;
193
194 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
195 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
196
197 $(top_srcdir)/configure: $(am__configure_deps)
198 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
199 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
200 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
97201 install-generalDATA: $(general_DATA)
98202 @$(NORMAL_INSTALL)
99 $(mkinstalldirs) $(DESTDIR)$(generaldir)
203 test -z "$(generaldir)" || $(MKDIR_P) "$(DESTDIR)$(generaldir)"
100204 @list='$(general_DATA)'; for p in $$list; do \
101 if test -f $(srcdir)/$$p; then \
102 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(generaldir)/$$p"; \
103 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(generaldir)/$$p; \
104 else if test -f $$p; then \
105 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(generaldir)/$$p"; \
106 $(INSTALL_DATA) $$p $(DESTDIR)$(generaldir)/$$p; \
107 fi; fi; \
205 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"; \
108209 done
109210
110211 uninstall-generalDATA:
111212 @$(NORMAL_UNINSTALL)
112 list='$(general_DATA)'; for p in $$list; do \
113 rm -f $(DESTDIR)$(generaldir)/$$p; \
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"; \
114217 done
115218
116219 # This directory's subdirectories are mostly independent; you can cd
119222 # (1) if the variable is set in `config.status', edit `config.status'
120223 # (which will cause the Makefiles to be regenerated when you run `make');
121224 # (2) otherwise, pass the desired values on the `make' command line.
122
123 @SET_MAKE@
124
125 all-recursive install-data-recursive install-exec-recursive \
126 installdirs-recursive install-recursive uninstall-recursive \
127 check-recursive installcheck-recursive info-recursive dvi-recursive:
128 @set fnord $(MAKEFLAGS); amf=$$2; \
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; \
129233 dot_seen=no; \
130234 target=`echo $@ | sed s/-recursive//`; \
131235 list='$(SUBDIRS)'; for subdir in $$list; do \
137241 local_target="$$target"; \
138242 fi; \
139243 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
140 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
244 || eval $$failcom; \
141245 done; \
142246 if test "$$dot_seen" = "no"; then \
143247 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
144248 fi; test -z "$$fail"
145249
146 mostlyclean-recursive clean-recursive distclean-recursive \
147 maintainer-clean-recursive:
148 @set fnord $(MAKEFLAGS); amf=$$2; \
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; \
149258 dot_seen=no; \
150 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
151 rev="$$subdir $$rev"; \
152 test "$$subdir" != "." || dot_seen=yes; \
153 done; \
154 test "$$dot_seen" = "no" && rev=". $$rev"; \
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 ."; \
155269 target=`echo $@ | sed s/-recursive//`; \
156270 for subdir in $$rev; do \
157271 echo "Making $$target in $$subdir"; \
161275 local_target="$$target"; \
162276 fi; \
163277 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
164 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
278 || eval $$failcom; \
165279 done && test -z "$$fail"
166280 tags-recursive:
167281 list='$(SUBDIRS)'; for subdir in $$list; do \
168282 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
169283 done
170
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; } \
295 END { for (i in files) print i; }'`; \
296 mkid -fID $$unique
171297 tags: TAGS
172298
173 ID: $(HEADERS) $(SOURCES) $(LISP)
174 list='$(SOURCES) $(HEADERS)'; \
175 unique=`for i in $$list; do echo $$i; done | \
176 awk ' { files[$$0] = 1; } \
177 END { for (i in files) print i; }'`; \
178 here=`pwd` && cd $(srcdir) \
179 && mkid -f$$here/ID $$unique $(LISP)
180
181 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
299 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
300 $(TAGS_FILES) $(LISP)
182301 tags=; \
183302 here=`pwd`; \
303 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
304 include_option=--etags-include; \
305 empty_fix=.; \
306 else \
307 include_option=--include; \
308 empty_fix=; \
309 fi; \
184310 list='$(SUBDIRS)'; for subdir in $$list; do \
185 if test "$$subdir" = .; then :; else \
186 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
187 fi; \
188 done; \
189 list='$(SOURCES) $(HEADERS)'; \
190 unique=`for i in $$list; do echo $$i; done | \
191 awk ' { files[$$0] = 1; } \
311 if test "$$subdir" = .; then :; else \
312 test ! -f $$subdir/TAGS || \
313 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
314 fi; \
315 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; } \
192321 END { for (i in files) print i; }'`; \
193 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
194 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
195
196 mostlyclean-tags:
197
198 clean-tags:
322 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
323 test -n "$$unique" || unique=$$empty_fix; \
324 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
325 $$tags $$unique; \
326 fi
327 ctags: CTAGS
328 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
329 $(TAGS_FILES) $(LISP)
330 tags=; \
331 here=`pwd`; \
332 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
333 unique=`for i in $$list; do \
334 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
335 done | \
336 $(AWK) ' { files[$$0] = 1; } \
337 END { for (i in files) print i; }'`; \
338 test -z "$(CTAGS_ARGS)$$tags$$unique" \
339 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
340 $$tags $$unique
341
342 GTAGS:
343 here=`$(am__cd) $(top_builddir) && pwd` \
344 && cd $(top_srcdir) \
345 && gtags -i $(GTAGS_ARGS) $$here
199346
200347 distclean-tags:
201 -rm -f TAGS ID
202
203 maintainer-clean-tags:
204
205 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
206
207 subdir = data
348 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
208349
209350 distdir: $(DISTFILES)
210 @for file in $(DISTFILES); do \
211 d=$(srcdir); \
351 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
352 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
353 list='$(DISTFILES)'; \
354 dist_files=`for file in $$list; do echo $$file; done | \
355 sed -e "s|^$$srcdirstrip/||;t" \
356 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
357 case $$dist_files in \
358 */*) $(MKDIR_P) `echo "$$dist_files" | \
359 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
360 sort -u` ;; \
361 esac; \
362 for file in $$dist_files; do \
363 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
212364 if test -d $$d/$$file; then \
213 cp -pr $$d/$$file $(distdir)/$$file; \
365 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
366 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
367 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
368 fi; \
369 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
214370 else \
215371 test -f $(distdir)/$$file \
216 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
217 || cp -p $$d/$$file $(distdir)/$$file || :; \
218 fi; \
219 done
220 for subdir in $(SUBDIRS); do \
372 || cp -p $$d/$$file $(distdir)/$$file \
373 || exit 1; \
374 fi; \
375 done
376 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
221377 if test "$$subdir" = .; then :; else \
222 test -d $(distdir)/$$subdir \
223 || mkdir $(distdir)/$$subdir \
378 test -d "$(distdir)/$$subdir" \
379 || $(MKDIR_P) "$(distdir)/$$subdir" \
224380 || exit 1; \
225 chmod 777 $(distdir)/$$subdir; \
226 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
381 distdir=`$(am__cd) $(distdir) && pwd`; \
382 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
383 (cd $$subdir && \
384 $(MAKE) $(AM_MAKEFLAGS) \
385 top_distdir="$$top_distdir" \
386 distdir="$$distdir/$$subdir" \
387 am__remove_distdir=: \
388 am__skip_length_check=: \
389 distdir) \
227390 || exit 1; \
228391 fi; \
229392 done
230 info-am:
231 info: info-recursive
232 dvi-am:
233 dvi: dvi-recursive
234393 check-am: all-am
235394 check: check-recursive
236 installcheck-am:
237 installcheck: installcheck-recursive
238 install-exec-am:
395 all-am: Makefile $(DATA)
396 installdirs: installdirs-recursive
397 installdirs-am:
398 for dir in "$(DESTDIR)$(generaldir)"; do \
399 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
400 done
401 install: install-recursive
239402 install-exec: install-exec-recursive
240
241 install-data-am: install-generalDATA
242403 install-data: install-data-recursive
404 uninstall: uninstall-recursive
243405
244406 install-am: all-am
245407 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
246 install: install-recursive
408
409 installcheck: installcheck-recursive
410 install-strip:
411 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
412 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
413 `test -z '$(STRIP)' || \
414 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
415 mostlyclean-generic:
416
417 clean-generic:
418
419 distclean-generic:
420 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
421
422 maintainer-clean-generic:
423 @echo "This command is intended for maintainers to use"
424 @echo "it deletes files that may require special tools to rebuild."
425 clean: clean-recursive
426
427 clean-am: clean-generic mostlyclean-am
428
429 distclean: distclean-recursive
430 -rm -f Makefile
431 distclean-am: clean-am distclean-generic distclean-tags
432
433 dvi: dvi-recursive
434
435 dvi-am:
436
437 html: html-recursive
438
439 info: info-recursive
440
441 info-am:
442
443 install-data-am: install-generalDATA
444
445 install-dvi: install-dvi-recursive
446
447 install-exec-am:
448
449 install-html: install-html-recursive
450
451 install-info: install-info-recursive
452
453 install-man:
454
455 install-pdf: install-pdf-recursive
456
457 install-ps: install-ps-recursive
458
459 installcheck-am:
460
461 maintainer-clean: maintainer-clean-recursive
462 -rm -f Makefile
463 maintainer-clean-am: distclean-am maintainer-clean-generic
464
465 mostlyclean: mostlyclean-recursive
466
467 mostlyclean-am: mostlyclean-generic
468
469 pdf: pdf-recursive
470
471 pdf-am:
472
473 ps: ps-recursive
474
475 ps-am:
476
247477 uninstall-am: uninstall-generalDATA
248 uninstall: uninstall-recursive
249 all-am: Makefile $(DATA)
250 all-redirect: all-recursive
251 install-strip:
252 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
253 installdirs: installdirs-recursive
254 installdirs-am:
255 $(mkinstalldirs) $(DESTDIR)$(generaldir)
256
257
258 mostlyclean-generic:
259
260 clean-generic:
261
262 distclean-generic:
263 -rm -f Makefile $(CONFIG_CLEAN_FILES)
264 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
265
266 maintainer-clean-generic:
267 mostlyclean-am: mostlyclean-tags mostlyclean-generic
268
269 mostlyclean: mostlyclean-recursive
270
271 clean-am: clean-tags clean-generic mostlyclean-am
272
273 clean: clean-recursive
274
275 distclean-am: distclean-tags distclean-generic clean-am
276
277 distclean: distclean-recursive
278
279 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
280 distclean-am
281 @echo "This command is intended for maintainers to use;"
282 @echo "it deletes files that may require special tools to rebuild."
283
284 maintainer-clean: maintainer-clean-recursive
285
286 .PHONY: uninstall-generalDATA install-generalDATA install-data-recursive \
287 uninstall-data-recursive install-exec-recursive \
288 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
289 all-recursive check-recursive installcheck-recursive info-recursive \
290 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
291 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
292 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
293 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
294 install-exec install-data-am install-data install-am install \
295 uninstall-am uninstall all-redirect all-am all installdirs-am \
296 installdirs mostlyclean-generic distclean-generic clean-generic \
297 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
298
478
479 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
480 install-strip
481
482 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
483 all all-am check check-am clean clean-generic ctags \
484 ctags-recursive distclean distclean-generic distclean-tags \
485 distdir dvi dvi-am html html-am info info-am install \
486 install-am install-data install-data-am install-dvi \
487 install-dvi-am install-exec install-exec-am \
488 install-generalDATA install-html install-html-am install-info \
489 install-info-am install-man install-pdf install-pdf-am \
490 install-ps install-ps-am install-strip installcheck \
491 installcheck-am installdirs installdirs-am maintainer-clean \
492 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
493 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
494 uninstall-generalDATA
299495
300496 # Tell versions [3.59,3.63) of GNU make to not export all variables.
301497 # Otherwise a system limit (for SysV at least) may be exceeded.
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
0 # Makefile.in generated by automake 1.10 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
35 # This Makefile.in is free software; the Free Software Foundation
46 # gives unlimited permission to copy and/or distribute it,
57 # with or without modifications, as long as this notice is preserved.
911 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1012 # PARTICULAR PURPOSE.
1113
12
13 SHELL = @SHELL@
14
15 srcdir = @srcdir@
16 top_srcdir = @top_srcdir@
14 @SET_MAKE@
15
1716 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
3617 pkgdatadir = $(datadir)/@PACKAGE@
3718 pkglibdir = $(libdir)/@PACKAGE@
3819 pkgincludedir = $(includedir)/@PACKAGE@
39
40 top_builddir = ../..
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
47 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
20 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
21 install_sh_DATA = $(install_sh) -c -m 644
22 install_sh_PROGRAM = $(install_sh) -c
23 install_sh_SCRIPT = $(install_sh) -c
24 INSTALL_HEADER = $(INSTALL_DATA)
25 transform = $(program_transform_name)
5326 NORMAL_INSTALL = :
5427 PRE_INSTALL = :
5528 POST_INSTALL = :
5629 NORMAL_UNINSTALL = :
5730 PRE_UNINSTALL = :
5831 POST_UNINSTALL = :
59 host_alias = @host_alias@
32 build_triplet = @build@
6033 host_triplet = @host@
34 target_triplet = @target@
35 subdir = data/gfx
36 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
37 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
38 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
39 $(top_srcdir)/configure.in
40 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
41 $(ACLOCAL_M4)
42 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
43 CONFIG_CLEAN_FILES =
44 SOURCES =
45 DIST_SOURCES =
46 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
47 am__vpath_adj = case $$p in \
48 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
49 *) f=$$p;; \
50 esac;
51 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
52 am__installdirs = "$(DESTDIR)$(gfxdir)"
53 gfxDATA_INSTALL = $(INSTALL_DATA)
54 DATA = $(gfx_DATA)
55 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
56 ACLOCAL = @ACLOCAL@
57 AMTAR = @AMTAR@
58 AUTOCONF = @AUTOCONF@
59 AUTOHEADER = @AUTOHEADER@
60 AUTOMAKE = @AUTOMAKE@
61 AWK = @AWK@
6162 CC = @CC@
63 CCDEPMODE = @CCDEPMODE@
64 CFLAGS = @CFLAGS@
65 CPPFLAGS = @CPPFLAGS@
66 CYGPATH_W = @CYGPATH_W@
67 DEFS = @DEFS@
68 DEPDIR = @DEPDIR@
69 ECHO_C = @ECHO_C@
70 ECHO_N = @ECHO_N@
71 ECHO_T = @ECHO_T@
72 EXEEXT = @EXEEXT@
73 INSTALL = @INSTALL@
74 INSTALL_DATA = @INSTALL_DATA@
75 INSTALL_PROGRAM = @INSTALL_PROGRAM@
76 INSTALL_SCRIPT = @INSTALL_SCRIPT@
77 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
78 LDFLAGS = @LDFLAGS@
79 LIBOBJS = @LIBOBJS@
80 LIBS = @LIBS@
81 LTLIBOBJS = @LTLIBOBJS@
6282 MAKEINFO = @MAKEINFO@
6383 MATHLIB = @MATHLIB@
84 MKDIR_P = @MKDIR_P@
85 OBJEXT = @OBJEXT@
6486 PACKAGE = @PACKAGE@
87 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
88 PACKAGE_NAME = @PACKAGE_NAME@
89 PACKAGE_STRING = @PACKAGE_STRING@
90 PACKAGE_TARNAME = @PACKAGE_TARNAME@
91 PACKAGE_VERSION = @PACKAGE_VERSION@
92 PATH_SEPARATOR = @PATH_SEPARATOR@
6593 RANLIB = @RANLIB@
6694 SDL_CFLAGS = @SDL_CFLAGS@
6795 SDL_CONFIG = @SDL_CONFIG@
6896 SDL_LIBS = @SDL_LIBS@
97 SET_MAKE = @SET_MAKE@
98 SHELL = @SHELL@
99 STRIP = @STRIP@
69100 VERSION = @VERSION@
70
101 abs_builddir = @abs_builddir@
102 abs_srcdir = @abs_srcdir@
103 abs_top_builddir = @abs_top_builddir@
104 abs_top_srcdir = @abs_top_srcdir@
105 ac_ct_CC = @ac_ct_CC@
106 am__include = @am__include@
107 am__leading_dot = @am__leading_dot@
108 am__quote = @am__quote@
109 am__tar = @am__tar@
110 am__untar = @am__untar@
111 bindir = @bindir@
112 build = @build@
113 build_alias = @build_alias@
114 build_cpu = @build_cpu@
115 build_os = @build_os@
116 build_vendor = @build_vendor@
117 builddir = @builddir@
118 datadir = @datadir@
119 datarootdir = @datarootdir@
120 docdir = @docdir@
121 dvidir = @dvidir@
122 exec_prefix = @exec_prefix@
123 host = @host@
124 host_alias = @host_alias@
125 host_cpu = @host_cpu@
126 host_os = @host_os@
127 host_vendor = @host_vendor@
128 htmldir = @htmldir@
129 includedir = @includedir@
130 infodir = @infodir@
131 install_sh = @install_sh@
132 libdir = @libdir@
133 libexecdir = @libexecdir@
134 localedir = @localedir@
135 localstatedir = @localstatedir@
136 mandir = @mandir@
137 mkdir_p = @mkdir_p@
138 oldincludedir = @oldincludedir@
139 pdfdir = @pdfdir@
140 prefix = @prefix@
141 program_transform_name = @program_transform_name@
142 psdir = @psdir@
143 sbindir = @sbindir@
144 sharedstatedir = @sharedstatedir@
145 srcdir = @srcdir@
146 sysconfdir = @sysconfdir@
147 target = @target@
148 target_alias = @target_alias@
149 target_cpu = @target_cpu@
150 target_os = @target_os@
151 target_vendor = @target_vendor@
152 top_builddir = @top_builddir@
153 top_srcdir = @top_srcdir@
71154 gfxdir = $(datadir)/@PACKAGE@/gfx
72
73 gfx_DATA = 1player.jpg completed.png racerc16.gif racerd7.gif racerf12.gif 2playercomp.jpg crashed.png racerc17.gif racerd8.gif racerf13.gif 2playerteam.jpg explosion1.gif racerc18.gif racerd9.gif racerf14.gif fore1.png racerc2.gif racerd_big.gif racerf15.gif back2.jpg fore11.gif racerc3.gif racere1.gif racerf16.gif cannon1.jpg fore12.gif racerc4.gif racere10.gif racerf17.gif cannon10.jpg fore13.gif racerc5.gif racere11.gif racerf18.gif cannon11.jpg fore14.gif racerc6.gif racere12.gif racerf2.gif cannon12.jpg fore15.gif racerc7.gif racere13.gif racerf3.gif cannon13.jpg fore16.gif racerc8.gif racere14.gif racerf4.gif cannon14.jpg fore2.png racerc9.gif racere15.gif racerf5.gif cannon15.jpg fore3.png racerd1.gif racere16.gif racerf6.gif cannon16.jpg fore4.png racerd10.gif racere17.gif racerf7.gif cannon17.jpg fore5.png racerd11.gif racere18.gif racerf8.gif cannon18.jpg fore6.png racerd12.gif racere2.gif racerf9.gif cannon19.jpg fore7.png racerd13.gif racere3.gif racerf_big.gif cannon2.jpg quit.jpg racerd14.gif racere4.gif select.gif cannon20.jpg racer_big.gif racerd15.gif racere5.gif selectp1.jpg cannon21.jpg racerb_big.gif racerd16.gif racere6.gif selectp2.jpg cannon3.jpg racerc1.gif racerd17.gif racere7.gif star1.gif cannon4.jpg racerc10.gif racerd18.gif racere8.gif star2.gif cannon5.jpg racerc11.gif racerd2.gif racere9.gif star3.gif cannon6.jpg racerc12.gif racerd3.gif racere_big.gif star4.gif cannon7.jpg racerc13.gif racerd4.gif racerf1.gif star5.gif cannon8.jpg racerc14.gif racerd5.gif racerf10.gif timeout.png cannon9.jpg racerc15.gif racerd6.gif racerf11.gif title.gif font.png highscore.png fore8.png laser1.png laser3.png laser5.png laser7.png laser9.png laser2.png laser4.png laser6.png laser8.png
74
155 gfx_DATA = \
156 1player.jpg completed.png racerc16.gif racerd7.gif racerf12.gif \
157 2playercomp.jpg crashed.png racerc17.gif racerd8.gif racerf13.gif \
158 2playerteam.jpg explosion1.gif racerc18.gif racerd9.gif racerf14.gif \
159 fore1.png racerc2.gif racerd_big.gif racerf15.gif \
160 back2.jpg fore11.gif racerc3.gif racere1.gif racerf16.gif \
161 cannon1.jpg fore12.gif racerc4.gif racere10.gif racerf17.gif \
162 cannon10.jpg fore13.gif racerc5.gif racere11.gif racerf18.gif \
163 cannon11.jpg fore14.gif racerc6.gif racere12.gif racerf2.gif \
164 cannon12.jpg fore15.gif racerc7.gif racere13.gif racerf3.gif \
165 cannon13.jpg fore16.gif racerc8.gif racere14.gif racerf4.gif \
166 cannon14.jpg fore2.png racerc9.gif racere15.gif racerf5.gif \
167 cannon15.jpg fore3.png racerd1.gif racere16.gif racerf6.gif \
168 cannon16.jpg fore4.png racerd10.gif racere17.gif racerf7.gif \
169 cannon17.jpg fore5.png racerd11.gif racere18.gif racerf8.gif \
170 cannon18.jpg fore6.png racerd12.gif racere2.gif racerf9.gif \
171 cannon19.jpg fore7.png racerd13.gif racere3.gif racerf_big.gif \
172 cannon2.jpg quit.jpg racerd14.gif racere4.gif select.gif \
173 cannon20.jpg racer_big.gif racerd15.gif racere5.gif selectp1.jpg \
174 cannon21.jpg racerb_big.gif racerd16.gif racere6.gif selectp2.jpg \
175 cannon3.jpg racerc1.gif racerd17.gif racere7.gif star1.gif \
176 cannon4.jpg racerc10.gif racerd18.gif racere8.gif star2.gif \
177 cannon5.jpg racerc11.gif racerd2.gif racere9.gif star3.gif \
178 cannon6.jpg racerc12.gif racerd3.gif racere_big.gif star4.gif \
179 cannon7.jpg racerc13.gif racerd4.gif racerf1.gif star5.gif \
180 cannon8.jpg racerc14.gif racerd5.gif racerf10.gif timeout.png \
181 cannon9.jpg racerc15.gif racerd6.gif racerf11.gif title.gif \
182 font.png highscore.png fore8.png\
183 laser1.png laser3.png laser5.png laser7.png laser9.png \
184 laser2.png laser4.png laser6.png laser8.png
75185
76186 EXTRA_DIST = $(gfx_DATA)
77 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
78 CONFIG_CLEAN_FILES =
79 DATA = $(gfx_DATA)
80
81 DIST_COMMON = Makefile.am Makefile.in
82
83
84 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
85
86 TAR = tar
87 GZIP_ENV = --best
88 all: all-redirect
187 all: all-am
188
89189 .SUFFIXES:
90 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
91 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps data/gfx/Makefile
92
93 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
94 cd $(top_builddir) \
95 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
96
97
190 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
191 @for dep in $?; do \
192 case '$(am__configure_deps)' in \
193 *$$dep*) \
194 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
195 && exit 0; \
196 exit 1;; \
197 esac; \
198 done; \
199 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/gfx/Makefile'; \
200 cd $(top_srcdir) && \
201 $(AUTOMAKE) --gnu data/gfx/Makefile
202 .PRECIOUS: Makefile
203 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
204 @case '$?' in \
205 *config.status*) \
206 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
207 *) \
208 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
209 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
210 esac;
211
212 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
213 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
214
215 $(top_srcdir)/configure: $(am__configure_deps)
216 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
217 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
218 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
98219 install-gfxDATA: $(gfx_DATA)
99220 @$(NORMAL_INSTALL)
100 $(mkinstalldirs) $(DESTDIR)$(gfxdir)
221 test -z "$(gfxdir)" || $(MKDIR_P) "$(DESTDIR)$(gfxdir)"
101222 @list='$(gfx_DATA)'; for p in $$list; do \
102 if test -f $(srcdir)/$$p; then \
103 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(gfxdir)/$$p"; \
104 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(gfxdir)/$$p; \
105 else if test -f $$p; then \
106 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(gfxdir)/$$p"; \
107 $(INSTALL_DATA) $$p $(DESTDIR)$(gfxdir)/$$p; \
108 fi; fi; \
223 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"; \
109227 done
110228
111229 uninstall-gfxDATA:
112230 @$(NORMAL_UNINSTALL)
113 list='$(gfx_DATA)'; for p in $$list; do \
114 rm -f $(DESTDIR)$(gfxdir)/$$p; \
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"; \
115235 done
116236 tags: TAGS
117237 TAGS:
118238
119
120 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
121
122 subdir = data/gfx
239 ctags: CTAGS
240 CTAGS:
241
123242
124243 distdir: $(DISTFILES)
125 @for file in $(DISTFILES); do \
126 d=$(srcdir); \
244 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
245 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
246 list='$(DISTFILES)'; \
247 dist_files=`for file in $$list; do echo $$file; done | \
248 sed -e "s|^$$srcdirstrip/||;t" \
249 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
250 case $$dist_files in \
251 */*) $(MKDIR_P) `echo "$$dist_files" | \
252 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
253 sort -u` ;; \
254 esac; \
255 for file in $$dist_files; do \
256 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
127257 if test -d $$d/$$file; then \
128 cp -pr $$d/$$file $(distdir)/$$file; \
258 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
259 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
260 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
261 fi; \
262 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
129263 else \
130264 test -f $(distdir)/$$file \
131 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
132 || cp -p $$d/$$file $(distdir)/$$file || :; \
265 || cp -p $$d/$$file $(distdir)/$$file \
266 || exit 1; \
133267 fi; \
134268 done
135 info-am:
136 info: info-am
137 dvi-am:
138 dvi: dvi-am
139269 check-am: all-am
140270 check: check-am
141 installcheck-am:
142 installcheck: installcheck-am
143 install-exec-am:
271 all-am: Makefile $(DATA)
272 installdirs:
273 for dir in "$(DESTDIR)$(gfxdir)"; do \
274 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
275 done
276 install: install-am
144277 install-exec: install-exec-am
145
146 install-data-am: install-gfxDATA
147278 install-data: install-data-am
279 uninstall: uninstall-am
148280
149281 install-am: all-am
150282 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
151 install: install-am
283
284 installcheck: installcheck-am
285 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
290 mostlyclean-generic:
291
292 clean-generic:
293
294 distclean-generic:
295 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
296
297 maintainer-clean-generic:
298 @echo "This command is intended for maintainers to use"
299 @echo "it deletes files that may require special tools to rebuild."
300 clean: clean-am
301
302 clean-am: clean-generic mostlyclean-am
303
304 distclean: distclean-am
305 -rm -f Makefile
306 distclean-am: clean-am distclean-generic
307
308 dvi: dvi-am
309
310 dvi-am:
311
312 html: html-am
313
314 info: info-am
315
316 info-am:
317
318 install-data-am: install-gfxDATA
319
320 install-dvi: install-dvi-am
321
322 install-exec-am:
323
324 install-html: install-html-am
325
326 install-info: install-info-am
327
328 install-man:
329
330 install-pdf: install-pdf-am
331
332 install-ps: install-ps-am
333
334 installcheck-am:
335
336 maintainer-clean: maintainer-clean-am
337 -rm -f Makefile
338 maintainer-clean-am: distclean-am maintainer-clean-generic
339
340 mostlyclean: mostlyclean-am
341
342 mostlyclean-am: mostlyclean-generic
343
344 pdf: pdf-am
345
346 pdf-am:
347
348 ps: ps-am
349
350 ps-am:
351
152352 uninstall-am: uninstall-gfxDATA
153 uninstall: uninstall-am
154 all-am: Makefile $(DATA)
155 all-redirect: all-am
156 install-strip:
157 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
158 installdirs:
159 $(mkinstalldirs) $(DESTDIR)$(gfxdir)
160
161
162 mostlyclean-generic:
163
164 clean-generic:
165
166 distclean-generic:
167 -rm -f Makefile $(CONFIG_CLEAN_FILES)
168 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
169
170 maintainer-clean-generic:
171 mostlyclean-am: mostlyclean-generic
172
173 mostlyclean: mostlyclean-am
174
175 clean-am: clean-generic mostlyclean-am
176
177 clean: clean-am
178
179 distclean-am: distclean-generic clean-am
180
181 distclean: distclean-am
182
183 maintainer-clean-am: maintainer-clean-generic distclean-am
184 @echo "This command is intended for maintainers to use;"
185 @echo "it deletes files that may require special tools to rebuild."
186
187 maintainer-clean: maintainer-clean-am
188
189 .PHONY: uninstall-gfxDATA install-gfxDATA tags distdir info-am info \
190 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
191 install-exec install-data-am install-data install-am install \
192 uninstall-am uninstall all-redirect all-am all installdirs \
193 mostlyclean-generic distclean-generic clean-generic \
194 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
195
353
354 .MAKE: install-am install-strip
355
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
196366
197367 # Tell versions [3.59,3.63) of GNU make to not export all variables.
198368 # Otherwise a system limit (for SysV at least) may be exceeded.
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
0 # Makefile.in generated by automake 1.10 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
35 # This Makefile.in is free software; the Free Software Foundation
46 # gives unlimited permission to copy and/or distribute it,
57 # with or without modifications, as long as this notice is preserved.
911 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1012 # PARTICULAR PURPOSE.
1113
12
13 SHELL = @SHELL@
14
15 srcdir = @srcdir@
16 top_srcdir = @top_srcdir@
14 @SET_MAKE@
15
1716 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
3617 pkgdatadir = $(datadir)/@PACKAGE@
3718 pkglibdir = $(libdir)/@PACKAGE@
3819 pkgincludedir = $(includedir)/@PACKAGE@
39
40 top_builddir = ../..
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
47 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
20 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
21 install_sh_DATA = $(install_sh) -c -m 644
22 install_sh_PROGRAM = $(install_sh) -c
23 install_sh_SCRIPT = $(install_sh) -c
24 INSTALL_HEADER = $(INSTALL_DATA)
25 transform = $(program_transform_name)
5326 NORMAL_INSTALL = :
5427 PRE_INSTALL = :
5528 POST_INSTALL = :
5629 NORMAL_UNINSTALL = :
5730 PRE_UNINSTALL = :
5831 POST_UNINSTALL = :
59 host_alias = @host_alias@
32 build_triplet = @build@
6033 host_triplet = @host@
34 target_triplet = @target@
35 subdir = data/sound
36 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
37 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
38 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
39 $(top_srcdir)/configure.in
40 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
41 $(ACLOCAL_M4)
42 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
43 CONFIG_CLEAN_FILES =
44 SOURCES =
45 DIST_SOURCES =
46 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
47 am__vpath_adj = case $$p in \
48 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
49 *) f=$$p;; \
50 esac;
51 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
52 am__installdirs = "$(DESTDIR)$(sounddir)"
53 soundDATA_INSTALL = $(INSTALL_DATA)
54 DATA = $(sound_DATA)
55 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
56 ACLOCAL = @ACLOCAL@
57 AMTAR = @AMTAR@
58 AUTOCONF = @AUTOCONF@
59 AUTOHEADER = @AUTOHEADER@
60 AUTOMAKE = @AUTOMAKE@
61 AWK = @AWK@
6162 CC = @CC@
63 CCDEPMODE = @CCDEPMODE@
64 CFLAGS = @CFLAGS@
65 CPPFLAGS = @CPPFLAGS@
66 CYGPATH_W = @CYGPATH_W@
67 DEFS = @DEFS@
68 DEPDIR = @DEPDIR@
69 ECHO_C = @ECHO_C@
70 ECHO_N = @ECHO_N@
71 ECHO_T = @ECHO_T@
72 EXEEXT = @EXEEXT@
73 INSTALL = @INSTALL@
74 INSTALL_DATA = @INSTALL_DATA@
75 INSTALL_PROGRAM = @INSTALL_PROGRAM@
76 INSTALL_SCRIPT = @INSTALL_SCRIPT@
77 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
78 LDFLAGS = @LDFLAGS@
79 LIBOBJS = @LIBOBJS@
80 LIBS = @LIBS@
81 LTLIBOBJS = @LTLIBOBJS@
6282 MAKEINFO = @MAKEINFO@
6383 MATHLIB = @MATHLIB@
84 MKDIR_P = @MKDIR_P@
85 OBJEXT = @OBJEXT@
6486 PACKAGE = @PACKAGE@
87 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
88 PACKAGE_NAME = @PACKAGE_NAME@
89 PACKAGE_STRING = @PACKAGE_STRING@
90 PACKAGE_TARNAME = @PACKAGE_TARNAME@
91 PACKAGE_VERSION = @PACKAGE_VERSION@
92 PATH_SEPARATOR = @PATH_SEPARATOR@
6593 RANLIB = @RANLIB@
6694 SDL_CFLAGS = @SDL_CFLAGS@
6795 SDL_CONFIG = @SDL_CONFIG@
6896 SDL_LIBS = @SDL_LIBS@
97 SET_MAKE = @SET_MAKE@
98 SHELL = @SHELL@
99 STRIP = @STRIP@
69100 VERSION = @VERSION@
70
101 abs_builddir = @abs_builddir@
102 abs_srcdir = @abs_srcdir@
103 abs_top_builddir = @abs_top_builddir@
104 abs_top_srcdir = @abs_top_srcdir@
105 ac_ct_CC = @ac_ct_CC@
106 am__include = @am__include@
107 am__leading_dot = @am__leading_dot@
108 am__quote = @am__quote@
109 am__tar = @am__tar@
110 am__untar = @am__untar@
111 bindir = @bindir@
112 build = @build@
113 build_alias = @build_alias@
114 build_cpu = @build_cpu@
115 build_os = @build_os@
116 build_vendor = @build_vendor@
117 builddir = @builddir@
118 datadir = @datadir@
119 datarootdir = @datarootdir@
120 docdir = @docdir@
121 dvidir = @dvidir@
122 exec_prefix = @exec_prefix@
123 host = @host@
124 host_alias = @host_alias@
125 host_cpu = @host_cpu@
126 host_os = @host_os@
127 host_vendor = @host_vendor@
128 htmldir = @htmldir@
129 includedir = @includedir@
130 infodir = @infodir@
131 install_sh = @install_sh@
132 libdir = @libdir@
133 libexecdir = @libexecdir@
134 localedir = @localedir@
135 localstatedir = @localstatedir@
136 mandir = @mandir@
137 mkdir_p = @mkdir_p@
138 oldincludedir = @oldincludedir@
139 pdfdir = @pdfdir@
140 prefix = @prefix@
141 program_transform_name = @program_transform_name@
142 psdir = @psdir@
143 sbindir = @sbindir@
144 sharedstatedir = @sharedstatedir@
145 srcdir = @srcdir@
146 sysconfdir = @sysconfdir@
147 target = @target@
148 target_alias = @target_alias@
149 target_cpu = @target_cpu@
150 target_os = @target_os@
151 target_vendor = @target_vendor@
152 top_builddir = @top_builddir@
153 top_srcdir = @top_srcdir@
71154 sounddir = $(datadir)/@PACKAGE@/sound
72
73155 sound_DATA = explode.wav lizard.mod whoosh.wav winlevel.wav
74
75156 EXTRA_DIST = $(sound_DATA)
76 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
77 CONFIG_CLEAN_FILES =
78 DATA = $(sound_DATA)
79
80 DIST_COMMON = Makefile.am Makefile.in
81
82
83 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
84
85 TAR = tar
86 GZIP_ENV = --best
87 all: all-redirect
157 all: all-am
158
88159 .SUFFIXES:
89 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
90 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps data/sound/Makefile
91
92 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
93 cd $(top_builddir) \
94 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
95
96
160 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
161 @for dep in $?; do \
162 case '$(am__configure_deps)' in \
163 *$$dep*) \
164 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
165 && exit 0; \
166 exit 1;; \
167 esac; \
168 done; \
169 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/sound/Makefile'; \
170 cd $(top_srcdir) && \
171 $(AUTOMAKE) --gnu data/sound/Makefile
172 .PRECIOUS: Makefile
173 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
174 @case '$?' in \
175 *config.status*) \
176 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
177 *) \
178 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
179 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
180 esac;
181
182 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
183 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
184
185 $(top_srcdir)/configure: $(am__configure_deps)
186 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
187 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
188 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
97189 install-soundDATA: $(sound_DATA)
98190 @$(NORMAL_INSTALL)
99 $(mkinstalldirs) $(DESTDIR)$(sounddir)
191 test -z "$(sounddir)" || $(MKDIR_P) "$(DESTDIR)$(sounddir)"
100192 @list='$(sound_DATA)'; for p in $$list; do \
101 if test -f $(srcdir)/$$p; then \
102 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sounddir)/$$p"; \
103 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sounddir)/$$p; \
104 else if test -f $$p; then \
105 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(sounddir)/$$p"; \
106 $(INSTALL_DATA) $$p $(DESTDIR)$(sounddir)/$$p; \
107 fi; fi; \
193 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
194 f=$(am__strip_dir) \
195 echo " $(soundDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sounddir)/$$f'"; \
196 $(soundDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sounddir)/$$f"; \
108197 done
109198
110199 uninstall-soundDATA:
111200 @$(NORMAL_UNINSTALL)
112 list='$(sound_DATA)'; for p in $$list; do \
113 rm -f $(DESTDIR)$(sounddir)/$$p; \
201 @list='$(sound_DATA)'; for p in $$list; do \
202 f=$(am__strip_dir) \
203 echo " rm -f '$(DESTDIR)$(sounddir)/$$f'"; \
204 rm -f "$(DESTDIR)$(sounddir)/$$f"; \
114205 done
115206 tags: TAGS
116207 TAGS:
117208
118
119 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
120
121 subdir = data/sound
209 ctags: CTAGS
210 CTAGS:
211
122212
123213 distdir: $(DISTFILES)
124 @for file in $(DISTFILES); do \
125 d=$(srcdir); \
214 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
215 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
216 list='$(DISTFILES)'; \
217 dist_files=`for file in $$list; do echo $$file; done | \
218 sed -e "s|^$$srcdirstrip/||;t" \
219 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
220 case $$dist_files in \
221 */*) $(MKDIR_P) `echo "$$dist_files" | \
222 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
223 sort -u` ;; \
224 esac; \
225 for file in $$dist_files; do \
226 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
126227 if test -d $$d/$$file; then \
127 cp -pr $$d/$$file $(distdir)/$$file; \
228 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
229 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
230 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
231 fi; \
232 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
128233 else \
129234 test -f $(distdir)/$$file \
130 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
131 || cp -p $$d/$$file $(distdir)/$$file || :; \
235 || cp -p $$d/$$file $(distdir)/$$file \
236 || exit 1; \
132237 fi; \
133238 done
134 info-am:
135 info: info-am
136 dvi-am:
137 dvi: dvi-am
138239 check-am: all-am
139240 check: check-am
140 installcheck-am:
141 installcheck: installcheck-am
142 install-exec-am:
241 all-am: Makefile $(DATA)
242 installdirs:
243 for dir in "$(DESTDIR)$(sounddir)"; do \
244 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
245 done
246 install: install-am
143247 install-exec: install-exec-am
144
145 install-data-am: install-soundDATA
146248 install-data: install-data-am
249 uninstall: uninstall-am
147250
148251 install-am: all-am
149252 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
150 install: install-am
253
254 installcheck: installcheck-am
255 install-strip:
256 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
257 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
258 `test -z '$(STRIP)' || \
259 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
260 mostlyclean-generic:
261
262 clean-generic:
263
264 distclean-generic:
265 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
266
267 maintainer-clean-generic:
268 @echo "This command is intended for maintainers to use"
269 @echo "it deletes files that may require special tools to rebuild."
270 clean: clean-am
271
272 clean-am: clean-generic mostlyclean-am
273
274 distclean: distclean-am
275 -rm -f Makefile
276 distclean-am: clean-am distclean-generic
277
278 dvi: dvi-am
279
280 dvi-am:
281
282 html: html-am
283
284 info: info-am
285
286 info-am:
287
288 install-data-am: install-soundDATA
289
290 install-dvi: install-dvi-am
291
292 install-exec-am:
293
294 install-html: install-html-am
295
296 install-info: install-info-am
297
298 install-man:
299
300 install-pdf: install-pdf-am
301
302 install-ps: install-ps-am
303
304 installcheck-am:
305
306 maintainer-clean: maintainer-clean-am
307 -rm -f Makefile
308 maintainer-clean-am: distclean-am maintainer-clean-generic
309
310 mostlyclean: mostlyclean-am
311
312 mostlyclean-am: mostlyclean-generic
313
314 pdf: pdf-am
315
316 pdf-am:
317
318 ps: ps-am
319
320 ps-am:
321
151322 uninstall-am: uninstall-soundDATA
152 uninstall: uninstall-am
153 all-am: Makefile $(DATA)
154 all-redirect: all-am
155 install-strip:
156 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
157 installdirs:
158 $(mkinstalldirs) $(DESTDIR)$(sounddir)
159
160
161 mostlyclean-generic:
162
163 clean-generic:
164
165 distclean-generic:
166 -rm -f Makefile $(CONFIG_CLEAN_FILES)
167 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
168
169 maintainer-clean-generic:
170 mostlyclean-am: mostlyclean-generic
171
172 mostlyclean: mostlyclean-am
173
174 clean-am: clean-generic mostlyclean-am
175
176 clean: clean-am
177
178 distclean-am: distclean-generic clean-am
179
180 distclean: distclean-am
181
182 maintainer-clean-am: maintainer-clean-generic distclean-am
183 @echo "This command is intended for maintainers to use;"
184 @echo "it deletes files that may require special tools to rebuild."
185
186 maintainer-clean: maintainer-clean-am
187
188 .PHONY: uninstall-soundDATA install-soundDATA tags distdir info-am info \
189 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
190 install-exec install-data-am install-data install-am install \
191 uninstall-am uninstall all-redirect all-am all installdirs \
192 mostlyclean-generic distclean-generic clean-generic \
193 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
194
323
324 .MAKE: install-am install-strip
325
326 .PHONY: all all-am check check-am clean clean-generic distclean \
327 distclean-generic distdir dvi dvi-am html html-am info info-am \
328 install install-am install-data install-data-am install-dvi \
329 install-dvi-am install-exec install-exec-am install-html \
330 install-html-am install-info install-info-am install-man \
331 install-pdf install-pdf-am install-ps install-ps-am \
332 install-soundDATA install-strip installcheck installcheck-am \
333 installdirs maintainer-clean maintainer-clean-generic \
334 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
335 uninstall-am uninstall-soundDATA
195336
196337 # Tell versions [3.59,3.63) of GNU make to not export all variables.
197338 # Otherwise a system limit (for SysV at least) may be exceeded.
0 #! /bin/sh
1 # depcomp - compile a program generating dependencies as side-effects
2
3 scriptversion=2006-10-15.18
4
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software
6 # Foundation, Inc.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2, or (at your option)
11 # any later version.
12
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
17
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 # 02110-1301, USA.
22
23 # As a special exception to the GNU General Public License, if you
24 # distribute this file as part of a program that contains a
25 # 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 # Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
29
30 case $1 in
31 '')
32 echo "$0: No command. Try \`$0 --help' for more information." 1>&2
33 exit 1;
34 ;;
35 -h | --h*)
36 cat <<\EOF
37 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
38
39 Run PROGRAMS ARGS to compile a file, generating dependencies
40 as side-effects.
41
42 Environment variables:
43 depmode Dependency tracking mode.
44 source Source file read by `PROGRAMS ARGS'.
45 object Object file output by `PROGRAMS ARGS'.
46 DEPDIR directory where to store dependencies.
47 depfile Dependency file to output.
48 tmpdepfile Temporary file to use when outputing dependencies.
49 libtool Whether libtool is used (yes/no).
50
51 Report bugs to <bug-automake@gnu.org>.
52 EOF
53 exit $?
54 ;;
55 -v | --v*)
56 echo "depcomp $scriptversion"
57 exit $?
58 ;;
59 esac
60
61 if test -z "$depmode" || test -z "$source" || test -z "$object"; then
62 echo "depcomp: Variables source, object and depmode must be set" 1>&2
63 exit 1
64 fi
65
66 # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
67 depfile=${depfile-`echo "$object" |
68 sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
69 tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
70
71 rm -f "$tmpdepfile"
72
73 # Some modes work just like other modes, but use different flags. We
74 # parameterize here, but still list the modes in the big case below,
75 # to make depend.m4 easier to write. Note that we *cannot* use a case
76 # here, because this file can only contain one case statement.
77 if test "$depmode" = hp; then
78 # HP compiler uses -M and no extra arg.
79 gccflag=-M
80 depmode=gcc
81 fi
82
83 if test "$depmode" = dashXmstdout; then
84 # This is just like dashmstdout with a different argument.
85 dashmflag=-xM
86 depmode=dashmstdout
87 fi
88
89 case "$depmode" in
90 gcc3)
91 ## gcc 3 implements dependency tracking that does exactly what
92 ## we want. Yay! Note: for some reason libtool 1.4 doesn't like
93 ## it if -MD -MP comes after the -MF stuff. Hmm.
94 ## Unfortunately, FreeBSD c89 acceptance of flags depends upon
95 ## the command line argument order; so add the flags where they
96 ## appear in depend2.am. Note that the slowdown incurred here
97 ## affects only configure: in makefiles, %FASTDEP% shortcuts this.
98 for arg
99 do
100 case $arg in
101 -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
102 *) set fnord "$@" "$arg" ;;
103 esac
104 shift # fnord
105 shift # $arg
106 done
107 "$@"
108 stat=$?
109 if test $stat -eq 0; then :
110 else
111 rm -f "$tmpdepfile"
112 exit $stat
113 fi
114 mv "$tmpdepfile" "$depfile"
115 ;;
116
117 gcc)
118 ## There are various ways to get dependency output from gcc. Here's
119 ## why we pick this rather obscure method:
120 ## - Don't want to use -MD because we'd like the dependencies to end
121 ## up in a subdir. Having to rename by hand is ugly.
122 ## (We might end up doing this anyway to support other compilers.)
123 ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
124 ## -MM, not -M (despite what the docs say).
125 ## - Using -M directly means running the compiler twice (even worse
126 ## than renaming).
127 if test -z "$gccflag"; then
128 gccflag=-MD,
129 fi
130 "$@" -Wp,"$gccflag$tmpdepfile"
131 stat=$?
132 if test $stat -eq 0; then :
133 else
134 rm -f "$tmpdepfile"
135 exit $stat
136 fi
137 rm -f "$depfile"
138 echo "$object : \\" > "$depfile"
139 alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
140 ## The second -e expression handles DOS-style file names with drive letters.
141 sed -e 's/^[^:]*: / /' \
142 -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
143 ## This next piece of magic avoids the `deleted header file' problem.
144 ## The problem is that when a header file which appears in a .P file
145 ## is deleted, the dependency causes make to die (because there is
146 ## typically no way to rebuild the header). We avoid this by adding
147 ## dummy dependencies for each header file. Too bad gcc doesn't do
148 ## this for us directly.
149 tr ' ' '
150 ' < "$tmpdepfile" |
151 ## Some versions of gcc put a space before the `:'. On the theory
152 ## that the space means something, we add a space to the output as
153 ## well.
154 ## Some versions of the HPUX 10.20 sed can't process this invocation
155 ## correctly. Breaking it into two sed invocations is a workaround.
156 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
157 rm -f "$tmpdepfile"
158 ;;
159
160 hp)
161 # This case exists only to let depend.m4 do its work. It works by
162 # looking at the text of this script. This case will never be run,
163 # since it is checked for above.
164 exit 1
165 ;;
166
167 sgi)
168 if test "$libtool" = yes; then
169 "$@" "-Wp,-MDupdate,$tmpdepfile"
170 else
171 "$@" -MDupdate "$tmpdepfile"
172 fi
173 stat=$?
174 if test $stat -eq 0; then :
175 else
176 rm -f "$tmpdepfile"
177 exit $stat
178 fi
179 rm -f "$depfile"
180
181 if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
182 echo "$object : \\" > "$depfile"
183
184 # Clip off the initial element (the dependent). Don't try to be
185 # clever and replace this with sed code, as IRIX sed won't handle
186 # lines with more than a fixed number of characters (4096 in
187 # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
188 # the IRIX cc adds comments like `#:fec' to the end of the
189 # dependency line.
190 tr ' ' '
191 ' < "$tmpdepfile" \
192 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
193 tr '
194 ' ' ' >> $depfile
195 echo >> $depfile
196
197 # The second pass generates a dummy entry for each header file.
198 tr ' ' '
199 ' < "$tmpdepfile" \
200 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
201 >> $depfile
202 else
203 # The sourcefile does not contain any dependencies, so just
204 # store a dummy comment line, to avoid errors with the Makefile
205 # "include basename.Plo" scheme.
206 echo "#dummy" > "$depfile"
207 fi
208 rm -f "$tmpdepfile"
209 ;;
210
211 aix)
212 # The C for AIX Compiler uses -M and outputs the dependencies
213 # in a .u file. In older versions, this file always lives in the
214 # current directory. Also, the AIX compiler puts `$object:' at the
215 # start of each line; $object doesn't have directory information.
216 # Version 6 uses the directory in both cases.
217 stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
218 tmpdepfile="$stripped.u"
219 if test "$libtool" = yes; then
220 "$@" -Wc,-M
221 else
222 "$@" -M
223 fi
224 stat=$?
225
226 if test -f "$tmpdepfile"; then :
227 else
228 stripped=`echo "$stripped" | sed 's,^.*/,,'`
229 tmpdepfile="$stripped.u"
230 fi
231
232 if test $stat -eq 0; then :
233 else
234 rm -f "$tmpdepfile"
235 exit $stat
236 fi
237
238 if test -f "$tmpdepfile"; then
239 outname="$stripped.o"
240 # Each line is of the form `foo.o: dependent.h'.
241 # Do two passes, one to just change these to
242 # `$object: dependent.h' and one to simply `dependent.h:'.
243 sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
244 sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
245 else
246 # The sourcefile does not contain any dependencies, so just
247 # store a dummy comment line, to avoid errors with the Makefile
248 # "include basename.Plo" scheme.
249 echo "#dummy" > "$depfile"
250 fi
251 rm -f "$tmpdepfile"
252 ;;
253
254 icc)
255 # Intel's C compiler understands `-MD -MF file'. However on
256 # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
257 # ICC 7.0 will fill foo.d with something like
258 # foo.o: sub/foo.c
259 # foo.o: sub/foo.h
260 # which is wrong. We want:
261 # sub/foo.o: sub/foo.c
262 # sub/foo.o: sub/foo.h
263 # sub/foo.c:
264 # sub/foo.h:
265 # ICC 7.1 will output
266 # foo.o: sub/foo.c sub/foo.h
267 # and will wrap long lines using \ :
268 # foo.o: sub/foo.c ... \
269 # sub/foo.h ... \
270 # ...
271
272 "$@" -MD -MF "$tmpdepfile"
273 stat=$?
274 if test $stat -eq 0; then :
275 else
276 rm -f "$tmpdepfile"
277 exit $stat
278 fi
279 rm -f "$depfile"
280 # Each line is of the form `foo.o: dependent.h',
281 # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
282 # Do two passes, one to just change these to
283 # `$object: dependent.h' and one to simply `dependent.h:'.
284 sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
285 # Some versions of the HPUX 10.20 sed can't process this invocation
286 # correctly. Breaking it into two sed invocations is a workaround.
287 sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
288 sed -e 's/$/ :/' >> "$depfile"
289 rm -f "$tmpdepfile"
290 ;;
291
292 hp2)
293 # The "hp" stanza above does not work with aCC (C++) and HP's ia64
294 # compilers, which have integrated preprocessors. The correct option
295 # to use with these is +Maked; it writes dependencies to a file named
296 # 'foo.d', which lands next to the object file, wherever that
297 # happens to be.
298 # Much of this is similar to the tru64 case; see comments there.
299 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
300 test "x$dir" = "x$object" && dir=
301 base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
302 if test "$libtool" = yes; then
303 tmpdepfile1=$dir$base.d
304 tmpdepfile2=$dir.libs/$base.d
305 "$@" -Wc,+Maked
306 else
307 tmpdepfile1=$dir$base.d
308 tmpdepfile2=$dir$base.d
309 "$@" +Maked
310 fi
311 stat=$?
312 if test $stat -eq 0; then :
313 else
314 rm -f "$tmpdepfile1" "$tmpdepfile2"
315 exit $stat
316 fi
317
318 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
319 do
320 test -f "$tmpdepfile" && break
321 done
322 if test -f "$tmpdepfile"; then
323 sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
324 # Add `dependent.h:' lines.
325 sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile"
326 else
327 echo "#dummy" > "$depfile"
328 fi
329 rm -f "$tmpdepfile" "$tmpdepfile2"
330 ;;
331
332 tru64)
333 # The Tru64 compiler uses -MD to generate dependencies as a side
334 # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
335 # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
336 # dependencies in `foo.d' instead, so we check for that too.
337 # Subdirectories are respected.
338 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
339 test "x$dir" = "x$object" && dir=
340 base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
341
342 if test "$libtool" = yes; then
343 # With Tru64 cc, shared objects can also be used to make a
344 # static library. This mechanism is used in libtool 1.4 series to
345 # handle both shared and static libraries in a single compilation.
346 # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
347 #
348 # With libtool 1.5 this exception was removed, and libtool now
349 # generates 2 separate objects for the 2 libraries. These two
350 # compilations output dependencies in $dir.libs/$base.o.d and
351 # in $dir$base.o.d. We have to check for both files, because
352 # one of the two compilations can be disabled. We should prefer
353 # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
354 # automatically cleaned when .libs/ is deleted, while ignoring
355 # the former would cause a distcleancheck panic.
356 tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
357 tmpdepfile2=$dir$base.o.d # libtool 1.5
358 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
359 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
360 "$@" -Wc,-MD
361 else
362 tmpdepfile1=$dir$base.o.d
363 tmpdepfile2=$dir$base.d
364 tmpdepfile3=$dir$base.d
365 tmpdepfile4=$dir$base.d
366 "$@" -MD
367 fi
368
369 stat=$?
370 if test $stat -eq 0; then :
371 else
372 rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
373 exit $stat
374 fi
375
376 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
377 do
378 test -f "$tmpdepfile" && break
379 done
380 if test -f "$tmpdepfile"; then
381 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
382 # That's a tab and a space in the [].
383 sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
384 else
385 echo "#dummy" > "$depfile"
386 fi
387 rm -f "$tmpdepfile"
388 ;;
389
390 #nosideeffect)
391 # This comment above is used by automake to tell side-effect
392 # dependency tracking mechanisms from slower ones.
393
394 dashmstdout)
395 # Important note: in order to support this mode, a compiler *must*
396 # always write the preprocessed file to stdout, regardless of -o.
397 "$@" || exit $?
398
399 # Remove the call to Libtool.
400 if test "$libtool" = yes; then
401 while test $1 != '--mode=compile'; do
402 shift
403 done
404 shift
405 fi
406
407 # Remove `-o $object'.
408 IFS=" "
409 for arg
410 do
411 case $arg in
412 -o)
413 shift
414 ;;
415 $object)
416 shift
417 ;;
418 *)
419 set fnord "$@" "$arg"
420 shift # fnord
421 shift # $arg
422 ;;
423 esac
424 done
425
426 test -z "$dashmflag" && dashmflag=-M
427 # Require at least two characters before searching for `:'
428 # in the target name. This is to cope with DOS-style filenames:
429 # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
430 "$@" $dashmflag |
431 sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
432 rm -f "$depfile"
433 cat < "$tmpdepfile" > "$depfile"
434 tr ' ' '
435 ' < "$tmpdepfile" | \
436 ## Some versions of the HPUX 10.20 sed can't process this invocation
437 ## correctly. Breaking it into two sed invocations is a workaround.
438 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
439 rm -f "$tmpdepfile"
440 ;;
441
442 dashXmstdout)
443 # This case only exists to satisfy depend.m4. It is never actually
444 # run, as this mode is specially recognized in the preamble.
445 exit 1
446 ;;
447
448 makedepend)
449 "$@" || exit $?
450 # Remove any Libtool call
451 if test "$libtool" = yes; then
452 while test $1 != '--mode=compile'; do
453 shift
454 done
455 shift
456 fi
457 # X makedepend
458 shift
459 cleared=no
460 for arg in "$@"; do
461 case $cleared in
462 no)
463 set ""; shift
464 cleared=yes ;;
465 esac
466 case "$arg" in
467 -D*|-I*)
468 set fnord "$@" "$arg"; shift ;;
469 # Strip any option that makedepend may not understand. Remove
470 # the object too, otherwise makedepend will parse it as a source file.
471 -*|$object)
472 ;;
473 *)
474 set fnord "$@" "$arg"; shift ;;
475 esac
476 done
477 obj_suffix="`echo $object | sed 's/^.*\././'`"
478 touch "$tmpdepfile"
479 ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
480 rm -f "$depfile"
481 cat < "$tmpdepfile" > "$depfile"
482 sed '1,2d' "$tmpdepfile" | tr ' ' '
483 ' | \
484 ## Some versions of the HPUX 10.20 sed can't process this invocation
485 ## correctly. Breaking it into two sed invocations is a workaround.
486 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
487 rm -f "$tmpdepfile" "$tmpdepfile".bak
488 ;;
489
490 cpp)
491 # Important note: in order to support this mode, a compiler *must*
492 # always write the preprocessed file to stdout.
493 "$@" || exit $?
494
495 # Remove the call to Libtool.
496 if test "$libtool" = yes; then
497 while test $1 != '--mode=compile'; do
498 shift
499 done
500 shift
501 fi
502
503 # Remove `-o $object'.
504 IFS=" "
505 for arg
506 do
507 case $arg in
508 -o)
509 shift
510 ;;
511 $object)
512 shift
513 ;;
514 *)
515 set fnord "$@" "$arg"
516 shift # fnord
517 shift # $arg
518 ;;
519 esac
520 done
521
522 "$@" -E |
523 sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
524 -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
525 sed '$ s: \\$::' > "$tmpdepfile"
526 rm -f "$depfile"
527 echo "$object : \\" > "$depfile"
528 cat < "$tmpdepfile" >> "$depfile"
529 sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
530 rm -f "$tmpdepfile"
531 ;;
532
533 msvisualcpp)
534 # Important note: in order to support this mode, a compiler *must*
535 # always write the preprocessed file to stdout, regardless of -o,
536 # because we must use -o when running libtool.
537 "$@" || exit $?
538 IFS=" "
539 for arg
540 do
541 case "$arg" in
542 "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
543 set fnord "$@"
544 shift
545 shift
546 ;;
547 *)
548 set fnord "$@" "$arg"
549 shift
550 shift
551 ;;
552 esac
553 done
554 "$@" -E |
555 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
556 rm -f "$depfile"
557 echo "$object : \\" > "$depfile"
558 . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
559 echo " " >> "$depfile"
560 . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
561 rm -f "$tmpdepfile"
562 ;;
563
564 none)
565 exec "$@"
566 ;;
567
568 *)
569 echo "Unknown depmode $depmode" 1>&2
570 exit 1
571 ;;
572 esac
573
574 exit 0
575
576 # Local Variables:
577 # mode: shell-script
578 # sh-indentation: 2
579 # eval: (add-hook 'write-file-hooks 'time-stamp)
580 # time-stamp-start: "scriptversion="
581 # time-stamp-format: "%:y-%02m-%02d.%02H"
582 # time-stamp-end: "$"
583 # End:
00 #!/bin/sh
1 #
21 # install - install a program, script, or datafile
3 # This comes from X11R5 (mit/util/scripts/install.sh).
4 #
5 # Copyright 1991 by the Massachusetts Institute of Technology
6 #
7 # Permission to use, copy, modify, distribute, and sell this software and its
8 # documentation for any purpose is hereby granted without fee, provided that
9 # the above copyright notice appear in all copies and that both that
10 # copyright notice and this permission notice appear in supporting
11 # documentation, and that the name of M.I.T. not be used in advertising or
12 # publicity pertaining to distribution of the software without specific,
13 # written prior permission. M.I.T. makes no representations about the
14 # suitability of this software for any purpose. It is provided "as is"
15 # without express or implied warranty.
2
3 scriptversion=2006-10-14.15
4
5 # This originates from X11R5 (mit/util/scripts/install.sh), which was
6 # later released in X11R6 (xc/config/util/install.sh) with the
7 # following copyright and license.
8 #
9 # Copyright (C) 1994 X Consortium
10 #
11 # Permission is hereby granted, free of charge, to any person obtaining a copy
12 # of this software and associated documentation files (the "Software"), to
13 # deal in the Software without restriction, including without limitation the
14 # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
15 # sell copies of the Software, and to permit persons to whom the Software is
16 # furnished to do so, subject to the following conditions:
17 #
18 # The above copyright notice and this permission notice shall be included in
19 # all copies or substantial portions of the Software.
20 #
21 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24 # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
25 # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
26 # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 #
28 # Except as contained in this notice, the name of the X Consortium shall not
29 # be used in advertising or otherwise to promote the sale, use or other deal-
30 # ings in this Software without prior written authorization from the X Consor-
31 # tium.
32 #
33 #
34 # FSF changes to this file are in the public domain.
1635 #
1736 # Calling this script install-sh is preferred over install.sh, to prevent
1837 # `make' implicit rules from creating a file called install from it
1938 # when there is no Makefile.
2039 #
2140 # This script is compatible with the BSD install script, but was written
22 # from scratch. It can only install one file at a time, a restriction
23 # shared with many OS's install programs.
24
41 # from scratch.
42
43 nl='
44 '
45 IFS=" "" $nl"
2546
2647 # set DOITPROG to echo to test this script
2748
2849 # Don't use :- since 4.3BSD and earlier shells don't like it.
2950 doit="${DOITPROG-}"
30
31
32 # put in absolute paths if you don't have them in your path; or use env. vars.
51 if test -z "$doit"; then
52 doit_exec=exec
53 else
54 doit_exec=$doit
55 fi
56
57 # Put in absolute file names if you don't have them in your path;
58 # or use environment vars.
3359
3460 mvprog="${MVPROG-mv}"
3561 cpprog="${CPPROG-cp}"
4066 rmprog="${RMPROG-rm}"
4167 mkdirprog="${MKDIRPROG-mkdir}"
4268
43 transformbasename=""
44 transform_arg=""
45 instcmd="$mvprog"
46 chmodcmd="$chmodprog 0755"
47 chowncmd=""
48 chgrpcmd=""
49 stripcmd=""
69 posix_glob=
70 posix_mkdir=
71
72 # Desired mode of installed file.
73 mode=0755
74
75 chmodcmd=$chmodprog
76 chowncmd=
77 chgrpcmd=
78 stripcmd=
5079 rmcmd="$rmprog -f"
5180 mvcmd="$mvprog"
52 src=""
53 dst=""
54 dir_arg=""
55
56 while [ x"$1" != x ]; do
57 case $1 in
58 -c) instcmd="$cpprog"
59 shift
60 continue;;
61
62 -d) dir_arg=true
63 shift
64 continue;;
65
66 -m) chmodcmd="$chmodprog $2"
67 shift
68 shift
69 continue;;
70
71 -o) chowncmd="$chownprog $2"
72 shift
73 shift
74 continue;;
75
76 -g) chgrpcmd="$chgrpprog $2"
77 shift
78 shift
79 continue;;
80
81 -s) stripcmd="$stripprog"
82 shift
83 continue;;
84
85 -t=*) transformarg=`echo $1 | sed 's/-t=//'`
86 shift
87 continue;;
88
89 -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
90 shift
91 continue;;
92
93 *) if [ x"$src" = x ]
81 src=
82 dst=
83 dir_arg=
84 dstarg=
85 no_target_directory=
86
87 usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
88 or: $0 [OPTION]... SRCFILES... DIRECTORY
89 or: $0 [OPTION]... -t DIRECTORY SRCFILES...
90 or: $0 [OPTION]... -d DIRECTORIES...
91
92 In the 1st form, copy SRCFILE to DSTFILE.
93 In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
94 In the 4th, create DIRECTORIES.
95
96 Options:
97 -c (ignored)
98 -d create directories instead of installing files.
99 -g GROUP $chgrpprog installed files to GROUP.
100 -m MODE $chmodprog installed files to MODE.
101 -o USER $chownprog installed files to USER.
102 -s $stripprog installed files.
103 -t DIRECTORY install into DIRECTORY.
104 -T report an error if DSTFILE is a directory.
105 --help display this help and exit.
106 --version display version info and exit.
107
108 Environment variables override the default commands:
109 CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
110 "
111
112 while test $# -ne 0; do
113 case $1 in
114 -c) shift
115 continue;;
116
117 -d) dir_arg=true
118 shift
119 continue;;
120
121 -g) chgrpcmd="$chgrpprog $2"
122 shift
123 shift
124 continue;;
125
126 --help) echo "$usage"; exit $?;;
127
128 -m) mode=$2
129 shift
130 shift
131 case $mode in
132 *' '* | *' '* | *'
133 '* | *'*'* | *'?'* | *'['*)
134 echo "$0: invalid mode: $mode" >&2
135 exit 1;;
136 esac
137 continue;;
138
139 -o) chowncmd="$chownprog $2"
140 shift
141 shift
142 continue;;
143
144 -s) stripcmd=$stripprog
145 shift
146 continue;;
147
148 -t) dstarg=$2
149 shift
150 shift
151 continue;;
152
153 -T) no_target_directory=true
154 shift
155 continue;;
156
157 --version) echo "$0 $scriptversion"; exit $?;;
158
159 --) shift
160 break;;
161
162 -*) echo "$0: invalid option: $1" >&2
163 exit 1;;
164
165 *) break;;
166 esac
167 done
168
169 if test $# -ne 0 && test -z "$dir_arg$dstarg"; then
170 # When -d is used, all remaining arguments are directories to create.
171 # When -t is used, the destination is already specified.
172 # Otherwise, the last argument is the destination. Remove it from $@.
173 for arg
174 do
175 if test -n "$dstarg"; then
176 # $@ is not empty: it contains at least $arg.
177 set fnord "$@" "$dstarg"
178 shift # fnord
179 fi
180 shift # arg
181 dstarg=$arg
182 done
183 fi
184
185 if test $# -eq 0; then
186 if test -z "$dir_arg"; then
187 echo "$0: no input file specified." >&2
188 exit 1
189 fi
190 # It's OK to call `install-sh -d' without argument.
191 # This can happen when creating conditional directories.
192 exit 0
193 fi
194
195 if test -z "$dir_arg"; then
196 trap '(exit $?); exit' 1 2 13 15
197
198 # Set umask so as not to create temps with too-generous modes.
199 # However, 'strip' requires both read and write access to temps.
200 case $mode in
201 # Optimize common cases.
202 *644) cp_umask=133;;
203 *755) cp_umask=22;;
204
205 *[0-7])
206 if test -z "$stripcmd"; then
207 u_plus_rw=
208 else
209 u_plus_rw='% 200'
210 fi
211 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
212 *)
213 if test -z "$stripcmd"; then
214 u_plus_rw=
215 else
216 u_plus_rw=,u+rw
217 fi
218 cp_umask=$mode$u_plus_rw;;
219 esac
220 fi
221
222 for src
223 do
224 # Protect names starting with `-'.
225 case $src in
226 -*) src=./$src ;;
227 esac
228
229 if test -n "$dir_arg"; then
230 dst=$src
231 dstdir=$dst
232 test -d "$dstdir"
233 dstdir_status=$?
234 else
235
236 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
237 # might cause directories to be created, which would be especially bad
238 # if $src (and thus $dsttmp) contains '*'.
239 if test ! -f "$src" && test ! -d "$src"; then
240 echo "$0: $src does not exist." >&2
241 exit 1
242 fi
243
244 if test -z "$dstarg"; then
245 echo "$0: no destination specified." >&2
246 exit 1
247 fi
248
249 dst=$dstarg
250 # Protect names starting with `-'.
251 case $dst in
252 -*) dst=./$dst ;;
253 esac
254
255 # If destination is a directory, append the input filename; won't work
256 # if double slashes aren't ignored.
257 if test -d "$dst"; then
258 if test -n "$no_target_directory"; then
259 echo "$0: $dstarg: Is a directory" >&2
260 exit 1
261 fi
262 dstdir=$dst
263 dst=$dstdir/`basename "$src"`
264 dstdir_status=0
265 else
266 # Prefer dirname, but fall back on a substitute if dirname fails.
267 dstdir=`
268 (dirname "$dst") 2>/dev/null ||
269 expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
270 X"$dst" : 'X\(//\)[^/]' \| \
271 X"$dst" : 'X\(//\)$' \| \
272 X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
273 echo X"$dst" |
274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
275 s//\1/
276 q
277 }
278 /^X\(\/\/\)[^/].*/{
279 s//\1/
280 q
281 }
282 /^X\(\/\/\)$/{
283 s//\1/
284 q
285 }
286 /^X\(\/\).*/{
287 s//\1/
288 q
289 }
290 s/.*/./; q'
291 `
292
293 test -d "$dstdir"
294 dstdir_status=$?
295 fi
296 fi
297
298 obsolete_mkdir_used=false
299
300 if test $dstdir_status != 0; then
301 case $posix_mkdir in
302 '')
303 # Create intermediate dirs using mode 755 as modified by the umask.
304 # This is like FreeBSD 'install' as of 1997-10-28.
305 umask=`umask`
306 case $stripcmd.$umask in
307 # Optimize common cases.
308 *[2367][2367]) mkdir_umask=$umask;;
309 .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
310
311 *[0-7])
312 mkdir_umask=`expr $umask + 22 \
313 - $umask % 100 % 40 + $umask % 20 \
314 - $umask % 10 % 4 + $umask % 2
315 `;;
316 *) mkdir_umask=$umask,go-w;;
317 esac
318
319 # With -d, create the new directory with the user-specified mode.
320 # Otherwise, rely on $mkdir_umask.
321 if test -n "$dir_arg"; then
322 mkdir_mode=-m$mode
323 else
324 mkdir_mode=
325 fi
326
327 posix_mkdir=false
328 case $umask in
329 *[123567][0-7][0-7])
330 # POSIX mkdir -p sets u+wx bits regardless of umask, which
331 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
332 ;;
333 *)
334 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
335 trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
336
337 if (umask $mkdir_umask &&
338 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
94339 then
95 src=$1
340 if test -z "$dir_arg" || {
341 # Check for POSIX incompatibilities with -m.
342 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
343 # other-writeable bit of parent directory when it shouldn't.
344 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
345 ls_ld_tmpdir=`ls -ld "$tmpdir"`
346 case $ls_ld_tmpdir in
347 d????-?r-*) different_mode=700;;
348 d????-?--*) different_mode=755;;
349 *) false;;
350 esac &&
351 $mkdirprog -m$different_mode -p -- "$tmpdir" && {
352 ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
353 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
354 }
355 }
356 then posix_mkdir=:
357 fi
358 rmdir "$tmpdir/d" "$tmpdir"
96359 else
97 # this colon is to work around a 386BSD /bin/sh bug
98 :
99 dst=$1
360 # Remove any dirs left behind by ancient mkdir implementations.
361 rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
100362 fi
101 shift
102 continue;;
363 trap '' 0;;
364 esac;;
103365 esac
366
367 if
368 $posix_mkdir && (
369 umask $mkdir_umask &&
370 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
371 )
372 then :
373 else
374
375 # The umask is ridiculous, or mkdir does not conform to POSIX,
376 # or it failed possibly due to a race condition. Create the
377 # directory the slow way, step by step, checking for races as we go.
378
379 case $dstdir in
380 /*) prefix=/ ;;
381 -*) prefix=./ ;;
382 *) prefix= ;;
383 esac
384
385 case $posix_glob in
386 '')
387 if (set -f) 2>/dev/null; then
388 posix_glob=true
389 else
390 posix_glob=false
391 fi ;;
392 esac
393
394 oIFS=$IFS
395 IFS=/
396 $posix_glob && set -f
397 set fnord $dstdir
398 shift
399 $posix_glob && set +f
400 IFS=$oIFS
401
402 prefixes=
403
404 for d
405 do
406 test -z "$d" && continue
407
408 prefix=$prefix$d
409 if test -d "$prefix"; then
410 prefixes=
411 else
412 if $posix_mkdir; then
413 (umask=$mkdir_umask &&
414 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
415 # Don't fail if two instances are running concurrently.
416 test -d "$prefix" || exit 1
417 else
418 case $prefix in
419 *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
420 *) qprefix=$prefix;;
421 esac
422 prefixes="$prefixes '$qprefix'"
423 fi
424 fi
425 prefix=$prefix/
426 done
427
428 if test -n "$prefixes"; then
429 # Don't fail if two instances are running concurrently.
430 (umask $mkdir_umask &&
431 eval "\$doit_exec \$mkdirprog $prefixes") ||
432 test -d "$dstdir" || exit 1
433 obsolete_mkdir_used=true
434 fi
435 fi
436 fi
437
438 if test -n "$dir_arg"; then
439 { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
440 { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
441 { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
442 test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
443 else
444
445 # Make a couple of temp file names in the proper directory.
446 dsttmp=$dstdir/_inst.$$_
447 rmtmp=$dstdir/_rm.$$_
448
449 # Trap to clean up those temp files at exit.
450 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
451
452 # Copy the file name to the temp name.
453 (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
454
455 # and set any options; do chmod last to preserve setuid bits.
456 #
457 # If any of these fail, we abort the whole thing. If we want to
458 # ignore errors from any of these, just make sure not to ignore
459 # errors from the above "$doit $cpprog $src $dsttmp" command.
460 #
461 { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
462 && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
463 && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
464 && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
465
466 # Now rename the file to the real destination.
467 { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \
468 || {
469 # The rename failed, perhaps because mv can't rename something else
470 # to itself, or perhaps because mv is so ancient that it does not
471 # support -f.
472
473 # Now remove or move aside any old file at destination location.
474 # We try this two ways since rm can't unlink itself on some
475 # systems and the destination file might be busy for other
476 # reasons. In this case, the final cleanup might fail but the new
477 # file should still install successfully.
478 {
479 if test -f "$dst"; then
480 $doit $rmcmd -f "$dst" 2>/dev/null \
481 || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \
482 && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\
483 || {
484 echo "$0: cannot unlink or rename $dst" >&2
485 (exit 1); exit 1
486 }
487 else
488 :
489 fi
490 } &&
491
492 # Now rename the file to the real destination.
493 $doit $mvcmd "$dsttmp" "$dst"
494 }
495 } || exit 1
496
497 trap '' 0
498 fi
104499 done
105500
106 if [ x"$src" = x ]
107 then
108 echo "install: no input file specified"
109 exit 1
110 else
111 true
112 fi
113
114 if [ x"$dir_arg" != x ]; then
115 dst=$src
116 src=""
117
118 if [ -d $dst ]; then
119 instcmd=:
120 chmodcmd=""
121 else
122 instcmd=mkdir
123 fi
124 else
125
126 # Waiting for this to be detected by the "$instcmd $src $dsttmp" command
127 # might cause directories to be created, which would be especially bad
128 # if $src (and thus $dsttmp) contains '*'.
129
130 if [ -f $src -o -d $src ]
131 then
132 true
133 else
134 echo "install: $src does not exist"
135 exit 1
136 fi
137
138 if [ x"$dst" = x ]
139 then
140 echo "install: no destination specified"
141 exit 1
142 else
143 true
144 fi
145
146 # If destination is a directory, append the input filename; if your system
147 # does not like double slashes in filenames, you may need to add some logic
148
149 if [ -d $dst ]
150 then
151 dst="$dst"/`basename $src`
152 else
153 true
154 fi
155 fi
156
157 ## this sed command emulates the dirname command
158 dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
159
160 # Make sure that the destination directory exists.
161 # this part is taken from Noah Friedman's mkinstalldirs script
162
163 # Skip lots of stat calls in the usual case.
164 if [ ! -d "$dstdir" ]; then
165 defaultIFS='
166 '
167 IFS="${IFS-${defaultIFS}}"
168
169 oIFS="${IFS}"
170 # Some sh's can't handle IFS=/ for some reason.
171 IFS='%'
172 set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
173 IFS="${oIFS}"
174
175 pathcomp=''
176
177 while [ $# -ne 0 ] ; do
178 pathcomp="${pathcomp}${1}"
179 shift
180
181 if [ ! -d "${pathcomp}" ] ;
182 then
183 $mkdirprog "${pathcomp}"
184 else
185 true
186 fi
187
188 pathcomp="${pathcomp}/"
189 done
190 fi
191
192 if [ x"$dir_arg" != x ]
193 then
194 $doit $instcmd $dst &&
195
196 if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
197 if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
198 if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
199 if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
200 else
201
202 # If we're going to rename the final executable, determine the name now.
203
204 if [ x"$transformarg" = x ]
205 then
206 dstfile=`basename $dst`
207 else
208 dstfile=`basename $dst $transformbasename |
209 sed $transformarg`$transformbasename
210 fi
211
212 # don't allow the sed command to completely eliminate the filename
213
214 if [ x"$dstfile" = x ]
215 then
216 dstfile=`basename $dst`
217 else
218 true
219 fi
220
221 # Make a temp file name in the proper directory.
222
223 dsttmp=$dstdir/#inst.$$#
224
225 # Move or copy the file name to the temp name
226
227 $doit $instcmd $src $dsttmp &&
228
229 trap "rm -f ${dsttmp}" 0 &&
230
231 # and set any options; do chmod last to preserve setuid bits
232
233 # If any of these fail, we abort the whole thing. If we want to
234 # ignore errors from any of these, just make sure not to ignore
235 # errors from the above "$doit $instcmd $src $dsttmp" command.
236
237 if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
238 if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
239 if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
240 if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
241
242 # Now rename the file to the real destination.
243
244 $doit $rmcmd -f $dstdir/$dstfile &&
245 $doit $mvcmd $dsttmp $dstdir/$dstfile
246
247 fi &&
248
249
250 exit 0
501 # Local variables:
502 # eval: (add-hook 'write-file-hooks 'time-stamp)
503 # time-stamp-start: "scriptversion="
504 # time-stamp-format: "%:y-%02m-%02d.%02H"
505 # time-stamp-end: "$"
506 # End:
286286 <real>186</real>
287287 </array>
288288 <key>RubberWindowFrame</key>
289 <string>66 155 1156 858 0 0 1680 1028 </string>
289 <string>92 165 1156 858 0 0 1680 1028 </string>
290290 </dict>
291291 <key>Module</key>
292292 <string>PBXSmartGroupTreeModule</string>
316316 <key>_historyCapacity</key>
317317 <integer>0</integer>
318318 <key>bookmark</key>
319 <string>CB2C264D0B31A39A00ACAC1F</string>
319 <string>CB0070890B7F5E850009A74B</string>
320320 <key>history</key>
321321 <array>
322322 <string>CBF14A630886CB82002B0459</string>
327327 <string>CB2C26370B31A39A00ACAC1F</string>
328328 <string>CB2C26380B31A39A00ACAC1F</string>
329329 <string>CB2C26390B31A39A00ACAC1F</string>
330 <string>CB2C263A0B31A39A00ACAC1F</string>
331 <string>CB2C263B0B31A39A00ACAC1F</string>
332 <string>CB2C263C0B31A39A00ACAC1F</string>
330 <string>CB0070830B7F5E850009A74B</string>
331 <string>CB0070840B7F5E850009A74B</string>
332 <string>CB0070850B7F5E850009A74B</string>
333333 </array>
334334 <key>prevStack</key>
335335 <array>
342342 <string>CB94D1C00887D8BB0003B92F</string>
343343 <string>CB94D3C80887E4570003B92F</string>
344344 <string>CBB512EB088CFAB100A155B8</string>
345 <string>CB2C25F40B31942700ACAC1F</string>
346345 <string>CB2C25F50B31942700ACAC1F</string>
347 <string>CB2C26010B31971E00ACAC1F</string>
348 <string>CB2C26020B31971E00ACAC1F</string>
349 <string>CB2C26030B31971E00ACAC1F</string>
350 <string>CB2C263D0B31A39A00ACAC1F</string>
351 <string>CB2C263E0B31A39A00ACAC1F</string>
352346 <string>CB2C263F0B31A39A00ACAC1F</string>
353 <string>CB2C26400B31A39A00ACAC1F</string>
354 <string>CB2C26410B31A39A00ACAC1F</string>
355 <string>CB2C26420B31A39A00ACAC1F</string>
356 <string>CB2C26430B31A39A00ACAC1F</string>
357 <string>CB2C26440B31A39A00ACAC1F</string>
358 <string>CB2C26450B31A39A00ACAC1F</string>
359 <string>CB2C26460B31A39A00ACAC1F</string>
360 <string>CB2C26470B31A39A00ACAC1F</string>
361 <string>CB2C26480B31A39A00ACAC1F</string>
362 <string>CB2C26490B31A39A00ACAC1F</string>
363 <string>CB2C264A0B31A39A00ACAC1F</string>
364 <string>CB2C264B0B31A39A00ACAC1F</string>
365 <string>CB2C264C0B31A39A00ACAC1F</string>
347 <string>CB0070860B7F5E850009A74B</string>
348 <string>CB0070870B7F5E850009A74B</string>
349 <string>CB0070880B7F5E850009A74B</string>
366350 </array>
367351 </dict>
368352 <key>SplitCount</key>
376360 <key>Frame</key>
377361 <string>{{0, 0}, {948, 676}}</string>
378362 <key>RubberWindowFrame</key>
379 <string>66 155 1156 858 0 0 1680 1028 </string>
363 <string>92 165 1156 858 0 0 1680 1028 </string>
380364 </dict>
381365 <key>Module</key>
382366 <string>PBXNavigatorGroup</string>
396380 <key>Frame</key>
397381 <string>{{0, 681}, {948, 136}}</string>
398382 <key>RubberWindowFrame</key>
399 <string>66 155 1156 858 0 0 1680 1028 </string>
383 <string>92 165 1156 858 0 0 1680 1028 </string>
400384 </dict>
401385 <key>Module</key>
402386 <string>XCDetailModule</string>
420404 </array>
421405 <key>TableOfContents</key>
422406 <array>
423 <string>CB2C25F70B31942700ACAC1F</string>
407 <string>CB00708A0B7F5E850009A74B</string>
424408 <string>1CE0B1FE06471DED0097A5F4</string>
425 <string>CB2C25F80B31942700ACAC1F</string>
409 <string>CB00708B0B7F5E850009A74B</string>
426410 <string>1CE0B20306471E060097A5F4</string>
427411 <string>1CE0B20506471E060097A5F4</string>
428412 </array>
556540 <integer>5</integer>
557541 <key>WindowOrderList</key>
558542 <array>
559 <string>CB06EA77086C166C001241D7</string>
560543 <string>1C0AD2B3069F1EA900FABCE6</string>
561544 <string>/Users/karl/code/mygames/bumprace/macosx/bumprace.xcodeproj</string>
562545 </array>
563546 <key>WindowString</key>
564 <string>66 155 1156 858 0 0 1680 1028 </string>
547 <string>92 165 1156 858 0 0 1680 1028 </string>
565548 <key>WindowTools</key>
566549 <array>
567550 <dict>
939922 <string>yes</string>
940923 <key>sizes</key>
941924 <array>
942 <string>{{0, 0}, {493, 168}}</string>
943 <string>{{0, 173}, {493, 270}}</string>
925 <string>{{0, 0}, {491, 168}}</string>
926 <string>{{0, 173}, {491, 270}}</string>
944927 </array>
945928 </dict>
946929 <key>VerticalSplitView</key>
989972 <key>TableOfContents</key>
990973 <array>
991974 <string>1C0AD2B3069F1EA900FABCE6</string>
992 <string>CB2C25F90B31942700ACAC1F</string>
975 <string>CB00708C0B7F5E850009A74B</string>
993976 <string>1CD0528B0623707200166675</string>
994 <string>CB2C25FA0B31942700ACAC1F</string>
977 <string>CB00708D0B7F5E850009A74B</string>
995978 </array>
996979 <key>ToolbarConfiguration</key>
997980 <string>xcode.toolbar.config.run</string>
110110 PBXFileDataSource_Warnings_ColumnID,
111111 );
112112 };
113 PBXPerProjectTemplateStateSaveDate = 187798388;
113 PBXPerProjectTemplateStateSaveDate = 192895159;
114114 PBXPrepackagedSmartGroups_v2 = (
115115 {
116116 PBXTransientLocationAtTop = bottom;
650650 PBXModuleWindowStatusBarHidden = YES;
651651 RubberWindowFrame = "110 272 745 464 0 0 1024 746 ";
652652 };
653 PBXWorkspaceStateSaveDate = 187798388;
653 PBXWorkspaceStateSaveDate = 192895159;
654654 };
655655 perUserProjectItems = {
656 CB0070830B7F5E850009A74B /* PBXTextBookmark */ = CB0070830B7F5E850009A74B /* PBXTextBookmark */;
657 CB0070840B7F5E850009A74B /* PBXTextBookmark */ = CB0070840B7F5E850009A74B /* PBXTextBookmark */;
658 CB0070850B7F5E850009A74B /* PBXTextBookmark */ = CB0070850B7F5E850009A74B /* PBXTextBookmark */;
659 CB0070860B7F5E850009A74B /* PBXTextBookmark */ = CB0070860B7F5E850009A74B /* PBXTextBookmark */;
660 CB0070870B7F5E850009A74B /* PBXTextBookmark */ = CB0070870B7F5E850009A74B /* PBXTextBookmark */;
661 CB0070880B7F5E850009A74B /* PBXTextBookmark */ = CB0070880B7F5E850009A74B /* PBXTextBookmark */;
662 CB0070890B7F5E850009A74B /* PBXTextBookmark */ = CB0070890B7F5E850009A74B /* PBXTextBookmark */;
656663 CB06E93C086BFC96001241D7 = CB06E93C086BFC96001241D7 /* PBXTextBookmark */;
657664 CB06EA6D086C1628001241D7 = CB06EA6D086C1628001241D7 /* PBXTextBookmark */;
658665 CB2C25480B3192FF00ACAC1F = CB2C25480B3192FF00ACAC1F /* PBXTextBookmark */;
659 CB2C25F20B31942700ACAC1F /* PBXTextBookmark */ = CB2C25F20B31942700ACAC1F /* PBXTextBookmark */;
660 CB2C25F30B31942700ACAC1F /* PBXTextBookmark */ = CB2C25F30B31942700ACAC1F /* PBXTextBookmark */;
661 CB2C25F40B31942700ACAC1F /* PBXTextBookmark */ = CB2C25F40B31942700ACAC1F /* PBXTextBookmark */;
662 CB2C25F50B31942700ACAC1F /* PBXTextBookmark */ = CB2C25F50B31942700ACAC1F /* PBXTextBookmark */;
663 CB2C25F60B31942700ACAC1F /* PBXTextBookmark */ = CB2C25F60B31942700ACAC1F /* PBXTextBookmark */;
664 CB2C25FF0B31971E00ACAC1F /* PBXTextBookmark */ = CB2C25FF0B31971E00ACAC1F /* PBXTextBookmark */;
665 CB2C26000B31971E00ACAC1F /* PBXTextBookmark */ = CB2C26000B31971E00ACAC1F /* PBXTextBookmark */;
666 CB2C26010B31971E00ACAC1F /* PBXTextBookmark */ = CB2C26010B31971E00ACAC1F /* PBXTextBookmark */;
667 CB2C26020B31971E00ACAC1F /* PBXTextBookmark */ = CB2C26020B31971E00ACAC1F /* PBXTextBookmark */;
668 CB2C26030B31971E00ACAC1F /* PBXTextBookmark */ = CB2C26030B31971E00ACAC1F /* PBXTextBookmark */;
669 CB2C26040B31971E00ACAC1F /* PBXTextBookmark */ = CB2C26040B31971E00ACAC1F /* PBXTextBookmark */;
670 CB2C26370B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C26370B31A39A00ACAC1F /* PBXTextBookmark */;
671 CB2C26380B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C26380B31A39A00ACAC1F /* PBXTextBookmark */;
672 CB2C26390B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C26390B31A39A00ACAC1F /* PBXTextBookmark */;
673 CB2C263A0B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C263A0B31A39A00ACAC1F /* PBXTextBookmark */;
674 CB2C263B0B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C263B0B31A39A00ACAC1F /* PBXTextBookmark */;
675 CB2C263C0B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C263C0B31A39A00ACAC1F /* PBXTextBookmark */;
676 CB2C263D0B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C263D0B31A39A00ACAC1F /* PBXTextBookmark */;
677 CB2C263E0B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C263E0B31A39A00ACAC1F /* PBXTextBookmark */;
678 CB2C263F0B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C263F0B31A39A00ACAC1F /* PBXTextBookmark */;
679 CB2C26400B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C26400B31A39A00ACAC1F /* PBXTextBookmark */;
680 CB2C26410B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C26410B31A39A00ACAC1F /* PBXTextBookmark */;
681 CB2C26420B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C26420B31A39A00ACAC1F /* PBXTextBookmark */;
682 CB2C26430B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C26430B31A39A00ACAC1F /* PBXTextBookmark */;
683 CB2C26440B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C26440B31A39A00ACAC1F /* PBXTextBookmark */;
684 CB2C26450B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C26450B31A39A00ACAC1F /* PBXTextBookmark */;
685 CB2C26460B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C26460B31A39A00ACAC1F /* PBXTextBookmark */;
686 CB2C26470B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C26470B31A39A00ACAC1F /* PBXTextBookmark */;
687 CB2C26480B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C26480B31A39A00ACAC1F /* PBXTextBookmark */;
688 CB2C26490B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C26490B31A39A00ACAC1F /* PBXTextBookmark */;
689 CB2C264A0B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C264A0B31A39A00ACAC1F /* PBXTextBookmark */;
690 CB2C264B0B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C264B0B31A39A00ACAC1F /* PBXTextBookmark */;
691 CB2C264C0B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C264C0B31A39A00ACAC1F /* PBXTextBookmark */;
692 CB2C264D0B31A39A00ACAC1F /* PBXTextBookmark */ = CB2C264D0B31A39A00ACAC1F /* PBXTextBookmark */;
666 CB2C25F20B31942700ACAC1F = CB2C25F20B31942700ACAC1F /* PBXTextBookmark */;
667 CB2C25F30B31942700ACAC1F = CB2C25F30B31942700ACAC1F /* PBXTextBookmark */;
668 CB2C25F40B31942700ACAC1F = CB2C25F40B31942700ACAC1F /* PBXTextBookmark */;
669 CB2C25F50B31942700ACAC1F = CB2C25F50B31942700ACAC1F /* PBXTextBookmark */;
670 CB2C25F60B31942700ACAC1F = CB2C25F60B31942700ACAC1F /* PBXTextBookmark */;
671 CB2C25FF0B31971E00ACAC1F = CB2C25FF0B31971E00ACAC1F /* PBXTextBookmark */;
672 CB2C26000B31971E00ACAC1F = CB2C26000B31971E00ACAC1F /* PBXTextBookmark */;
673 CB2C26010B31971E00ACAC1F = CB2C26010B31971E00ACAC1F /* PBXTextBookmark */;
674 CB2C26020B31971E00ACAC1F = CB2C26020B31971E00ACAC1F /* PBXTextBookmark */;
675 CB2C26030B31971E00ACAC1F = CB2C26030B31971E00ACAC1F /* PBXTextBookmark */;
676 CB2C26040B31971E00ACAC1F = CB2C26040B31971E00ACAC1F /* PBXTextBookmark */;
677 CB2C26370B31A39A00ACAC1F = CB2C26370B31A39A00ACAC1F /* PBXTextBookmark */;
678 CB2C26380B31A39A00ACAC1F = CB2C26380B31A39A00ACAC1F /* PBXTextBookmark */;
679 CB2C26390B31A39A00ACAC1F = CB2C26390B31A39A00ACAC1F /* PBXTextBookmark */;
680 CB2C263A0B31A39A00ACAC1F = CB2C263A0B31A39A00ACAC1F /* PBXTextBookmark */;
681 CB2C263B0B31A39A00ACAC1F = CB2C263B0B31A39A00ACAC1F /* PBXTextBookmark */;
682 CB2C263C0B31A39A00ACAC1F = CB2C263C0B31A39A00ACAC1F /* PBXTextBookmark */;
683 CB2C263D0B31A39A00ACAC1F = CB2C263D0B31A39A00ACAC1F /* PBXTextBookmark */;
684 CB2C263E0B31A39A00ACAC1F = CB2C263E0B31A39A00ACAC1F /* PBXTextBookmark */;
685 CB2C263F0B31A39A00ACAC1F = CB2C263F0B31A39A00ACAC1F /* PBXTextBookmark */;
686 CB2C26400B31A39A00ACAC1F = CB2C26400B31A39A00ACAC1F /* PBXTextBookmark */;
687 CB2C26410B31A39A00ACAC1F = CB2C26410B31A39A00ACAC1F /* PBXTextBookmark */;
688 CB2C26420B31A39A00ACAC1F = CB2C26420B31A39A00ACAC1F /* PBXTextBookmark */;
689 CB2C26430B31A39A00ACAC1F = CB2C26430B31A39A00ACAC1F /* PBXTextBookmark */;
690 CB2C26440B31A39A00ACAC1F = CB2C26440B31A39A00ACAC1F /* PBXTextBookmark */;
691 CB2C26450B31A39A00ACAC1F = CB2C26450B31A39A00ACAC1F /* PBXTextBookmark */;
692 CB2C26460B31A39A00ACAC1F = CB2C26460B31A39A00ACAC1F /* PBXTextBookmark */;
693 CB2C26470B31A39A00ACAC1F = CB2C26470B31A39A00ACAC1F /* PBXTextBookmark */;
694 CB2C26480B31A39A00ACAC1F = CB2C26480B31A39A00ACAC1F /* PBXTextBookmark */;
695 CB2C26490B31A39A00ACAC1F = CB2C26490B31A39A00ACAC1F /* PBXTextBookmark */;
696 CB2C264A0B31A39A00ACAC1F = CB2C264A0B31A39A00ACAC1F /* PBXTextBookmark */;
697 CB2C264B0B31A39A00ACAC1F = CB2C264B0B31A39A00ACAC1F /* PBXTextBookmark */;
698 CB2C264C0B31A39A00ACAC1F = CB2C264C0B31A39A00ACAC1F /* PBXTextBookmark */;
699 CB2C264D0B31A39A00ACAC1F = CB2C264D0B31A39A00ACAC1F /* PBXTextBookmark */;
693700 CB94D1B80887D8BB0003B92F = CB94D1B80887D8BB0003B92F /* PBXTextBookmark */;
694701 CB94D1B90887D8BB0003B92F = CB94D1B90887D8BB0003B92F /* PBXTextBookmark */;
695702 CB94D1BA0887D8BB0003B92F = CB94D1BA0887D8BB0003B92F /* PBXTextBookmark */;
718725 CBA4B177073141D4003EC668 /* BumpRace */,
719726 );
720727 };
728 CB0070830B7F5E850009A74B /* PBXTextBookmark */ = {
729 isa = PBXTextBookmark;
730 fRef = CBA4B2010731431B003EC668 /* menu.c */;
731 name = "menu.c: 27";
732 rLen = 0;
733 rLoc = 406;
734 rType = 0;
735 vrLen = 1557;
736 vrLoc = 210;
737 };
738 CB0070840B7F5E850009A74B /* PBXTextBookmark */ = {
739 isa = PBXTextBookmark;
740 fRef = CBA4B2030731431B003EC668 /* options.c */;
741 name = "options.c: 76";
742 rLen = 0;
743 rLoc = 1675;
744 rType = 0;
745 vrLen = 1165;
746 vrLoc = 1128;
747 };
748 CB0070850B7F5E850009A74B /* PBXTextBookmark */ = {
749 isa = PBXTextBookmark;
750 fRef = CBA4B1FA0731431B003EC668 /* bumprace.c */;
751 name = "bumprace.c: 953";
752 rLen = 0;
753 rLoc = 30201;
754 rType = 0;
755 vrLen = 1286;
756 vrLoc = 29855;
757 };
758 CB0070860B7F5E850009A74B /* PBXTextBookmark */ = {
759 isa = PBXTextBookmark;
760 fRef = CBA4B1FA0731431B003EC668 /* bumprace.c */;
761 name = "bumprace.c: 953";
762 rLen = 0;
763 rLoc = 30201;
764 rType = 0;
765 vrLen = 1286;
766 vrLoc = 29855;
767 };
768 CB0070870B7F5E850009A74B /* PBXTextBookmark */ = {
769 isa = PBXTextBookmark;
770 fRef = CBA4B2010731431B003EC668 /* menu.c */;
771 name = "menu.c: 27";
772 rLen = 0;
773 rLoc = 406;
774 rType = 0;
775 vrLen = 1557;
776 vrLoc = 210;
777 };
778 CB0070880B7F5E850009A74B /* PBXTextBookmark */ = {
779 isa = PBXTextBookmark;
780 fRef = CBA4B2030731431B003EC668 /* options.c */;
781 name = "options.c: 76";
782 rLen = 0;
783 rLoc = 1675;
784 rType = 0;
785 vrLen = 1165;
786 vrLoc = 1128;
787 };
788 CB0070890B7F5E850009A74B /* PBXTextBookmark */ = {
789 isa = PBXTextBookmark;
790 fRef = CBA4B1FA0731431B003EC668 /* bumprace.c */;
791 name = "bumprace.c: VERSION";
792 rLen = 0;
793 rLoc = 1931;
794 rType = 0;
795 vrLen = 1995;
796 vrLoc = 0;
797 };
721798 CB06E93C086BFC96001241D7 /* PBXTextBookmark */ = {
722799 isa = PBXTextBookmark;
723800 fRef = CBA4B2000731431B003EC668 /* levels.h */;
900977 fRef = CBA4B2030731431B003EC668 /* options.c */;
901978 name = "options.c: 80";
902979 rLen = 0;
903 rLoc = 1797;
980 rLoc = 1879;
904981 rType = 0;
905982 vrLen = 1224;
906983 vrLoc = 1239;
10001077 fRef = CBA4B2030731431B003EC668 /* options.c */;
10011078 name = "options.c: 80";
10021079 rLen = 0;
1003 rLoc = 1754;
1080 rLoc = 1836;
10041081 rType = 0;
10051082 vrLen = 1303;
10061083 vrLoc = 1430;
10201097 fRef = CBA4B2030731431B003EC668 /* options.c */;
10211098 name = "options.c: 80";
10221099 rLen = 0;
1023 rLoc = 1794;
1100 rLoc = 1876;
10241101 rType = 0;
10251102 vrLen = 1344;
10261103 vrLoc = 1430;
10401117 fRef = CBA4B2030731431B003EC668 /* options.c */;
10411118 name = "options.c: 80";
10421119 rLen = 0;
1043 rLoc = 1797;
1120 rLoc = 1879;
10441121 rType = 0;
10451122 vrLen = 1224;
10461123 vrLoc = 1239;
10701147 fRef = CBA4B2030731431B003EC668 /* options.c */;
10711148 name = "options.c: 80";
10721149 rLen = 0;
1073 rLoc = 1797;
1150 rLoc = 1879;
10741151 rType = 0;
10751152 vrLen = 1224;
10761153 vrLoc = 1239;
12081285 uiCtxt = {
12091286 sepNavIntBoundsRect = "{{0, 0}, {907, 17738}}";
12101287 sepNavSelRange = "{1931, 0}";
1211 sepNavVisRect = "{{0, 140}, {907, 659}}";
1288 sepNavVisRect = "{{0, 0}, {907, 659}}";
12121289 sepNavWindowFrame = "{{74, 183}, {750, 558}}";
12131290 };
12141291 };
12591336 CBA4B2010731431B003EC668 /* menu.c */ = {
12601337 uiCtxt = {
12611338 sepNavIntBoundsRect = "{{0, 0}, {907, 4046}}";
1262 sepNavSelRange = "{1254, 0}";
1263 sepNavVisRect = "{{0, 225}, {907, 659}}";
1339 sepNavSelRange = "{406, 0}";
1340 sepNavVisRect = "{{0, 224}, {907, 659}}";
12641341 };
12651342 };
12661343 CBA4B2020731431B003EC668 /* menu.h */ = {
12721349 };
12731350 CBA4B2030731431B003EC668 /* options.c */ = {
12741351 uiCtxt = {
1275 sepNavIntBoundsRect = "{{0, 0}, {907, 2016}}";
1276 sepNavSelRange = "{1797, 0}";
1277 sepNavVisRect = "{{0, 784}, {907, 659}}";
1352 sepNavIntBoundsRect = "{{0, 0}, {907, 2044}}";
1353 sepNavSelRange = "{1675, 0}";
1354 sepNavVisRect = "{{0, 691}, {907, 659}}";
12781355 };
12791356 };
12801357 CBA4B2040731431B003EC668 /* options.h */ = {
00 #! /bin/sh
11 # Common stub for a few missing GNU programs while installing.
2 # Copyright (C) 1996, 1997 Free Software Foundation, Inc.
3 # Franc,ois Pinard <pinard@iro.umontreal.ca>, 1996.
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.
48
59 # This program is free software; you can redistribute it and/or modify
610 # it under the terms of the GNU General Public License as published by
1418
1519 # You should have received a copy of the GNU General Public License
1620 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18 # 02111-1307, USA.
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.
1928
2029 if test $# -eq 0; then
2130 echo 1>&2 "Try \`$0 --help' for more information"
2231 exit 1
2332 fi
2433
25 case "$1" in
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 ;;
2664
2765 -h|--h|--he|--hel|--help)
2866 echo "\
3472 Options:
3573 -h, --help display this help and exit
3674 -v, --version output version information and exit
75 --run try to run the given command, and emulate it if it fails
3776
3877 Supported PROGRAM values:
3978 aclocal touch file \`aclocal.m4'
4079 autoconf touch file \`configure'
4180 autoheader touch file \`config.h.in'
81 autom4te touch the output file, or create a stub one
4282 automake touch all \`Makefile.in' files
4383 bison create \`y.tab.[ch]', if possible, from existing .[ch]
4484 flex create \`lex.yy.c', if possible, from existing .c
85 help2man touch the output file
4586 lex create \`lex.yy.c', if possible, from existing .c
4687 makeinfo touch the output file
47 yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
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 $?
4893 ;;
4994
5095 -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
51 echo "missing - GNU libit 0.0"
96 echo "missing $scriptversion (GNU Automake)"
97 exit $?
5298 ;;
5399
54100 -*)
57103 exit 1
58104 ;;
59105
60 aclocal)
61 echo 1>&2 "\
62 WARNING: \`$1' is missing on your system. You should only need it if
63 you modified \`acinclude.m4' or \`configure.in'. You might want
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
64145 to install the \`Automake' and \`Perl' packages. Grab them from
65146 any GNU archive site."
66147 touch aclocal.m4
68149
69150 autoconf)
70151 echo 1>&2 "\
71 WARNING: \`$1' is missing on your system. You should only need it if
72 you modified \`configure.in'. You might want to install the
152 WARNING: \`$1' is $msg. You should only need it if
153 you modified \`${configure_ac}'. You might want to install the
73154 \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
74155 archive site."
75156 touch configure
77158
78159 autoheader)
79160 echo 1>&2 "\
80 WARNING: \`$1' is missing on your system. You should only need it if
81 you modified \`acconfig.h' or \`configure.in'. You might want
161 WARNING: \`$1' is $msg. You should only need it if
162 you modified \`acconfig.h' or \`${configure_ac}'. You might want
82163 to install the \`Autoconf' and \`GNU m4' packages. Grab them
83164 from any GNU archive site."
84 files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' configure.in`
165 files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
85166 test -z "$files" && files="config.h"
86167 touch_files=
87168 for f in $files; do
88 case "$f" in
169 case $f in
89170 *:*) touch_files="$touch_files "`echo "$f" |
90171 sed -e 's/^[^:]*://' -e 's/:.*//'`;;
91172 *) touch_files="$touch_files $f.in";;
94175 touch $touch_files
95176 ;;
96177
97 automake)
98 echo 1>&2 "\
99 WARNING: \`$1' is missing on your system. You should only need it if
100 you modified \`Makefile.am', \`acinclude.m4' or \`configure.in'.
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}'.
101182 You might want to install the \`Automake' and \`Perl' packages.
102183 Grab them from any GNU archive site."
103184 find . -type f -name Makefile.am -print |
105186 while read f; do touch "$f"; done
106187 ;;
107188
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
108212 bison|yacc)
109213 echo 1>&2 "\
110 WARNING: \`$1' is missing on your system. You should only need it if
214 WARNING: \`$1' $msg. You should only need it if
111215 you modified a \`.y' file. You may need the \`Bison' package
112216 in order for those modifications to take effect. You can get
113217 \`Bison' from any GNU archive site."
114218 rm -f y.tab.c y.tab.h
115 if [ $# -ne 1 ]; then
219 if test $# -ne 1; then
116220 eval LASTARG="\${$#}"
117 case "$LASTARG" in
221 case $LASTARG in
118222 *.y)
119223 SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
120 if [ -f "$SRCFILE" ]; then
224 if test -f "$SRCFILE"; then
121225 cp "$SRCFILE" y.tab.c
122226 fi
123227 SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
124 if [ -f "$SRCFILE" ]; then
228 if test -f "$SRCFILE"; then
125229 cp "$SRCFILE" y.tab.h
126230 fi
127231 ;;
128232 esac
129233 fi
130 if [ ! -f y.tab.h ]; then
234 if test ! -f y.tab.h; then
131235 echo >y.tab.h
132236 fi
133 if [ ! -f y.tab.c ]; then
237 if test ! -f y.tab.c; then
134238 echo 'main() { return 0; }' >y.tab.c
135239 fi
136240 ;;
137241
138242 lex|flex)
139243 echo 1>&2 "\
140 WARNING: \`$1' is missing on your system. You should only need it if
244 WARNING: \`$1' is $msg. You should only need it if
141245 you modified a \`.l' file. You may need the \`Flex' package
142246 in order for those modifications to take effect. You can get
143247 \`Flex' from any GNU archive site."
144248 rm -f lex.yy.c
145 if [ $# -ne 1 ]; then
249 if test $# -ne 1; then
146250 eval LASTARG="\${$#}"
147 case "$LASTARG" in
251 case $LASTARG in
148252 *.l)
149253 SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
150 if [ -f "$SRCFILE" ]; then
254 if test -f "$SRCFILE"; then
151255 cp "$SRCFILE" lex.yy.c
152256 fi
153257 ;;
154258 esac
155259 fi
156 if [ ! -f lex.yy.c ]; then
260 if test ! -f lex.yy.c; then
157261 echo 'main() { return 0; }' >lex.yy.c
158262 fi
159263 ;;
160264
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
161283 makeinfo)
162284 echo 1>&2 "\
163 WARNING: \`$1' is missing on your system. You should only need it if
285 WARNING: \`$1' is $msg. You should only need it if
164286 you modified a \`.texi' or \`.texinfo' file, or any other file
165287 indirectly affecting the aspect of the manual. The spurious
166288 call might also be the consequence of using a buggy \`make' (AIX,
167289 DU, IRIX). You might want to install the \`Texinfo' package or
168290 the \`GNU make' package. Grab either from any GNU archive site."
169 file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
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"`
170294 if test -z "$file"; then
171 file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
172 file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
173 fi
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
174309 touch $file
175310 ;;
176311
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
177347 *)
178348 echo 1>&2 "\
179 WARNING: \`$1' is needed, and you do not seem to have it handy on your
180 system. You might have modified some files without having the
349 WARNING: \`$1' is needed, and is $msg.
350 You might have modified some files without having the
181351 proper tools for further handling them. Check the \`README' file,
182 it often tells you about the needed prerequirements for installing
352 it often tells you about the needed prerequisites for installing
183353 this package. You may also peek at any GNU archive site, in case
184354 some other package would contain this missing \`$1' program."
185355 exit 1
187357 esac
188358
189359 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:
00 #! /bin/sh
11 # mkinstalldirs --- make directory hierarchy
2 # Author: Noah Friedman <friedman@prep.ai.mit.edu>
2
3 scriptversion=2006-05-11.19
4
5 # Original author: Noah Friedman <friedman@prep.ai.mit.edu>
36 # Created: 1993-05-16
4 # Public domain
7 # Public domain.
8 #
9 # This file is maintained in Automake, please report
10 # bugs to <bug-automake@gnu.org> or send patches to
11 # <automake-patches@gnu.org>.
512
6 # $Id: mkinstalldirs,v 1.1 1999/11/18 18:23:17 hercules Exp $
13 nl='
14 '
15 IFS=" "" $nl"
16 errstatus=0
17 dirmode=
718
8 errstatus=0
19 usage="\
20 Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
21
22 Create each directory DIR (with mode MODE, if specified), including all
23 leading file name components.
24
25 Report bugs to <bug-automake@gnu.org>."
26
27 # process command line arguments
28 while test $# -gt 0 ; do
29 case $1 in
30 -h | --help | --h*) # -h for help
31 echo "$usage"
32 exit $?
33 ;;
34 -m) # -m PERM arg
35 shift
36 test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
37 dirmode=$1
38 shift
39 ;;
40 --version)
41 echo "$0 $scriptversion"
42 exit $?
43 ;;
44 --) # stop option processing
45 shift
46 break
47 ;;
48 -*) # unknown option
49 echo "$usage" 1>&2
50 exit 1
51 ;;
52 *) # first non-opt arg
53 break
54 ;;
55 esac
56 done
957
1058 for file
1159 do
12 set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
13 shift
60 if test -d "$file"; then
61 shift
62 else
63 break
64 fi
65 done
1466
15 pathcomp=
16 for d
17 do
18 pathcomp="$pathcomp$d"
19 case "$pathcomp" in
20 -* ) pathcomp=./$pathcomp ;;
21 esac
67 case $# in
68 0) exit 0 ;;
69 esac
2270
23 if test ! -d "$pathcomp"; then
24 echo "mkdir $pathcomp"
71 # Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and
72 # mkdir -p a/c at the same time, both will detect that a is missing,
73 # one will create a, then the other will try to create a and die with
74 # a "File exists" error. This is a problem when calling mkinstalldirs
75 # from a parallel make. We use --version in the probe to restrict
76 # ourselves to GNU mkdir, which is thread-safe.
77 case $dirmode in
78 '')
79 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
80 echo "mkdir -p -- $*"
81 exec mkdir -p -- "$@"
82 else
83 # On NextStep and OpenStep, the `mkdir' command does not
84 # recognize any option. It will interpret all options as
85 # directories to create, and then abort because `.' already
86 # exists.
87 test -d ./-p && rmdir ./-p
88 test -d ./--version && rmdir ./--version
89 fi
90 ;;
91 *)
92 if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 &&
93 test ! -d ./--version; then
94 echo "mkdir -m $dirmode -p -- $*"
95 exec mkdir -m "$dirmode" -p -- "$@"
96 else
97 # Clean up after NextStep and OpenStep mkdir.
98 for d in ./-m ./-p ./--version "./$dirmode";
99 do
100 test -d $d && rmdir $d
101 done
102 fi
103 ;;
104 esac
25105
26 mkdir "$pathcomp" || lasterr=$?
106 for file
107 do
108 case $file in
109 /*) pathcomp=/ ;;
110 *) pathcomp= ;;
111 esac
112 oIFS=$IFS
113 IFS=/
114 set fnord $file
115 shift
116 IFS=$oIFS
27117
28 if test ! -d "$pathcomp"; then
29 errstatus=$lasterr
30 fi
31 fi
118 for d
119 do
120 test "x$d" = x && continue
32121
33 pathcomp="$pathcomp/"
34 done
122 pathcomp=$pathcomp$d
123 case $pathcomp in
124 -*) pathcomp=./$pathcomp ;;
125 esac
126
127 if test ! -d "$pathcomp"; then
128 echo "mkdir $pathcomp"
129
130 mkdir "$pathcomp" || lasterr=$?
131
132 if test ! -d "$pathcomp"; then
133 errstatus=$lasterr
134 else
135 if test ! -z "$dirmode"; then
136 echo "chmod $dirmode $pathcomp"
137 lasterr=
138 chmod "$dirmode" "$pathcomp" || lasterr=$?
139
140 if test ! -z "$lasterr"; then
141 errstatus=$lasterr
142 fi
143 fi
144 fi
145 fi
146
147 pathcomp=$pathcomp/
148 done
35149 done
36150
37151 exit $errstatus
38152
39 # mkinstalldirs ends here
153 # Local Variables:
154 # mode: shell-script
155 # sh-indentation: 2
156 # eval: (add-hook 'write-file-hooks 'time-stamp)
157 # time-stamp-start: "scriptversion="
158 # time-stamp-format: "%:y-%02m-%02d.%02H"
159 # time-stamp-end: "$"
160 # End:
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
0 # Makefile.in generated by automake 1.10 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
35 # This Makefile.in is free software; the Free Software Foundation
46 # gives unlimited permission to copy and/or distribute it,
57 # with or without modifications, as long as this notice is preserved.
911 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1012 # PARTICULAR PURPOSE.
1113
12
13 SHELL = @SHELL@
14
15 srcdir = @srcdir@
16 top_srcdir = @top_srcdir@
14 @SET_MAKE@
15
1716 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
3617 pkgdatadir = $(datadir)/@PACKAGE@
3718 pkglibdir = $(libdir)/@PACKAGE@
3819 pkgincludedir = $(includedir)/@PACKAGE@
39
40 top_builddir = ..
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
47 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
20 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
21 install_sh_DATA = $(install_sh) -c -m 644
22 install_sh_PROGRAM = $(install_sh) -c
23 install_sh_SCRIPT = $(install_sh) -c
24 INSTALL_HEADER = $(INSTALL_DATA)
25 transform = $(program_transform_name)
5326 NORMAL_INSTALL = :
5427 PRE_INSTALL = :
5528 POST_INSTALL = :
5629 NORMAL_UNINSTALL = :
5730 PRE_UNINSTALL = :
5831 POST_UNINSTALL = :
59 host_alias = @host_alias@
32 build_triplet = @build@
6033 host_triplet = @host@
34 target_triplet = @target@
35 bin_PROGRAMS = bumprace$(EXEEXT)
36 subdir = src
37 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
38 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
39 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
40 $(top_srcdir)/configure.in
41 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
42 $(ACLOCAL_M4)
43 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
44 CONFIG_CLEAN_FILES =
45 am__installdirs = "$(DESTDIR)$(bindir)"
46 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
47 PROGRAMS = $(bin_PROGRAMS)
48 am_bumprace_OBJECTS = bumprace.$(OBJEXT) gfx.$(OBJEXT) \
49 particles.$(OBJEXT) menu.$(OBJEXT) options.$(OBJEXT) \
50 font.$(OBJEXT)
51 bumprace_OBJECTS = $(am_bumprace_OBJECTS)
52 bumprace_LDADD = $(LDADD)
53 DEFAULT_INCLUDES = -I.@am__isrc@
54 depcomp = $(SHELL) $(top_srcdir)/depcomp
55 am__depfiles_maybe = depfiles
56 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
57 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
58 CCLD = $(CC)
59 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
60 SOURCES = $(bumprace_SOURCES)
61 DIST_SOURCES = $(bumprace_SOURCES)
62 ETAGS = etags
63 CTAGS = ctags
64 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
65 ACLOCAL = @ACLOCAL@
66 AMTAR = @AMTAR@
67 AUTOCONF = @AUTOCONF@
68 AUTOHEADER = @AUTOHEADER@
69 AUTOMAKE = @AUTOMAKE@
70 AWK = @AWK@
6171 CC = @CC@
72 CCDEPMODE = @CCDEPMODE@
73 CFLAGS = @CFLAGS@
74 CPPFLAGS = @CPPFLAGS@
75 CYGPATH_W = @CYGPATH_W@
76 DEFS = @DEFS@
77 DEPDIR = @DEPDIR@
78 ECHO_C = @ECHO_C@
79 ECHO_N = @ECHO_N@
80 ECHO_T = @ECHO_T@
81 EXEEXT = @EXEEXT@
82 INSTALL = @INSTALL@
83 INSTALL_DATA = @INSTALL_DATA@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
87 LDFLAGS = @LDFLAGS@
88 LIBOBJS = @LIBOBJS@
89 LIBS = @LIBS@
90 LTLIBOBJS = @LTLIBOBJS@
6291 MAKEINFO = @MAKEINFO@
6392 MATHLIB = @MATHLIB@
93 MKDIR_P = @MKDIR_P@
94 OBJEXT = @OBJEXT@
6495 PACKAGE = @PACKAGE@
96 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
97 PACKAGE_NAME = @PACKAGE_NAME@
98 PACKAGE_STRING = @PACKAGE_STRING@
99 PACKAGE_TARNAME = @PACKAGE_TARNAME@
100 PACKAGE_VERSION = @PACKAGE_VERSION@
101 PATH_SEPARATOR = @PATH_SEPARATOR@
65102 RANLIB = @RANLIB@
66103 SDL_CFLAGS = @SDL_CFLAGS@
67104 SDL_CONFIG = @SDL_CONFIG@
68105 SDL_LIBS = @SDL_LIBS@
106 SET_MAKE = @SET_MAKE@
107 SHELL = @SHELL@
108 STRIP = @STRIP@
69109 VERSION = @VERSION@
70
71 bin_PROGRAMS = bumprace
72
73 bumprace_SOURCES = bumprace.c gfx.c particles.c menu.c bumprace.h gfx.h levels.h levels2.h menu.h particles.h options.h options.c font.h font.c
74
75 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
76 CONFIG_CLEAN_FILES =
77 PROGRAMS = $(bin_PROGRAMS)
78
79
80 DEFS = @DEFS@ -I. -I$(srcdir)
81 CPPFLAGS = @CPPFLAGS@
82 LDFLAGS = @LDFLAGS@
83 LIBS = @LIBS@
84 bumprace_OBJECTS = bumprace.o gfx.o particles.o menu.o options.o font.o
85 bumprace_LDADD = $(LDADD)
86 bumprace_DEPENDENCIES =
87 bumprace_LDFLAGS =
88 CFLAGS = @CFLAGS@
89 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
90 CCLD = $(CC)
91 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
92 DIST_COMMON = Makefile.am Makefile.in
93
94
95 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
96
97 TAR = tar
98 GZIP_ENV = --best
99 SOURCES = $(bumprace_SOURCES)
100 OBJECTS = $(bumprace_OBJECTS)
101
102 all: all-redirect
110 abs_builddir = @abs_builddir@
111 abs_srcdir = @abs_srcdir@
112 abs_top_builddir = @abs_top_builddir@
113 abs_top_srcdir = @abs_top_srcdir@
114 ac_ct_CC = @ac_ct_CC@
115 am__include = @am__include@
116 am__leading_dot = @am__leading_dot@
117 am__quote = @am__quote@
118 am__tar = @am__tar@
119 am__untar = @am__untar@
120 bindir = @bindir@
121 build = @build@
122 build_alias = @build_alias@
123 build_cpu = @build_cpu@
124 build_os = @build_os@
125 build_vendor = @build_vendor@
126 builddir = @builddir@
127 datadir = @datadir@
128 datarootdir = @datarootdir@
129 docdir = @docdir@
130 dvidir = @dvidir@
131 exec_prefix = @exec_prefix@
132 host = @host@
133 host_alias = @host_alias@
134 host_cpu = @host_cpu@
135 host_os = @host_os@
136 host_vendor = @host_vendor@
137 htmldir = @htmldir@
138 includedir = @includedir@
139 infodir = @infodir@
140 install_sh = @install_sh@
141 libdir = @libdir@
142 libexecdir = @libexecdir@
143 localedir = @localedir@
144 localstatedir = @localstatedir@
145 mandir = @mandir@
146 mkdir_p = @mkdir_p@
147 oldincludedir = @oldincludedir@
148 pdfdir = @pdfdir@
149 prefix = @prefix@
150 program_transform_name = @program_transform_name@
151 psdir = @psdir@
152 sbindir = @sbindir@
153 sharedstatedir = @sharedstatedir@
154 srcdir = @srcdir@
155 sysconfdir = @sysconfdir@
156 target = @target@
157 target_alias = @target_alias@
158 target_cpu = @target_cpu@
159 target_os = @target_os@
160 target_vendor = @target_vendor@
161 top_builddir = @top_builddir@
162 top_srcdir = @top_srcdir@
163 bumprace_SOURCES = bumprace.c \
164 gfx.c particles.c menu.c \
165 bumprace.h gfx.h \
166 levels.h levels2.h menu.h particles.h \
167 options.h options.c font.h font.c
168
169 all: all-am
170
103171 .SUFFIXES:
104 .SUFFIXES: .S .c .o .s
105 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
106 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile
107
108 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
109 cd $(top_builddir) \
110 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
111
112
113 mostlyclean-binPROGRAMS:
172 .SUFFIXES: .c .o .obj
173 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
174 @for dep in $?; do \
175 case '$(am__configure_deps)' in \
176 *$$dep*) \
177 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
178 && exit 0; \
179 exit 1;; \
180 esac; \
181 done; \
182 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
183 cd $(top_srcdir) && \
184 $(AUTOMAKE) --gnu src/Makefile
185 .PRECIOUS: Makefile
186 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
187 @case '$?' in \
188 *config.status*) \
189 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
190 *) \
191 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
192 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
193 esac;
194
195 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
196 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
197
198 $(top_srcdir)/configure: $(am__configure_deps)
199 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
200 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
201 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
202 install-binPROGRAMS: $(bin_PROGRAMS)
203 @$(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
214
215 uninstall-binPROGRAMS:
216 @$(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
114222
115223 clean-binPROGRAMS:
116224 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
117
118 distclean-binPROGRAMS:
119
120 maintainer-clean-binPROGRAMS:
121
122 install-binPROGRAMS: $(bin_PROGRAMS)
123 @$(NORMAL_INSTALL)
124 $(mkinstalldirs) $(DESTDIR)$(bindir)
125 @list='$(bin_PROGRAMS)'; for p in $$list; do \
126 if test -f $$p; then \
127 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
128 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
129 else :; fi; \
130 done
131
132 uninstall-binPROGRAMS:
133 @$(NORMAL_UNINSTALL)
134 list='$(bin_PROGRAMS)'; for p in $$list; do \
135 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
136 done
137
138 .c.o:
139 $(COMPILE) -c $<
140
141 .s.o:
142 $(COMPILE) -c $<
143
144 .S.o:
145 $(COMPILE) -c $<
225 bumprace$(EXEEXT): $(bumprace_OBJECTS) $(bumprace_DEPENDENCIES)
226 @rm -f bumprace$(EXEEXT)
227 $(LINK) $(bumprace_OBJECTS) $(bumprace_LDADD) $(LIBS)
146228
147229 mostlyclean-compile:
148 -rm -f *.o core *.core
149
150 clean-compile:
230 -rm -f *.$(OBJEXT)
151231
152232 distclean-compile:
153233 -rm -f *.tab.c
154234
155 maintainer-clean-compile:
156
157 bumprace: $(bumprace_OBJECTS) $(bumprace_DEPENDENCIES)
158 @rm -f bumprace
159 $(LINK) $(bumprace_LDFLAGS) $(bumprace_OBJECTS) $(bumprace_LDADD) $(LIBS)
160
235 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bumprace.Po@am__quote@
236 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/font.Po@am__quote@
237 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gfx.Po@am__quote@
238 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/menu.Po@am__quote@
239 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
240 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/particles.Po@am__quote@
241
242 .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@
246 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
247 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
248
249 .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@
253 @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; } \
262 END { for (i in files) print i; }'`; \
263 mkid -fID $$unique
161264 tags: TAGS
162265
163 ID: $(HEADERS) $(SOURCES) $(LISP)
164 list='$(SOURCES) $(HEADERS)'; \
165 unique=`for i in $$list; do echo $$i; done | \
166 awk ' { files[$$0] = 1; } \
167 END { for (i in files) print i; }'`; \
168 here=`pwd` && cd $(srcdir) \
169 && mkid -f$$here/ID $$unique $(LISP)
170
171 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
266 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
267 $(TAGS_FILES) $(LISP)
172268 tags=; \
173269 here=`pwd`; \
174 list='$(SOURCES) $(HEADERS)'; \
175 unique=`for i in $$list; do echo $$i; done | \
176 awk ' { files[$$0] = 1; } \
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; } \
177275 END { for (i in files) print i; }'`; \
178 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
179 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
180
181 mostlyclean-tags:
182
183 clean-tags:
276 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
277 test -n "$$unique" || unique=$$empty_fix; \
278 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
279 $$tags $$unique; \
280 fi
281 ctags: CTAGS
282 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
283 $(TAGS_FILES) $(LISP)
284 tags=; \
285 here=`pwd`; \
286 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
287 unique=`for i in $$list; do \
288 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
289 done | \
290 $(AWK) ' { files[$$0] = 1; } \
291 END { for (i in files) print i; }'`; \
292 test -z "$(CTAGS_ARGS)$$tags$$unique" \
293 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
294 $$tags $$unique
295
296 GTAGS:
297 here=`$(am__cd) $(top_builddir) && pwd` \
298 && cd $(top_srcdir) \
299 && gtags -i $(GTAGS_ARGS) $$here
184300
185301 distclean-tags:
186 -rm -f TAGS ID
187
188 maintainer-clean-tags:
189
190 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
191
192 subdir = src
302 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
193303
194304 distdir: $(DISTFILES)
195 @for file in $(DISTFILES); do \
196 d=$(srcdir); \
305 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
306 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
307 list='$(DISTFILES)'; \
308 dist_files=`for file in $$list; do echo $$file; done | \
309 sed -e "s|^$$srcdirstrip/||;t" \
310 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
311 case $$dist_files in \
312 */*) $(MKDIR_P) `echo "$$dist_files" | \
313 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
314 sort -u` ;; \
315 esac; \
316 for file in $$dist_files; do \
317 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
197318 if test -d $$d/$$file; then \
198 cp -pr $$d/$$file $(distdir)/$$file; \
319 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
320 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
321 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
322 fi; \
323 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
199324 else \
200325 test -f $(distdir)/$$file \
201 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
202 || cp -p $$d/$$file $(distdir)/$$file || :; \
326 || cp -p $$d/$$file $(distdir)/$$file \
327 || exit 1; \
203328 fi; \
204329 done
205 info-am:
206 info: info-am
207 dvi-am:
208 dvi: dvi-am
209330 check-am: all-am
210331 check: check-am
211 installcheck-am:
212 installcheck: installcheck-am
213 install-exec-am: install-binPROGRAMS
332 all-am: Makefile $(PROGRAMS)
333 installdirs:
334 for dir in "$(DESTDIR)$(bindir)"; do \
335 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
336 done
337 install: install-am
214338 install-exec: install-exec-am
215
216 install-data-am:
217339 install-data: install-data-am
340 uninstall: uninstall-am
218341
219342 install-am: all-am
220343 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
221 install: install-am
344
345 installcheck: installcheck-am
346 install-strip:
347 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
348 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
349 `test -z '$(STRIP)' || \
350 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
351 mostlyclean-generic:
352
353 clean-generic:
354
355 distclean-generic:
356 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
357
358 maintainer-clean-generic:
359 @echo "This command is intended for maintainers to use"
360 @echo "it deletes files that may require special tools to rebuild."
361 clean: clean-am
362
363 clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
364
365 distclean: distclean-am
366 -rm -rf ./$(DEPDIR)
367 -rm -f Makefile
368 distclean-am: clean-am distclean-compile distclean-generic \
369 distclean-tags
370
371 dvi: dvi-am
372
373 dvi-am:
374
375 html: html-am
376
377 info: info-am
378
379 info-am:
380
381 install-data-am:
382
383 install-dvi: install-dvi-am
384
385 install-exec-am: install-binPROGRAMS
386
387 install-html: install-html-am
388
389 install-info: install-info-am
390
391 install-man:
392
393 install-pdf: install-pdf-am
394
395 install-ps: install-ps-am
396
397 installcheck-am:
398
399 maintainer-clean: maintainer-clean-am
400 -rm -rf ./$(DEPDIR)
401 -rm -f Makefile
402 maintainer-clean-am: distclean-am maintainer-clean-generic
403
404 mostlyclean: mostlyclean-am
405
406 mostlyclean-am: mostlyclean-compile mostlyclean-generic
407
408 pdf: pdf-am
409
410 pdf-am:
411
412 ps: ps-am
413
414 ps-am:
415
222416 uninstall-am: uninstall-binPROGRAMS
223 uninstall: uninstall-am
224 all-am: Makefile $(PROGRAMS)
225 all-redirect: all-am
226 install-strip:
227 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
228 installdirs:
229 $(mkinstalldirs) $(DESTDIR)$(bindir)
230
231
232 mostlyclean-generic:
233
234 clean-generic:
235
236 distclean-generic:
237 -rm -f Makefile $(CONFIG_CLEAN_FILES)
238 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
239
240 maintainer-clean-generic:
241 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
242 mostlyclean-tags mostlyclean-generic
243
244 mostlyclean: mostlyclean-am
245
246 clean-am: clean-binPROGRAMS clean-compile clean-tags clean-generic \
247 mostlyclean-am
248
249 clean: clean-am
250
251 distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \
252 distclean-generic clean-am
253
254 distclean: distclean-am
255
256 maintainer-clean-am: maintainer-clean-binPROGRAMS \
257 maintainer-clean-compile maintainer-clean-tags \
258 maintainer-clean-generic distclean-am
259 @echo "This command is intended for maintainers to use;"
260 @echo "it deletes files that may require special tools to rebuild."
261
262 maintainer-clean: maintainer-clean-am
263
264 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
265 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
266 mostlyclean-compile distclean-compile clean-compile \
267 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
268 clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
269 check-am installcheck-am installcheck install-exec-am install-exec \
270 install-data-am install-data install-am install uninstall-am uninstall \
271 all-redirect all-am all installdirs mostlyclean-generic \
272 distclean-generic clean-generic maintainer-clean-generic clean \
273 mostlyclean distclean maintainer-clean
417
418 .MAKE: install-am install-strip
419
420 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
421 clean-generic ctags distclean distclean-compile \
422 distclean-generic distclean-tags distdir dvi dvi-am html \
423 html-am info info-am install install-am install-binPROGRAMS \
424 install-data install-data-am install-dvi install-dvi-am \
425 install-exec install-exec-am install-html install-html-am \
426 install-info install-info-am install-man install-pdf \
427 install-pdf-am install-ps install-ps-am install-strip \
428 installcheck installcheck-am installdirs maintainer-clean \
429 maintainer-clean-generic mostlyclean mostlyclean-compile \
430 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
431 uninstall-am uninstall-binPROGRAMS
274432
275433
276434 #SUBDIRS = mixer
277
278435 # Tell versions [3.59,3.63) of GNU make to not export all variables.
279436 # Otherwise a system limit (for SysV at least) may be exceeded.
280437 .NOEXPORT:
4141 #include "options.h"
4242
4343 #ifndef VERSION
44 #define VERSION "1.5.2"
44 #define VERSION "1.5.3"
4545 #endif
4646 #define MAX_PLAYER_NUM 2
4747 #define FOREGROUND_TILE_NUM 8
10501050 {
10511051 SDL_Rect rect;
10521052
1053 sprintf(text,"BumpRace Version %s (C) 2006 Karl Bartel", VERSION);
1053 sprintf(text,"BumpRace Version %s (C) 2007 Karl Bartel", VERSION);
10541054 PutString(Screen,170, 380, text);
10551055 PutString(Screen,170, 402, "BumpRace comes with ABSOLUTELY NO WARRANTY");
10561056 PutString(Screen,170, 424, "This is free software, and you are welcome to");
7575 XCenteredString(Screen, 250, text);
7676 XCenteredString(Screen, 300, "Enter Your Name:");
7777 Update();
78 SDL_EventState(SDL_KEYUP, SDL_ENABLE);
79 SDL_EventState(SDL_KEYDOWN, SDL_ENABLE);
7880 SFont_Input(Screen, 350, 350, 200, Name);
7981 if (strcmp(Name,"")==0) strcpy(Name,"Anonymous Coward");
8082 for (i=0;i<10;i++) {