Browse code
additonal autoconf configuration
Greg Wiley authored on 28/03/2017 18:39:29
Showing 17 changed files
Showing 17 changed files
- .gitignore
- AUTHORS
- COPYING
- ChangeLog
- INSTALL
- Makefile.am
- Makefile.in
- NEWS
- README
- aclocal.m4
- compile
- config.h.in
- configure
- configure.ac
- depcomp
- install-sh
- missing
... | ... |
@@ -1,5 +1,750 @@ |
1 |
-all: hello |
|
1 |
+# Makefile.in generated by automake 1.15 from Makefile.am. |
|
2 |
+# @configure_input@ |
|
2 | 3 |
|
3 |
-clean: |
|
4 |
- rm -f hello *.o |
|
4 |
+# Copyright (C) 1994-2014 Free Software Foundation, Inc. |
|
5 | 5 |
|
6 |
+# This Makefile.in is free software; the Free Software Foundation |
|
7 |
+# gives unlimited permission to copy and/or distribute it, |
|
8 |
+# with or without modifications, as long as this notice is preserved. |
|
9 |
+ |
|
10 |
+# This program is distributed in the hope that it will be useful, |
|
11 |
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
|
12 |
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
|
13 |
+# PARTICULAR PURPOSE. |
|
14 |
+ |
|
15 |
+@SET_MAKE@ |
|
16 |
+ |
|
17 |
+VPATH = @srcdir@ |
|
18 |
+am__is_gnu_make = { \ |
|
19 |
+ if test -z '$(MAKELEVEL)'; then \ |
|
20 |
+ false; \ |
|
21 |
+ elif test -n '$(MAKE_HOST)'; then \ |
|
22 |
+ true; \ |
|
23 |
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ |
|
24 |
+ true; \ |
|
25 |
+ else \ |
|
26 |
+ false; \ |
|
27 |
+ fi; \ |
|
28 |
+} |
|
29 |
+am__make_running_with_option = \ |
|
30 |
+ case $${target_option-} in \ |
|
31 |
+ ?) ;; \ |
|
32 |
+ *) echo "am__make_running_with_option: internal error: invalid" \ |
|
33 |
+ "target option '$${target_option-}' specified" >&2; \ |
|
34 |
+ exit 1;; \ |
|
35 |
+ esac; \ |
|
36 |
+ has_opt=no; \ |
|
37 |
+ sane_makeflags=$$MAKEFLAGS; \ |
|
38 |
+ if $(am__is_gnu_make); then \ |
|
39 |
+ sane_makeflags=$$MFLAGS; \ |
|
40 |
+ else \ |
|
41 |
+ case $$MAKEFLAGS in \ |
|
42 |
+ *\\[\ \ ]*) \ |
|
43 |
+ bs=\\; \ |
|
44 |
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ |
|
45 |
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ |
|
46 |
+ esac; \ |
|
47 |
+ fi; \ |
|
48 |
+ skip_next=no; \ |
|
49 |
+ strip_trailopt () \ |
|
50 |
+ { \ |
|
51 |
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ |
|
52 |
+ }; \ |
|
53 |
+ for flg in $$sane_makeflags; do \ |
|
54 |
+ test $$skip_next = yes && { skip_next=no; continue; }; \ |
|
55 |
+ case $$flg in \ |
|
56 |
+ *=*|--*) continue;; \ |
|
57 |
+ -*I) strip_trailopt 'I'; skip_next=yes;; \ |
|
58 |
+ -*I?*) strip_trailopt 'I';; \ |
|
59 |
+ -*O) strip_trailopt 'O'; skip_next=yes;; \ |
|
60 |
+ -*O?*) strip_trailopt 'O';; \ |
|
61 |
+ -*l) strip_trailopt 'l'; skip_next=yes;; \ |
|
62 |
+ -*l?*) strip_trailopt 'l';; \ |
|
63 |
+ -[dEDm]) skip_next=yes;; \ |
|
64 |
+ -[JT]) skip_next=yes;; \ |
|
65 |
+ esac; \ |
|
66 |
+ case $$flg in \ |
|
67 |
+ *$$target_option*) has_opt=yes; break;; \ |
|
68 |
+ esac; \ |
|
69 |
+ done; \ |
|
70 |
+ test $$has_opt = yes |
|
71 |
+am__make_dryrun = (target_option=n; $(am__make_running_with_option)) |
|
72 |
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) |
|
73 |
+pkgdatadir = $(datadir)/@PACKAGE@ |
|
74 |
+pkgincludedir = $(includedir)/@PACKAGE@ |
|
75 |
+pkglibdir = $(libdir)/@PACKAGE@ |
|
76 |
+pkglibexecdir = $(libexecdir)/@PACKAGE@ |
|
77 |
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
|
78 |
+install_sh_DATA = $(install_sh) -c -m 644 |
|
79 |
+install_sh_PROGRAM = $(install_sh) -c |
|
80 |
+install_sh_SCRIPT = $(install_sh) -c |
|
81 |
+INSTALL_HEADER = $(INSTALL_DATA) |
|
82 |
+transform = $(program_transform_name) |
|
83 |
+NORMAL_INSTALL = : |
|
84 |
+PRE_INSTALL = : |
|
85 |
+POST_INSTALL = : |
|
86 |
+NORMAL_UNINSTALL = : |
|
87 |
+PRE_UNINSTALL = : |
|
88 |
+POST_UNINSTALL = : |
|
89 |
+bin_PROGRAMS = hello$(EXEEXT) |
|
90 |
+subdir = . |
|
91 |
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
|
92 |
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
|
93 |
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
|
94 |
+ $(ACLOCAL_M4) |
|
95 |
+DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ |
|
96 |
+ $(am__configure_deps) $(am__DIST_COMMON) |
|
97 |
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
|
98 |
+ configure.lineno config.status.lineno |
|
99 |
+mkinstalldirs = $(install_sh) -d |
|
100 |
+CONFIG_HEADER = config.h |
|
101 |
+CONFIG_CLEAN_FILES = |
|
102 |
+CONFIG_CLEAN_VPATH_FILES = |
|
103 |
+am__installdirs = "$(DESTDIR)$(bindir)" |
|
104 |
+PROGRAMS = $(bin_PROGRAMS) |
|
105 |
+am_hello_OBJECTS = hello.$(OBJEXT) |
|
106 |
+hello_OBJECTS = $(am_hello_OBJECTS) |
|
107 |
+hello_LDADD = $(LDADD) |
|
108 |
+AM_V_P = $(am__v_P_@AM_V@) |
|
109 |
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) |
|
110 |
+am__v_P_0 = false |
|
111 |
+am__v_P_1 = : |
|
112 |
+AM_V_GEN = $(am__v_GEN_@AM_V@) |
|
113 |
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) |
|
114 |
+am__v_GEN_0 = @echo " GEN " $@; |
|
115 |
+am__v_GEN_1 = |
|
116 |
+AM_V_at = $(am__v_at_@AM_V@) |
|
117 |
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) |
|
118 |
+am__v_at_0 = @ |
|
119 |
+am__v_at_1 = |
|
120 |
+DEFAULT_INCLUDES = -I.@am__isrc@ |
|
121 |
+depcomp = $(SHELL) $(top_srcdir)/depcomp |
|
122 |
+am__depfiles_maybe = depfiles |
|
123 |
+am__mv = mv -f |
|
124 |
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
|
125 |
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
|
126 |
+AM_V_CC = $(am__v_CC_@AM_V@) |
|
127 |
+am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) |
|
128 |
+am__v_CC_0 = @echo " CC " $@; |
|
129 |
+am__v_CC_1 = |
|
130 |
+CCLD = $(CC) |
|
131 |
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
|
132 |
+AM_V_CCLD = $(am__v_CCLD_@AM_V@) |
|
133 |
+am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) |
|
134 |
+am__v_CCLD_0 = @echo " CCLD " $@; |
|
135 |
+am__v_CCLD_1 = |
|
136 |
+SOURCES = $(hello_SOURCES) |
|
137 |
+DIST_SOURCES = $(hello_SOURCES) |
|
138 |
+am__can_run_installinfo = \ |
|
139 |
+ case $$AM_UPDATE_INFO_DIR in \ |
|
140 |
+ n|no|NO) false;; \ |
|
141 |
+ *) (install-info --version) >/dev/null 2>&1;; \ |
|
142 |
+ esac |
|
143 |
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ |
|
144 |
+ $(LISP)config.h.in |
|
145 |
+# Read a list of newline-separated strings from the standard input, |
|
146 |
+# and print each of them once, without duplicates. Input order is |
|
147 |
+# *not* preserved. |
|
148 |
+am__uniquify_input = $(AWK) '\ |
|
149 |
+ BEGIN { nonempty = 0; } \ |
|
150 |
+ { items[$$0] = 1; nonempty = 1; } \ |
|
151 |
+ END { if (nonempty) { for (i in items) print i; }; } \ |
|
152 |
+' |
|
153 |
+# Make sure the list of sources is unique. This is necessary because, |
|
154 |
+# e.g., the same source file might be shared among _SOURCES variables |
|
155 |
+# for different programs/libraries. |
|
156 |
+am__define_uniq_tagged_files = \ |
|
157 |
+ list='$(am__tagged_files)'; \ |
|
158 |
+ unique=`for i in $$list; do \ |
|
159 |
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
|
160 |
+ done | $(am__uniquify_input)` |
|
161 |
+ETAGS = etags |
|
162 |
+CTAGS = ctags |
|
163 |
+CSCOPE = cscope |
|
164 |
+AM_RECURSIVE_TARGETS = cscope |
|
165 |
+am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in AUTHORS \ |
|
166 |
+ COPYING ChangeLog INSTALL NEWS README compile depcomp \ |
|
167 |
+ install-sh missing |
|
168 |
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
|
169 |
+distdir = $(PACKAGE)-$(VERSION) |
|
170 |
+top_distdir = $(distdir) |
|
171 |
+am__remove_distdir = \ |
|
172 |
+ if test -d "$(distdir)"; then \ |
|
173 |
+ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ |
|
174 |
+ && rm -rf "$(distdir)" \ |
|
175 |
+ || { sleep 5 && rm -rf "$(distdir)"; }; \ |
|
176 |
+ else :; fi |
|
177 |
+am__post_remove_distdir = $(am__remove_distdir) |
|
178 |
+DIST_ARCHIVES = $(distdir).tar.gz |
|
179 |
+GZIP_ENV = --best |
|
180 |
+DIST_TARGETS = dist-gzip |
|
181 |
+distuninstallcheck_listfiles = find . -type f -print |
|
182 |
+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ |
|
183 |
+ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' |
|
184 |
+distcleancheck_listfiles = find . -type f -print |
|
185 |
+ACLOCAL = @ACLOCAL@ |
|
186 |
+AMTAR = @AMTAR@ |
|
187 |
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
|
188 |
+AUTOCONF = @AUTOCONF@ |
|
189 |
+AUTOHEADER = @AUTOHEADER@ |
|
190 |
+AUTOMAKE = @AUTOMAKE@ |
|
191 |
+AWK = @AWK@ |
|
192 |
+CC = @CC@ |
|
193 |
+CCDEPMODE = @CCDEPMODE@ |
|
194 |
+CFLAGS = @CFLAGS@ |
|
195 |
+CPP = @CPP@ |
|
196 |
+CPPFLAGS = @CPPFLAGS@ |
|
197 |
+CYGPATH_W = @CYGPATH_W@ |
|
198 |
+DEFS = @DEFS@ |
|
199 |
+DEPDIR = @DEPDIR@ |
|
200 |
+ECHO_C = @ECHO_C@ |
|
201 |
+ECHO_N = @ECHO_N@ |
|
202 |
+ECHO_T = @ECHO_T@ |
|
203 |
+EGREP = @EGREP@ |
|
204 |
+EXEEXT = @EXEEXT@ |
|
205 |
+GREP = @GREP@ |
|
206 |
+INSTALL = @INSTALL@ |
|
207 |
+INSTALL_DATA = @INSTALL_DATA@ |
|
208 |
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|
209 |
+INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
|
210 |
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
|
211 |
+LDFLAGS = @LDFLAGS@ |
|
212 |
+LIBOBJS = @LIBOBJS@ |
|
213 |
+LIBS = @LIBS@ |
|
214 |
+LTLIBOBJS = @LTLIBOBJS@ |
|
215 |
+MAKEINFO = @MAKEINFO@ |
|
216 |
+MKDIR_P = @MKDIR_P@ |
|
217 |
+OBJEXT = @OBJEXT@ |
|
218 |
+PACKAGE = @PACKAGE@ |
|
219 |
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
|
220 |
+PACKAGE_NAME = @PACKAGE_NAME@ |
|
221 |
+PACKAGE_STRING = @PACKAGE_STRING@ |
|
222 |
+PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
|
223 |
+PACKAGE_URL = @PACKAGE_URL@ |
|
224 |
+PACKAGE_VERSION = @PACKAGE_VERSION@ |
|
225 |
+PATH_SEPARATOR = @PATH_SEPARATOR@ |
|
226 |
+SET_MAKE = @SET_MAKE@ |
|
227 |
+SHELL = @SHELL@ |
|
228 |
+STRIP = @STRIP@ |
|
229 |
+VERSION = @VERSION@ |
|
230 |
+abs_builddir = @abs_builddir@ |
|
231 |
+abs_srcdir = @abs_srcdir@ |
|
232 |
+abs_top_builddir = @abs_top_builddir@ |
|
233 |
+abs_top_srcdir = @abs_top_srcdir@ |
|
234 |
+ac_ct_CC = @ac_ct_CC@ |
|
235 |
+am__include = @am__include@ |
|
236 |
+am__leading_dot = @am__leading_dot@ |
|
237 |
+am__quote = @am__quote@ |
|
238 |
+am__tar = @am__tar@ |
|
239 |
+am__untar = @am__untar@ |
|
240 |
+bindir = @bindir@ |
|
241 |
+build_alias = @build_alias@ |
|
242 |
+builddir = @builddir@ |
|
243 |
+datadir = @datadir@ |
|
244 |
+datarootdir = @datarootdir@ |
|
245 |
+docdir = @docdir@ |
|
246 |
+dvidir = @dvidir@ |
|
247 |
+exec_prefix = @exec_prefix@ |
|
248 |
+host_alias = @host_alias@ |
|
249 |
+htmldir = @htmldir@ |
|
250 |
+includedir = @includedir@ |
|
251 |
+infodir = @infodir@ |
|
252 |
+install_sh = @install_sh@ |
|
253 |
+libdir = @libdir@ |
|
254 |
+libexecdir = @libexecdir@ |
|
255 |
+localedir = @localedir@ |
|
256 |
+localstatedir = @localstatedir@ |
|
257 |
+mandir = @mandir@ |
|
258 |
+mkdir_p = @mkdir_p@ |
|
259 |
+oldincludedir = @oldincludedir@ |
|
260 |
+pdfdir = @pdfdir@ |
|
261 |
+prefix = @prefix@ |
|
262 |
+program_transform_name = @program_transform_name@ |
|
263 |
+psdir = @psdir@ |
|
264 |
+sbindir = @sbindir@ |
|
265 |
+sharedstatedir = @sharedstatedir@ |
|
266 |
+srcdir = @srcdir@ |
|
267 |
+sysconfdir = @sysconfdir@ |
|
268 |
+target_alias = @target_alias@ |
|
269 |
+top_build_prefix = @top_build_prefix@ |
|
270 |
+top_builddir = @top_builddir@ |
|
271 |
+top_srcdir = @top_srcdir@ |
|
272 |
+hello_SOURCES = hello.c |
|
273 |
+all: config.h |
|
274 |
+ $(MAKE) $(AM_MAKEFLAGS) all-am |
|
275 |
+ |
|
276 |
+.SUFFIXES: |
|
277 |
+.SUFFIXES: .c .o .obj |
|
278 |
+am--refresh: Makefile |
|
279 |
+ @: |
|
280 |
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
|
281 |
+ @for dep in $?; do \ |
|
282 |
+ case '$(am__configure_deps)' in \ |
|
283 |
+ *$$dep*) \ |
|
284 |
+ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ |
|
285 |
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ |
|
286 |
+ && exit 0; \ |
|
287 |
+ exit 1;; \ |
|
288 |
+ esac; \ |
|
289 |
+ done; \ |
|
290 |
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ |
|
291 |
+ $(am__cd) $(top_srcdir) && \ |
|
292 |
+ $(AUTOMAKE) --gnu Makefile |
|
293 |
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
|
294 |
+ @case '$?' in \ |
|
295 |
+ *config.status*) \ |
|
296 |
+ echo ' $(SHELL) ./config.status'; \ |
|
297 |
+ $(SHELL) ./config.status;; \ |
|
298 |
+ *) \ |
|
299 |
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ |
|
300 |
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ |
|
301 |
+ esac; |
|
302 |
+ |
|
303 |
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
|
304 |
+ $(SHELL) ./config.status --recheck |
|
305 |
+ |
|
306 |
+$(top_srcdir)/configure: $(am__configure_deps) |
|
307 |
+ $(am__cd) $(srcdir) && $(AUTOCONF) |
|
308 |
+$(ACLOCAL_M4): $(am__aclocal_m4_deps) |
|
309 |
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
|
310 |
+$(am__aclocal_m4_deps): |
|
311 |
+ |
|
312 |
+config.h: stamp-h1 |
|
313 |
+ @test -f $@ || rm -f stamp-h1 |
|
314 |
+ @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 |
|
315 |
+ |
|
316 |
+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
|
317 |
+ @rm -f stamp-h1 |
|
318 |
+ cd $(top_builddir) && $(SHELL) ./config.status config.h |
|
319 |
+$(srcdir)/config.h.in: $(am__configure_deps) |
|
320 |
+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) |
|
321 |
+ rm -f stamp-h1 |
|
322 |
+ touch $@ |
|
323 |
+ |
|
324 |
+distclean-hdr: |
|
325 |
+ -rm -f config.h stamp-h1 |
|
326 |
+install-binPROGRAMS: $(bin_PROGRAMS) |
|
327 |
+ @$(NORMAL_INSTALL) |
|
328 |
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ |
|
329 |
+ if test -n "$$list"; then \ |
|
330 |
+ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ |
|
331 |
+ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ |
|
332 |
+ fi; \ |
|
333 |
+ for p in $$list; do echo "$$p $$p"; done | \ |
|
334 |
+ sed 's/$(EXEEXT)$$//' | \ |
|
335 |
+ while read p p1; do if test -f $$p \ |
|
336 |
+ ; then echo "$$p"; echo "$$p"; else :; fi; \ |
|
337 |
+ done | \ |
|
338 |
+ sed -e 'p;s,.*/,,;n;h' \ |
|
339 |
+ -e 's|.*|.|' \ |
|
340 |
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ |
|
341 |
+ sed 'N;N;N;s,\n, ,g' | \ |
|
342 |
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ |
|
343 |
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ |
|
344 |
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \ |
|
345 |
+ else { print "f", $$3 "/" $$4, $$1; } } \ |
|
346 |
+ END { for (d in files) print "f", d, files[d] }' | \ |
|
347 |
+ while read type dir files; do \ |
|
348 |
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ |
|
349 |
+ test -z "$$files" || { \ |
|
350 |
+ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ |
|
351 |
+ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ |
|
352 |
+ } \ |
|
353 |
+ ; done |
|
354 |
+ |
|
355 |
+uninstall-binPROGRAMS: |
|
356 |
+ @$(NORMAL_UNINSTALL) |
|
357 |
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ |
|
358 |
+ files=`for p in $$list; do echo "$$p"; done | \ |
|
359 |
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ |
|
360 |
+ -e 's/$$/$(EXEEXT)/' \ |
|
361 |
+ `; \ |
|
362 |
+ test -n "$$list" || exit 0; \ |
|
363 |
+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ |
|
364 |
+ cd "$(DESTDIR)$(bindir)" && rm -f $$files |
|
365 |
+ |
|
366 |
+clean-binPROGRAMS: |
|
367 |
+ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) |
|
368 |
+ |
|
369 |
+hello$(EXEEXT): $(hello_OBJECTS) $(hello_DEPENDENCIES) $(EXTRA_hello_DEPENDENCIES) |
|
370 |
+ @rm -f hello$(EXEEXT) |
|
371 |
+ $(AM_V_CCLD)$(LINK) $(hello_OBJECTS) $(hello_LDADD) $(LIBS) |
|
372 |
+ |
|
373 |
+mostlyclean-compile: |
|
374 |
+ -rm -f *.$(OBJEXT) |
|
375 |
+ |
|
376 |
+distclean-compile: |
|
377 |
+ -rm -f *.tab.c |
|
378 |
+ |
|
379 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hello.Po@am__quote@ |
|
380 |
+ |
|
381 |
+.c.o: |
|
382 |
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
|
383 |
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
|
384 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
|
385 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
|
386 |
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< |
|
387 |
+ |
|
388 |
+.c.obj: |
|
389 |
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` |
|
390 |
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
|
391 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
|
392 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
|
393 |
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` |
|
394 |
+ |
|
395 |
+ID: $(am__tagged_files) |
|
396 |
+ $(am__define_uniq_tagged_files); mkid -fID $$unique |
|
397 |
+tags: tags-am |
|
398 |
+TAGS: tags |
|
399 |
+ |
|
400 |
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
|
401 |
+ set x; \ |
|
402 |
+ here=`pwd`; \ |
|
403 |
+ $(am__define_uniq_tagged_files); \ |
|
404 |
+ shift; \ |
|
405 |
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
|
406 |
+ test -n "$$unique" || unique=$$empty_fix; \ |
|
407 |
+ if test $$# -gt 0; then \ |
|
408 |
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
|
409 |
+ "$$@" $$unique; \ |
|
410 |
+ else \ |
|
411 |
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
|
412 |
+ $$unique; \ |
|
413 |
+ fi; \ |
|
414 |
+ fi |
|
415 |
+ctags: ctags-am |
|
416 |
+ |
|
417 |
+CTAGS: ctags |
|
418 |
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
|
419 |
+ $(am__define_uniq_tagged_files); \ |
|
420 |
+ test -z "$(CTAGS_ARGS)$$unique" \ |
|
421 |
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
|
422 |
+ $$unique |
|
423 |
+ |
|
424 |
+GTAGS: |
|
425 |
+ here=`$(am__cd) $(top_builddir) && pwd` \ |
|
426 |
+ && $(am__cd) $(top_srcdir) \ |
|
427 |
+ && gtags -i $(GTAGS_ARGS) "$$here" |
|
428 |
+cscope: cscope.files |
|
429 |
+ test ! -s cscope.files \ |
|
430 |
+ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) |
|
431 |
+clean-cscope: |
|
432 |
+ -rm -f cscope.files |
|
433 |
+cscope.files: clean-cscope cscopelist |
|
434 |
+cscopelist: cscopelist-am |
|
435 |
+ |
|
436 |
+cscopelist-am: $(am__tagged_files) |
|
437 |
+ list='$(am__tagged_files)'; \ |
|
438 |
+ case "$(srcdir)" in \ |
|
439 |
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ |
|
440 |
+ *) sdir=$(subdir)/$(srcdir) ;; \ |
|
441 |
+ esac; \ |
|
442 |
+ for i in $$list; do \ |
|
443 |
+ if test -f "$$i"; then \ |
|
444 |
+ echo "$(subdir)/$$i"; \ |
|
445 |
+ else \ |
|
446 |
+ echo "$$sdir/$$i"; \ |
|
447 |
+ fi; \ |
|
448 |
+ done >> $(top_builddir)/cscope.files |
|
449 |
+ |
|
450 |
+distclean-tags: |
|
451 |
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
|
452 |
+ -rm -f cscope.out cscope.in.out cscope.po.out cscope.files |
|
453 |
+ |
|
454 |
+distdir: $(DISTFILES) |
|
455 |
+ $(am__remove_distdir) |
|
456 |
+ test -d "$(distdir)" || mkdir "$(distdir)" |
|
457 |
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
|
458 |
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
|
459 |
+ list='$(DISTFILES)'; \ |
|
460 |
+ dist_files=`for file in $$list; do echo $$file; done | \ |
|
461 |
+ sed -e "s|^$$srcdirstrip/||;t" \ |
|
462 |
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
|
463 |
+ case $$dist_files in \ |
|
464 |
+ */*) $(MKDIR_P) `echo "$$dist_files" | \ |
|
465 |
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
|
466 |
+ sort -u` ;; \ |
|
467 |
+ esac; \ |
|
468 |
+ for file in $$dist_files; do \ |
|
469 |
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
|
470 |
+ if test -d $$d/$$file; then \ |
|
471 |
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
|
472 |
+ if test -d "$(distdir)/$$file"; then \ |
|
473 |
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
|
474 |
+ fi; \ |
|
475 |
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
|
476 |
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
|
477 |
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
|
478 |
+ fi; \ |
|
479 |
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
|
480 |
+ else \ |
|
481 |
+ test -f "$(distdir)/$$file" \ |
|
482 |
+ || cp -p $$d/$$file "$(distdir)/$$file" \ |
|
483 |
+ || exit 1; \ |
|
484 |
+ fi; \ |
|
485 |
+ done |
|
486 |
+ -test -n "$(am__skip_mode_fix)" \ |
|
487 |
+ || find "$(distdir)" -type d ! -perm -755 \ |
|
488 |
+ -exec chmod u+rwx,go+rx {} \; -o \ |
|
489 |
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
|
490 |
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
|
491 |
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
|
492 |
+ || chmod -R a+r "$(distdir)" |
|
493 |
+dist-gzip: distdir |
|
494 |
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
|
495 |
+ $(am__post_remove_distdir) |
|
496 |
+ |
|
497 |
+dist-bzip2: distdir |
|
498 |
+ tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 |
|
499 |
+ $(am__post_remove_distdir) |
|
500 |
+ |
|
501 |
+dist-lzip: distdir |
|
502 |
+ tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz |
|
503 |
+ $(am__post_remove_distdir) |
|
504 |
+ |
|
505 |
+dist-xz: distdir |
|
506 |
+ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz |
|
507 |
+ $(am__post_remove_distdir) |
|
508 |
+ |
|
509 |
+dist-tarZ: distdir |
|
510 |
+ @echo WARNING: "Support for distribution archives compressed with" \ |
|
511 |
+ "legacy program 'compress' is deprecated." >&2 |
|
512 |
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 |
|
513 |
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
|
514 |
+ $(am__post_remove_distdir) |
|
515 |
+ |
|
516 |
+dist-shar: distdir |
|
517 |
+ @echo WARNING: "Support for shar distribution archives is" \ |
|
518 |
+ "deprecated." >&2 |
|
519 |
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 |
|
520 |
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
|
521 |
+ $(am__post_remove_distdir) |
|
522 |
+ |
|
523 |
+dist-zip: distdir |
|
524 |
+ -rm -f $(distdir).zip |
|
525 |
+ zip -rq $(distdir).zip $(distdir) |
|
526 |
+ $(am__post_remove_distdir) |
|
527 |
+ |
|
528 |
+dist dist-all: |
|
529 |
+ $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' |
|
530 |
+ $(am__post_remove_distdir) |
|
531 |
+ |
|
532 |
+# This target untars the dist file and tries a VPATH configuration. Then |
|
533 |
+# it guarantees that the distribution is self-contained by making another |
|
534 |
+# tarfile. |
|
535 |
+distcheck: dist |
|
536 |
+ case '$(DIST_ARCHIVES)' in \ |
|
537 |
+ *.tar.gz*) \ |
|
538 |
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
|
539 |
+ *.tar.bz2*) \ |
|
540 |
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
|
541 |
+ *.tar.lz*) \ |
|
542 |
+ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ |
|
543 |
+ *.tar.xz*) \ |
|
544 |
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
|
545 |
+ *.tar.Z*) \ |
|
546 |
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
|
547 |
+ *.shar.gz*) \ |
|
548 |
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ |
|
549 |
+ *.zip*) \ |
|
550 |
+ unzip $(distdir).zip ;;\ |
|
551 |
+ esac |
|
552 |
+ chmod -R a-w $(distdir) |
|
553 |
+ chmod u+w $(distdir) |
|
554 |
+ mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst |
|
555 |
+ chmod a-w $(distdir) |
|
556 |
+ test -d $(distdir)/_build || exit 0; \ |
|
557 |
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
|
558 |
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
|
559 |
+ && am__cwd=`pwd` \ |
|
560 |
+ && $(am__cd) $(distdir)/_build/sub \ |
|
561 |
+ && ../../configure \ |
|
562 |
+ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ |
|
563 |
+ $(DISTCHECK_CONFIGURE_FLAGS) \ |
|
564 |
+ --srcdir=../.. --prefix="$$dc_install_base" \ |
|
565 |
+ && $(MAKE) $(AM_MAKEFLAGS) \ |
|
566 |
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
|
567 |
+ && $(MAKE) $(AM_MAKEFLAGS) check \ |
|
568 |
+ && $(MAKE) $(AM_MAKEFLAGS) install \ |
|
569 |
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
|
570 |
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ |
|
571 |
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ |
|
572 |
+ distuninstallcheck \ |
|
573 |
+ && chmod -R a-w "$$dc_install_base" \ |
|
574 |
+ && ({ \ |
|
575 |
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ |
|
576 |
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ |
|
577 |
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ |
|
578 |
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ |
|
579 |
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ |
|
580 |
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \ |
|
581 |
+ && rm -rf "$$dc_destdir" \ |
|
582 |
+ && $(MAKE) $(AM_MAKEFLAGS) dist \ |
|
583 |
+ && rm -rf $(DIST_ARCHIVES) \ |
|
584 |
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
|
585 |
+ && cd "$$am__cwd" \ |
|
586 |
+ || exit 1 |
|
587 |
+ $(am__post_remove_distdir) |
|
588 |
+ @(echo "$(distdir) archives ready for distribution: "; \ |
|
589 |
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
|
590 |
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
|
591 |
+distuninstallcheck: |
|
592 |
+ @test -n '$(distuninstallcheck_dir)' || { \ |
|
593 |
+ echo 'ERROR: trying to run $@ with an empty' \ |
|
594 |
+ '$$(distuninstallcheck_dir)' >&2; \ |
|
595 |
+ exit 1; \ |
|
596 |
+ }; \ |
|
597 |
+ $(am__cd) '$(distuninstallcheck_dir)' || { \ |
|
598 |
+ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ |
|
599 |
+ exit 1; \ |
|
600 |
+ }; \ |
|
601 |
+ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ |
|
602 |
+ || { echo "ERROR: files left after uninstall:" ; \ |
|
603 |
+ if test -n "$(DESTDIR)"; then \ |
|
604 |
+ echo " (check DESTDIR support)"; \ |
|
605 |
+ fi ; \ |
|
606 |
+ $(distuninstallcheck_listfiles) ; \ |
|
607 |
+ exit 1; } >&2 |
|
608 |
+distcleancheck: distclean |
|
609 |
+ @if test '$(srcdir)' = . ; then \ |
|
610 |
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ |
|
611 |
+ exit 1 ; \ |
|
612 |
+ fi |
|
613 |
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ |
|
614 |
+ || { echo "ERROR: files left in build directory after distclean:" ; \ |
|
615 |
+ $(distcleancheck_listfiles) ; \ |
|
616 |
+ exit 1; } >&2 |
|
617 |
+check-am: all-am |
|
618 |
+check: check-am |
|
619 |
+all-am: Makefile $(PROGRAMS) config.h |
|
620 |
+installdirs: |
|
621 |
+ for dir in "$(DESTDIR)$(bindir)"; do \ |
|
622 |
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
|
623 |
+ done |
|
624 |
+install: install-am |
|
625 |
+install-exec: install-exec-am |
|
626 |
+install-data: install-data-am |
|
627 |
+uninstall: uninstall-am |
|
628 |
+ |
|
629 |
+install-am: all-am |
|
630 |
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
|
631 |
+ |
|
632 |
+installcheck: installcheck-am |
|
633 |
+install-strip: |
|
634 |
+ if test -z '$(STRIP)'; then \ |
|
635 |
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
|
636 |
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
|
637 |
+ install; \ |
|
638 |
+ else \ |
|
639 |
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
|
640 |
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
|
641 |
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ |
|
642 |
+ fi |
|
643 |
+mostlyclean-generic: |
|
644 |
+ |
|
645 |
+clean-generic: |
|
646 |
+ |
|
647 |
+distclean-generic: |
|
648 |
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
|
649 |
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
|
650 |
+ |
|
651 |
+maintainer-clean-generic: |
|
652 |
+ @echo "This command is intended for maintainers to use" |
|
653 |
+ @echo "it deletes files that may require special tools to rebuild." |
|
654 |
+clean: clean-am |
|
655 |
+ |
|
656 |
+clean-am: clean-binPROGRAMS clean-generic mostlyclean-am |
|
657 |
+ |
|
658 |
+distclean: distclean-am |
|
659 |
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
|
660 |
+ -rm -rf ./$(DEPDIR) |
|
661 |
+ -rm -f Makefile |
|
662 |
+distclean-am: clean-am distclean-compile distclean-generic \ |
|
663 |
+ distclean-hdr distclean-tags |
|
664 |
+ |
|
665 |
+dvi: dvi-am |
|
666 |
+ |
|
667 |
+dvi-am: |
|
668 |
+ |
|
669 |
+html: html-am |
|
670 |
+ |
|
671 |
+html-am: |
|
672 |
+ |
|
673 |
+info: info-am |
|
674 |
+ |
|
675 |
+info-am: |
|
676 |
+ |
|
677 |
+install-data-am: |
|
678 |
+ |
|
679 |
+install-dvi: install-dvi-am |
|
680 |
+ |
|
681 |
+install-dvi-am: |
|
682 |
+ |
|
683 |
+install-exec-am: install-binPROGRAMS |
|
684 |
+ |
|
685 |
+install-html: install-html-am |
|
686 |
+ |
|
687 |
+install-html-am: |
|
688 |
+ |
|
689 |
+install-info: install-info-am |
|
690 |
+ |
|
691 |
+install-info-am: |
|
692 |
+ |
|
693 |
+install-man: |
|
694 |
+ |
|
695 |
+install-pdf: install-pdf-am |
|
696 |
+ |
|
697 |
+install-pdf-am: |
|
698 |
+ |
|
699 |
+install-ps: install-ps-am |
|
700 |
+ |
|
701 |
+install-ps-am: |
|
702 |
+ |
|
703 |
+installcheck-am: |
|
704 |
+ |
|
705 |
+maintainer-clean: maintainer-clean-am |
|
706 |
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
|
707 |
+ -rm -rf $(top_srcdir)/autom4te.cache |
|
708 |
+ -rm -rf ./$(DEPDIR) |
|
709 |
+ -rm -f Makefile |
|
710 |
+maintainer-clean-am: distclean-am maintainer-clean-generic |
|
711 |
+ |
|
712 |
+mostlyclean: mostlyclean-am |
|
713 |
+ |
|
714 |
+mostlyclean-am: mostlyclean-compile mostlyclean-generic |
|
715 |
+ |
|
716 |
+pdf: pdf-am |
|
717 |
+ |
|
718 |
+pdf-am: |
|
719 |
+ |
|
720 |
+ps: ps-am |
|
721 |
+ |
|
722 |
+ps-am: |
|
723 |
+ |
|
724 |
+uninstall-am: uninstall-binPROGRAMS |
|
725 |
+ |
|
726 |
+.MAKE: all install-am install-strip |
|
727 |
+ |
|
728 |
+.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am clean \ |
|
729 |
+ clean-binPROGRAMS clean-cscope clean-generic cscope \ |
|
730 |
+ cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ |
|
731 |
+ dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ |
|
732 |
+ distcheck distclean distclean-compile distclean-generic \ |
|
733 |
+ distclean-hdr distclean-tags distcleancheck distdir \ |
|
734 |
+ distuninstallcheck dvi dvi-am html html-am info info-am \ |
|
735 |
+ install install-am install-binPROGRAMS install-data \ |
|
736 |
+ install-data-am install-dvi install-dvi-am install-exec \ |
|
737 |
+ install-exec-am install-html install-html-am install-info \ |
|
738 |
+ install-info-am install-man install-pdf install-pdf-am \ |
|
739 |
+ install-ps install-ps-am install-strip installcheck \ |
|
740 |
+ installcheck-am installdirs maintainer-clean \ |
|
741 |
+ maintainer-clean-generic mostlyclean mostlyclean-compile \ |
|
742 |
+ mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ |
|
743 |
+ uninstall-am uninstall-binPROGRAMS |
|
744 |
+ |
|
745 |
+.PRECIOUS: Makefile |
|
746 |
+ |
|
747 |
+ |
|
748 |
+# Tell versions [3.59,3.63) of GNU make to not export all variables. |
|
749 |
+# Otherwise a system limit (for SysV at least) may be exceeded. |
|
750 |
+.NOEXPORT: |
8 | 753 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,1152 @@ |
1 |
+# generated automatically by aclocal 1.15 -*- Autoconf -*- |
|
2 |
+ |
|
3 |
+# Copyright (C) 1996-2014 Free Software Foundation, Inc. |
|
4 |
+ |
|
5 |
+# This file is free software; the Free Software Foundation |
|
6 |
+# gives unlimited permission to copy and/or distribute it, |
|
7 |
+# with or without modifications, as long as this notice is preserved. |
|
8 |
+ |
|
9 |
+# This program is distributed in the hope that it will be useful, |
|
10 |
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
|
11 |
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
|
12 |
+# PARTICULAR PURPOSE. |
|
13 |
+ |
|
14 |
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) |
|
15 |
+m4_ifndef([AC_AUTOCONF_VERSION], |
|
16 |
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
|
17 |
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, |
|
18 |
+[m4_warning([this file was generated for autoconf 2.69. |
|
19 |
+You have another version of autoconf. It may work, but is not guaranteed to. |
|
20 |
+If you have problems, you may need to regenerate the build system entirely. |
|
21 |
+To do so, use the procedure documented by the package, typically 'autoreconf'.])]) |
|
22 |
+ |
|
23 |
+# Copyright (C) 2002-2014 Free Software Foundation, Inc. |
|
24 |
+# |
|
25 |
+# This file is free software; the Free Software Foundation |
|
26 |
+# gives unlimited permission to copy and/or distribute it, |
|
27 |
+# with or without modifications, as long as this notice is preserved. |
|
28 |
+ |
|
29 |
+# AM_AUTOMAKE_VERSION(VERSION) |
|
30 |
+# ---------------------------- |
|
31 |
+# Automake X.Y traces this macro to ensure aclocal.m4 has been |
|
32 |
+# generated from the m4 files accompanying Automake X.Y. |
|
33 |
+# (This private macro should not be called outside this file.) |
|
34 |
+AC_DEFUN([AM_AUTOMAKE_VERSION], |
|
35 |
+[am__api_version='1.15' |
|
36 |
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
|
37 |
+dnl require some minimum version. Point them to the right macro. |
|
38 |
+m4_if([$1], [1.15], [], |
|
39 |
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
|
40 |
+]) |
|
41 |
+ |
|
42 |
+# _AM_AUTOCONF_VERSION(VERSION) |
|
43 |
+# ----------------------------- |
|
44 |
+# aclocal traces this macro to find the Autoconf version. |
|
45 |
+# This is a private macro too. Using m4_define simplifies |
|
46 |
+# the logic in aclocal, which can simply ignore this definition. |
|
47 |
+m4_define([_AM_AUTOCONF_VERSION], []) |
|
48 |
+ |
|
49 |
+# AM_SET_CURRENT_AUTOMAKE_VERSION |
|
50 |
+# ------------------------------- |
|
51 |
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
|
52 |
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
|
53 |
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
|
54 |
+[AM_AUTOMAKE_VERSION([1.15])dnl |
|
55 |
+m4_ifndef([AC_AUTOCONF_VERSION], |
|
56 |
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
|
57 |
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
|
58 |
+ |
|
59 |
+# AM_AUX_DIR_EXPAND -*- Autoconf -*- |
|
60 |
+ |
|
61 |
+# Copyright (C) 2001-2014 Free Software Foundation, Inc. |
|
62 |
+# |
|
63 |
+# This file is free software; the Free Software Foundation |
|
64 |
+# gives unlimited permission to copy and/or distribute it, |
|
65 |
+# with or without modifications, as long as this notice is preserved. |
|
66 |
+ |
|
67 |
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
|
68 |
+# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to |
|
69 |
+# '$srcdir', '$srcdir/..', or '$srcdir/../..'. |
|
70 |
+# |
|
71 |
+# Of course, Automake must honor this variable whenever it calls a |
|
72 |
+# tool from the auxiliary directory. The problem is that $srcdir (and |
|
73 |
+# therefore $ac_aux_dir as well) can be either absolute or relative, |
|
74 |
+# depending on how configure is run. This is pretty annoying, since |
|
75 |
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top |
|
76 |
+# source directory, any form will work fine, but in subdirectories a |
|
77 |
+# relative path needs to be adjusted first. |
|
78 |
+# |
|
79 |
+# $ac_aux_dir/missing |
|
80 |
+# fails when called from a subdirectory if $ac_aux_dir is relative |
|
81 |
+# $top_srcdir/$ac_aux_dir/missing |
|
82 |
+# fails if $ac_aux_dir is absolute, |
|
83 |
+# fails when called from a subdirectory in a VPATH build with |
|
84 |
+# a relative $ac_aux_dir |
|
85 |
+# |
|
86 |
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
|
87 |
+# are both prefixed by $srcdir. In an in-source build this is usually |
|
88 |
+# harmless because $srcdir is '.', but things will broke when you |
|
89 |
+# start a VPATH build or use an absolute $srcdir. |
|
90 |
+# |
|
91 |
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
|
92 |
+# iff we strip the leading $srcdir from $ac_aux_dir. That would be: |
|
93 |
+# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` |
|
94 |
+# and then we would define $MISSING as |
|
95 |
+# MISSING="\${SHELL} $am_aux_dir/missing" |
|
96 |
+# This will work as long as MISSING is not called from configure, because |
|
97 |
+# unfortunately $(top_srcdir) has no meaning in configure. |
|
98 |
+# However there are other variables, like CC, which are often used in |
|
99 |
+# configure, and could therefore not use this "fixed" $ac_aux_dir. |
|
100 |
+# |
|
101 |
+# Another solution, used here, is to always expand $ac_aux_dir to an |
|
102 |
+# absolute PATH. The drawback is that using absolute paths prevent a |
|
103 |
+# configured tree to be moved without reconfiguration. |
|
104 |
+ |
|
105 |
+AC_DEFUN([AM_AUX_DIR_EXPAND], |
|
106 |
+[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl |
|
107 |
+# Expand $ac_aux_dir to an absolute path. |
|
108 |
+am_aux_dir=`cd "$ac_aux_dir" && pwd` |
|
109 |
+]) |
|
110 |
+ |
|
111 |
+# AM_CONDITIONAL -*- Autoconf -*- |
|
112 |
+ |
|
113 |
+# Copyright (C) 1997-2014 Free Software Foundation, Inc. |
|
114 |
+# |
|
115 |
+# This file is free software; the Free Software Foundation |
|
116 |
+# gives unlimited permission to copy and/or distribute it, |
|
117 |
+# with or without modifications, as long as this notice is preserved. |
|
118 |
+ |
|
119 |
+# AM_CONDITIONAL(NAME, SHELL-CONDITION) |
|
120 |
+# ------------------------------------- |
|
121 |
+# Define a conditional. |
|
122 |
+AC_DEFUN([AM_CONDITIONAL], |
|
123 |
+[AC_PREREQ([2.52])dnl |
|
124 |
+ m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], |
|
125 |
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |
|
126 |
+AC_SUBST([$1_TRUE])dnl |
|
127 |
+AC_SUBST([$1_FALSE])dnl |
|
128 |
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl |
|
129 |
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl |
|
130 |
+m4_define([_AM_COND_VALUE_$1], [$2])dnl |
|
131 |
+if $2; then |
|
132 |
+ $1_TRUE= |
|
133 |
+ $1_FALSE='#' |
|
134 |
+else |
|
135 |
+ $1_TRUE='#' |
|
136 |
+ $1_FALSE= |
|
137 |
+fi |
|
138 |
+AC_CONFIG_COMMANDS_PRE( |
|
139 |
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
|
140 |
+ AC_MSG_ERROR([[conditional "$1" was never defined. |
|
141 |
+Usually this means the macro was only invoked conditionally.]]) |
|
142 |
+fi])]) |
|
143 |
+ |
|
144 |
+# Copyright (C) 1999-2014 Free Software Foundation, Inc. |
|
145 |
+# |
|
146 |
+# This file is free software; the Free Software Foundation |
|
147 |
+# gives unlimited permission to copy and/or distribute it, |
|
148 |
+# with or without modifications, as long as this notice is preserved. |
|
149 |
+ |
|
150 |
+ |
|
151 |
+# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be |
|
152 |
+# written in clear, in which case automake, when reading aclocal.m4, |
|
153 |
+# will think it sees a *use*, and therefore will trigger all it's |
|
154 |
+# C support machinery. Also note that it means that autoscan, seeing |
|
155 |
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use... |
|
156 |
+ |
|
157 |
+ |
|
158 |
+# _AM_DEPENDENCIES(NAME) |
|
159 |
+# ---------------------- |
|
160 |
+# See how the compiler implements dependency checking. |
|
161 |
+# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". |
|
162 |
+# We try a few techniques and use that to set a single cache variable. |
|
163 |
+# |
|
164 |
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
|
165 |
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular |
|
166 |
+# dependency, and given that the user is not expected to run this macro, |
|
167 |
+# just rely on AC_PROG_CC. |
|
168 |
+AC_DEFUN([_AM_DEPENDENCIES], |
|
169 |
+[AC_REQUIRE([AM_SET_DEPDIR])dnl |
|
170 |
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl |
|
171 |
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
|
172 |
+AC_REQUIRE([AM_DEP_TRACK])dnl |
|
173 |
+ |
|
174 |
+m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], |
|
175 |
+ [$1], [CXX], [depcc="$CXX" am_compiler_list=], |
|
176 |
+ [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], |
|
177 |
+ [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], |
|
178 |
+ [$1], [UPC], [depcc="$UPC" am_compiler_list=], |
|
179 |
+ [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], |
|
180 |
+ [depcc="$$1" am_compiler_list=]) |
|
181 |
+ |
|
182 |
+AC_CACHE_CHECK([dependency style of $depcc], |
|
183 |
+ [am_cv_$1_dependencies_compiler_type], |
|
184 |
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
185 |
+ # We make a subdir and do the tests there. Otherwise we can end up |
|
186 |
+ # making bogus files that we don't know about and never remove. For |
|
187 |
+ # instance it was reported that on HP-UX the gcc test will end up |
|
188 |
+ # making a dummy file named 'D' -- because '-MD' means "put the output |
|
189 |
+ # in D". |
|
190 |
+ rm -rf conftest.dir |
|
191 |
+ mkdir conftest.dir |
|
192 |
+ # Copy depcomp to subdir because otherwise we won't find it if we're |
|
193 |
+ # using a relative directory. |
|
194 |
+ cp "$am_depcomp" conftest.dir |
|
195 |
+ cd conftest.dir |
|
196 |
+ # We will build objects and dependencies in a subdirectory because |
|
197 |
+ # it helps to detect inapplicable dependency modes. For instance |
|
198 |
+ # both Tru64's cc and ICC support -MD to output dependencies as a |
|
199 |
+ # side effect of compilation, but ICC will put the dependencies in |
|
200 |
+ # the current directory while Tru64 will put them in the object |
|
201 |
+ # directory. |
|
202 |
+ mkdir sub |
|
203 |
+ |
|
204 |
+ am_cv_$1_dependencies_compiler_type=none |
|
205 |
+ if test "$am_compiler_list" = ""; then |
|
206 |
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` |
|
207 |
+ fi |
|
208 |
+ am__universal=false |
|
209 |
+ m4_case([$1], [CC], |
|
210 |
+ [case " $depcc " in #( |
|
211 |
+ *\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
212 |
+ esac], |
|
213 |
+ [CXX], |
|
214 |
+ [case " $depcc " in #( |
|
215 |
+ *\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
216 |
+ esac]) |
|
217 |
+ |
|
218 |
+ for depmode in $am_compiler_list; do |
|
219 |
+ # Setup a source with many dependencies, because some compilers |
|
220 |
+ # like to wrap large dependency lists on column 80 (with \), and |
|
221 |
+ # we should not choose a depcomp mode which is confused by this. |
|
222 |
+ # |
|
223 |
+ # We need to recreate these files for each test, as the compiler may |
|
224 |
+ # overwrite some of them when testing with obscure command lines. |
|
225 |
+ # This happens at least with the AIX C compiler. |
|
226 |
+ : > sub/conftest.c |
|
227 |
+ for i in 1 2 3 4 5 6; do |
|
228 |
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
229 |
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
|
230 |
+ # Solaris 10 /bin/sh. |
|
231 |
+ echo '/* dummy */' > sub/conftst$i.h |
|
232 |
+ done |
|
233 |
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
234 |
+ |
|
235 |
+ # We check with '-c' and '-o' for the sake of the "dashmstdout" |
|
236 |
+ # mode. It turns out that the SunPro C++ compiler does not properly |
|
237 |
+ # handle '-M -o', and we need to detect this. Also, some Intel |
|
238 |
+ # versions had trouble with output in subdirs. |
|
239 |
+ am__obj=sub/conftest.${OBJEXT-o} |
|
240 |
+ am__minus_obj="-o $am__obj" |
|
241 |
+ case $depmode in |
|
242 |
+ gcc) |
|
243 |
+ # This depmode causes a compiler race in universal mode. |
|
244 |
+ test "$am__universal" = false || continue |
|
245 |
+ ;; |
|
246 |
+ nosideeffect) |
|
247 |
+ # After this tag, mechanisms are not by side-effect, so they'll |
|
248 |
+ # only be used when explicitly requested. |
|
249 |
+ if test "x$enable_dependency_tracking" = xyes; then |
|
250 |
+ continue |
|
251 |
+ else |
|
252 |
+ break |
|
253 |
+ fi |
|
254 |
+ ;; |
|
255 |
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
|
256 |
+ # This compiler won't grok '-c -o', but also, the minuso test has |
|
257 |
+ # not run yet. These depmodes are late enough in the game, and |
|
258 |
+ # so weak that their functioning should not be impacted. |
|
259 |
+ am__obj=conftest.${OBJEXT-o} |
|
260 |
+ am__minus_obj= |
|
261 |
+ ;; |
|
262 |
+ none) break ;; |
|
263 |
+ esac |
|
264 |
+ if depmode=$depmode \ |
|
265 |
+ source=sub/conftest.c object=$am__obj \ |
|
266 |
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
267 |
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
|
268 |
+ >/dev/null 2>conftest.err && |
|
269 |
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
270 |
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
271 |
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
|
272 |
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
273 |
+ # icc doesn't choke on unknown options, it will just issue warnings |
|
274 |
+ # or remarks (even with -Werror). So we grep stderr for any message |
|
275 |
+ # that says an option was ignored or not supported. |
|
276 |
+ # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
277 |
+ # icc: Command line warning: ignoring option '-M'; no argument required |
|
278 |
+ # The diagnosis changed in icc 8.0: |
|
279 |
+ # icc: Command line remark: option '-MP' not supported |
|
280 |
+ if (grep 'ignoring option' conftest.err || |
|
281 |
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
282 |
+ am_cv_$1_dependencies_compiler_type=$depmode |
|
283 |
+ break |
|
284 |
+ fi |
|
285 |
+ fi |
|
286 |
+ done |
|
287 |
+ |
|
288 |
+ cd .. |
|
289 |
+ rm -rf conftest.dir |
|
290 |
+else |
|
291 |
+ am_cv_$1_dependencies_compiler_type=none |
|
292 |
+fi |
|
293 |
+]) |
|
294 |
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) |
|
295 |
+AM_CONDITIONAL([am__fastdep$1], [ |
|
296 |
+ test "x$enable_dependency_tracking" != xno \ |
|
297 |
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) |
|
298 |
+]) |
|
299 |
+ |
|
300 |
+ |
|
301 |
+# AM_SET_DEPDIR |
|
302 |
+# ------------- |
|
303 |
+# Choose a directory name for dependency files. |
|
304 |
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES. |
|
305 |
+AC_DEFUN([AM_SET_DEPDIR], |
|
306 |
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
|
307 |
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
|
308 |
+]) |
|
309 |
+ |
|
310 |
+ |
|
311 |
+# AM_DEP_TRACK |
|
312 |
+# ------------ |
|
313 |
+AC_DEFUN([AM_DEP_TRACK], |
|
314 |
+[AC_ARG_ENABLE([dependency-tracking], [dnl |
|
315 |
+AS_HELP_STRING( |
|
316 |
+ [--enable-dependency-tracking], |
|
317 |
+ [do not reject slow dependency extractors]) |
|
318 |
+AS_HELP_STRING( |
|
319 |
+ [--disable-dependency-tracking], |
|
320 |
+ [speeds up one-time build])]) |
|
321 |
+if test "x$enable_dependency_tracking" != xno; then |
|
322 |
+ am_depcomp="$ac_aux_dir/depcomp" |
|
323 |
+ AMDEPBACKSLASH='\' |
|
324 |
+ am__nodep='_no' |
|
325 |
+fi |
|
326 |
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
|
327 |
+AC_SUBST([AMDEPBACKSLASH])dnl |
|
328 |
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
|
329 |
+AC_SUBST([am__nodep])dnl |
|
330 |
+_AM_SUBST_NOTMAKE([am__nodep])dnl |
|
331 |
+]) |
|
332 |
+ |
|
333 |
+# Generate code to set up dependency tracking. -*- Autoconf -*- |
|
334 |
+ |
|
335 |
+# Copyright (C) 1999-2014 Free Software Foundation, Inc. |
|
336 |
+# |
|
337 |
+# This file is free software; the Free Software Foundation |
|
338 |
+# gives unlimited permission to copy and/or distribute it, |
|
339 |
+# with or without modifications, as long as this notice is preserved. |
|
340 |
+ |
|
341 |
+ |
|
342 |
+# _AM_OUTPUT_DEPENDENCY_COMMANDS |
|
343 |
+# ------------------------------ |
|
344 |
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
|
345 |
+[{ |
|
346 |
+ # Older Autoconf quotes --file arguments for eval, but not when files |
|
347 |
+ # are listed without --file. Let's play safe and only enable the eval |
|
348 |
+ # if we detect the quoting. |
|
349 |
+ case $CONFIG_FILES in |
|
350 |
+ *\'*) eval set x "$CONFIG_FILES" ;; |
|
351 |
+ *) set x $CONFIG_FILES ;; |
|
352 |
+ esac |
|
353 |
+ shift |
|
354 |
+ for mf |
|
355 |
+ do |
|
356 |
+ # Strip MF so we end up with the name of the file. |
|
357 |
+ mf=`echo "$mf" | sed -e 's/:.*$//'` |
|
358 |
+ # Check whether this is an Automake generated Makefile or not. |
|
359 |
+ # We used to match only the files named 'Makefile.in', but |
|
360 |
+ # some people rename them; so instead we look at the file content. |
|
361 |
+ # Grep'ing the first line is not enough: some people post-process |
|
362 |
+ # each Makefile.in and add a new line on top of each file to say so. |
|
363 |
+ # Grep'ing the whole file is not good either: AIX grep has a line |
|
364 |
+ # limit of 2048, but all sed's we know have understand at least 4000. |
|
365 |
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
|
366 |
+ dirpart=`AS_DIRNAME("$mf")` |
|
367 |
+ else |
|
368 |
+ continue |
|
369 |
+ fi |
|
370 |
+ # Extract the definition of DEPDIR, am__include, and am__quote |
|
371 |
+ # from the Makefile without running 'make'. |
|
372 |
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
|
373 |
+ test -z "$DEPDIR" && continue |
|
374 |
+ am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|
375 |
+ test -z "$am__include" && continue |
|
376 |
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
|
377 |
+ # Find all dependency output files, they are included files with |
|
378 |
+ # $(DEPDIR) in their names. We invoke sed twice because it is the |
|
379 |
+ # simplest approach to changing $(DEPDIR) to its actual value in the |
|
380 |
+ # expansion. |
|
381 |
+ for file in `sed -n " |
|
382 |
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
|
383 |
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
|
384 |
+ # Make sure the directory exists. |
|
385 |
+ test -f "$dirpart/$file" && continue |
|
386 |
+ fdir=`AS_DIRNAME(["$file"])` |
|
387 |
+ AS_MKDIR_P([$dirpart/$fdir]) |
|
388 |
+ # echo "creating $dirpart/$file" |
|
389 |
+ echo '# dummy' > "$dirpart/$file" |
|
390 |
+ done |
|
391 |
+ done |
|
392 |
+} |
|
393 |
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
|
394 |
+ |
|
395 |
+ |
|
396 |
+# AM_OUTPUT_DEPENDENCY_COMMANDS |
|
397 |
+# ----------------------------- |
|
398 |
+# This macro should only be invoked once -- use via AC_REQUIRE. |
|
399 |
+# |
|
400 |
+# This code is only required when automatic dependency tracking |
|
401 |
+# is enabled. FIXME. This creates each '.P' file that we will |
|
402 |
+# need in order to bootstrap the dependency handling code. |
|
403 |
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
|
404 |
+[AC_CONFIG_COMMANDS([depfiles], |
|
405 |
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], |
|
406 |
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |
|
407 |
+]) |
|
408 |
+ |
|
409 |
+# Do all the work for Automake. -*- Autoconf -*- |
|
410 |
+ |
|
411 |
+# Copyright (C) 1996-2014 Free Software Foundation, Inc. |
|
412 |
+# |
|
413 |
+# This file is free software; the Free Software Foundation |
|
414 |
+# gives unlimited permission to copy and/or distribute it, |
|
415 |
+# with or without modifications, as long as this notice is preserved. |
|
416 |
+ |
|
417 |
+# This macro actually does too much. Some checks are only needed if |
|
418 |
+# your package does certain things. But this isn't really a big deal. |
|
419 |
+ |
|
420 |
+dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. |
|
421 |
+m4_define([AC_PROG_CC], |
|
422 |
+m4_defn([AC_PROG_CC]) |
|
423 |
+[_AM_PROG_CC_C_O |
|
424 |
+]) |
|
425 |
+ |
|
426 |
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
|
427 |
+# AM_INIT_AUTOMAKE([OPTIONS]) |
|
428 |
+# ----------------------------------------------- |
|
429 |
+# The call with PACKAGE and VERSION arguments is the old style |
|
430 |
+# call (pre autoconf-2.50), which is being phased out. PACKAGE |
|
431 |
+# and VERSION should now be passed to AC_INIT and removed from |
|
432 |
+# the call to AM_INIT_AUTOMAKE. |
|
433 |
+# We support both call styles for the transition. After |
|
434 |
+# the next Automake release, Autoconf can make the AC_INIT |
|
435 |
+# arguments mandatory, and then we can depend on a new Autoconf |
|
436 |
+# release and drop the old call support. |
|
437 |
+AC_DEFUN([AM_INIT_AUTOMAKE], |
|
438 |
+[AC_PREREQ([2.65])dnl |
|
439 |
+dnl Autoconf wants to disallow AM_ names. We explicitly allow |
|
440 |
+dnl the ones we care about. |
|
441 |
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
|
442 |
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl |
|
443 |
+AC_REQUIRE([AC_PROG_INSTALL])dnl |
|
444 |
+if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|
445 |
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
446 |
+ # is not polluted with repeated "-I." |
|
447 |
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl |
|
448 |
+ # test to see if srcdir already configured |
|
449 |
+ if test -f $srcdir/config.status; then |
|
450 |
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) |
|
451 |
+ fi |
|
452 |
+fi |
|
453 |
+ |
|
454 |
+# test whether we have cygpath |
|
455 |
+if test -z "$CYGPATH_W"; then |
|
456 |
+ if (cygpath --version) >/dev/null 2>/dev/null; then |
|
457 |
+ CYGPATH_W='cygpath -w' |
|
458 |
+ else |
|
459 |
+ CYGPATH_W=echo |
|
460 |
+ fi |
|
461 |
+fi |
|
462 |
+AC_SUBST([CYGPATH_W]) |
|
463 |
+ |
|
464 |
+# Define the identity of the package. |
|
465 |
+dnl Distinguish between old-style and new-style calls. |
|
466 |
+m4_ifval([$2], |
|
467 |
+[AC_DIAGNOSE([obsolete], |
|
468 |
+ [$0: two- and three-arguments forms are deprecated.]) |
|
469 |
+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl |
|
470 |
+ AC_SUBST([PACKAGE], [$1])dnl |
|
471 |
+ AC_SUBST([VERSION], [$2])], |
|
472 |
+[_AM_SET_OPTIONS([$1])dnl |
|
473 |
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
|
474 |
+m4_if( |
|
475 |
+ m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), |
|
476 |
+ [ok:ok],, |
|
477 |
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
|
478 |
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
|
479 |
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
|
480 |
+ |
|
481 |
+_AM_IF_OPTION([no-define],, |
|
482 |
+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) |
|
483 |
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl |
|
484 |
+ |
|
485 |
+# Some tools Automake needs. |
|
486 |
+AC_REQUIRE([AM_SANITY_CHECK])dnl |
|
487 |
+AC_REQUIRE([AC_ARG_PROGRAM])dnl |
|
488 |
+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) |
|
489 |
+AM_MISSING_PROG([AUTOCONF], [autoconf]) |
|
490 |
+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) |
|
491 |
+AM_MISSING_PROG([AUTOHEADER], [autoheader]) |
|
492 |
+AM_MISSING_PROG([MAKEINFO], [makeinfo]) |
|
493 |
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
|
494 |
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
|
495 |
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
|
496 |
+# For better backward compatibility. To be removed once Automake 1.9.x |
|
497 |
+# dies out for good. For more background, see: |
|
498 |
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
|
499 |
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
|
500 |
+AC_SUBST([mkdir_p], ['$(MKDIR_P)']) |
|
501 |
+# We need awk for the "check" target (and possibly the TAP driver). The |
|
502 |
+# system "awk" is bad on some platforms. |
|
503 |
+AC_REQUIRE([AC_PROG_AWK])dnl |
|
504 |
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
|
505 |
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
|
506 |
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], |
|
507 |
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], |
|
508 |
+ [_AM_PROG_TAR([v7])])]) |
|
509 |
+_AM_IF_OPTION([no-dependencies],, |
|
510 |
+[AC_PROVIDE_IFELSE([AC_PROG_CC], |
|
511 |
+ [_AM_DEPENDENCIES([CC])], |
|
512 |
+ [m4_define([AC_PROG_CC], |
|
513 |
+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl |
|
514 |
+AC_PROVIDE_IFELSE([AC_PROG_CXX], |
|
515 |
+ [_AM_DEPENDENCIES([CXX])], |
|
516 |
+ [m4_define([AC_PROG_CXX], |
|
517 |
+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl |
|
518 |
+AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
|
519 |
+ [_AM_DEPENDENCIES([OBJC])], |
|
520 |
+ [m4_define([AC_PROG_OBJC], |
|
521 |
+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl |
|
522 |
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], |
|
523 |
+ [_AM_DEPENDENCIES([OBJCXX])], |
|
524 |
+ [m4_define([AC_PROG_OBJCXX], |
|
525 |
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl |
|
526 |
+]) |
|
527 |
+AC_REQUIRE([AM_SILENT_RULES])dnl |
|
528 |
+dnl The testsuite driver may need to know about EXEEXT, so add the |
|
529 |
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This |
|
530 |
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. |
|
531 |
+AC_CONFIG_COMMANDS_PRE(dnl |
|
532 |
+[m4_provide_if([_AM_COMPILER_EXEEXT], |
|
533 |
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
|
534 |
+ |
|
535 |
+# POSIX will say in a future version that running "rm -f" with no argument |
|
536 |
+# is OK; and we want to be able to make that assumption in our Makefile |
|
537 |
+# recipes. So use an aggressive probe to check that the usage we want is |
|
538 |
+# actually supported "in the wild" to an acceptable degree. |
|
539 |
+# See automake bug#10828. |
|
540 |
+# To make any issue more visible, cause the running configure to be aborted |
|
541 |
+# by default if the 'rm' program in use doesn't match our expectations; the |
|
542 |
+# user can still override this though. |
|
543 |
+if rm -f && rm -fr && rm -rf; then : OK; else |
|
544 |
+ cat >&2 <<'END' |
|
545 |
+Oops! |
|
546 |
+ |
|
547 |
+Your 'rm' program seems unable to run without file operands specified |
|
548 |
+on the command line, even when the '-f' option is present. This is contrary |
|
549 |
+to the behaviour of most rm programs out there, and not conforming with |
|
550 |
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
|
551 |
+ |
|
552 |
+Please tell bug-automake@gnu.org about your system, including the value |
|
553 |
+of your $PATH and any error possibly output before this message. This |
|
554 |
+can help us improve future automake versions. |
|
555 |
+ |
|
556 |
+END |
|
557 |
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
|
558 |
+ echo 'Configuration will proceed anyway, since you have set the' >&2 |
|
559 |
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
|
560 |
+ echo >&2 |
|
561 |
+ else |
|
562 |
+ cat >&2 <<'END' |
|
563 |
+Aborting the configuration process, to ensure you take notice of the issue. |
|
564 |
+ |
|
565 |
+You can download and install GNU coreutils to get an 'rm' implementation |
|
566 |
+that behaves properly: <http://www.gnu.org/software/coreutils/>. |
|
567 |
+ |
|
568 |
+If you want to complete the configuration process using your problematic |
|
569 |
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
|
570 |
+to "yes", and re-run configure. |
|
571 |
+ |
|
572 |
+END |
|
573 |
+ AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) |
|
574 |
+ fi |
|
575 |
+fi |
|
576 |
+dnl The trailing newline in this macro's definition is deliberate, for |
|
577 |
+dnl backward compatibility and to allow trailing 'dnl'-style comments |
|
578 |
+dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. |
|
579 |
+]) |
|
580 |
+ |
|
581 |
+dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not |
|
582 |
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
|
583 |
+dnl mangled by Autoconf and run in a shell conditional statement. |
|
584 |
+m4_define([_AC_COMPILER_EXEEXT], |
|
585 |
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) |
|
586 |
+ |
|
587 |
+# When config.status generates a header, we must update the stamp-h file. |
|
588 |
+# This file resides in the same directory as the config header |
|
589 |
+# that is generated. The stamp files are numbered to have different names. |
|
590 |
+ |
|
591 |
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the |
|
592 |
+# loop where config.status creates the headers, so we can generate |
|
593 |
+# our stamp files there. |
|
594 |
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
|
595 |
+[# Compute $1's index in $config_headers. |
|
596 |
+_am_arg=$1 |
|
597 |
+_am_stamp_count=1 |
|
598 |
+for _am_header in $config_headers :; do |
|
599 |
+ case $_am_header in |
|
600 |
+ $_am_arg | $_am_arg:* ) |
|
601 |
+ break ;; |
|
602 |
+ * ) |
|
603 |
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
|
604 |
+ esac |
|
605 |
+done |
|
606 |
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
|
607 |
+ |
|
608 |
+# Copyright (C) 2001-2014 Free Software Foundation, Inc. |
|
609 |
+# |
|
610 |
+# This file is free software; the Free Software Foundation |
|
611 |
+# gives unlimited permission to copy and/or distribute it, |
|
612 |
+# with or without modifications, as long as this notice is preserved. |
|
613 |
+ |
|
614 |
+# AM_PROG_INSTALL_SH |
|
615 |
+# ------------------ |
|
616 |
+# Define $install_sh. |
|
617 |
+AC_DEFUN([AM_PROG_INSTALL_SH], |
|
618 |
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
|
619 |
+if test x"${install_sh+set}" != xset; then |
|
620 |
+ case $am_aux_dir in |
|
621 |
+ *\ * | *\ *) |
|
622 |
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
|
623 |
+ *) |
|
624 |
+ install_sh="\${SHELL} $am_aux_dir/install-sh" |
|
625 |
+ esac |
|
626 |
+fi |
|
627 |
+AC_SUBST([install_sh])]) |
|
628 |
+ |
|
629 |
+# Copyright (C) 2003-2014 Free Software Foundation, Inc. |
|
630 |
+# |
|
631 |
+# This file is free software; the Free Software Foundation |
|
632 |
+# gives unlimited permission to copy and/or distribute it, |
|
633 |
+# with or without modifications, as long as this notice is preserved. |
|
634 |
+ |
|
635 |
+# Check whether the underlying file-system supports filenames |
|
636 |
+# with a leading dot. For instance MS-DOS doesn't. |
|
637 |
+AC_DEFUN([AM_SET_LEADING_DOT], |
|
638 |
+[rm -rf .tst 2>/dev/null |
|
639 |
+mkdir .tst 2>/dev/null |
|
640 |
+if test -d .tst; then |
|
641 |
+ am__leading_dot=. |
|
642 |
+else |
|
643 |
+ am__leading_dot=_ |
|
644 |
+fi |
|
645 |
+rmdir .tst 2>/dev/null |
|
646 |
+AC_SUBST([am__leading_dot])]) |
|
647 |
+ |
|
648 |
+# Check to see how 'make' treats includes. -*- Autoconf -*- |
|
649 |
+ |
|
650 |
+# Copyright (C) 2001-2014 Free Software Foundation, Inc. |
|
651 |
+# |
|
652 |
+# This file is free software; the Free Software Foundation |
|
653 |
+# gives unlimited permission to copy and/or distribute it, |
|
654 |
+# with or without modifications, as long as this notice is preserved. |
|
655 |
+ |
|
656 |
+# AM_MAKE_INCLUDE() |
|
657 |
+# ----------------- |
|
658 |
+# Check to see how make treats includes. |
|
659 |
+AC_DEFUN([AM_MAKE_INCLUDE], |
|
660 |
+[am_make=${MAKE-make} |
|
661 |
+cat > confinc << 'END' |
|
662 |
+am__doit: |
|
663 |
+ @echo this is the am__doit target |
|
664 |
+.PHONY: am__doit |
|
665 |
+END |
|
666 |
+# If we don't find an include directive, just comment out the code. |
|
667 |
+AC_MSG_CHECKING([for style of include used by $am_make]) |
|
668 |
+am__include="#" |
|
669 |
+am__quote= |
|
670 |
+_am_result=none |
|
671 |
+# First try GNU make style include. |
|
672 |
+echo "include confinc" > confmf |
|
673 |
+# Ignore all kinds of additional output from 'make'. |
|
674 |
+case `$am_make -s -f confmf 2> /dev/null` in #( |
|
675 |
+*the\ am__doit\ target*) |
|
676 |
+ am__include=include |
|
677 |
+ am__quote= |
|
678 |
+ _am_result=GNU |
|
679 |
+ ;; |
|
680 |
+esac |
|
681 |
+# Now try BSD make style include. |
|
682 |
+if test "$am__include" = "#"; then |
|
683 |
+ echo '.include "confinc"' > confmf |
|
684 |
+ case `$am_make -s -f confmf 2> /dev/null` in #( |
|
685 |
+ *the\ am__doit\ target*) |
|
686 |
+ am__include=.include |
|
687 |
+ am__quote="\"" |
|
688 |
+ _am_result=BSD |
|
689 |
+ ;; |
|
690 |
+ esac |
|
691 |
+fi |
|
692 |
+AC_SUBST([am__include]) |
|
693 |
+AC_SUBST([am__quote]) |
|
694 |
+AC_MSG_RESULT([$_am_result]) |
|
695 |
+rm -f confinc confmf |
|
696 |
+]) |
|
697 |
+ |
|
698 |
+# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
|
699 |
+ |
|
700 |
+# Copyright (C) 1997-2014 Free Software Foundation, Inc. |
|
701 |
+# |
|
702 |
+# This file is free software; the Free Software Foundation |
|
703 |
+# gives unlimited permission to copy and/or distribute it, |
|
704 |
+# with or without modifications, as long as this notice is preserved. |
|
705 |
+ |
|
706 |
+# AM_MISSING_PROG(NAME, PROGRAM) |
|
707 |
+# ------------------------------ |
|
708 |
+AC_DEFUN([AM_MISSING_PROG], |
|
709 |
+[AC_REQUIRE([AM_MISSING_HAS_RUN]) |
|
710 |
+$1=${$1-"${am_missing_run}$2"} |
|
711 |
+AC_SUBST($1)]) |
|
712 |
+ |
|
713 |
+# AM_MISSING_HAS_RUN |
|
714 |
+# ------------------ |
|
715 |
+# Define MISSING if not defined so far and test if it is modern enough. |
|
716 |
+# If it is, set am_missing_run to use it, otherwise, to nothing. |
|
717 |
+AC_DEFUN([AM_MISSING_HAS_RUN], |
|
718 |
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
|
719 |
+AC_REQUIRE_AUX_FILE([missing])dnl |
|
720 |
+if test x"${MISSING+set}" != xset; then |
|
721 |
+ case $am_aux_dir in |
|
722 |
+ *\ * | *\ *) |
|
723 |
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
|
724 |
+ *) |
|
725 |
+ MISSING="\${SHELL} $am_aux_dir/missing" ;; |
|
726 |
+ esac |
|
727 |
+fi |
|
728 |
+# Use eval to expand $SHELL |
|
729 |
+if eval "$MISSING --is-lightweight"; then |
|
730 |
+ am_missing_run="$MISSING " |
|
731 |
+else |
|
732 |
+ am_missing_run= |
|
733 |
+ AC_MSG_WARN(['missing' script is too old or missing]) |
|
734 |
+fi |
|
735 |
+]) |
|
736 |
+ |
|
737 |
+# Helper functions for option handling. -*- Autoconf -*- |
|
738 |
+ |
|
739 |
+# Copyright (C) 2001-2014 Free Software Foundation, Inc. |
|
740 |
+# |
|
741 |
+# This file is free software; the Free Software Foundation |
|
742 |
+# gives unlimited permission to copy and/or distribute it, |
|
743 |
+# with or without modifications, as long as this notice is preserved. |
|
744 |
+ |
|
745 |
+# _AM_MANGLE_OPTION(NAME) |
|
746 |
+# ----------------------- |
|
747 |
+AC_DEFUN([_AM_MANGLE_OPTION], |
|
748 |
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
|
749 |
+ |
|
750 |
+# _AM_SET_OPTION(NAME) |
|
751 |
+# -------------------- |
|
752 |
+# Set option NAME. Presently that only means defining a flag for this option. |
|
753 |
+AC_DEFUN([_AM_SET_OPTION], |
|
754 |
+[m4_define(_AM_MANGLE_OPTION([$1]), [1])]) |
|
755 |
+ |
|
756 |
+# _AM_SET_OPTIONS(OPTIONS) |
|
757 |
+# ------------------------ |
|
758 |
+# OPTIONS is a space-separated list of Automake options. |
|
759 |
+AC_DEFUN([_AM_SET_OPTIONS], |
|
760 |
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
|
761 |
+ |
|
762 |
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) |
|
763 |
+# ------------------------------------------- |
|
764 |
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. |
|
765 |
+AC_DEFUN([_AM_IF_OPTION], |
|
766 |
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
|
767 |
+ |
|
768 |
+# Copyright (C) 1999-2014 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 |
+# _AM_PROG_CC_C_O |
|
775 |
+# --------------- |
|
776 |
+# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC |
|
777 |
+# to automatically call this. |
|
778 |
+AC_DEFUN([_AM_PROG_CC_C_O], |
|
779 |
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
|
780 |
+AC_REQUIRE_AUX_FILE([compile])dnl |
|
781 |
+AC_LANG_PUSH([C])dnl |
|
782 |
+AC_CACHE_CHECK( |
|
783 |
+ [whether $CC understands -c and -o together], |
|
784 |
+ [am_cv_prog_cc_c_o], |
|
785 |
+ [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) |
|
786 |
+ # Make sure it works both with $CC and with simple cc. |
|
787 |
+ # Following AC_PROG_CC_C_O, we do the test twice because some |
|
788 |
+ # compilers refuse to overwrite an existing .o file with -o, |
|
789 |
+ # though they will create one. |
|
790 |
+ am_cv_prog_cc_c_o=yes |
|
791 |
+ for am_i in 1 2; do |
|
792 |
+ if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ |
|
793 |
+ && test -f conftest2.$ac_objext; then |
|
794 |
+ : OK |
|
795 |
+ else |
|
796 |
+ am_cv_prog_cc_c_o=no |
|
797 |
+ break |
|
798 |
+ fi |
|
799 |
+ done |
|
800 |
+ rm -f core conftest* |
|
801 |
+ unset am_i]) |
|
802 |
+if test "$am_cv_prog_cc_c_o" != yes; then |
|
803 |
+ # Losing compiler, so override with the script. |
|
804 |
+ # FIXME: It is wrong to rewrite CC. |
|
805 |
+ # But if we don't then we get into trouble of one sort or another. |
|
806 |
+ # A longer-term fix would be to have automake use am__CC in this case, |
|
807 |
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
|
808 |
+ CC="$am_aux_dir/compile $CC" |
|
809 |
+fi |
|
810 |
+AC_LANG_POP([C])]) |
|
811 |
+ |
|
812 |
+# For backward compatibility. |
|
813 |
+AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) |
|
814 |
+ |
|
815 |
+# Copyright (C) 2001-2014 Free Software Foundation, Inc. |
|
816 |
+# |
|
817 |
+# This file is free software; the Free Software Foundation |
|
818 |
+# gives unlimited permission to copy and/or distribute it, |
|
819 |
+# with or without modifications, as long as this notice is preserved. |
|
820 |
+ |
|
821 |
+# AM_RUN_LOG(COMMAND) |
|
822 |
+# ------------------- |
|
823 |
+# Run COMMAND, save the exit status in ac_status, and log it. |
|
824 |
+# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) |
|
825 |
+AC_DEFUN([AM_RUN_LOG], |
|
826 |
+[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD |
|
827 |
+ ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD |
|
828 |
+ ac_status=$? |
|
829 |
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
|
830 |
+ (exit $ac_status); }]) |
|
831 |
+ |
|
832 |
+# Check to make sure that the build environment is sane. -*- Autoconf -*- |
|
833 |
+ |
|
834 |
+# Copyright (C) 1996-2014 Free Software Foundation, Inc. |
|
835 |
+# |
|
836 |
+# This file is free software; the Free Software Foundation |
|
837 |
+# gives unlimited permission to copy and/or distribute it, |
|
838 |
+# with or without modifications, as long as this notice is preserved. |
|
839 |
+ |
|
840 |
+# AM_SANITY_CHECK |
|
841 |
+# --------------- |
|
842 |
+AC_DEFUN([AM_SANITY_CHECK], |
|
843 |
+[AC_MSG_CHECKING([whether build environment is sane]) |
|
844 |
+# Reject unsafe characters in $srcdir or the absolute working directory |
|
845 |
+# name. Accept space and tab only in the latter. |
|
846 |
+am_lf=' |
|
847 |
+' |
|
848 |
+case `pwd` in |
|
849 |
+ *[[\\\"\#\$\&\'\`$am_lf]]*) |
|
850 |
+ AC_MSG_ERROR([unsafe absolute working directory name]);; |
|
851 |
+esac |
|
852 |
+case $srcdir in |
|
853 |
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
|
854 |
+ AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; |
|
855 |
+esac |
|
856 |
+ |
|
857 |
+# Do 'set' in a subshell so we don't clobber the current shell's |
|
858 |
+# arguments. Must try -L first in case configure is actually a |
|
859 |
+# symlink; some systems play weird games with the mod time of symlinks |
|
860 |
+# (eg FreeBSD returns the mod time of the symlink's containing |
|
861 |
+# directory). |
|
862 |
+if ( |
|
863 |
+ am_has_slept=no |
|
864 |
+ for am_try in 1 2; do |
|
865 |
+ echo "timestamp, slept: $am_has_slept" > conftest.file |
|
866 |
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
|
867 |
+ if test "$[*]" = "X"; then |
|
868 |
+ # -L didn't work. |
|
869 |
+ set X `ls -t "$srcdir/configure" conftest.file` |
|
870 |
+ fi |
|
871 |
+ if test "$[*]" != "X $srcdir/configure conftest.file" \ |
|
872 |
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then |
|
873 |
+ |
|
874 |
+ # If neither matched, then we have a broken ls. This can happen |
|
875 |
+ # if, for instance, CONFIG_SHELL is bash and it inherits a |
|
876 |
+ # broken ls alias from the environment. This has actually |
|
877 |
+ # happened. Such a system could not be considered "sane". |
|
878 |
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken |
|
879 |
+ alias in your environment]) |
|
880 |
+ fi |
|
881 |
+ if test "$[2]" = conftest.file || test $am_try -eq 2; then |
|
882 |
+ break |
|
883 |
+ fi |
|
884 |
+ # Just in case. |
|
885 |
+ sleep 1 |
|
886 |
+ am_has_slept=yes |
|
887 |
+ done |
|
888 |
+ test "$[2]" = conftest.file |
|
889 |
+ ) |
|
890 |
+then |
|
891 |
+ # Ok. |
|
892 |
+ : |
|
893 |
+else |
|
894 |
+ AC_MSG_ERROR([newly created file is older than distributed files! |
|
895 |
+Check your system clock]) |
|
896 |
+fi |
|
897 |
+AC_MSG_RESULT([yes]) |
|
898 |
+# If we didn't sleep, we still need to ensure time stamps of config.status and |
|
899 |
+# generated files are strictly newer. |
|
900 |
+am_sleep_pid= |
|
901 |
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
|
902 |
+ ( sleep 1 ) & |
|
903 |
+ am_sleep_pid=$! |
|
904 |
+fi |
|
905 |
+AC_CONFIG_COMMANDS_PRE( |
|
906 |
+ [AC_MSG_CHECKING([that generated files are newer than configure]) |
|
907 |
+ if test -n "$am_sleep_pid"; then |
|
908 |
+ # Hide warnings about reused PIDs. |
|
909 |
+ wait $am_sleep_pid 2>/dev/null |
|
910 |
+ fi |
|
911 |
+ AC_MSG_RESULT([done])]) |
|
912 |
+rm -f conftest.file |
|
913 |
+]) |
|
914 |
+ |
|
915 |
+# Copyright (C) 2009-2014 Free Software Foundation, Inc. |
|
916 |
+# |
|
917 |
+# This file is free software; the Free Software Foundation |
|
918 |
+# gives unlimited permission to copy and/or distribute it, |
|
919 |
+# with or without modifications, as long as this notice is preserved. |
|
920 |
+ |
|
921 |
+# AM_SILENT_RULES([DEFAULT]) |
|
922 |
+# -------------------------- |
|
923 |
+# Enable less verbose build rules; with the default set to DEFAULT |
|
924 |
+# ("yes" being less verbose, "no" or empty being verbose). |
|
925 |
+AC_DEFUN([AM_SILENT_RULES], |
|
926 |
+[AC_ARG_ENABLE([silent-rules], [dnl |
|
927 |
+AS_HELP_STRING( |
|
928 |
+ [--enable-silent-rules], |
|
929 |
+ [less verbose build output (undo: "make V=1")]) |
|
930 |
+AS_HELP_STRING( |
|
931 |
+ [--disable-silent-rules], |
|
932 |
+ [verbose build output (undo: "make V=0")])dnl |
|
933 |
+]) |
|
934 |
+case $enable_silent_rules in @%:@ ((( |
|
935 |
+ yes) AM_DEFAULT_VERBOSITY=0;; |
|
936 |
+ no) AM_DEFAULT_VERBOSITY=1;; |
|
937 |
+ *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; |
|
938 |
+esac |
|
939 |
+dnl |
|
940 |
+dnl A few 'make' implementations (e.g., NonStop OS and NextStep) |
|
941 |
+dnl do not support nested variable expansions. |
|
942 |
+dnl See automake bug#9928 and bug#10237. |
|
943 |
+am_make=${MAKE-make} |
|
944 |
+AC_CACHE_CHECK([whether $am_make supports nested variables], |
|
945 |
+ [am_cv_make_support_nested_variables], |
|
946 |
+ [if AS_ECHO([['TRUE=$(BAR$(V)) |
|
947 |
+BAR0=false |
|
948 |
+BAR1=true |
|
949 |
+V=1 |
|
950 |
+am__doit: |
|
951 |
+ @$(TRUE) |
|
952 |
+.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then |
|
953 |
+ am_cv_make_support_nested_variables=yes |
|
954 |
+else |
|
955 |
+ am_cv_make_support_nested_variables=no |
|
956 |
+fi]) |
|
957 |
+if test $am_cv_make_support_nested_variables = yes; then |
|
958 |
+ dnl Using '$V' instead of '$(V)' breaks IRIX make. |
|
959 |
+ AM_V='$(V)' |
|
960 |
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
|
961 |
+else |
|
962 |
+ AM_V=$AM_DEFAULT_VERBOSITY |
|
963 |
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
|
964 |
+fi |
|
965 |
+AC_SUBST([AM_V])dnl |
|
966 |
+AM_SUBST_NOTMAKE([AM_V])dnl |
|
967 |
+AC_SUBST([AM_DEFAULT_V])dnl |
|
968 |
+AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl |
|
969 |
+AC_SUBST([AM_DEFAULT_VERBOSITY])dnl |
|
970 |
+AM_BACKSLASH='\' |
|
971 |
+AC_SUBST([AM_BACKSLASH])dnl |
|
972 |
+_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
|
973 |
+]) |
|
974 |
+ |
|
975 |
+# Copyright (C) 2001-2014 Free Software Foundation, Inc. |
|
976 |
+# |
|
977 |
+# This file is free software; the Free Software Foundation |
|
978 |
+# gives unlimited permission to copy and/or distribute it, |
|
979 |
+# with or without modifications, as long as this notice is preserved. |
|
980 |
+ |
|
981 |
+# AM_PROG_INSTALL_STRIP |
|
982 |
+# --------------------- |
|
983 |
+# One issue with vendor 'install' (even GNU) is that you can't |
|
984 |
+# specify the program used to strip binaries. This is especially |
|
985 |
+# annoying in cross-compiling environments, where the build's strip |
|
986 |
+# is unlikely to handle the host's binaries. |
|
987 |
+# Fortunately install-sh will honor a STRIPPROG variable, so we |
|
988 |
+# always use install-sh in "make install-strip", and initialize |
|
989 |
+# STRIPPROG with the value of the STRIP variable (set by the user). |
|
990 |
+AC_DEFUN([AM_PROG_INSTALL_STRIP], |
|
991 |
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
|
992 |
+# Installed binaries are usually stripped using 'strip' when the user |
|
993 |
+# run "make install-strip". However 'strip' might not be the right |
|
994 |
+# tool to use in cross-compilation environments, therefore Automake |
|
995 |
+# will honor the 'STRIP' environment variable to overrule this program. |
|
996 |
+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. |
|
997 |
+if test "$cross_compiling" != no; then |
|
998 |
+ AC_CHECK_TOOL([STRIP], [strip], :) |
|
999 |
+fi |
|
1000 |
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
1001 |
+AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
|
1002 |
+ |
|
1003 |
+# Copyright (C) 2006-2014 Free Software Foundation, Inc. |
|
1004 |
+# |
|
1005 |
+# This file is free software; the Free Software Foundation |
|
1006 |
+# gives unlimited permission to copy and/or distribute it, |
|
1007 |
+# with or without modifications, as long as this notice is preserved. |
|
1008 |
+ |
|
1009 |
+# _AM_SUBST_NOTMAKE(VARIABLE) |
|
1010 |
+# --------------------------- |
|
1011 |
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. |
|
1012 |
+# This macro is traced by Automake. |
|
1013 |
+AC_DEFUN([_AM_SUBST_NOTMAKE]) |
|
1014 |
+ |
|
1015 |
+# AM_SUBST_NOTMAKE(VARIABLE) |
|
1016 |
+# -------------------------- |
|
1017 |
+# Public sister of _AM_SUBST_NOTMAKE. |
|
1018 |
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
|
1019 |
+ |
|
1020 |
+# Check how to create a tarball. -*- Autoconf -*- |
|
1021 |
+ |
|
1022 |
+# Copyright (C) 2004-2014 Free Software Foundation, Inc. |
|
1023 |
+# |
|
1024 |
+# This file is free software; the Free Software Foundation |
|
1025 |
+# gives unlimited permission to copy and/or distribute it, |
|
1026 |
+# with or without modifications, as long as this notice is preserved. |
|
1027 |
+ |
|
1028 |
+# _AM_PROG_TAR(FORMAT) |
|
1029 |
+# -------------------- |
|
1030 |
+# Check how to create a tarball in format FORMAT. |
|
1031 |
+# FORMAT should be one of 'v7', 'ustar', or 'pax'. |
|
1032 |
+# |
|
1033 |
+# Substitute a variable $(am__tar) that is a command |
|
1034 |
+# writing to stdout a FORMAT-tarball containing the directory |
|
1035 |
+# $tardir. |
|
1036 |
+# tardir=directory && $(am__tar) > result.tar |
|
1037 |
+# |
|
1038 |
+# Substitute a variable $(am__untar) that extract such |
|
1039 |
+# a tarball read from stdin. |
|
1040 |
+# $(am__untar) < result.tar |
|
1041 |
+# |
|
1042 |
+AC_DEFUN([_AM_PROG_TAR], |
|
1043 |
+[# Always define AMTAR for backward compatibility. Yes, it's still used |
|
1044 |
+# in the wild :-( We should find a proper way to deprecate it ... |
|
1045 |
+AC_SUBST([AMTAR], ['$${TAR-tar}']) |
|
1046 |
+ |
|
1047 |
+# We'll loop over all known methods to create a tar archive until one works. |
|
1048 |
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
|
1049 |
+ |
|
1050 |
+m4_if([$1], [v7], |
|
1051 |
+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], |
|
1052 |
+ |
|
1053 |
+ [m4_case([$1], |
|
1054 |
+ [ustar], |
|
1055 |
+ [# The POSIX 1988 'ustar' format is defined with fixed-size fields. |
|
1056 |
+ # There is notably a 21 bits limit for the UID and the GID. In fact, |
|
1057 |
+ # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 |
|
1058 |
+ # and bug#13588). |
|
1059 |
+ am_max_uid=2097151 # 2^21 - 1 |
|
1060 |
+ am_max_gid=$am_max_uid |
|
1061 |
+ # The $UID and $GID variables are not portable, so we need to resort |
|
1062 |
+ # to the POSIX-mandated id(1) utility. Errors in the 'id' calls |
|
1063 |
+ # below are definitely unexpected, so allow the users to see them |
|
1064 |
+ # (that is, avoid stderr redirection). |
|
1065 |
+ am_uid=`id -u || echo unknown` |
|
1066 |
+ am_gid=`id -g || echo unknown` |
|
1067 |
+ AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) |
|
1068 |
+ if test $am_uid -le $am_max_uid; then |
|
1069 |
+ AC_MSG_RESULT([yes]) |
|
1070 |
+ else |
|
1071 |
+ AC_MSG_RESULT([no]) |
|
1072 |
+ _am_tools=none |
|
1073 |
+ fi |
|
1074 |
+ AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) |
|
1075 |
+ if test $am_gid -le $am_max_gid; then |
|
1076 |
+ AC_MSG_RESULT([yes]) |
|
1077 |
+ else |
|
1078 |
+ AC_MSG_RESULT([no]) |
|
1079 |
+ _am_tools=none |
|
1080 |
+ fi], |
|
1081 |
+ |
|
1082 |
+ [pax], |
|
1083 |
+ [], |
|
1084 |
+ |
|
1085 |
+ [m4_fatal([Unknown tar format])]) |
|
1086 |
+ |
|
1087 |
+ AC_MSG_CHECKING([how to create a $1 tar archive]) |
|
1088 |
+ |
|
1089 |
+ # Go ahead even if we have the value already cached. We do so because we |
|
1090 |
+ # need to set the values for the 'am__tar' and 'am__untar' variables. |
|
1091 |
+ _am_tools=${am_cv_prog_tar_$1-$_am_tools} |
|
1092 |
+ |
|
1093 |
+ for _am_tool in $_am_tools; do |
|
1094 |
+ case $_am_tool in |
|
1095 |
+ gnutar) |
|
1096 |
+ for _am_tar in tar gnutar gtar; do |
|
1097 |
+ AM_RUN_LOG([$_am_tar --version]) && break |
|
1098 |
+ done |
|
1099 |
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' |
|
1100 |
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' |
|
1101 |
+ am__untar="$_am_tar -xf -" |
|
1102 |
+ ;; |
|
1103 |
+ plaintar) |
|
1104 |
+ # Must skip GNU tar: if it does not support --format= it doesn't create |
|
1105 |
+ # ustar tarball either. |
|
1106 |
+ (tar --version) >/dev/null 2>&1 && continue |
|
1107 |
+ am__tar='tar chf - "$$tardir"' |
|
1108 |
+ am__tar_='tar chf - "$tardir"' |
|
1109 |
+ am__untar='tar xf -' |
|
1110 |
+ ;; |
|
1111 |
+ pax) |
|
1112 |
+ am__tar='pax -L -x $1 -w "$$tardir"' |
|
1113 |
+ am__tar_='pax -L -x $1 -w "$tardir"' |
|
1114 |
+ am__untar='pax -r' |
|
1115 |
+ ;; |
|
1116 |
+ cpio) |
|
1117 |
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L' |
|
1118 |
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L' |
|
1119 |
+ am__untar='cpio -i -H $1 -d' |
|
1120 |
+ ;; |
|
1121 |
+ none) |
|
1122 |
+ am__tar=false |
|
1123 |
+ am__tar_=false |
|
1124 |
+ am__untar=false |
|
1125 |
+ ;; |
|
1126 |
+ esac |
|
1127 |
+ |
|
1128 |
+ # If the value was cached, stop now. We just wanted to have am__tar |
|
1129 |
+ # and am__untar set. |
|
1130 |
+ test -n "${am_cv_prog_tar_$1}" && break |
|
1131 |
+ |
|
1132 |
+ # tar/untar a dummy directory, and stop if the command works. |
|
1133 |
+ rm -rf conftest.dir |
|
1134 |
+ mkdir conftest.dir |
|
1135 |
+ echo GrepMe > conftest.dir/file |
|
1136 |
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) |
|
1137 |
+ rm -rf conftest.dir |
|
1138 |
+ if test -s conftest.tar; then |
|
1139 |
+ AM_RUN_LOG([$am__untar <conftest.tar]) |
|
1140 |
+ AM_RUN_LOG([cat conftest.dir/file]) |
|
1141 |
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |
|
1142 |
+ fi |
|
1143 |
+ done |
|
1144 |
+ rm -rf conftest.dir |
|
1145 |
+ |
|
1146 |
+ AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) |
|
1147 |
+ AC_MSG_RESULT([$am_cv_prog_tar_$1])]) |
|
1148 |
+ |
|
1149 |
+AC_SUBST([am__tar]) |
|
1150 |
+AC_SUBST([am__untar]) |
|
1151 |
+]) # _AM_PROG_TAR |
|
1152 |
+ |
... | ... |
@@ -33,6 +33,9 @@ |
33 | 33 |
/* Define to 1 if you have the <unistd.h> header file. */ |
34 | 34 |
#undef HAVE_UNISTD_H |
35 | 35 |
|
36 |
+/* Name of package */ |
|
37 |
+#undef PACKAGE |
|
38 |
+ |
|
36 | 39 |
/* Define to the address where bug reports for this package should be sent. */ |
37 | 40 |
#undef PACKAGE_BUGREPORT |
38 | 41 |
|
... | ... |
@@ -53,3 +56,6 @@ |
53 | 56 |
|
54 | 57 |
/* Define to 1 if you have the ANSI C header files. */ |
55 | 58 |
#undef STDC_HEADERS |
59 |
+ |
|
60 |
+/* Version number of package */ |
|
61 |
+#undef VERSION |
... | ... |
@@ -585,7 +585,7 @@ PACKAGE_STRING='FULL-PACKAGE-NAME VERSION' |
585 | 585 |
PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS' |
586 | 586 |
PACKAGE_URL='' |
587 | 587 |
|
588 |
-ac_unique_file="config.h.in" |
|
588 |
+ac_unique_file="hello.c" |
|
589 | 589 |
# Factoring default headers for most tests. |
590 | 590 |
ac_includes_default="\ |
591 | 591 |
#include <stdio.h> |
... | ... |
@@ -622,11 +622,23 @@ ac_includes_default="\ |
622 | 622 |
# include <unistd.h> |
623 | 623 |
#endif" |
624 | 624 |
|
625 |
-ac_subst_vars='LTLIBOBJS |
|
625 |
+ac_subst_vars='am__EXEEXT_FALSE |
|
626 |
+am__EXEEXT_TRUE |
|
627 |
+LTLIBOBJS |
|
626 | 628 |
LIBOBJS |
627 | 629 |
EGREP |
628 | 630 |
GREP |
629 | 631 |
CPP |
632 |
+am__fastdepCC_FALSE |
|
633 |
+am__fastdepCC_TRUE |
|
634 |
+CCDEPMODE |
|
635 |
+am__nodep |
|
636 |
+AMDEPBACKSLASH |
|
637 |
+AMDEP_FALSE |
|
638 |
+AMDEP_TRUE |
|
639 |
+am__quote |
|
640 |
+am__include |
|
641 |
+DEPDIR |
|
630 | 642 |
OBJEXT |
631 | 643 |
EXEEXT |
632 | 644 |
ac_ct_CC |
... | ... |
@@ -634,6 +646,33 @@ CPPFLAGS |
634 | 646 |
LDFLAGS |
635 | 647 |
CFLAGS |
636 | 648 |
CC |
649 |
+AM_BACKSLASH |
|
650 |
+AM_DEFAULT_VERBOSITY |
|
651 |
+AM_DEFAULT_V |
|
652 |
+AM_V |
|
653 |
+am__untar |
|
654 |
+am__tar |
|
655 |
+AMTAR |
|
656 |
+am__leading_dot |
|
657 |
+SET_MAKE |
|
658 |
+AWK |
|
659 |
+mkdir_p |
|
660 |
+MKDIR_P |
|
661 |
+INSTALL_STRIP_PROGRAM |
|
662 |
+STRIP |
|
663 |
+install_sh |
|
664 |
+MAKEINFO |
|
665 |
+AUTOHEADER |
|
666 |
+AUTOMAKE |
|
667 |
+AUTOCONF |
|
668 |
+ACLOCAL |
|
669 |
+VERSION |
|
670 |
+PACKAGE |
|
671 |
+CYGPATH_W |
|
672 |
+am__isrc |
|
673 |
+INSTALL_DATA |
|
674 |
+INSTALL_SCRIPT |
|
675 |
+INSTALL_PROGRAM |
|
637 | 676 |
target_alias |
638 | 677 |
host_alias |
639 | 678 |
build_alias |
... | ... |
@@ -675,6 +714,8 @@ SHELL' |
675 | 714 |
ac_subst_files='' |
676 | 715 |
ac_user_opts=' |
677 | 716 |
enable_option_checking |
717 |
+enable_silent_rules |
|
718 |
+enable_dependency_tracking |
|
678 | 719 |
' |
679 | 720 |
ac_precious_vars='build_alias |
680 | 721 |
host_alias |
... | ... |
@@ -1282,6 +1323,11 @@ Fine tuning of the installation directories: |
1282 | 1323 |
_ACEOF |
1283 | 1324 |
|
1284 | 1325 |
cat <<\_ACEOF |
1326 |
+ |
|
1327 |
+Program names: |
|
1328 |
+ --program-prefix=PREFIX prepend PREFIX to installed program names |
|
1329 |
+ --program-suffix=SUFFIX append SUFFIX to installed program names |
|
1330 |
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|
1285 | 1331 |
_ACEOF |
1286 | 1332 |
fi |
1287 | 1333 |
|
... | ... |
@@ -1291,6 +1337,17 @@ if test -n "$ac_init_help"; then |
1291 | 1337 |
esac |
1292 | 1338 |
cat <<\_ACEOF |
1293 | 1339 |
|
1340 |
+Optional Features: |
|
1341 |
+ --disable-option-checking ignore unrecognized --enable/--with options |
|
1342 |
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
1343 |
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
1344 |
+ --enable-silent-rules less verbose build output (undo: "make V=1") |
|
1345 |
+ --disable-silent-rules verbose build output (undo: "make V=0") |
|
1346 |
+ --enable-dependency-tracking |
|
1347 |
+ do not reject slow dependency extractors |
|
1348 |
+ --disable-dependency-tracking |
|
1349 |
+ speeds up one-time build |
|
1350 |
+ |
|
1294 | 1351 |
Some influential environment variables: |
1295 | 1352 |
CC C compiler command |
1296 | 1353 |
CFLAGS C compiler flags |
... | ... |
@@ -2087,6 +2144,614 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2087 | 2144 |
|
2088 | 2145 |
ac_config_headers="$ac_config_headers config.h" |
2089 | 2146 |
|
2147 |
+am__api_version='1.15' |
|
2148 |
+ |
|
2149 |
+ac_aux_dir= |
|
2150 |
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
|
2151 |
+ if test -f "$ac_dir/install-sh"; then |
|
2152 |
+ ac_aux_dir=$ac_dir |
|
2153 |
+ ac_install_sh="$ac_aux_dir/install-sh -c" |
|
2154 |
+ break |
|
2155 |
+ elif test -f "$ac_dir/install.sh"; then |
|
2156 |
+ ac_aux_dir=$ac_dir |
|
2157 |
+ ac_install_sh="$ac_aux_dir/install.sh -c" |
|
2158 |
+ break |
|
2159 |
+ elif test -f "$ac_dir/shtool"; then |
|
2160 |
+ ac_aux_dir=$ac_dir |
|
2161 |
+ ac_install_sh="$ac_aux_dir/shtool install -c" |
|
2162 |
+ break |
|
2163 |
+ fi |
|
2164 |
+done |
|
2165 |
+if test -z "$ac_aux_dir"; then |
|
2166 |
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
|
2167 |
+fi |
|
2168 |
+ |
|
2169 |
+# These three variables are undocumented and unsupported, |
|
2170 |
+# and are intended to be withdrawn in a future Autoconf release. |
|
2171 |
+# They can cause serious problems if a builder's source tree is in a directory |
|
2172 |
+# whose full name contains unusual characters. |
|
2173 |
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|
2174 |
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|
2175 |
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
2176 |
+ |
|
2177 |
+ |
|
2178 |
+# Find a good install program. We prefer a C program (faster), |
|
2179 |
+# so one script is as good as another. But avoid the broken or |
|
2180 |
+# incompatible versions: |
|
2181 |
+# SysV /etc/install, /usr/sbin/install |
|
2182 |
+# SunOS /usr/etc/install |
|
2183 |
+# IRIX /sbin/install |
|
2184 |
+# AIX /bin/install |
|
2185 |
+# AmigaOS /C/install, which installs bootblocks on floppy discs |
|
2186 |
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
2187 |
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
2188 |
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
2189 |
+# OS/2's system install, which has a completely different semantic |
|
2190 |
+# ./install, which can be erroneously created by make from ./install.sh. |
|
2191 |
+# Reject install programs that cannot install multiple files. |
|
2192 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
|
2193 |
+$as_echo_n "checking for a BSD-compatible install... " >&6; } |
|
2194 |
+if test -z "$INSTALL"; then |
|
2195 |
+if ${ac_cv_path_install+:} false; then : |
|
2196 |
+ $as_echo_n "(cached) " >&6 |
|
2197 |
+else |
|
2198 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2199 |
+for as_dir in $PATH |
|
2200 |
+do |
|
2201 |
+ IFS=$as_save_IFS |
|
2202 |
+ test -z "$as_dir" && as_dir=. |
|
2203 |
+ # Account for people who put trailing slashes in PATH elements. |
|
2204 |
+case $as_dir/ in #(( |
|
2205 |
+ ./ | .// | /[cC]/* | \ |
|
2206 |
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
2207 |
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
|
2208 |
+ /usr/ucb/* ) ;; |
|
2209 |
+ *) |
|
2210 |
+ # OSF1 and SCO ODT 3.0 have their own names for install. |
|
2211 |
+ # Don't use installbsd from OSF since it installs stuff as root |
|
2212 |
+ # by default. |
|
2213 |
+ for ac_prog in ginstall scoinst install; do |
|
2214 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
|
2215 |
+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
|
2216 |
+ if test $ac_prog = install && |
|
2217 |
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2218 |
+ # AIX install. It has an incompatible calling convention. |
|
2219 |
+ : |
|
2220 |
+ elif test $ac_prog = install && |
|
2221 |
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2222 |
+ # program-specific install script used by HP pwplus--don't use. |
|
2223 |
+ : |
|
2224 |
+ else |
|
2225 |
+ rm -rf conftest.one conftest.two conftest.dir |
|
2226 |
+ echo one > conftest.one |
|
2227 |
+ echo two > conftest.two |
|
2228 |
+ mkdir conftest.dir |
|
2229 |
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
|
2230 |
+ test -s conftest.one && test -s conftest.two && |
|
2231 |
+ test -s conftest.dir/conftest.one && |
|
2232 |
+ test -s conftest.dir/conftest.two |
|
2233 |
+ then |
|
2234 |
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
2235 |
+ break 3 |
|
2236 |
+ fi |
|
2237 |
+ fi |
|
2238 |
+ fi |
|
2239 |
+ done |
|
2240 |
+ done |
|
2241 |
+ ;; |
|
2242 |
+esac |
|
2243 |
+ |
|
2244 |
+ done |
|
2245 |
+IFS=$as_save_IFS |
|
2246 |
+ |
|
2247 |
+rm -rf conftest.one conftest.two conftest.dir |
|
2248 |
+ |
|
2249 |
+fi |
|
2250 |
+ if test "${ac_cv_path_install+set}" = set; then |
|
2251 |
+ INSTALL=$ac_cv_path_install |
|
2252 |
+ else |
|
2253 |
+ # As a last resort, use the slow shell script. Don't cache a |
|
2254 |
+ # value for INSTALL within a source directory, because that will |
|
2255 |
+ # break other packages using the cache if that directory is |
|
2256 |
+ # removed, or if the value is a relative name. |
|
2257 |
+ INSTALL=$ac_install_sh |
|
2258 |
+ fi |
|
2259 |
+fi |
|
2260 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
|
2261 |
+$as_echo "$INSTALL" >&6; } |
|
2262 |
+ |
|
2263 |
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
2264 |
+# It thinks the first close brace ends the variable substitution. |
|
2265 |
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
2266 |
+ |
|
2267 |
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
2268 |
+ |
|
2269 |
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
2270 |
+ |
|
2271 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
|
2272 |
+$as_echo_n "checking whether build environment is sane... " >&6; } |
|
2273 |
+# Reject unsafe characters in $srcdir or the absolute working directory |
|
2274 |
+# name. Accept space and tab only in the latter. |
|
2275 |
+am_lf=' |
|
2276 |
+' |
|
2277 |
+case `pwd` in |
|
2278 |
+ *[\\\"\#\$\&\'\`$am_lf]*) |
|
2279 |
+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
|
2280 |
+esac |
|
2281 |
+case $srcdir in |
|
2282 |
+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
|
2283 |
+ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
|
2284 |
+esac |
|
2285 |
+ |
|
2286 |
+# Do 'set' in a subshell so we don't clobber the current shell's |
|
2287 |
+# arguments. Must try -L first in case configure is actually a |
|
2288 |
+# symlink; some systems play weird games with the mod time of symlinks |
|
2289 |
+# (eg FreeBSD returns the mod time of the symlink's containing |
|
2290 |
+# directory). |
|
2291 |
+if ( |
|
2292 |
+ am_has_slept=no |
|
2293 |
+ for am_try in 1 2; do |
|
2294 |
+ echo "timestamp, slept: $am_has_slept" > conftest.file |
|
2295 |
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
|
2296 |
+ if test "$*" = "X"; then |
|
2297 |
+ # -L didn't work. |
|
2298 |
+ set X `ls -t "$srcdir/configure" conftest.file` |
|
2299 |
+ fi |
|
2300 |
+ if test "$*" != "X $srcdir/configure conftest.file" \ |
|
2301 |
+ && test "$*" != "X conftest.file $srcdir/configure"; then |
|
2302 |
+ |
|
2303 |
+ # If neither matched, then we have a broken ls. This can happen |
|
2304 |
+ # if, for instance, CONFIG_SHELL is bash and it inherits a |
|
2305 |
+ # broken ls alias from the environment. This has actually |
|
2306 |
+ # happened. Such a system could not be considered "sane". |
|
2307 |
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
|
2308 |
+ alias in your environment" "$LINENO" 5 |
|
2309 |
+ fi |
|
2310 |
+ if test "$2" = conftest.file || test $am_try -eq 2; then |
|
2311 |
+ break |
|
2312 |
+ fi |
|
2313 |
+ # Just in case. |
|
2314 |
+ sleep 1 |
|
2315 |
+ am_has_slept=yes |
|
2316 |
+ done |
|
2317 |
+ test "$2" = conftest.file |
|
2318 |
+ ) |
|
2319 |
+then |
|
2320 |
+ # Ok. |
|
2321 |
+ : |
|
2322 |
+else |
|
2323 |
+ as_fn_error $? "newly created file is older than distributed files! |
|
2324 |
+Check your system clock" "$LINENO" 5 |
|
2325 |
+fi |
|
2326 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2327 |
+$as_echo "yes" >&6; } |
|
2328 |
+# If we didn't sleep, we still need to ensure time stamps of config.status and |
|
2329 |
+# generated files are strictly newer. |
|
2330 |
+am_sleep_pid= |
|
2331 |
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
|
2332 |
+ ( sleep 1 ) & |
|
2333 |
+ am_sleep_pid=$! |
|
2334 |
+fi |
|
2335 |
+ |
|
2336 |
+rm -f conftest.file |
|
2337 |
+ |
|
2338 |
+test "$program_prefix" != NONE && |
|
2339 |
+ program_transform_name="s&^&$program_prefix&;$program_transform_name" |
|
2340 |
+# Use a double $ so make ignores it. |
|
2341 |
+test "$program_suffix" != NONE && |
|
2342 |
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
|
2343 |
+# Double any \ or $. |
|
2344 |
+# By default was `s,x,x', remove it if useless. |
|
2345 |
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
|
2346 |
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|
2347 |
+ |
|
2348 |
+# Expand $ac_aux_dir to an absolute path. |
|
2349 |
+am_aux_dir=`cd "$ac_aux_dir" && pwd` |
|
2350 |
+ |
|
2351 |
+if test x"${MISSING+set}" != xset; then |
|
2352 |
+ case $am_aux_dir in |
|
2353 |
+ *\ * | *\ *) |
|
2354 |
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
|
2355 |
+ *) |
|
2356 |
+ MISSING="\${SHELL} $am_aux_dir/missing" ;; |
|
2357 |
+ esac |
|
2358 |
+fi |
|
2359 |
+# Use eval to expand $SHELL |
|
2360 |
+if eval "$MISSING --is-lightweight"; then |
|
2361 |
+ am_missing_run="$MISSING " |
|
2362 |
+else |
|
2363 |
+ am_missing_run= |
|
2364 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
|
2365 |
+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
|
2366 |
+fi |
|
2367 |
+ |
|
2368 |
+if test x"${install_sh+set}" != xset; then |
|
2369 |
+ case $am_aux_dir in |
|
2370 |
+ *\ * | *\ *) |
|
2371 |
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
|
2372 |
+ *) |
|
2373 |
+ install_sh="\${SHELL} $am_aux_dir/install-sh" |
|
2374 |
+ esac |
|
2375 |
+fi |
|
2376 |
+ |
|
2377 |
+# Installed binaries are usually stripped using 'strip' when the user |
|
2378 |
+# run "make install-strip". However 'strip' might not be the right |
|
2379 |
+# tool to use in cross-compilation environments, therefore Automake |
|
2380 |
+# will honor the 'STRIP' environment variable to overrule this program. |
|
2381 |
+if test "$cross_compiling" != no; then |
|
2382 |
+ if test -n "$ac_tool_prefix"; then |
|
2383 |
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
2384 |
+set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
2385 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2386 |
+$as_echo_n "checking for $ac_word... " >&6; } |
|
2387 |
+if ${ac_cv_prog_STRIP+:} false; then : |
|
2388 |
+ $as_echo_n "(cached) " >&6 |
|
2389 |
+else |
|
2390 |
+ if test -n "$STRIP"; then |
|
2391 |
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
2392 |
+else |
|
2393 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2394 |
+for as_dir in $PATH |
|
2395 |
+do |
|
2396 |
+ IFS=$as_save_IFS |
|
2397 |
+ test -z "$as_dir" && as_dir=. |
|
2398 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
|
2399 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2400 |
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
2401 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2402 |
+ break 2 |
|
2403 |
+ fi |
|
2404 |
+done |
|
2405 |
+ done |
|
2406 |
+IFS=$as_save_IFS |
|
2407 |
+ |
|
2408 |
+fi |
|
2409 |
+fi |
|
2410 |
+STRIP=$ac_cv_prog_STRIP |
|
2411 |
+if test -n "$STRIP"; then |
|
2412 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
|
2413 |
+$as_echo "$STRIP" >&6; } |
|
2414 |
+else |
|
2415 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2416 |
+$as_echo "no" >&6; } |
|
2417 |
+fi |
|
2418 |
+ |
|
2419 |
+ |
|
2420 |
+fi |
|
2421 |
+if test -z "$ac_cv_prog_STRIP"; then |
|
2422 |
+ ac_ct_STRIP=$STRIP |
|
2423 |
+ # Extract the first word of "strip", so it can be a program name with args. |
|
2424 |
+set dummy strip; ac_word=$2 |
|
2425 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2426 |
+$as_echo_n "checking for $ac_word... " >&6; } |
|
2427 |
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
|
2428 |
+ $as_echo_n "(cached) " >&6 |
|
2429 |
+else |
|
2430 |
+ if test -n "$ac_ct_STRIP"; then |
|
2431 |
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
2432 |
+else |
|
2433 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2434 |
+for as_dir in $PATH |
|
2435 |
+do |
|
2436 |
+ IFS=$as_save_IFS |
|
2437 |
+ test -z "$as_dir" && as_dir=. |
|
2438 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
|
2439 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2440 |
+ ac_cv_prog_ac_ct_STRIP="strip" |
|
2441 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2442 |
+ break 2 |
|
2443 |
+ fi |
|
2444 |
+done |
|
2445 |
+ done |
|
2446 |
+IFS=$as_save_IFS |
|
2447 |
+ |
|
2448 |
+fi |
|
2449 |
+fi |
|
2450 |
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
2451 |
+if test -n "$ac_ct_STRIP"; then |
|
2452 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
|
2453 |
+$as_echo "$ac_ct_STRIP" >&6; } |
|
2454 |
+else |
|
2455 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2456 |
+$as_echo "no" >&6; } |
|
2457 |
+fi |
|
2458 |
+ |
|
2459 |
+ if test "x$ac_ct_STRIP" = x; then |
|
2460 |
+ STRIP=":" |
|
2461 |
+ else |
|
2462 |
+ case $cross_compiling:$ac_tool_warned in |
|
2463 |
+yes:) |
|
2464 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
2465 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
2466 |
+ac_tool_warned=yes ;; |
|
2467 |
+esac |
|
2468 |
+ STRIP=$ac_ct_STRIP |
|
2469 |
+ fi |
|
2470 |
+else |
|
2471 |
+ STRIP="$ac_cv_prog_STRIP" |
|
2472 |
+fi |
|
2473 |
+ |
|
2474 |
+fi |
|
2475 |
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
2476 |
+ |
|
2477 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
|
2478 |
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
|
2479 |
+if test -z "$MKDIR_P"; then |
|
2480 |
+ if ${ac_cv_path_mkdir+:} false; then : |
|
2481 |
+ $as_echo_n "(cached) " >&6 |
|
2482 |
+else |
|
2483 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2484 |
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
2485 |
+do |
|
2486 |
+ IFS=$as_save_IFS |
|
2487 |
+ test -z "$as_dir" && as_dir=. |
|
2488 |
+ for ac_prog in mkdir gmkdir; do |
|
2489 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
|
2490 |
+ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
|
2491 |
+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|
2492 |
+ 'mkdir (GNU coreutils) '* | \ |
|
2493 |
+ 'mkdir (coreutils) '* | \ |
|
2494 |
+ 'mkdir (fileutils) '4.1*) |
|
2495 |
+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
2496 |
+ break 3;; |
|
2497 |
+ esac |
|
2498 |
+ done |
|
2499 |
+ done |
|
2500 |
+ done |
|
2501 |
+IFS=$as_save_IFS |
|
2502 |
+ |
|
2503 |
+fi |
|
2504 |
+ |
|
2505 |
+ test -d ./--version && rmdir ./--version |
|
2506 |
+ if test "${ac_cv_path_mkdir+set}" = set; then |
|
2507 |
+ MKDIR_P="$ac_cv_path_mkdir -p" |
|
2508 |
+ else |
|
2509 |
+ # As a last resort, use the slow shell script. Don't cache a |
|
2510 |
+ # value for MKDIR_P within a source directory, because that will |
|
2511 |
+ # break other packages using the cache if that directory is |
|
2512 |
+ # removed, or if the value is a relative name. |
|
2513 |
+ MKDIR_P="$ac_install_sh -d" |
|
2514 |
+ fi |
|
2515 |
+fi |
|
2516 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
|
2517 |
+$as_echo "$MKDIR_P" >&6; } |
|
2518 |
+ |
|
2519 |
+for ac_prog in gawk mawk nawk awk |
|
2520 |
+do |
|
2521 |
+ # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
2522 |
+set dummy $ac_prog; ac_word=$2 |
|
2523 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2524 |
+$as_echo_n "checking for $ac_word... " >&6; } |
|
2525 |
+if ${ac_cv_prog_AWK+:} false; then : |
|
2526 |
+ $as_echo_n "(cached) " >&6 |
|
2527 |
+else |
|
2528 |
+ if test -n "$AWK"; then |
|
2529 |
+ ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
2530 |
+else |
|
2531 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2532 |
+for as_dir in $PATH |
|
2533 |
+do |
|
2534 |
+ IFS=$as_save_IFS |
|
2535 |
+ test -z "$as_dir" && as_dir=. |
|
2536 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
|
2537 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2538 |
+ ac_cv_prog_AWK="$ac_prog" |
|
2539 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2540 |
+ break 2 |
|
2541 |
+ fi |
|
2542 |
+done |
|
2543 |
+ done |
|
2544 |
+IFS=$as_save_IFS |
|
2545 |
+ |
|
2546 |
+fi |
|
2547 |
+fi |
|
2548 |
+AWK=$ac_cv_prog_AWK |
|
2549 |
+if test -n "$AWK"; then |
|
2550 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
|
2551 |
+$as_echo "$AWK" >&6; } |
|
2552 |
+else |
|
2553 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2554 |
+$as_echo "no" >&6; } |
|
2555 |
+fi |
|
2556 |
+ |
|
2557 |
+ |
|
2558 |
+ test -n "$AWK" && break |
|
2559 |
+done |
|
2560 |
+ |
|
2561 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|
2562 |
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
2563 |
+set x ${MAKE-make} |
|
2564 |
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
2565 |
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
|
2566 |
+ $as_echo_n "(cached) " >&6 |
|
2567 |
+else |
|
2568 |
+ cat >conftest.make <<\_ACEOF |
|
2569 |
+SHELL = /bin/sh |
|
2570 |
+all: |
|
2571 |
+ @echo '@@@%%%=$(MAKE)=@@@%%%' |
|
2572 |
+_ACEOF |
|
2573 |
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
|
2574 |
+case `${MAKE-make} -f conftest.make 2>/dev/null` in |
|
2575 |
+ *@@@%%%=?*=@@@%%%*) |
|
2576 |
+ eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
2577 |
+ *) |
|
2578 |
+ eval ac_cv_prog_make_${ac_make}_set=no;; |
|
2579 |
+esac |
|
2580 |
+rm -f conftest.make |
|
2581 |
+fi |
|
2582 |
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
|
2583 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2584 |
+$as_echo "yes" >&6; } |
|
2585 |
+ SET_MAKE= |
|
2586 |
+else |
|
2587 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2588 |
+$as_echo "no" >&6; } |
|
2589 |
+ SET_MAKE="MAKE=${MAKE-make}" |
|
2590 |
+fi |
|
2591 |
+ |
|
2592 |
+rm -rf .tst 2>/dev/null |
|
2593 |
+mkdir .tst 2>/dev/null |
|
2594 |
+if test -d .tst; then |
|
2595 |
+ am__leading_dot=. |
|
2596 |
+else |
|
2597 |
+ am__leading_dot=_ |
|
2598 |
+fi |
|
2599 |
+rmdir .tst 2>/dev/null |
|
2600 |
+ |
|
2601 |
+# Check whether --enable-silent-rules was given. |
|
2602 |
+if test "${enable_silent_rules+set}" = set; then : |
|
2603 |
+ enableval=$enable_silent_rules; |
|
2604 |
+fi |
|
2605 |
+ |
|
2606 |
+case $enable_silent_rules in # ((( |
|
2607 |
+ yes) AM_DEFAULT_VERBOSITY=0;; |
|
2608 |
+ no) AM_DEFAULT_VERBOSITY=1;; |
|
2609 |
+ *) AM_DEFAULT_VERBOSITY=1;; |
|
2610 |
+esac |
|
2611 |
+am_make=${MAKE-make} |
|
2612 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
|
2613 |
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
|
2614 |
+if ${am_cv_make_support_nested_variables+:} false; then : |
|
2615 |
+ $as_echo_n "(cached) " >&6 |
|
2616 |
+else |
|
2617 |
+ if $as_echo 'TRUE=$(BAR$(V)) |
|
2618 |
+BAR0=false |
|
2619 |
+BAR1=true |
|
2620 |
+V=1 |
|
2621 |
+am__doit: |
|
2622 |
+ @$(TRUE) |
|
2623 |
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
|
2624 |
+ am_cv_make_support_nested_variables=yes |
|
2625 |
+else |
|
2626 |
+ am_cv_make_support_nested_variables=no |
|
2627 |
+fi |
|
2628 |
+fi |
|
2629 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
|
2630 |
+$as_echo "$am_cv_make_support_nested_variables" >&6; } |
|
2631 |
+if test $am_cv_make_support_nested_variables = yes; then |
|
2632 |
+ AM_V='$(V)' |
|
2633 |
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
|
2634 |
+else |
|
2635 |
+ AM_V=$AM_DEFAULT_VERBOSITY |
|
2636 |
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
|
2637 |
+fi |
|
2638 |
+AM_BACKSLASH='\' |
|
2639 |
+ |
|
2640 |
+if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|
2641 |
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
2642 |
+ # is not polluted with repeated "-I." |
|
2643 |
+ am__isrc=' -I$(srcdir)' |
|
2644 |
+ # test to see if srcdir already configured |
|
2645 |
+ if test -f $srcdir/config.status; then |
|
2646 |
+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
|
2647 |
+ fi |
|
2648 |
+fi |
|
2649 |
+ |
|
2650 |
+# test whether we have cygpath |
|
2651 |
+if test -z "$CYGPATH_W"; then |
|
2652 |
+ if (cygpath --version) >/dev/null 2>/dev/null; then |
|
2653 |
+ CYGPATH_W='cygpath -w' |
|
2654 |
+ else |
|
2655 |
+ CYGPATH_W=echo |
|
2656 |
+ fi |
|
2657 |
+fi |
|
2658 |
+ |
|
2659 |
+ |
|
2660 |
+# Define the identity of the package. |
|
2661 |
+ PACKAGE='full-package-name' |
|
2662 |
+ VERSION='VERSION' |
|
2663 |
+ |
|
2664 |
+ |
|
2665 |
+cat >>confdefs.h <<_ACEOF |
|
2666 |
+#define PACKAGE "$PACKAGE" |
|
2667 |
+_ACEOF |
|
2668 |
+ |
|
2669 |
+ |
|
2670 |
+cat >>confdefs.h <<_ACEOF |
|
2671 |
+#define VERSION "$VERSION" |
|
2672 |
+_ACEOF |
|
2673 |
+ |
|
2674 |
+# Some tools Automake needs. |
|
2675 |
+ |
|
2676 |
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
2677 |
+ |
|
2678 |
+ |
|
2679 |
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
2680 |
+ |
|
2681 |
+ |
|
2682 |
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
2683 |
+ |
|
2684 |
+ |
|
2685 |
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
2686 |
+ |
|
2687 |
+ |
|
2688 |
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
2689 |
+ |
|
2690 |
+# For better backward compatibility. To be removed once Automake 1.9.x |
|
2691 |
+# dies out for good. For more background, see: |
|
2692 |
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
|
2693 |
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
|
2694 |
+mkdir_p='$(MKDIR_P)' |
|
2695 |
+ |
|
2696 |
+# We need awk for the "check" target (and possibly the TAP driver). The |
|
2697 |
+# system "awk" is bad on some platforms. |
|
2698 |
+# Always define AMTAR for backward compatibility. Yes, it's still used |
|
2699 |
+# in the wild :-( We should find a proper way to deprecate it ... |
|
2700 |
+AMTAR='$${TAR-tar}' |
|
2701 |
+ |
|
2702 |
+ |
|
2703 |
+# We'll loop over all known methods to create a tar archive until one works. |
|
2704 |
+_am_tools='gnutar pax cpio none' |
|
2705 |
+ |
|
2706 |
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
|
2707 |
+ |
|
2708 |
+ |
|
2709 |
+ |
|
2710 |
+ |
|
2711 |
+ |
|
2712 |
+ |
|
2713 |
+# POSIX will say in a future version that running "rm -f" with no argument |
|
2714 |
+# is OK; and we want to be able to make that assumption in our Makefile |
|
2715 |
+# recipes. So use an aggressive probe to check that the usage we want is |
|
2716 |
+# actually supported "in the wild" to an acceptable degree. |
|
2717 |
+# See automake bug#10828. |
|
2718 |
+# To make any issue more visible, cause the running configure to be aborted |
|
2719 |
+# by default if the 'rm' program in use doesn't match our expectations; the |
|
2720 |
+# user can still override this though. |
|
2721 |
+if rm -f && rm -fr && rm -rf; then : OK; else |
|
2722 |
+ cat >&2 <<'END' |
|
2723 |
+Oops! |
|
2724 |
+ |
|
2725 |
+Your 'rm' program seems unable to run without file operands specified |
|
2726 |
+on the command line, even when the '-f' option is present. This is contrary |
|
2727 |
+to the behaviour of most rm programs out there, and not conforming with |
|
2728 |
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
|
2729 |
+ |
|
2730 |
+Please tell bug-automake@gnu.org about your system, including the value |
|
2731 |
+of your $PATH and any error possibly output before this message. This |
|
2732 |
+can help us improve future automake versions. |
|
2733 |
+ |
|
2734 |
+END |
|
2735 |
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
|
2736 |
+ echo 'Configuration will proceed anyway, since you have set the' >&2 |
|
2737 |
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
|
2738 |
+ echo >&2 |
|
2739 |
+ else |
|
2740 |
+ cat >&2 <<'END' |
|
2741 |
+Aborting the configuration process, to ensure you take notice of the issue. |
|
2742 |
+ |
|
2743 |
+You can download and install GNU coreutils to get an 'rm' implementation |
|
2744 |
+that behaves properly: <http://www.gnu.org/software/coreutils/>. |
|
2745 |
+ |
|
2746 |
+If you want to complete the configuration process using your problematic |
|
2747 |
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
|
2748 |
+to "yes", and re-run configure. |
|
2749 |
+ |
|
2750 |
+END |
|
2751 |
+ as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
|
2752 |
+ fi |
|
2753 |
+fi |
|
2754 |
+ |
|
2090 | 2755 |
|
2091 | 2756 |
# Checks for programs. |
2092 | 2757 |
ac_ext=c |
... | ... |
@@ -2878,6 +3543,256 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2878 | 3543 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2879 | 3544 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2880 | 3545 |
|
3546 |
+ac_ext=c |
|
3547 |
+ac_cpp='$CPP $CPPFLAGS' |
|
3548 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3549 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3550 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3551 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
|
3552 |
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
|
3553 |
+if ${am_cv_prog_cc_c_o+:} false; then : |
|
3554 |
+ $as_echo_n "(cached) " >&6 |
|
3555 |
+else |
|
3556 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3557 |
+/* end confdefs.h. */ |
|
3558 |
+ |
|
3559 |
+int |
|
3560 |
+main () |
|
3561 |
+{ |
|
3562 |
+ |
|
3563 |
+ ; |
|
3564 |
+ return 0; |
|
3565 |
+} |
|
3566 |
+_ACEOF |
|
3567 |
+ # Make sure it works both with $CC and with simple cc. |
|
3568 |
+ # Following AC_PROG_CC_C_O, we do the test twice because some |
|
3569 |
+ # compilers refuse to overwrite an existing .o file with -o, |
|
3570 |
+ # though they will create one. |
|
3571 |
+ am_cv_prog_cc_c_o=yes |
|
3572 |
+ for am_i in 1 2; do |
|
3573 |
+ if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
|
3574 |
+ ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
|
3575 |
+ ac_status=$? |
|
3576 |
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3577 |
+ (exit $ac_status); } \ |
|
3578 |
+ && test -f conftest2.$ac_objext; then |
|
3579 |
+ : OK |
|
3580 |
+ else |
|
3581 |
+ am_cv_prog_cc_c_o=no |
|
3582 |
+ break |
|
3583 |
+ fi |
|
3584 |
+ done |
|
3585 |
+ rm -f core conftest* |
|
3586 |
+ unset am_i |
|
3587 |
+fi |
|
3588 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
|
3589 |
+$as_echo "$am_cv_prog_cc_c_o" >&6; } |
|
3590 |
+if test "$am_cv_prog_cc_c_o" != yes; then |
|
3591 |
+ # Losing compiler, so override with the script. |
|
3592 |
+ # FIXME: It is wrong to rewrite CC. |
|
3593 |
+ # But if we don't then we get into trouble of one sort or another. |
|
3594 |
+ # A longer-term fix would be to have automake use am__CC in this case, |
|
3595 |
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
|
3596 |
+ CC="$am_aux_dir/compile $CC" |
|
3597 |
+fi |
|
3598 |
+ac_ext=c |
|
3599 |
+ac_cpp='$CPP $CPPFLAGS' |
|
3600 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3601 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3602 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3603 |
+ |
|
3604 |
+DEPDIR="${am__leading_dot}deps" |
|
3605 |
+ |
|
3606 |
+ac_config_commands="$ac_config_commands depfiles" |
|
3607 |
+ |
|
3608 |
+ |
|
3609 |
+am_make=${MAKE-make} |
|
3610 |
+cat > confinc << 'END' |
|
3611 |
+am__doit: |
|
3612 |
+ @echo this is the am__doit target |
|
3613 |
+.PHONY: am__doit |
|
3614 |
+END |
|
3615 |
+# If we don't find an include directive, just comment out the code. |
|
3616 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
|
3617 |
+$as_echo_n "checking for style of include used by $am_make... " >&6; } |
|
3618 |
+am__include="#" |
|
3619 |
+am__quote= |
|
3620 |
+_am_result=none |
|
3621 |
+# First try GNU make style include. |
|
3622 |
+echo "include confinc" > confmf |
|
3623 |
+# Ignore all kinds of additional output from 'make'. |
|
3624 |
+case `$am_make -s -f confmf 2> /dev/null` in #( |
|
3625 |
+*the\ am__doit\ target*) |
|
3626 |
+ am__include=include |
|
3627 |
+ am__quote= |
|
3628 |
+ _am_result=GNU |
|
3629 |
+ ;; |
|
3630 |
+esac |
|
3631 |
+# Now try BSD make style include. |
|
3632 |
+if test "$am__include" = "#"; then |
|
3633 |
+ echo '.include "confinc"' > confmf |
|
3634 |
+ case `$am_make -s -f confmf 2> /dev/null` in #( |
|
3635 |
+ *the\ am__doit\ target*) |
|
3636 |
+ am__include=.include |
|
3637 |
+ am__quote="\"" |
|
3638 |
+ _am_result=BSD |
|
3639 |
+ ;; |
|
3640 |
+ esac |
|
3641 |
+fi |
|
3642 |
+ |
|
3643 |
+ |
|
3644 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
|
3645 |
+$as_echo "$_am_result" >&6; } |
|
3646 |
+rm -f confinc confmf |
|
3647 |
+ |
|
3648 |
+# Check whether --enable-dependency-tracking was given. |
|
3649 |
+if test "${enable_dependency_tracking+set}" = set; then : |
|
3650 |
+ enableval=$enable_dependency_tracking; |
|
3651 |
+fi |
|
3652 |
+ |
|
3653 |
+if test "x$enable_dependency_tracking" != xno; then |
|
3654 |
+ am_depcomp="$ac_aux_dir/depcomp" |
|
3655 |
+ AMDEPBACKSLASH='\' |
|
3656 |
+ am__nodep='_no' |
|
3657 |
+fi |
|
3658 |
+ if test "x$enable_dependency_tracking" != xno; then |
|
3659 |
+ AMDEP_TRUE= |
|
3660 |
+ AMDEP_FALSE='#' |
|
3661 |
+else |
|
3662 |
+ AMDEP_TRUE='#' |
|
3663 |
+ AMDEP_FALSE= |
|
3664 |
+fi |
|
3665 |
+ |
|
3666 |
+ |
|
3667 |
+ |
|
3668 |
+depcc="$CC" am_compiler_list= |
|
3669 |
+ |
|
3670 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
|
3671 |
+$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
3672 |
+if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
|
3673 |
+ $as_echo_n "(cached) " >&6 |
|
3674 |
+else |
|
3675 |
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
3676 |
+ # We make a subdir and do the tests there. Otherwise we can end up |
|
3677 |
+ # making bogus files that we don't know about and never remove. For |
|
3678 |
+ # instance it was reported that on HP-UX the gcc test will end up |
|
3679 |
+ # making a dummy file named 'D' -- because '-MD' means "put the output |
|
3680 |
+ # in D". |
|
3681 |
+ rm -rf conftest.dir |
|
3682 |
+ mkdir conftest.dir |
|
3683 |
+ # Copy depcomp to subdir because otherwise we won't find it if we're |
|
3684 |
+ # using a relative directory. |
|
3685 |
+ cp "$am_depcomp" conftest.dir |
|
3686 |
+ cd conftest.dir |
|
3687 |
+ # We will build objects and dependencies in a subdirectory because |
|
3688 |
+ # it helps to detect inapplicable dependency modes. For instance |
|
3689 |
+ # both Tru64's cc and ICC support -MD to output dependencies as a |
|
3690 |
+ # side effect of compilation, but ICC will put the dependencies in |
|
3691 |
+ # the current directory while Tru64 will put them in the object |
|
3692 |
+ # directory. |
|
3693 |
+ mkdir sub |
|
3694 |
+ |
|
3695 |
+ am_cv_CC_dependencies_compiler_type=none |
|
3696 |
+ if test "$am_compiler_list" = ""; then |
|
3697 |
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
3698 |
+ fi |
|
3699 |
+ am__universal=false |
|
3700 |
+ case " $depcc " in #( |
|
3701 |
+ *\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
3702 |
+ esac |
|
3703 |
+ |
|
3704 |
+ for depmode in $am_compiler_list; do |
|
3705 |
+ # Setup a source with many dependencies, because some compilers |
|
3706 |
+ # like to wrap large dependency lists on column 80 (with \), and |
|
3707 |
+ # we should not choose a depcomp mode which is confused by this. |
|
3708 |
+ # |
|
3709 |
+ # We need to recreate these files for each test, as the compiler may |
|
3710 |
+ # overwrite some of them when testing with obscure command lines. |
|
3711 |
+ # This happens at least with the AIX C compiler. |
|
3712 |
+ : > sub/conftest.c |
|
3713 |
+ for i in 1 2 3 4 5 6; do |
|
3714 |
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
3715 |
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
|
3716 |
+ # Solaris 10 /bin/sh. |
|
3717 |
+ echo '/* dummy */' > sub/conftst$i.h |
|
3718 |
+ done |
|
3719 |
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
3720 |
+ |
|
3721 |
+ # We check with '-c' and '-o' for the sake of the "dashmstdout" |
|
3722 |
+ # mode. It turns out that the SunPro C++ compiler does not properly |
|
3723 |
+ # handle '-M -o', and we need to detect this. Also, some Intel |
|
3724 |
+ # versions had trouble with output in subdirs. |
|
3725 |
+ am__obj=sub/conftest.${OBJEXT-o} |
|
3726 |
+ am__minus_obj="-o $am__obj" |
|
3727 |
+ case $depmode in |
|
3728 |
+ gcc) |
|
3729 |
+ # This depmode causes a compiler race in universal mode. |
|
3730 |
+ test "$am__universal" = false || continue |
|
3731 |
+ ;; |
|
3732 |
+ nosideeffect) |
|
3733 |
+ # After this tag, mechanisms are not by side-effect, so they'll |
|
3734 |
+ # only be used when explicitly requested. |
|
3735 |
+ if test "x$enable_dependency_tracking" = xyes; then |
|
3736 |
+ continue |
|
3737 |
+ else |
|
3738 |
+ break |
|
3739 |
+ fi |
|
3740 |
+ ;; |
|
3741 |
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
|
3742 |
+ # This compiler won't grok '-c -o', but also, the minuso test has |
|
3743 |
+ # not run yet. These depmodes are late enough in the game, and |
|
3744 |
+ # so weak that their functioning should not be impacted. |
|
3745 |
+ am__obj=conftest.${OBJEXT-o} |
|
3746 |
+ am__minus_obj= |
|
3747 |
+ ;; |
|
3748 |
+ none) break ;; |
|
3749 |
+ esac |
|
3750 |
+ if depmode=$depmode \ |
|
3751 |
+ source=sub/conftest.c object=$am__obj \ |
|
3752 |
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
3753 |
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
|
3754 |
+ >/dev/null 2>conftest.err && |
|
3755 |
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
3756 |
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
3757 |
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
|
3758 |
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
3759 |
+ # icc doesn't choke on unknown options, it will just issue warnings |
|
3760 |
+ # or remarks (even with -Werror). So we grep stderr for any message |
|
3761 |
+ # that says an option was ignored or not supported. |
|
3762 |
+ # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
3763 |
+ # icc: Command line warning: ignoring option '-M'; no argument required |
|
3764 |
+ # The diagnosis changed in icc 8.0: |
|
3765 |
+ # icc: Command line remark: option '-MP' not supported |
|
3766 |
+ if (grep 'ignoring option' conftest.err || |
|
3767 |
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
3768 |
+ am_cv_CC_dependencies_compiler_type=$depmode |
|
3769 |
+ break |
|
3770 |
+ fi |
|
3771 |
+ fi |
|
3772 |
+ done |
|
3773 |
+ |
|
3774 |
+ cd .. |
|
3775 |
+ rm -rf conftest.dir |
|
3776 |
+else |
|
3777 |
+ am_cv_CC_dependencies_compiler_type=none |
|
3778 |
+fi |
|
3779 |
+ |
|
3780 |
+fi |
|
3781 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
|
3782 |
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
|
3783 |
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
|
3784 |
+ |
|
3785 |
+ if |
|
3786 |
+ test "x$enable_dependency_tracking" != xno \ |
|
3787 |
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
3788 |
+ am__fastdepCC_TRUE= |
|
3789 |
+ am__fastdepCC_FALSE='#' |
|
3790 |
+else |
|
3791 |
+ am__fastdepCC_TRUE='#' |
|
3792 |
+ am__fastdepCC_FALSE= |
|
3793 |
+fi |
|
3794 |
+ |
|
3795 |
+ |
|
2881 | 3796 |
|
2882 | 3797 |
# Checks for libraries. |
2883 | 3798 |
|
... | ... |
@@ -3419,6 +4334,30 @@ LIBOBJS=$ac_libobjs |
3419 | 4334 |
LTLIBOBJS=$ac_ltlibobjs |
3420 | 4335 |
|
3421 | 4336 |
|
4337 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
|
4338 |
+$as_echo_n "checking that generated files are newer than configure... " >&6; } |
|
4339 |
+ if test -n "$am_sleep_pid"; then |
|
4340 |
+ # Hide warnings about reused PIDs. |
|
4341 |
+ wait $am_sleep_pid 2>/dev/null |
|
4342 |
+ fi |
|
4343 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
|
4344 |
+$as_echo "done" >&6; } |
|
4345 |
+ if test -n "$EXEEXT"; then |
|
4346 |
+ am__EXEEXT_TRUE= |
|
4347 |
+ am__EXEEXT_FALSE='#' |
|
4348 |
+else |
|
4349 |
+ am__EXEEXT_TRUE='#' |
|
4350 |
+ am__EXEEXT_FALSE= |
|
4351 |
+fi |
|
4352 |
+ |
|
4353 |
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
|
4354 |
+ as_fn_error $? "conditional \"AMDEP\" was never defined. |
|
4355 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
4356 |
+fi |
|
4357 |
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
4358 |
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
|
4359 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
4360 |
+fi |
|
3422 | 4361 |
|
3423 | 4362 |
: "${CONFIG_STATUS=./config.status}" |
3424 | 4363 |
ac_write_fail=0 |
... | ... |
@@ -3843,6 +4782,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3843 | 4782 |
# Files that config.status was made for. |
3844 | 4783 |
config_files="$ac_config_files" |
3845 | 4784 |
config_headers="$ac_config_headers" |
4785 |
+config_commands="$ac_config_commands" |
|
3846 | 4786 |
|
3847 | 4787 |
_ACEOF |
3848 | 4788 |
|
... | ... |
@@ -3872,6 +4812,9 @@ $config_files |
3872 | 4812 |
Configuration headers: |
3873 | 4813 |
$config_headers |
3874 | 4814 |
|
4815 |
+Configuration commands: |
|
4816 |
+$config_commands |
|
4817 |
+ |
|
3875 | 4818 |
Report bugs to <BUG-REPORT-ADDRESS>." |
3876 | 4819 |
|
3877 | 4820 |
_ACEOF |
... | ... |
@@ -3888,6 +4831,9 @@ gives unlimited permission to copy, distribute and modify it." |
3888 | 4831 |
|
3889 | 4832 |
ac_pwd='$ac_pwd' |
3890 | 4833 |
srcdir='$srcdir' |
4834 |
+INSTALL='$INSTALL' |
|
4835 |
+MKDIR_P='$MKDIR_P' |
|
4836 |
+AWK='$AWK' |
|
3891 | 4837 |
test -n "\$AWK" || AWK=awk |
3892 | 4838 |
_ACEOF |
3893 | 4839 |
|
... | ... |
@@ -3991,6 +4937,11 @@ _ASBOX |
3991 | 4937 |
|
3992 | 4938 |
_ACEOF |
3993 | 4939 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4940 |
+# |
|
4941 |
+# INIT-COMMANDS |
|
4942 |
+# |
|
4943 |
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
|
4944 |
+ |
|
3994 | 4945 |
_ACEOF |
3995 | 4946 |
|
3996 | 4947 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
... | ... |
@@ -4000,6 +4951,7 @@ for ac_config_target in $ac_config_targets |
4000 | 4951 |
do |
4001 | 4952 |
case $ac_config_target in |
4002 | 4953 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
4954 |
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
|
4003 | 4955 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
4004 | 4956 |
|
4005 | 4957 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
... | ... |
@@ -4014,6 +4966,7 @@ done |
4014 | 4966 |
if $ac_need_defaults; then |
4015 | 4967 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
4016 | 4968 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
4969 |
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
|
4017 | 4970 |
fi |
4018 | 4971 |
|
4019 | 4972 |
# Have a temporary directory for convenience. Make it in the build tree |
... | ... |
@@ -4310,7 +5263,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
4310 | 5263 |
fi # test -n "$CONFIG_HEADERS" |
4311 | 5264 |
|
4312 | 5265 |
|
4313 |
-eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " |
|
5266 |
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
|
4314 | 5267 |
shift |
4315 | 5268 |
for ac_tag |
4316 | 5269 |
do |
... | ... |
@@ -4444,6 +5397,15 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
4444 | 5397 |
# CONFIG_FILE |
4445 | 5398 |
# |
4446 | 5399 |
|
5400 |
+ case $INSTALL in |
|
5401 |
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|
5402 |
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
|
5403 |
+ esac |
|
5404 |
+ ac_MKDIR_P=$MKDIR_P |
|
5405 |
+ case $MKDIR_P in |
|
5406 |
+ [\\/$]* | ?:[\\/]* ) ;; |
|
5407 |
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
|
5408 |
+ esac |
|
4447 | 5409 |
_ACEOF |
4448 | 5410 |
|
4449 | 5411 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
... | ... |
@@ -4497,6 +5459,8 @@ s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
4497 | 5459 |
s&@builddir@&$ac_builddir&;t t |
4498 | 5460 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
4499 | 5461 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
5462 |
+s&@INSTALL@&$ac_INSTALL&;t t |
|
5463 |
+s&@MKDIR_P@&$ac_MKDIR_P&;t t |
|
4500 | 5464 |
$ac_datarootdir_hack |
4501 | 5465 |
" |
4502 | 5466 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
... | ... |
@@ -4541,11 +5505,144 @@ $as_echo "$as_me: $ac_file is unchanged" >&6;} |
4541 | 5505 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
4542 | 5506 |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
4543 | 5507 |
fi |
5508 |
+# Compute "$ac_file"'s index in $config_headers. |
|
5509 |
+_am_arg="$ac_file" |
|
5510 |
+_am_stamp_count=1 |
|
5511 |
+for _am_header in $config_headers :; do |
|
5512 |
+ case $_am_header in |
|
5513 |
+ $_am_arg | $_am_arg:* ) |
|
5514 |
+ break ;; |
|
5515 |
+ * ) |
|
5516 |
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
|
5517 |
+ esac |
|
5518 |
+done |
|
5519 |
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
|
5520 |
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
5521 |
+ X"$_am_arg" : 'X\(//\)[^/]' \| \ |
|
5522 |
+ X"$_am_arg" : 'X\(//\)$' \| \ |
|
5523 |
+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
|
5524 |
+$as_echo X"$_am_arg" | |
|
5525 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
5526 |
+ s//\1/ |
|
5527 |
+ q |
|
5528 |
+ } |
|
5529 |
+ /^X\(\/\/\)[^/].*/{ |
|
5530 |
+ s//\1/ |
|
5531 |
+ q |
|
5532 |
+ } |
|
5533 |
+ /^X\(\/\/\)$/{ |
|
5534 |
+ s//\1/ |
|
5535 |
+ q |
|
5536 |
+ } |
|
5537 |
+ /^X\(\/\).*/{ |
|
5538 |
+ s//\1/ |
|
5539 |
+ q |
|
5540 |
+ } |
|
5541 |
+ s/.*/./; q'`/stamp-h$_am_stamp_count |
|
5542 |
+ ;; |
|
5543 |
+ |
|
5544 |
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
|
5545 |
+$as_echo "$as_me: executing $ac_file commands" >&6;} |
|
4544 | 5546 |
;; |
5547 |
+ esac |
|
4545 | 5548 |
|
4546 | 5549 |
|
5550 |
+ case $ac_file$ac_mode in |
|
5551 |
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
|
5552 |
+ # Older Autoconf quotes --file arguments for eval, but not when files |
|
5553 |
+ # are listed without --file. Let's play safe and only enable the eval |
|
5554 |
+ # if we detect the quoting. |
|
5555 |
+ case $CONFIG_FILES in |
|
5556 |
+ *\'*) eval set x "$CONFIG_FILES" ;; |
|
5557 |
+ *) set x $CONFIG_FILES ;; |
|
4547 | 5558 |
esac |
5559 |
+ shift |
|
5560 |
+ for mf |
|
5561 |
+ do |
|
5562 |
+ # Strip MF so we end up with the name of the file. |
|
5563 |
+ mf=`echo "$mf" | sed -e 's/:.*$//'` |
|
5564 |
+ # Check whether this is an Automake generated Makefile or not. |
|
5565 |
+ # We used to match only the files named 'Makefile.in', but |
|
5566 |
+ # some people rename them; so instead we look at the file content. |
|
5567 |
+ # Grep'ing the first line is not enough: some people post-process |
|
5568 |
+ # each Makefile.in and add a new line on top of each file to say so. |
|
5569 |
+ # Grep'ing the whole file is not good either: AIX grep has a line |
|
5570 |
+ # limit of 2048, but all sed's we know have understand at least 4000. |
|
5571 |
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
|
5572 |
+ dirpart=`$as_dirname -- "$mf" || |
|
5573 |
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
5574 |
+ X"$mf" : 'X\(//\)[^/]' \| \ |
|
5575 |
+ X"$mf" : 'X\(//\)$' \| \ |
|
5576 |
+ X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
|
5577 |
+$as_echo X"$mf" | |
|
5578 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
5579 |
+ s//\1/ |
|
5580 |
+ q |
|
5581 |
+ } |
|
5582 |
+ /^X\(\/\/\)[^/].*/{ |
|
5583 |
+ s//\1/ |
|
5584 |
+ q |
|
5585 |
+ } |
|
5586 |
+ /^X\(\/\/\)$/{ |
|
5587 |
+ s//\1/ |
|
5588 |
+ q |
|
5589 |
+ } |
|
5590 |
+ /^X\(\/\).*/{ |
|
5591 |
+ s//\1/ |
|
5592 |
+ q |
|
5593 |
+ } |
|
5594 |
+ s/.*/./; q'` |
|
5595 |
+ else |
|
5596 |
+ continue |
|
5597 |
+ fi |
|
5598 |
+ # Extract the definition of DEPDIR, am__include, and am__quote |
|
5599 |
+ # from the Makefile without running 'make'. |
|
5600 |
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
|
5601 |
+ test -z "$DEPDIR" && continue |
|
5602 |
+ am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|
5603 |
+ test -z "$am__include" && continue |
|
5604 |
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
|
5605 |
+ # Find all dependency output files, they are included files with |
|
5606 |
+ # $(DEPDIR) in their names. We invoke sed twice because it is the |
|
5607 |
+ # simplest approach to changing $(DEPDIR) to its actual value in the |
|
5608 |
+ # expansion. |
|
5609 |
+ for file in `sed -n " |
|
5610 |
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
|
5611 |
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
|
5612 |
+ # Make sure the directory exists. |
|
5613 |
+ test -f "$dirpart/$file" && continue |
|
5614 |
+ fdir=`$as_dirname -- "$file" || |
|
5615 |
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
5616 |
+ X"$file" : 'X\(//\)[^/]' \| \ |
|
5617 |
+ X"$file" : 'X\(//\)$' \| \ |
|
5618 |
+ X"$file" : 'X\(/\)' \| . 2>/dev/null || |
|
5619 |
+$as_echo X"$file" | |
|
5620 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
5621 |
+ s//\1/ |
|
5622 |
+ q |
|
5623 |
+ } |
|
5624 |
+ /^X\(\/\/\)[^/].*/{ |
|
5625 |
+ s//\1/ |
|
5626 |
+ q |
|
5627 |
+ } |
|
5628 |
+ /^X\(\/\/\)$/{ |
|
5629 |
+ s//\1/ |
|
5630 |
+ q |
|
5631 |
+ } |
|
5632 |
+ /^X\(\/\).*/{ |
|
5633 |
+ s//\1/ |
|
5634 |
+ q |
|
5635 |
+ } |
|
5636 |
+ s/.*/./; q'` |
|
5637 |
+ as_dir=$dirpart/$fdir; as_fn_mkdir_p |
|
5638 |
+ # echo "creating $dirpart/$file" |
|
5639 |
+ echo '# dummy' > "$dirpart/$file" |
|
5640 |
+ done |
|
5641 |
+ done |
|
5642 |
+} |
|
5643 |
+ ;; |
|
4548 | 5644 |
|
5645 |
+ esac |
|
4549 | 5646 |
done # for ac_tag |
4550 | 5647 |
|
4551 | 5648 |
|
... | ... |
@@ -1,10 +1,12 @@ |
1 | 1 |
# -*- Autoconf -*- |
2 | 2 |
# Process this file with autoconf to produce a configure script. |
3 | 3 |
|
4 |
+ |
|
4 | 5 |
AC_PREREQ([2.69]) |
5 | 6 |
AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS]) |
6 | 7 |
AC_CONFIG_SRCDIR([hello.c]) |
7 | 8 |
AC_CONFIG_HEADERS([config.h]) |
9 |
+AM_INIT_AUTOMAKE |
|
8 | 10 |
|
9 | 11 |
# Checks for programs. |
10 | 12 |
AC_PROG_CC |